#header_wrapper {
    --header-bg-start: var(--jc-navy);
    --header-bg-middle: var(--jc-navy-2);
    --header-bg-end: var(--jc-panel);
    --header-panel-bg: rgba(255, 255, 255, 0.08);
    --header-panel-border: rgba(255, 255, 255, 0.12);
    --header-panel-hover: rgba(255, 255, 255, 0.16);
    --header-soft-text: rgba(226, 232, 240, 0.78);
    --header-menu-bg: rgba(255, 255, 255, 0.98);
    --header-menu-border: rgba(148, 163, 184, 0.18);
    --header-menu-shadow: 0 24px 52px rgba(11, 61, 61, 0.22);
    --header-search-shadow: 0 20px 36px rgba(11, 61, 61, 0.18);
    --header-cta-start: var(--jc-amber);
    --header-cta-end: var(--jc-amber-dark);
    --header-brand-blue: var(--jc-navy-2);
    --header-brand-cyan: var(--jc-sky);
    --header-brand-orange: var(--jc-amber);
    --header-search-width: clamp(320px, 48vw, 760px);
    background: linear-gradient(135deg, var(--header-bg-start) 0%, var(--header-bg-middle) 48%, var(--header-bg-end) 100%);
    color: var(--jc-white) !important;
    padding: 0;
    z-index: 40;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    position: sticky;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 44px rgba(11, 61, 61, 0.22);
    isolation: isolate;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: transform 220ms ease, opacity 180ms ease, box-shadow 220ms ease, border-color 220ms ease;
    will-change: transform, opacity;
}

#header_wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(61, 214, 198, 0.18), transparent 32%),
        radial-gradient(circle at 85% 15%, rgba(0, 157, 143, 0.12), transparent 24%);
    pointer-events: none;
    z-index: 0;
}

#header_spacer {
    display: none;
    height: 0;
}

#header_wrapper > header {
    transition: padding 220ms ease;
}

#header_wrapper li {
    list-style: none;
}

#header_wrapper > header,
#splash_header_content {
    position: relative;
    z-index: 1;
    max-width: calc(var(--max-body-width) + 2.2rem);
    margin: 0 auto;
}

#header_wrapper > header {
    padding: 0.95rem clamp(0.85rem, 2vw, 1.35rem) 1rem;
}

#splash_header_content {
    min-height: 76px;
    padding: 0.95rem clamp(0.85rem, 2vw, 1.35rem);
    align-items: center;
}

#header_wrapper .header_top_row {
    align-items: center;
    row-gap: 0.9rem;
    transition: row-gap 220ms ease;
}

#splash_header_content .btn {
    color: var(--white);
    font-family: var(--display-font);
    font-size: clamp(1.45rem, 2.8vw, 1.95rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    padding: 0;
}

#splash_header_content aside:last-child {
    color: var(--header-soft-text);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.header_brand_shell {
    display: flex;
    align-items: center;
    min-width: 0;
}

.header_brand_link {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none !important;
}

.header_brand_link:hover,
.header_brand_link:focus {
    color: inherit;
    text-decoration: none;
}

.header_brand_link:focus-visible {
    outline: 2px solid rgba(125, 211, 252, 0.72);
    outline-offset: 6px;
    border-radius: 22px;
}

.jc-header-brand {
    display: block;
    width: clamp(178px, 18vw, 232px);
    height: 62px;
    background: var(--jc-logo-horizontal-dark) left center / contain no-repeat;
    flex: 0 0 auto;
    min-width: 0;
    transition: width 220ms ease, height 220ms ease;
}

.jc-header-brand__mark,
.jc-header-brand__text {
    display: none !important;
}

.jc-header-brand__mark {
    position: relative;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.18) 0%, rgba(61, 214, 198, 0.16) 55%, rgba(0, 157, 143, 0.14) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 28px rgba(2, 6, 23, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.jc-header-brand__mark::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(15, 23, 42, 0) 100%);
    pointer-events: none;
}

.jc-header-brand__mark svg {
    width: 42px;
    height: 42px;
    filter: drop-shadow(0 10px 18px rgba(8, 17, 31, 0.22));
}

.jc-header-brand__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.jc-header-brand__wordmark {
    display: flex;
    align-items: baseline;
    line-height: 0.92;
    font-family: var(--display-font);
    font-size: clamp(1.42rem, 1.2rem + 0.6vw, 1.82rem);
    font-weight: 800;
    letter-spacing: -0.08em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.97);
    text-shadow: 0 8px 18px rgba(2, 6, 23, 0.26);
    white-space: nowrap;
}

