
/* AQARLEX GLOBAL HEADER FIX V1 */
.site-header {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e5ebe6;
}

.site-header .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 22px !important;
    min-height: 86px;
    max-width: 1440px;
    margin-inline: auto;
}

.site-header .brand {
    flex: 0 0 auto;
}

.site-header .brand img {
    display: block;
    max-width: 160px;
    height: auto;
}

.site-header .main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 1.7vw, 28px);
    flex: 1 1 auto;
    min-width: 0;
}

.site-header .main-nav > a,
.site-header .discovery-menu > summary {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    color: #173d2e;
}

.site-header .discovery-menu {
    position: relative;
}

.site-header .discovery-menu > summary {
    cursor: pointer;
    list-style: none;
}

.site-header .discovery-menu > summary::-webkit-details-marker {
    display: none;
}

.site-header .discovery-menu-links {
    position: absolute;
    top: calc(100% + 14px);
    inset-inline-start: 0;
    z-index: 1100;
    display: grid;
    gap: 3px;
    width: min(300px, 90vw);
    padding: 12px;
    background: white;
    border: 1px solid #e4eae5;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15,45,30,.12);
}

.site-header .discovery-menu:not([open]) .discovery-menu-links {
    display: none !important;
}

.site-header .discovery-menu-links a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.site-header .discovery-menu-links a:hover {
    background: #eef5ef;
}

.site-header .header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

main#main {
    display: block;
    clear: both;
    min-height: 300px;
}

@media (min-width: 1101px) {
    .site-header .menu-toggle {
        display: none !important;
    }
}

@media (max-width: 1100px) {
    .site-header .header-inner {
        flex-wrap: wrap;
        min-height: 72px;
    }

    .site-header .menu-toggle {
        display: flex !important;
    }

    .site-header .main-nav {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-header .main-nav:not(.is-open):not(.active):not(.open) {
        display: none;
    }

    .site-header .main-nav > a,
    .site-header .discovery-menu > summary {
        display: block;
        padding: 13px 5px;
    }

    .site-header .discovery-menu-links {
        position: static;
        width: 100%;
        box-shadow: none;
    }
}

@media (max-width: 600px) {
    .site-header .brand img {
        max-width: 135px;
    }

    .site-header .header-contact {
        display: none;
    }
}

/* Blog layout improvements */
.article-header {
    padding-top: clamp(35px, 5vw, 75px);
    padding-bottom: 30px;
}

.article-header h1 {
    max-width: 1050px;
    line-height: 1.15;
}

.article-cover img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 16px;
}

.article-container {
    max-width: 850px;
    margin-inline: auto;
    padding-block: 40px 65px;
}

.article-body {
    overflow-wrap: anywhere;
}

.article-body img {
    max-width: 100%;
    height: auto;
}
