.rst-menu { list-style: none; margin: 0; padding: 0; }
.desktop-nav > .rst-menu { display: flex; align-items: center; gap: 33px; }
.desktop-nav a { display: block; padding: 12px 0; white-space: nowrap; }
.site-header a:focus-visible, .mobile-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.desktop-nav a:hover, .mobile-nav a:hover { color: #fff; }
.rst-menu li { position: relative; }
.rst-menu .sub-menu { list-style: none; margin: 0; padding: 10px 18px; background: var(--navy2); }
.desktop-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 180px; }
.desktop-nav li:hover > .sub-menu, .desktop-nav li:focus-within > .sub-menu { display: block; }
.desktop-nav .sub-menu .sub-menu { top: 0; left: 100%; }
#about, #agenda, #speakers { scroll-margin-top: 24px; }
body.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
body.admin-bar :is(#about, #agenda, #speakers) { scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 32px) + 24px); }
@media (max-width: 1200px) { .desktop-nav > .rst-menu { gap: 21px; } }
@media (max-width: 900px) {
 .mobile-toggle { margin-left: 24px; cursor: pointer; min-width: 44px; min-height: 44px; justify-content: center; }
 .mobile-nav { max-height: calc(100dvh - 114px); overflow-y: auto; }
 .mobile-nav a { display: block; font-weight: 600; }
 .mobile-nav .sub-menu { padding-block: 0; }
}
@media (max-width: 600px) { .mobile-nav { max-height: calc(100dvh - 82px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Persistent header, with equal side columns to center the menu on the page. */
:root { --rst-header-height: 114px; --rst-admin-height: 0px; }
.site-header { position: fixed; top: var(--rst-admin-height); background: linear-gradient(to bottom, rgba(5,12,19,.90) 0%, rgba(5,12,19,.77) 65%, rgba(5,12,19,0) 100%); border-bottom: 0; }
body.admin-bar .site-header { top: var(--rst-admin-height); }
.header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); }
.desktop-nav { margin-left: 0; justify-self: center; }
.header-inner .socials { justify-self: end; margin-left: 0; }
#home, #about, #agenda, #speakers, body.admin-bar :is(#about,#agenda,#speakers) { scroll-margin-top: calc(var(--rst-header-height) + var(--rst-admin-height) + 16px - var(--rst-section-padding, 0px)); }
.mobile-nav { max-height: calc(100dvh - var(--rst-header-height) - var(--rst-admin-height)); }
@media(max-width:900px) {
 .header-inner { grid-template-columns: minmax(0,1fr) auto auto; }
 .mobile-toggle { justify-self: end; }
}
@media(max-width:600px) { :root { --rst-header-height: 82px; } }
/* Reveal only while JavaScript is running; content remains visible without it. */
@media(prefers-reduced-motion:no-preference) {
 .rst-motion-ready { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s cubic-bezier(.22,.61,.36,1); }
 .rst-motion-ready.rst-motion-visible, .rst-motion-ready:focus-within { opacity: 1; transform: none; }
 .desktop-nav > .rst-menu > li > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 5px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
 .desktop-nav > .rst-menu > li > a:hover::after, .desktop-nav > .rst-menu > li > a:focus-visible::after { transform: scaleX(1); }
 .gold-button, .socials a, .rst-panelist-link img, .rst-panelist-arrow { transition: transform .25s ease; }
 .gold-button:hover, .socials a:hover { transform: translateY(-3px); }
 .rst-panelist-link:hover img { transform: scale(1.025); }
 .mobile-nav.open { animation: rst-menu-in .2s ease both; }
 @keyframes rst-menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}
@media(prefers-reduced-motion:reduce) { .orbit-svg { animation: none; } }
@media(max-width:900px) {
 html.rst-menu-open, .rst-menu-open body { overflow:hidden; }
 .rst-menu-open .site-header { height:calc(100dvh - var(--rst-admin-height)); background:var(--navy2); }
 .mobile-nav.open { height:calc(100dvh - var(--rst-header-height) - var(--rst-admin-height)); max-height:none; align-content:start; overscroll-behavior:contain; padding-bottom:max(25px,env(safe-area-inset-bottom)); }
 .mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
 .mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; }
 .mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
}
/* Footer contact details match the gold-label, white-value layout. */
.footer-grid .rst-footer-contact { min-width:0; }
.footer-grid .rst-footer-contact h3 { margin:0 0 42px; font-size:16px; line-height:1.3; font-weight:700; color:#fff; }
.rst-footer-contact dl { margin:0; font-size:16px; line-height:1.7; }
.rst-footer-contact dl > div { display:grid; grid-template-columns:84px minmax(0,1fr); gap:8px; margin-bottom:20px; }
.rst-footer-contact dt { color:var(--gold); font-weight:400; }
.rst-footer-contact dd { margin:0; color:#eef0f3; overflow-wrap:anywhere; }
.footer-grid .rst-footer-contact a { display:inline; margin:0; font-size:inherit; line-height:inherit; color:inherit; }
.footer-grid .rst-footer-contact a:hover { color:var(--gold); }
.footer-grid .rst-footer-contact a:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
@media(max-width:1200px) { .rst-footer-contact dl { font-size:16px; } .rst-footer-contact dl > div { grid-template-columns:76px minmax(0,1fr); } }
@media(max-width:480px) { .footer-grid .rst-footer-contact h3 { margin-bottom:30px; font-size:16px; } .rst-footer-contact dl { font-size:16px; } .rst-footer-contact dl > div { grid-template-columns:72px minmax(0,1fr); } }
.rst-site-footer .footer-logo { display:block; width:110px; max-width:100%; height:auto; }
.rst-site-footer .footer-grid > div:first-child > p { margin:24px 0 0; font-size:16px; line-height:1.7; font-weight:400; color:#eef0f3; }
@media(max-width:1200px) { .rst-site-footer .footer-grid > div:first-child > p { font-size:16px; } }
@media(max-width:480px) { .rst-site-footer .footer-grid > div:first-child > p { font-size:16px; } }
/* Footer legal bar: copyright on the left, legal pages on the right. */
.rst-site-footer .footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:24px 40px; padding:64px 0 24px; color:#eef0f3; font-size:16px; line-height:1.7; font-weight:400; }
.rst-footer-copyright p { margin:0; }
.rst-footer-legal { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:4px 14px; }
.rst-site-footer .footer-bottom span { display:inline; margin:0; }
.rst-footer-legal a { color:inherit; text-decoration:none; }
.rst-footer-legal a:hover { color:var(--gold); }
.rst-footer-legal a:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
@media(max-width:900px) { .rst-site-footer .footer-bottom { align-items:flex-start; flex-direction:column; padding-top:40px; font-size:16px; } .rst-footer-legal { justify-content:flex-start; } }
@media(max-width:480px) { .rst-site-footer .footer-bottom { padding-top:30px; font-size:16px; gap:22px; } }
.rst-legal-page { padding:calc(var(--rst-header-height) + 60px) 0 80px; min-height:55vh; color:#eef0f3; }
.rst-legal-page article { max-width:960px; margin-inline:auto; }
.rst-legal-page h1 { font-size:clamp(30px,4vw,52px); line-height:1.2; margin:0 0 30px; color:var(--gold); }
.rst-legal-content { font-size:18px; line-height:1.8; overflow-wrap:anywhere; }

.rst-legal-content h2 { margin:36px 0 14px; font-size:clamp(22px,2.4vw,30px); line-height:1.35; color:#eef0f3; }
.rst-legal-content p { margin:0 0 20px; }