.jc-header-brand__wordmark-main {
    padding-right: 0.06em;
}

.jc-header-brand__wordmark-accent {
    background: linear-gradient(135deg, #3dd6c6 0%, #009d8f 48%, #f8fafc 100%);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.jc-header-brand__tag {
    margin-top: 0.28rem;
    padding-left: 0.12rem;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.72);
    white-space: nowrap;
}

.header_brand_link:hover .jc-header-brand__mark,
.header_brand_link:focus .jc-header-brand__mark {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.38);
    box-shadow: 0 20px 34px rgba(2, 6, 23, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.header_brand_link:hover .jc-header-brand__wordmark-accent,
.header_brand_link:focus .jc-header-brand__wordmark-accent {
    filter: brightness(1.08);
}

.header_search_wrap {
    min-width: 0;
    flex: 1 1 var(--header-search-width);
    max-width: var(--header-search-width);
    padding-left: 1rem;
    padding-right: 0.9rem;
}

#search_form_section {
    position: relative;
    z-index: 6;
    min-width: 0;
}

.header_tools_shell,
.header_accounts_shell {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.header_tools_shell {
    padding-left: 0.15rem;
}

.header_accounts_shell {
    padding-left: 0.85rem;
}

#header_wrapper #search_form {
    position: relative;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.54) !important;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96) !important;
    color: var(--heading) !important;
    box-shadow: var(--header-search-shadow);
    overflow: visible;
}

#header_wrapper #search_form .input-group {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    align-items: stretch;
    transition: min-height 220ms ease;
}

#header_wrapper #search_form .search-panel {
    display: flex;
    align-items: stretch;
}

#header_wrapper #search_form .header_search_filter {
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border: none;
    border-right: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 17px 0 0 17px;
    padding: 0 0.95rem;
    box-shadow: none;
}

#header_wrapper #search_form input[type=search] {
    color: #0f172a !important;
    padding: 0 1rem !important;
    font-size: 0.96rem;
    font-weight: 500;
    border: none;
    outline: none;
}

#header_wrapper #search_form input[type='search']::placeholder,
#header_wrapper #search_form input[type='search']::-webkit-input-placeholder,
#header_wrapper #search_form input[type='search']::-moz-placeholder {
    color: #64748b !important;
}

#header_wrapper #search_form input {
    border: none;
    outline: none;
    font-size: 15px;
}

#header_wrapper #search_form .header_search_submit {
    min-width: 56px;
    border: none;
    border-radius: 0 17px 17px 0;
    background: linear-gradient(135deg, var(--jc-amber) 0%, var(--jc-sky) 58%, var(--jc-amber-dark) 100%);
    color: var(--jc-white);
    box-shadow: none;
}

#header_wrapper #search_form .header_search_submit:hover,
#header_wrapper #search_form .header_search_submit:focus {
    color: var(--jc-white);
    filter: brightness(1.04);
    box-shadow: none;
}

#header_wrapper #search_form .header_search_submit .header_search_submit_alt{
    display: none!important;
    background: red!important;
}

#search_concept {
    color: var(--jc-amber-dark);
    font-size: 0.92rem;
}

#header_search_cats {
    width: min(300px, 86vw);
    padding: 0.5rem;
    margin-top: 0.7rem;
    font-size: 0.92em;
    border: 1px solid var(--header-menu-border);
    border-radius: 18px;
    background: var(--header-menu-bg);
    box-shadow: var(--header-menu-shadow);
}

#header_search_cats li {
    padding: 0.75rem 0.85rem;
    color: var(--heading);
    border-radius: 12px;
}

#header_search_cats a {
    display: block;
    color: inherit;
    border-radius: 12px;
}

#header_search_cats a:hover {
    text-decoration: none;
    background: rgba(15, 23, 42, 0.05);
}

#header_search_cats a:hover li,
#header_search_cats li:hover {
    color: var(--jc-amber-dark);
}

#header_autocomplete {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    right: 0;
    z-index: 40;
    display: none;
    padding: 0.65rem;
    border: 1px solid var(--header-menu-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.985);
    box-shadow: var(--header-menu-shadow);
    color: var(--heading);
    max-height: min(52vh, 24rem);
    overflow-y: auto;
    overflow-x: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

#header_autocomplete.is-open {
    display: block;
}

