body {
    font-family: 'Inter', sans-serif;
    font-size: 13px !important;
    background: linear-gradient(to bottom right, #02328d, #3d7ad3, #5b93e5) !important;
}

.container {
    max-width: 896px !important;
}

#main-menu .dropdown-menu,
.bg-header {
    background: transparent !important;
}

.head-part {
    background-color: #7ed0ff;
}

.navbar-brand img {
    max-height: 130px !important;
}

.custom-logo-link {
    margin: 0 !important;
    padding: 0 !important;
}

#primary-menu a {
    font-size: 0.8rem;
}

.menu-header .offcanvas.show .navbar-nav a {
    color: #ffffff !important;
}

p {
    margin-bottom: 0.5rem;
}

.wp-singular .wp-post-image {
    margin-bottom: 1rem;
}

/* WP Block Details Styling */
.wp-block-details {
    background: #f9f9f9;
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: var(--bs-border-radius) !important;
    padding: 0.5rem;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.wp-block-details[open] {
    border-color: var(--bs-dark);
}

.wp-block-details summary {
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    color: var(--bs-dark);
    line-height: 20px;
    list-style: none;
    padding-right: 20px;
}

.wp-block-details summary::before {
    content: "+";
    display: inline-block;
    transition: transform 0.3s ease;
    line-height: 17px;
    font-size: 20px;
    position: absolute;
    top: 0;
    right: 1px;
}

.wp-block-details[open] summary::before {
    content: "-";
}

.wp-block-details p {
    margin-top: 0.5rem;
    line-height: 1.6;
    color: #333;
}

/* Home Wrapper */
.home-wrapper {
    margin-left: -0.5rem !important;
    margin-right: -0.5rem !important;
}

/* Table Styling in Widget Area */
.widget-area .table > :not(caption) > * > *,
.widget-area .widget_calendar .wp-calendar-table > :not(caption) > * > *,
.widget-area .wp-block-table table > :not(caption) > * > *,
.widget-area table:not(.table) > :not(caption) > * > * {
    padding: 0.25rem;
}

/* Widget Titles */
.widget-area .widget-title {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.3rem;
    font-weight: bold;
    margin: -14px -14px 14px;
    padding: 10px 13px 11px !important;
    background-color: var(--bs-dark);
}

/* List Styling */
.widget ul,
.entry-content ul,
.widget-area .widget > ul {
    list-style: none;
    padding-left: 0 !important;
}

.widget ul > li,
.entry-content ul > li {
    padding-left: 1.1rem;
    position: relative;
}

.widget ul > li::before {
    content: '\25CB';
    color: var(--bs-dark);
    position: absolute;
    left: 2px;
    top: 2px;
    display: inline-block;
    font-size: 9px;
}

.footer-widget .widget ul > li::before {
    color: #ffffff;
}

/* Footer Widget Title */
.footer-widget .widget-title {
    font-size: 19px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 13px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.footer-widget .widget-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 30px;
    height: 2px;
    background-color: #ffffff;
}

.entry-content ul {
    padding-left: 1rem !important;
}

.entry-content ul > li {
    padding-left: 0.75rem;
}

.entry-content ul > li::before {
    content: '';
    background: linear-gradient(355deg, rgba(8, 60, 119, 1) 0%, rgba(95, 172, 255, 1) 100%);
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    margin-top: 0.25rem;
    display: inline-block;
}

/* Search Widget */
.widget_search #searchsubmit,
.widget_search #s {
    padding: 0.25rem;
    font-size: 0.85rem;
}

/* Widget Box Styling */
.widget-area .widget {
    margin-bottom: 1rem;
    padding: 13px;
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: var(--bs-border-radius) !important;
    overflow: hidden;
}

/* Footer Widget Styling */
.footer-widget h1,
.footer-widget h2,
.footer-widget h3,
.footer-widget h4,
.footer-widget h5,
.footer-widget h6,
.footer-widget a {
    color: #ffffff;
}

/* Velocity Home Card */
.velocity-home-title {
    font-size: 20px;
    line-height: 27px;
}

.velocity-home-desc {
    font-size: 15px !important;
    line-height: 25px !important;
}

.velocity-home-card {
    padding: 1rem 1rem 3.3rem 1rem !important;
    position: relative;
}

.velocity-card-button {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 1rem 1rem;
}

/* Gallery Item */
.vdgallery-kolom .vdgallery-item img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Entry Content Headings */
.entry-content h1 { font-size: 21px; }
.entry-content h2 { font-size: 20px; }
.entry-content h3 { font-size: 19px; }
.entry-content h4 { font-size: 18px; }
.entry-content h5 { font-size: 17px; }
.entry-content h6 { font-size: 16px; }

/* Media Queries */
@media (min-width: 768px) {
    #primary-menu > li > a {
        padding: 10px 15px;
        transition: all 0.5s ease;
    }

    #primary-menu > li:not(.current-menu-item) > a:not(:hover) {
        color: #ffffff;
    }

    .velocity-home-title {
        font-size: 32px;
        line-height: 40px;
    }

    .velocity-home-desc {
        font-size: 18px !important;
        line-height: 28px !important;
    }

    .home-wrapper {
        margin-left: -1rem !important;
        margin-right: -1rem !important;
    }
}

@media (min-width: 1000px) {
    .widget-area {
        max-width: 23% !important;
    }
}
