.hn-shell {
    --topbar: #005c32;
    --green: #0f7a3c;
    --green-deep: #014d34;
    --green-ink: #123024;
    --yellow: #f5c400;
    --text: #1b2430;
    --muted: #5e6b78;
    --line: #e6eee8;
    --header-h: 78px;
    font-family: "Plus Jakarta Sans", sans-serif;
    box-sizing: border-box;
}

.hn-shell *,
.hn-shell *::before,
.hn-shell *::after { box-sizing: border-box; }

.hn-shell a { color: inherit; text-decoration: none; }
.hn-shell button,
.hn-shell input { font-family: inherit; }
.hn-shell img { max-width: 100%; display: block; }
.hn-shell p { margin: 0; }

.hn-shell .container {
    width: min(1160px, calc(100% - 40px));
    max-width: none;
    margin: 0 auto;
    padding: 0;
}

.hn-shell.topbar {
    background: var(--topbar);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.hn-shell .topbar-inner,
.hn-shell .header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hn-shell .topbar-inner { min-height: 38px; }

.hn-shell .toplinks,
.hn-shell .topmeta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hn-shell .toplinks a:hover,
.hn-shell .topmeta a:hover { opacity: 0.85; }

.hn-shell .topmeta { letter-spacing: 0; font-weight: 500; }
.hn-shell .topmeta i { margin-right: 6px; }

.hn-shell .soc {
    width: 22px;
    height: 22px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-size: 11px;
}

.hn-shell .soc i { margin: 0; }

.hn-shell.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #fff;
    box-shadow: 0 1px 0 rgba(16, 60, 32, 0.06);
}

.hn-shell .header-bar {
    position: relative;
    height: var(--header-h);
    gap: 12px;
}

.hn-shell .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.hn-shell .brand img { width: 52px; height: 52px; object-fit: contain; }

.hn-shell .brand strong {
    display: block;
    font-size: 22px;
    letter-spacing: 0.04em;
    color: var(--green-ink);
    line-height: 1;
}

.hn-shell .brand small {
    display: block;
    margin-top: 3px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.hn-shell .main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-inline: auto;
}

.hn-shell .menu-item { position: relative; }

.hn-shell .menu-item > a,
.hn-shell .menu-item > button {
    background: none;
    border: 0;
    color: #243042;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    line-height: 1.2;
    box-shadow: none;
}

.hn-shell .menu-item > a.active,
.hn-shell .dropdown a.active {
    color: var(--green);
    /* box-shadow: inset 0 -2px 0 var(--green); */
}

.hn-shell .menu-item > button i { font-size: 10px; color: #6b7280; }

.hn-shell .dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 280px;
    background: #fff;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(8, 40, 20, 0.12);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: 0.18s ease;
    z-index: 20;
    float: none;
}

.hn-shell .menu-item:hover > .dropdown,
.hn-shell .menu-item:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
    display: block;
}

.hn-shell .dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #243042;
    white-space: normal;
}

.hn-shell .dropdown a:hover,
.hn-shell .dropdown a:focus { background: #f3faf5; color: var(--green); text-decoration: none; }

.hn-shell .dropdown-label {
    display: block;
    padding: 10px 12px 2px;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
}

.hn-shell .dropdown-sub { padding-left: 22px; }

.hn-shell .header-end {
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hn-shell .icon-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    border-radius: 12px;
    color: var(--green-ink);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.hn-shell .btn-yellow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    background: var(--yellow);
    color: #1a1a1a;
    padding: 12px 16px;
    line-height: 1.2;
}

.hn-shell .btn-yellow:hover { filter: brightness(0.96); color: #1a1a1a; text-decoration: none; }

.hn-shell .header-cta { border-radius: 999px; padding: 12px 18px; white-space: nowrap; }
.hn-shell .nav-cta { display: none; }

.hn-shell .search-pop { display: none; padding: 0 20px 14px; }
.hn-shell .search-pop.open { display: block; }

.hn-shell .search-pop form {
    display: flex;
    gap: 8px;
    width: min(1160px, 100%);
    margin: 0 auto;
}

.hn-shell .search-pop input {
    flex: 1;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    box-shadow: none;
}

.hn-shell .search-pop button {
    border: 0;
    background: var(--green);
    color: #fff;
    border-radius: 12px;
    padding: 0 16px;
    font-weight: 700;
    cursor: pointer;
}

.hn-shell.site-foot {
    background: #013d29;
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
    padding: 16px 16px 22px;
    font-size: 13px;
    line-height: 1.6;
}

.hn-shell.site-foot .foot-links {
    margin: 0 0 6px;
}

.hn-shell.site-foot a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

@media (min-width: 1081px) {
    .hn-shell .dropdown { max-height: 70vh; overflow: auto; }
}

@media (max-width: 1280px) {
    .hn-shell .toplinks,
    .hn-shell .topmeta { gap: 8px; font-size: 11px; }
    .hn-shell .menu-item > a,
    .hn-shell .menu-item > button { font-size: 13px; padding: 8px 6px; }
    .hn-shell .brand small { font-size: 10px; }
}

@media (max-width: 1080px) {
    .hn-shell { --header-h: 68px; }
    .hn-shell.topbar { display: none; }

    .hn-shell .burger,
    .hn-shell .search-btn { display: inline-grid; place-items: center; }
    .hn-shell .header-cta { display: none; }

    .hn-shell .brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .hn-shell .brand strong { font-size: 18px; }
    .hn-shell .brand img { width: 40px; height: 40px; }
    .hn-shell .brand small { font-size: 10px; }

    .hn-shell .main-nav {
        display: none;
        position: fixed;
        z-index: 1039;
        margin: 0;
        inset: var(--header-h) 0 0 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 18px 28px;
        overflow: auto;
        gap: 0;
    }

    body.nav-open .hn-shell .main-nav { display: flex; }

    .hn-shell .menu-item > a,
    .hn-shell .menu-item > button {
        width: 100%;
        justify-content: space-between;
        padding: 14px 4px;
        border-bottom: 1px solid var(--line);
        font-size: 16px;
    }

    .hn-shell .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        min-width: 0;
        max-height: none;
        padding: 0 0 8px 12px;
    }

    .hn-shell .menu-item.open > .dropdown { display: block; }
    .hn-shell .nav-cta { display: inline-flex; margin-top: 16px; }
}

@media (max-width: 640px) {
    .hn-shell .container { width: min(1160px, calc(100% - 28px)); }
    .hn-shell .brand small { display: none; }
}