#header_autocomplete[hidden] {
    display: none !important;
}

.header_autocomplete__meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.1rem 0.35rem 0.8rem;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: #64748b;
}

.header_autocomplete__meta-query {
    color: var(--jc-amber-dark);
    letter-spacing: 0.02em;
    text-transform: none;
    font-size: 0.8rem;
    font-weight: 700;
}

.header_autocomplete__list {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
}

.header_autocomplete__item {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.82rem;
    padding: 0.82rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 16px;
    background: transparent;
    color: var(--heading);
    text-align: left;
    cursor: pointer;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.header_autocomplete__item:hover,
.header_autocomplete__item:focus-visible,
.header_autocomplete__item.is-active {
    background: rgba(0, 157, 143, 0.08);
    border-color: rgba(0, 157, 143, 0.14);
    box-shadow: 0 10px 20px rgba(0, 157, 143, 0.1);
    text-decoration: none;
    outline: none;
}

.header_autocomplete__item--search {
    background: linear-gradient(135deg, rgba(0, 157, 143, 0.12), rgba(61, 214, 198, 0.08));
    border-color: rgba(0, 157, 143, 0.14);
}

.header_autocomplete__item--search:hover,
.header_autocomplete__item--search:focus-visible,
.header_autocomplete__item--search.is-active {
    background: linear-gradient(135deg, rgba(0, 157, 143, 0.18), rgba(61, 214, 198, 0.12));
}

.header_autocomplete__icon {
    width: 2.1rem;
    height: 2.1rem;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: var(--jc-navy);
    background: rgba(61, 214, 198, 0.2);
}

.header_autocomplete__item--search .header_autocomplete__icon {
    color: var(--jc-white);
    background: linear-gradient(135deg, var(--jc-amber) 0%, var(--jc-sky) 100%);
    box-shadow: 0 12px 20px rgba(10, 111, 105, 0.18);
}

.header_autocomplete__content {
    min-width: 0;
    flex: 1 1 auto;
}

.header_autocomplete__title {
    display: block;
    font-size: 0.96rem;
    font-weight: 650;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header_autocomplete__subtitle {
    display: block;
    margin-top: 0.18rem;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.35;
}

.header_autocomplete__query {
    color: var(--jc-amber-dark);
    font-weight: 800;
}

.header_autocomplete__empty {
    padding: 1rem 0.9rem 0.85rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.45;
}

.header_autocomplete__empty strong {
    color: #0f172a;
}

#search_background {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.42);
    backdrop-filter: blur(4px);
    z-index: 19;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

#search_background.active {
    width: 100vw;
    height: 100vh;
    opacity: 1;
    pointer-events: auto;
}

#header_icons_div .nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

#header_icons_div .nav > li,
#header_icons_div .dropdown {
    display: flex;
    align-items: center;
    margin: 0;
}

#header_icons_div .header_icon_btn {
    width: 44px;
    height: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    line-height: 1;
    border-radius: 14px;
    background: var(--header-panel-bg);
    border: 1px solid var(--header-panel-border);
    backdrop-filter: blur(12px);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, width 220ms ease, height 220ms ease, min-height 220ms ease, border-radius 220ms ease;
}

#header_icons_div .header_icon_btn:hover,
#header_icons_div .header_icon_btn:focus {
    background: var(--header-panel-hover);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 30px rgba(2, 6, 23, 0.18);
    transform: translateY(-1px);
}

#header_icons_div .header_icon_btn i {
    display: block;
    line-height: 1;
    color: var(--white);
}

.popup_btn {
    color: var(--white);
    font-size: 1.05rem;
    margin: 0;
}

.header_menu_btn {
    position: relative;
    top: 0;
}

#accounts_ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

#accounts_ul li {
    float: none;
}

#accounts_ul .header_auth_btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.8rem 1.05rem;
    border-radius: 14px;
    font-size: 0.94rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, min-height 220ms ease, padding 220ms ease, font-size 220ms ease;
}

#accounts_ul .header_auth_secondary {
    background: var(--header-panel-bg);
    color: var(--white) !important;
}

#accounts_ul .header_auth_primary {
    background: linear-gradient(135deg, var(--header-cta-start) 0%, var(--header-cta-end) 100%);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--jc-navy) !important;
    box-shadow: 0 18px 30px rgba(0, 157, 143, 0.24);
}

#accounts_ul .header_auth_btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

#accounts_ul .header_auth_secondary:hover {
    background: var(--header-panel-hover);
}

