.iena-header { position: relative; z-index: 1030; color: #fff; background: linear-gradient(110deg, #4bb6a8 0%, #399992 48%, #307c80 100%); box-shadow: 0 2px 12px rgba(0, 64, 82, .09); }
.iena-header *, .iena-header *::before, .iena-header *::after { box-sizing: border-box; }
.iena-header-inner { max-width: 1800px; min-height: 104px; margin: auto; padding: 14px 40px; display: flex; align-items: center; gap: 28px; }
.iena-header a { text-decoration: none; }
.iena-brand { flex-shrink: 0; display: flex; align-items: center; }
.iena-brand img { display: block; width: 220px; height: 76px; object-fit: contain; }
.iena-navigation { flex: 1; min-width: 0; }
.iena-nav-list { display: flex; align-items: center; justify-content: center; gap: 3px; padding: 0; margin: 0; list-style: none; }
.iena-nav-item { position: relative; list-style: none; }
.iena-header .iena-nav-link { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 12px 11px; border: 0; border-radius: 9px; background: transparent; color: #fff; font: inherit; font-size: 16px; font-weight: 600; line-height: 1.5; cursor: pointer; white-space: nowrap; transition: background .18s; }
.iena-nav-link:hover, .iena-nav-link[aria-expanded="true"], .iena-header .iena-nav-link[aria-current="page"] { background: rgba(255,255,255,.14); }
.iena-chevron { flex-shrink: 0; transition: transform .2s; }
.iena-menu-toggle[aria-expanded="true"] .iena-chevron { transform: rotate(180deg); }
.iena-header .iena-submenu { position: absolute; inset-block-start: calc(100% + 9px); inset-inline-start: 0; width: max-content; min-width: 230px; max-width: 340px; max-height: min(460px, 70vh); overflow-y: auto; margin: 0; padding: 0; list-style: none; background: linear-gradient(155deg, #2cae98 0%, #248b7d 48%, #18584f 100%); color: #fff; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; box-shadow: 0 12px 28px rgba(6,53,67,.2); animation: iena-menu-in .2s ease-out; text-align: center; }
.iena-submenu[hidden] { display: none; }
.iena-header .iena-submenu a { display: block; padding: 15px 20px; border-radius: 0; font-size: 16px; line-height: 1.5; font-weight: 500; color: #fff; white-space: normal; overflow-wrap: anywhere; transition: background .18s, padding .18s; }
.iena-header .iena-submenu a:hover, .iena-header .iena-submenu a[aria-current] { color: #fff; background: rgba(255,255,255,.13); }
.iena-submenu > li + li { border-top: 1px solid rgba(255,255,255,.2); }
.iena-header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.iena-language-button { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; color: #fff; background: rgba(255,255,255,.08); font: inherit; font-size: 15px; cursor: pointer; }
.iena-language .iena-submenu { min-width: 155px; inset-inline-start: auto; inset-inline-end: 0; }
.iena-header .iena-account { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 17px; border-radius: 10px; background: #fff; color: #086d7e; font-size: 15px; font-weight: 700; white-space: nowrap; transition: background .18s, box-shadow .18s; }
.iena-header .iena-account:hover { background: #eefaf8; box-shadow: 0 4px 14px rgba(0,55,72,.12); }
.iena-icon-button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; background: transparent; color: inherit; cursor: pointer; }
.iena-menu-button, .iena-drawer-heading, .iena-drawer-footer { display: none; }
.iena-header a:focus-visible, .iena-header button:focus-visible { outline: 3px solid #ffd75b; outline-offset: 3px; }
.iena-nav-backdrop[hidden] { display: none; }
@keyframes iena-menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1439.98px) {
    .iena-header-inner { min-height: 90px; padding: 12px 28px; gap: 20px; justify-content: space-between; }
    .iena-brand img { width: 195px; height: 66px; }
    .iena-menu-button { display: flex; }
    .iena-navigation { position: fixed; inset-block: 0; inset-inline-start: 0; width: min(390px, 100%); height: 100vh; height: 100dvh; padding: 0 24px 24px; background: #fff; color: #174d5a; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; transform: translateX(100%); transition: transform .25s ease, visibility .25s; z-index: 2; box-shadow: 0 0 40px rgba(0,45,60,.18); }
    .iena-header[dir="ltr"] .iena-navigation { transform: translateX(-100%); }
    .iena-header.iena-menu-open .iena-navigation { visibility: visible; transform: translateX(0); }
    .iena-drawer-heading { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 20px; margin-bottom: 12px; background: #fff; border-bottom: 1px solid #e5eeef; z-index: 1; font-size: 23px; font-weight: 700; }
    .iena-drawer-heading .iena-icon-button { border-color: #dce9eb; color: #174d5a; }
    .iena-nav-list { display: block; }
    .iena-nav-item { margin-bottom: 4px; }
    .iena-header .iena-nav-link { width: 100%; padding: 14px 12px; color: #174d5a; font-size: 18px; white-space: normal; text-align: start; }
    .iena-header .iena-nav-link:hover, .iena-header .iena-nav-link[aria-expanded="true"], .iena-header .iena-nav-link[aria-current="page"] { background: #edf8f5; color: #087568; }
    .iena-navigation .iena-submenu { position: static; min-width: 0; width: 100%; max-width: none; max-height: none; margin: 6px 0 12px; padding: 0; border: 0; border-radius: 10px; box-shadow: none; background: linear-gradient(155deg, #2cae98 0%, #248b7d 48%, #18584f 100%); }
    .iena-navigation .iena-submenu a { padding: 12px; }
    .iena-drawer-footer { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; padding-top: 24px; border-top: 1px solid #e5eeef; }
    .iena-header .iena-drawer-cta, .iena-header .iena-drawer-secondary { display: block; padding: 13px 18px; text-align: center; border-radius: 10px; font-size: 17px; font-weight: 600; }
    .iena-header .iena-drawer-cta { background: #168d7c; color: #fff; }
    .iena-header .iena-drawer-secondary { background: #f2f8f8; color: #086d7e; }
    .iena-mobile-languages { display: flex; gap: 12px; padding-top: 10px; }
    .iena-header .iena-mobile-languages a { flex: 1; padding: 10px; text-align: center; border-radius: 8px; color: #174d5a; border: 1px solid #dce9eb; }
    .iena-header .iena-mobile-languages a[aria-current] { color: #087568; background: #eaf7f3; border-color: #99d8c9; }
    .iena-nav-backdrop { position: fixed; inset: 0; background: rgba(5,34,44,.42); backdrop-filter: blur(3px); animation: iena-menu-in .2s ease; z-index: 1; }
}
@media (max-width: 575.98px) {
    .iena-header-inner { min-height: 78px; padding: 12px 16px; gap: 10px; }
    .iena-brand img { width: 150px; height: 54px; }
    .iena-submenu > li + li { border-top: 1px solid rgba(255,255,255,.2); }
.iena-header-actions { gap: 8px; }
    .iena-language { display: none; }
    .iena-header .iena-account { padding: 10px 12px; font-size: 14px; }
    .iena-account svg { display: none; }
    .iena-navigation { padding-inline: 20px; }
}
@media (max-width: 359.98px) { .iena-brand img { width: 125px; height: 48px; } .iena-header-inner { padding-inline: 12px; } .iena-header .iena-account { padding-inline: 9px; } }
@media (prefers-reduced-motion: reduce) { .iena-header *, .iena-header *::before, .iena-header *::after { animation: none !important; transition: none !important; } }

/* Navigation and dropdowns follow the supplied teal reference. */
.iena-header .iena-submenu { background: #399590; border: 0; border-radius: 0 0 8px 8px; box-shadow: 0 5px 14px rgba(6,53,67,.07); }
.iena-header .iena-submenu a { padding: 12px; color: #fff; font-size: 14px; line-height: 1.5; font-weight: 400; }
.iena-submenu > li + li { border-top: 1px solid rgba(255,255,255,.15); }
.iena-header .iena-submenu a:hover,
.iena-header .iena-submenu a:focus-visible,
.iena-header .iena-submenu a[aria-current] { color: #fff; background: rgba(255,255,255,.16); }
@media (min-width: 1440px) {
    .iena-header-inner { min-height: 86px; padding-block: 0; }
    .iena-brand img { width: 200px; height: 62px; }
    .iena-nav-list { gap: 0; }
    .iena-nav-list > .iena-nav-item:nth-child(3) { min-width: 150px; }
    .iena-header .iena-nav-list .iena-nav-link { min-height: 86px; padding: 18px 12px; border-radius: 0; font-size: 14px; font-weight: 400; justify-content: center; width: 100%; }
    .iena-header .iena-nav-list .iena-nav-link:hover,
    .iena-header .iena-nav-list .iena-nav-link[aria-current="page"] { background: rgba(255,255,255,.08); }
    .iena-header .iena-nav-list .iena-menu-toggle[aria-expanded="true"] { background: #399590; }
    .iena-nav-list .iena-submenu { inset-block-start: 100%; width: 100%; min-width: 0; max-width: none; border-radius: 0 0 8px 8px; background: #399590; }
    .iena-nav-list .iena-submenu a { padding: 12px 10px; }
}
@media (max-width: 1439.98px) {
    .iena-navigation .iena-submenu { background: #399590; border-radius: 8px; }
    .iena-navigation .iena-submenu a { padding: 12px; font-size: 16px; }
}
/* Brand gradient requested for the header and its dropdowns. */
.iena-header,
.iena-header .iena-submenu {
    background: linear-gradient(90deg, #307CC0 0%, #36B9A0 100%) !important;
}

/* Give desktop dropdowns additional room without widening navigation headings. */
@media (min-width: 1440px) {
    .iena-header .iena-nav-list .iena-submenu {
        width: calc(100% + 40px);
        min-width: 200px;
        max-width: 340px;
    }
}
.iena-header .iena-language .iena-submenu { min-width: 180px; }
@media (max-width: 1439.98px) {
    .iena-header .iena-navigation .iena-submenu {
        width: 100%;
        min-width: min(200px, 100%);
    }
}

@media (min-width: 1440px) {
    .iena-header .iena-nav-list .iena-submenu {
        inset-inline-start: 50%;
        margin-inline-start: 0;
        transform: translateX(-50%);
        animation-name: iena-centered-menu-in;
    }
    .iena-header[dir="rtl"] .iena-nav-list .iena-submenu {
        transform: translateX(50%);
        animation-name: iena-centered-menu-in-rtl;
    }
}
@keyframes iena-centered-menu-in {
    from { opacity: 0; transform: translate(-50%, -6px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes iena-centered-menu-in-rtl {
    from { opacity: 0; transform: translate(50%, -6px); }
    to { opacity: 1; transform: translate(50%, 0); }
}

/* Submenus blend into the light mobile navigation drawer. */
@media (max-width: 1439.98px) {
    .iena-header .iena-navigation .iena-submenu {
        background: #fff !important;
        border: 1px solid #e0eeeb;
        border-radius: 10px;
        box-shadow: none;
    }
    .iena-header .iena-navigation .iena-submenu > li + li {
        border-top: 1px solid #e0eeeb;
    }
    .iena-header .iena-navigation .iena-submenu a {
        color: #245b65;
        text-align: start;
        padding: 13px 20px;
    }
    .iena-header .iena-navigation .iena-submenu a:hover,
    .iena-header .iena-navigation .iena-submenu a:focus-visible,
    .iena-header .iena-navigation .iena-submenu a[aria-current] {
        color: #087568;
        background: #e3f3ee;
    }
}

.iena-header.iena-header-home { position: fixed; inset-block-start: 0; inset-inline: 0; background: transparent !important; box-shadow: none; isolation: isolate; transition: box-shadow .25s ease; }
.iena-header-home::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #307CC0 0%, #36B9A0 100%); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.iena-header-home.iena-header-scrolled::before { opacity: 1; }
.iena-header-home.iena-header-scrolled { box-shadow: 0 2px 12px rgba(0,64,82,.12); }
.iena-home-page .banner { margin-top: 0; min-height: 100vh; min-height: 100svh; }
.iena-home-page .banner-content { padding-top: 110px; }
@media (max-width: 575.98px) { .iena-home-page .banner-content { padding-top: 96px; } }

@media (min-width: 1440px) {
    .iena-header .iena-nav-list .iena-menu-toggle.is-active { background: rgba(255,255,255,.16); }
}
@media (max-width: 1439.98px) {
    .iena-header .iena-navigation .iena-menu-toggle.is-active { color: #087568; background: #edf8f5; }
}

html.iena-drawer-open,
html.iena-drawer-open body {
    overflow: hidden !important;
    overscroll-behavior: none;
}

/* Apply glass to a separate layer so the mobile drawer remains fixed to the screen. */
.iena-header { background: transparent !important; isolation: isolate; border-bottom: 1px solid rgba(255,255,255,.14); }
.iena-header::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(48,124,192,.84) 0%, rgba(54,185,160,.84) 100%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 1; transition: opacity .25s ease; }
.iena-header.iena-header-home::before { opacity: 0; }
.iena-header.iena-header-home.iena-header-scrolled::before { opacity: 1; }
.iena-header-home:not(.iena-header-scrolled) { border-bottom-color: transparent; }
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
    .iena-header::before { background: linear-gradient(90deg, #307CC0 0%, #36B9A0 100%); }
}
@media (prefers-reduced-motion: reduce) { .iena-header::before { transition: none; } }
/* Distinguish temporary hover from the selected submenu item. */
.iena-header .iena-submenu a:hover,
.iena-header .iena-submenu a:focus-visible { background: rgba(255,255,255,.12); }
.iena-header .iena-submenu a[aria-current],
.iena-header .iena-submenu a[aria-current]:hover,
.iena-header .iena-submenu a[aria-current]:focus-visible {
    background: rgba(0,48,76,.26);
    font-weight: 600;
}
@media (max-width: 1439.98px) {
    .iena-header .iena-navigation .iena-submenu a:hover,
    .iena-header .iena-navigation .iena-submenu a:focus-visible { color: #245b65; background: #f1f7f6; }
    .iena-header .iena-navigation .iena-submenu a[aria-current],
    .iena-header .iena-navigation .iena-submenu a[aria-current]:hover,
    .iena-header .iena-navigation .iena-submenu a[aria-current]:focus-visible { color: #087568; background: #dcefe8; font-weight: 600; }
}
