/* Shared global regions. Keep all navigation usable before script initialization. */
[hidden] { display: none !important; }
.t24-site-header { position: sticky; top: 0; z-index: 100000; background: var(--t24-background); padding-block: 0; border-bottom: 1px solid var(--t24-border); }
/* Use the shared container to align the masthead with the footer. */
.t24-masthead { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; }
.t24-brand { grid-column: 1; grid-row: 1; min-width: 0; text-align: left; }
.t24-site-title { color: var(--t24-text); font-size: clamp(1.125rem, 3.5vw, 1.75rem); line-height: 1.15; font-weight: 800; letter-spacing: -.04em; }
.custom-logo-link { display: inline-block; max-width: 100%; vertical-align: middle; }
.t24-brand, .t24-footer-brand { display: flex; align-items: center; gap: clamp(8px, 1.5vw, 16px); }
.t24-brand .custom-logo-link, .t24-footer-brand .custom-logo-link { min-width: 0; flex: 0 1 auto; }
.t24-wordmark { display: inline-flex; align-items: baseline; flex-shrink: 0; color: var(--t24-primary); font-family: var(--t24-font-ui); font-size: clamp(1.375rem, 3vw, 2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.t24-wordmark__number { color: var(--t24-accent); margin-left: .045em; letter-spacing: -.07em; text-shadow: 0 1px 0 rgb(17 55 94 / 12%); }
.t24-wordmark:hover { text-decoration: none; }
.t24-site-footer .t24-wordmark { color: #e3edf7; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.t24-site-header .custom-logo { display: block; width: auto; max-width: 100%; max-height: 28px; height: auto; object-fit: contain; margin-inline: auto; }
.t24-header-actions { grid-column: 2; grid-row: 1; display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.t24-nav-button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px; border: 0; border-radius: 0; background: transparent; color: var(--t24-text); box-shadow: none; text-decoration: none; }
.t24-nav-button:hover, .t24-nav-button[aria-expanded="true"] { background: var(--t24-surface); color: var(--t24-text); }
.t24-nav-icon { flex: 0 0 24px; width: 24px; height: 24px; }
.t24-menu-icon path { transition: transform .18s ease, opacity .18s ease; }
.t24-menu-toggle[aria-expanded="true"] .t24-menu-icon__top { transform: translateY(6px) rotate(45deg); transform-origin: 12px 6px; }
.t24-menu-toggle[aria-expanded="true"] .t24-menu-icon__middle { opacity: 0; }
.t24-menu-toggle[aria-expanded="true"] .t24-menu-icon__bottom { transform: translateY(-6px) rotate(-45deg); transform-origin: 12px 18px; }
.t24-register-link { display: none; }
.t24-desktop-navigation { display: none; }
.t24-primary-navigation { border-top: 1px solid var(--t24-border); padding-block: 8px; }
/* Only enhanced menus float over content; the no-script navigation stays in flow. */
.admin-bar .t24-site-header { top: 32px; }
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .t24-site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .t24-site-header { top: 0; } }
html.t24-drawer-open { overflow: hidden; }
.t24-header-enhanced .t24-primary-navigation { position: fixed; top: 0; right: 0; width: min(24rem, 100%); height: 100vh; height: 100dvh; max-height: none; display: flex; flex-direction: column; overflow: hidden; padding: max(20px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom)); background: var(--t24-background); color: var(--t24-text); border: 0; box-shadow: -12px 0 40px rgb(0 0 0 / 24%); z-index: 2; animation: t24-drawer-enter .24s ease-out; }
.t24-drawer-heading { flex-shrink: 0; background: var(--t24-background); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 24px; margin-bottom: 12px; border-bottom: 1px solid var(--t24-border); font-size: 1.5rem; font-weight: 700; }
.t24-drawer-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--t24-border); border-radius: 50%; color: var(--t24-primary); background: transparent; cursor: pointer; }
.t24-drawer-close:hover { background: var(--t24-surface); }
.t24-drawer-backdrop { position: fixed; inset: 0; z-index: 1; background: rgb(5 17 31 / 58%); animation: t24-backdrop-enter .24s ease-out; }
.t24-header-enhanced .t24-primary-navigation .t24-menu { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 3px; }
.t24-header-enhanced .t24-primary-navigation .t24-menu a { color: var(--t24-text); padding-block: 18px; border-radius: 4px; }
.t24-header-enhanced .t24-primary-navigation .t24-menu a:hover { background: var(--t24-surface); }
.t24-header-enhanced .t24-primary-navigation .current-menu-item > a, .t24-header-enhanced .t24-primary-navigation .current-menu-ancestor > a, .t24-header-enhanced .t24-primary-navigation a[aria-current="page"] { border-bottom-color: var(--t24-accent); background: var(--t24-surface); }
.t24-primary-navigation :focus-visible { outline: 3px solid var(--t24-accent); outline-offset: 2px; }
@keyframes t24-drawer-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes t24-backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
.t24-primary-navigation .t24-menu { display: flex; flex-flow: column nowrap; align-items: stretch; gap: 0; margin: 0; }
.t24-primary-navigation .t24-menu > li { flex: 0 0 auto; width: 100%; }
.t24-primary-navigation .t24-menu li, .t24-desktop-navigation .t24-menu li { min-width: 0; }
.t24-primary-navigation .t24-menu a, .t24-desktop-navigation .t24-menu a { display: flex; align-items: center; min-height: 48px; padding: 12px 16px; color: var(--t24-text); font-size: .9375rem; font-weight: 600; line-height: 1.4; letter-spacing: .005em; text-decoration: none; border-bottom: 3px solid transparent; }
.t24-primary-navigation .t24-menu a:hover, .t24-desktop-navigation .t24-menu a:hover { background: var(--t24-surface); }
.t24-primary-navigation .current-menu-item > a, .t24-primary-navigation .current-menu-ancestor > a, .t24-primary-navigation a[aria-current="page"], .t24-desktop-navigation .current-menu-item > a, .t24-desktop-navigation .current-menu-ancestor > a, .t24-desktop-navigation a[aria-current="page"] { border-bottom-color: var(--t24-text); }
.t24-header-search { padding-block: var(--t24-space-5); border-top: 1px solid var(--t24-border); }
.t24-header-search .t24-search { max-width: 48rem; margin-inline: auto; }
.t24-breaking { background: var(--t24-surface); border-bottom: 1px solid var(--t24-border); }
.t24-breaking__inner { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--t24-space-2) var(--t24-space-4); padding-block: var(--t24-space-3); }
.t24-breaking__label { padding: var(--t24-space-1) var(--t24-space-2); background: var(--t24-accent); color: var(--t24-text); font-size: var(--t24-text-small); font-weight: 700; }
.t24-breaking a { flex: 1 1 16rem; min-width: 0; font-weight: 700; overflow-wrap: anywhere; padding-block: var(--t24-space-2); }
.t24-site-footer { background: var(--t24-primary); color: #e3edf7; padding-block: 24px 16px; border-top: 0; }
.t24-site-footer a { color: inherit; }
.t24-site-footer a:hover, .t24-site-footer a:focus-visible { color: #a5dcff; }
.t24-site-footer a:focus-visible { outline-color: #a5dcff; box-shadow: none; }
.t24-footer-brand { font-size: var(--t24-text-section); font-weight: 800; line-height: 1; overflow-wrap: anywhere; }
.t24-footer-brand a { text-decoration: none; }
.t24-footer-brand .custom-logo { display: block; width: auto; height: auto; max-width: 100%; max-height: 46px; object-fit: contain; }
.t24-site-footer nav { margin-block-start: 32px; }
.t24-site-footer .t24-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.t24-site-footer .t24-menu li { min-width: 0; max-width: 100%; }
.t24-site-footer .t24-menu a { min-height: 44px; font-size: 1rem; font-weight: 700; line-height: 1.4; text-decoration: none; }
.t24-site-footer .t24-menu a:hover, .t24-site-footer .t24-menu a[aria-current="page"], .t24-site-footer .t24-menu .current-menu-item > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.t24-footer-social { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 44px; }
.t24-footer-social__label { color: #a5dcff; font-size: 1.25rem; font-weight: 700; }
.t24-social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.t24-social-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-weight: 700; }
.t24-social-links a:hover { background: rgb(255 255 255 / 10%); border-radius: 6px; }
.t24-social-links a[href*="x.com/"], .t24-social-links a[href*="twitter.com/"] { --t24-social-icon: url('../images/social-x.svg'); }
.t24-social-links a[href*="facebook.com/"] { --t24-social-icon: url('../images/social-facebook.svg'); }
.t24-social-links a[href*="instagram.com/"] { --t24-social-icon: url('../images/social-instagram.svg'); }
.t24-social-links a[href*="tiktok.com/"] { --t24-social-icon: url('../images/social-tiktok.svg'); }
.t24-social-links a[href*="linkedin.com/"] { --t24-social-icon: url('../images/social-linkedin.svg'); }
.t24-social-links a[href*="youtube.com/"], .t24-social-links a[href*="youtu.be/"] { --t24-social-icon: url('../images/social-youtube.svg'); }
.t24-social-links a:is([href*="x.com/"], [href*="twitter.com/"], [href*="facebook.com/"], [href*="instagram.com/"], [href*="tiktok.com/"], [href*="linkedin.com/"], [href*="youtube.com/"], [href*="youtu.be/"]) { font-size: 0; }
.t24-social-links a:is([href*="x.com/"], [href*="twitter.com/"], [href*="facebook.com/"], [href*="instagram.com/"], [href*="tiktok.com/"], [href*="linkedin.com/"], [href*="youtube.com/"], [href*="youtu.be/"])::before { content: ''; display: block; width: 24px; height: 24px; background: var(--t24-social-icon) center / contain no-repeat; }
.t24-site-footer .t24-social-links a::before { filter: invert(1); mix-blend-mode: screen; }
@media (min-width: 1024px) {
  .t24-masthead { min-height: 64px; }
  .t24-site-header .custom-logo { max-height: 36px; }
  .t24-register-link { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; color: #fff; background: var(--t24-text); font-weight: 700; text-decoration: none; }
  .t24-register-link:hover { background: var(--t24-primary); }
  .t24-header-enhanced + .t24-desktop-navigation { display: block; padding-inline: 32px; background: var(--t24-background); border-bottom: 1px solid var(--t24-border); }
  .t24-desktop-navigation .t24-menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin: 0; }
  .t24-primary-navigation .t24-menu { max-width: 28rem; }
}
@media (prefers-reduced-motion: reduce) {
  .t24-menu-icon path { transition: none; }
  .t24-header-enhanced .t24-primary-navigation, .t24-drawer-backdrop { animation: none; }
}

/* Search and navigation share one calm, compact drawer. */
.t24-menu-toggle { gap: 10px; flex-shrink: 0; border: 1px solid var(--t24-border); border-radius: 10px; background: var(--t24-surface); color: var(--t24-primary); }
.t24-drawer-heading { color: var(--t24-primary); padding-bottom: 16px; margin-bottom: 0; }
.t24-primary-navigation .t24-header-search { flex-shrink: 0; border-top: 0; padding-block: 20px 24px; }
.t24-primary-navigation .t24-search { display: flex; flex-wrap: nowrap; gap: 0; align-items: stretch; padding: 5px; border: 1px solid var(--t24-border); border-radius: 12px; background: var(--t24-surface); }
.t24-primary-navigation .t24-search:focus-within { border-color: var(--t24-primary); box-shadow: 0 0 0 3px rgb(17 55 94 / 12%); }
.t24-primary-navigation .t24-search .t24-field { flex: 1; min-width: 0; }
.t24-primary-navigation .t24-input { width: 100%; min-width: 0; min-height: 44px; border: 0; background: transparent; padding: 10px; border-radius: 8px; }
.t24-primary-navigation .t24-search button { flex: 0 0 44px; display: flex; align-items: center; justify-content: center; min-width: 44px; padding: 10px; border-radius: 8px; background: var(--t24-primary); color: #fff; }
.t24-primary-navigation .t24-search button:hover { background: var(--t24-primary-hover); }
.t24-header-enhanced .t24-primary-navigation .t24-menu a { border-radius: 8px; padding-inline: 14px; }