#accounts_ul .header_auth_primary:hover {
    box-shadow: 0 20px 34px rgba(0, 157, 143, 0.3);
    filter: saturate(1.04);
}

#carouselbreaking {
    width: 172px;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    position: relative;
    padding: 0 1rem;
    border-radius: 16px;
    color: var(--white);
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    background: var(--header-panel-bg);
    border: 1px solid var(--header-panel-border);
    box-shadow: none;
    transition: min-height 220ms ease, width 220ms ease, padding 220ms ease, border-radius 220ms ease, background 0.18s ease, border-color 0.18s ease;
}

#carouselbreaking:hover,
#carouselbreaking:focus {
    background: var(--header-panel-hover);
}

#carouselbreaking.has-unread-notifications {
    border-color: rgba(248, 113, 113, 0.36);
}

.header_notification_icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.header_notification_label {
    overflow: hidden;
    text-overflow: ellipsis;
}

.header_notification_dot {
    position: absolute;
    top: -0.35rem;
    right: -0.42rem;
    width: 0.58rem;
    height: 0.58rem;
    border-radius: 999px;
    background: #ef4444;
    border: 2px solid #142946;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.48);
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

#carouselbreaking.has-unread-notifications .header_notification_dot {
    opacity: 1;
    transform: scale(1);
    animation: headerNotificationPulse 1.8s ease-out infinite;
}

@keyframes headerNotificationPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.48);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    #carouselbreaking.has-unread-notifications .header_notification_dot {
        animation: none;
    }
}

#carouselbreaking .header_notification_label,
#carouselbreaking .header_notification_icon {
    color: var(--white);
}

.header_notification_dropdown {
    position: relative;
    z-index: 20;
}

#carouselbreaking-dropdown {
    top: calc(100% + 0.75rem);
    right: 0;
    left: auto;
    width: min(420px, 92vw);
    min-width: 320px;
    max-width: 92vw;
    max-height: min(70vh, 560px);
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
    overflow: hidden auto;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    color: var(--heading);
}

#carouselbreaking-dropdown.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

#carouselbreaking-dropdown .header_notifications_panel {
    display: flex;
    flex-direction: column;
}

#carouselbreaking-dropdown .header_notifications_header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 1rem 0.85rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    color: #c2410c;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

#carouselbreaking-dropdown .header_notifications_list {
    margin: 0;
    padding: 0;
}

#carouselbreaking-dropdown .header_notification_item + .header_notification_item {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

#carouselbreaking-dropdown .header_notification_card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    color: var(--heading);
    text-decoration: none;
    transition: background-color 0.16s ease, color 0.16s ease;
}

#carouselbreaking-dropdown .header_notification_card:hover {
    background: rgba(37, 99, 235, 0.06);
    color: var(--heading);
    text-decoration: none;
}

#carouselbreaking-dropdown .header_notification_avatar_wrap {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.98), rgba(226, 232, 240, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

#carouselbreaking-dropdown .header_notification_avatar {
    width: 100%;
    height: 100%;
    padding: 0;
    display: block;
    object-fit: cover;
}

#carouselbreaking-dropdown .header_notification_copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

#carouselbreaking-dropdown .header_notification_title {
    display: block;
    color: var(--heading);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#carouselbreaking-dropdown .header_notification_excerpt {
    display: -webkit-box;
    overflow: hidden;
    color: #475569;
    font-size: 0.86rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#carouselbreaking-dropdown .header_notification_date {
    flex: 0 0 auto;
    margin-left: 0.35rem;
    padding-top: 0.1rem;
    color: #ea580c;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

#carouselbreaking-dropdown .header_notification_empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.6rem 1rem;
    color: #64748b;
    text-align: center;
}

#carouselbreaking-dropdown .header_notifications_footer {
    display: block;
    margin: 0;
    padding: 0.95rem 1rem 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 0 0 24px 24px;
    font-weight: 700;
    text-align: center;
}

#carouselbreaking-dropdown .header_notifications_footer:hover {
    background: rgba(0, 157, 143, 0.1);
    color: var(--jc-amber-dark);
    text-decoration: none;
}

#header_dropdown {
    width: min(310px, 92vw);
    padding: 0.55rem;
    margin-top: 0.8rem;
    font-size: 0.93em;
    color: var(--heading);
    border: 1px solid var(--header-menu-border);
    border-radius: 18px;
    background: var(--header-menu-bg);
    box-shadow: var(--header-menu-shadow);
}

#header_dropdown li {
    color: var(--heading);
    cursor: pointer;
    margin-bottom: 0.2rem;
}

#header_dropdown li:last-child {
    margin-bottom: 0;
}

#header_dropdown li:hover {
    background: transparent;
    color: var(--heading);
}

#header_dropdown li a {
    color: var(--heading);
    padding: 0.72rem 0.8rem;
    line-height: 1.55rem;
    border-radius: 12px;
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
}

#header_dropdown a:hover {
    text-decoration: none;
    background: rgba(0, 157, 143, 0.12);
    color: var(--jc-navy);
}

#header_dropdown .icon {
    width: 1.9rem;
    min-width: 1.9rem;
    height: 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 0;
    color: var(--jc-amber-dark);
    background: rgba(0, 157, 143, 0.14);
}

#header_wrapper .dropdown-menu {
    border: 1px solid var(--header-menu-border);
    box-shadow: var(--header-menu-shadow);
}

#header_wrapper .dropdown-divider {
    border-top-color: rgba(148, 163, 184, 0.22);
    margin: 0.4rem 0;
}

#notifications_ul .notification_title {
    color: var(--heading);
}

#notifications_ul li {
    cursor: pointer;
}

#notifications_ul img {
    padding: 0;
    display: block;
}

#notifications_ul a:hover {
    text-decoration: none;
    color: inherit;
}

#below_header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.7rem;
    font-size: 0.88rem;
    background: transparent;
    color: var(--white);
    width: 100%;
    margin-top: 1rem;
    padding: 0.95rem 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
    max-height: 220px;
    overflow: hidden;
    visibility: visible;
    contain: layout paint;
    transform: translate3d(0, 0, 0);
    transform-origin: top center;
    transition: max-height 220ms ease, opacity 160ms ease, transform 220ms ease, margin 220ms ease, padding 220ms ease, border-color 220ms ease;
}

#below_header > li {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding: 0 !important;
    margin: 0;
}

#below_header .header_quick_link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.72rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

#below_header .header_quick_link:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--white) !important;
    text-decoration: none;
    transform: translateY(-1px);
}

#below_header .header_quick_link--global-event {
    background: rgba(125, 211, 252, 0.18);
    border-color: rgba(125, 211, 252, 0.38);
    color: #ffffff !important;
    font-weight: 800;
}

.header-scroll-enhanced #header_wrapper {
    position: fixed;
}

.header-scroll-enhanced #header_spacer {
    display: block;
    height: var(--jc-header-full-height, 0px);
}

.header-scroll-enhanced #header_wrapper[data-scroll-state="compact"] {
    box-shadow: 0 18px 36px rgba(11, 61, 61, 0.24);
}

.header-scroll-enhanced #header_wrapper[data-scroll-state="compact"] > header {
    padding-top: 0.58rem;
    padding-bottom: 0.62rem;
}

.header-scroll-enhanced #header_wrapper[data-scroll-state="compact"] .header_top_row {
    row-gap: 0.55rem;
}

.header-scroll-enhanced #header_wrapper[data-scroll-state="compact"] #below_header {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -0.5rem, 0);
    margin-top: 0;
    padding-top: 0 !important;
    border-top-color: transparent;
    pointer-events: none;
}

@media screen and (min-width: 992px) {
    .header-scroll-enhanced #header_wrapper[data-scroll-state="compact"] .jc-header-brand {
        width: clamp(160px, 15vw, 204px);
        height: 54px;
    }

    .header-scroll-enhanced #header_wrapper[data-scroll-state="compact"] #search_form .input-group {
        min-height: 50px;
    }

    .header-scroll-enhanced #header_wrapper[data-scroll-state="compact"] #header_icons_div .header_icon_btn {
        width: 40px;
        height: 40px;
        min-height: 40px;
        border-radius: 13px;
    }

    .header-scroll-enhanced #header_wrapper[data-scroll-state="compact"] #accounts_ul .header_auth_btn {
        min-height: 40px;
        padding: 0.66rem 0.92rem;
        font-size: 0.88rem;
    }

    .header-scroll-enhanced #header_wrapper[data-scroll-state="compact"] #carouselbreaking {
        width: auto;
        min-height: 40px;
        padding: 0 0.9rem;
        border-radius: 14px;
    }
}

@media screen and (max-width: 991px) {
    .large_header_visibility {
        display: none;
    }

    #header_wrapper > header {
        padding: 0.85rem 0.85rem 0.95rem;
    }

    .header_top_row {
        row-gap: 0.75rem;
    }

    .header_search_wrap {
        order: 3;
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
        margin-top: 0.85rem;
    }

    #header_icons_div {
        position: static;
        right: auto;
        margin-left: auto;
        padding-left: 0.5rem;
    }

    .header_accounts_shell {
        padding-left: 0;
    }

    #header_icons_div .nav {
        justify-content: flex-end;
        flex-wrap: nowrap;
    }

    .jc-header-brand {
        width: 196px;
        height: 56px;
    }

    .jc-header-brand__mark {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        border-radius: 16px;
    }

    .jc-header-brand__mark svg {
        width: 39px;
        height: 39px;
    }

    .jc-header-brand__wordmark {
        font-size: 1.56rem;
    }

    .jc-header-brand__tag {
        font-size: 0.57rem;
        letter-spacing: 0.22em;
    }

    #below_header {
        margin-top: 0.9rem;
        padding-top: 0.85rem !important;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    #below_header {
        display: none !important;
    }

    #below_header::-webkit-scrollbar {
        display: none;
    }

    .small_header_visibility {
        display: initial;
    }

    #header_dropdown {
        left: auto !important;
        right: 0 !important;
        width: min(300px, calc(100vw - 1rem));
        max-width: calc(100vw - 1rem);
        margin-top: 0.6rem;
        transform: none !important;
    }

    .header-scroll-enhanced #header_wrapper[data-scroll-state="compact"] > header {
        padding-top: 0.72rem;
        padding-bottom: 0.78rem;
    }

    .header-scroll-enhanced #header_wrapper[data-scroll-state="compact"] #search_form .input-group {
        min-height: 52px;
    }
}

@media screen and (min-width: 992px) {
    #header_wrapper .header_top_row {
        flex-wrap: nowrap;
    }

    .large_header_visibility {
        display: initial;
    }

    .small_header_visibility {
        display: none!important;
    }
}

@media screen and (min-width: 1200px) {
    #header_wrapper {
        --header-search-width: clamp(340px, 44vw, 760px);
    }
}

@media screen and (min-width: 1400px) {
    #header_wrapper {
        --header-search-width: clamp(380px, 42vw, 760px);
    }
}

@media screen and (max-width: 575px) {
    #header_wrapper > header {
        padding: 0.8rem 0.75rem 0.9rem;
    }

    #header_icons_div .header_icon_btn {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
    }

    #header_icons_div .nav {
        gap: 0.35rem;
    }

    #header_icons_div .header_icon_btn {
        width: 40px;
        height: 40px;
        min-height: 40px;
        border-radius: 12px;
    }

    #splash_header_content {
        padding: 0.85rem 0.75rem;
    }

    #splash_header_content aside:last-child {
        display: none;
    }

    .jc-header-brand {
        width: 160px;
        height: 48px;
    }

    .jc-header-brand__mark {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 15px;
    }

    .jc-header-brand__mark svg {
        width: 34px;
        height: 34px;
    }

    .jc-header-brand__wordmark {
        font-size: 1.3rem;
        letter-spacing: -0.06em;
    }

    .jc-header-brand__tag {
        display: none;
    }

    #header_wrapper #search_form .input-group {
        min-height: 52px;
    }

    #below_header {
        gap: 0.45rem;
        overflow-x: hidden;
        margin-top: 0.75rem;
        padding-top: 0.7rem !important;
    }

    #below_header .header_quick_link {
        min-height: 38px;
        padding: 0.58rem 0.82rem;
        font-size: 0.8rem;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    #carouselbreaking-dropdown {
        width: min(92vw, 380px);
    }

    #header_dropdown,
    #header_search_cats {
        width: min(92vw, 320px);
    }

    .header-scroll-enhanced #header_wrapper[data-scroll-state="compact"] .jc-header-brand {
        width: 150px;
        height: 46px;
    }

    .header-scroll-enhanced #header_wrapper[data-scroll-state="compact"] #header_icons_div .header_icon_btn {
        width: 38px;
        height: 38px;
        min-height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #header_wrapper,
    #header_wrapper > header,
    #header_wrapper .header_top_row,
    .jc-header-brand,
    #header_wrapper #search_form .input-group,
    #header_icons_div .header_icon_btn,
    #accounts_ul .header_auth_btn,
    #carouselbreaking,
    #below_header {
        transition: none !important;
    }
}
