/* Larger gold navigation across the five public pages. */
body.home .site-top-nav,
body.contact-page .site-top-nav,
body.ir-page .site-top-nav,
body.broadcast-public .broadcast-top-nav{gap:clamp(14px,2vw,28px);align-items:center}
body.home .site-top-nav a,
body.contact-page .site-top-nav a,
body.ir-page .site-top-nav a,
body.broadcast-public .broadcast-top-nav a{font-size:clamp(16px,1.5vw,20px);font-weight:750;line-height:1.4;letter-spacing:0;color:#dfbc78;min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;padding:9px 0}
body.home .site-top-nav a.active,
body.contact-page .site-top-nav a.active,
body.ir-page .site-top-nav a.active,
body.broadcast-public .broadcast-top-nav a.active{color:#fff0c5;font-weight:800}
body.home .site-top-nav a.active::after,
body.contact-page .site-top-nav a.active::after,
body.ir-page .site-top-nav a.active::after,
body.broadcast-public .broadcast-top-nav a.active::after{height:3px;background:#dfbc78;border-radius:2px}
body.home .site-top-nav a:hover,
body.contact-page .site-top-nav a:hover,
body.ir-page .site-top-nav a:hover,
body.broadcast-public .broadcast-top-nav a:hover{color:#fff0c5}
.site-top-nav a:focus-visible,.broadcast-top-nav a:focus-visible,
.site-mobile-nav a:focus-visible,.broadcast-mobile-nav a:focus-visible,.mobile-gallery-nav a:focus-visible{outline:3px solid #f2d49d;outline-offset:3px}
@media(max-width:760px){
 body.home nav.site-mobile-nav,
 body.contact-page nav.site-mobile-nav,
 body.ir-page nav.site-mobile-nav,
 body.broadcast-public nav.broadcast-mobile-nav,
 body.gallery nav.mobile-gallery-nav{grid-template-columns:repeat(5,minmax(0,1fr));min-height:50px}
 body.home nav.site-mobile-nav a,
 body.contact-page nav.site-mobile-nav a,
 body.ir-page nav.site-mobile-nav a,
 body.broadcast-public nav.broadcast-mobile-nav a,
 body.gallery nav.mobile-gallery-nav a{position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:0;min-height:50px;padding:7px 3px 5px;font-size:clamp(13px,3.7vw,16px);font-weight:750;line-height:1.35;letter-spacing:0;color:#dfbc78;text-align:center;white-space:normal;overflow-wrap:anywhere}
 body.home nav.site-mobile-nav a.active,
 body.contact-page nav.site-mobile-nav a.active,
 body.ir-page nav.site-mobile-nav a.active,
 body.broadcast-public nav.broadcast-mobile-nav a.active,
 body.gallery nav.mobile-gallery-nav a.active{color:#fff0c5;font-weight:800;background:rgba(210,172,101,.09)}
 body.home nav.site-mobile-nav a.active::after,
 body.contact-page nav.site-mobile-nav a.active::after,
 body.ir-page nav.site-mobile-nav a.active::after,
 body.broadcast-public nav.broadcast-mobile-nav a.active::after,
 body.gallery nav.mobile-gallery-nav a.active::after{content:'';position:absolute;top:5px;bottom:auto;left:25%;right:25%;height:3px;border-radius:2px;background:#dfbc78}
}

/* Gallery category menu: keep both rows readable on phones. */
@media(max-width:599px){
 body.gallery .gallery-fixed{grid-template-rows:auto auto auto}
 body.gallery .gallery-mobile-topnav{display:flex!important;flex-direction:column;position:relative;height:auto;min-height:104px;overflow:visible;gap:0!important}
 body.gallery .gallery-mobile-topnav .topnav-primary,
 body.gallery .gallery-mobile-topnav .topnav-utility{position:static;box-sizing:border-box;width:100%;height:auto;min-height:52px;margin:0!important;padding:3px 4px;gap:4px;display:grid;align-items:stretch}
 body.gallery .gallery-mobile-topnav .topnav-primary{grid-template-columns:repeat(4,minmax(0,1fr));background:#f5eee4}
 body.gallery .gallery-mobile-topnav .topnav-utility{grid-template-columns:repeat(4,minmax(0,1fr));background:#eee2d2}
 body.gallery .gallery-mobile-topnav .topnav-primary a,
 body.gallery .gallery-mobile-topnav .topnav-utility a{box-sizing:border-box;height:auto!important;min-height:48px!important;min-width:0;padding:8px 5px!important;font-size:clamp(12px,3.4vw,14px);font-weight:750;line-height:1.35;letter-spacing:0;text-align:center;white-space:normal;overflow-wrap:anywhere;color:#62451f;transform:none!important;border:1px solid #a77a37!important;box-shadow:none}
 body.gallery .gallery-mobile-topnav .topnav-primary a.active{color:#604018;border-color:#a77a37!important;background:#fff8eb!important;box-shadow:none}
 body.gallery .gallery-mobile-topnav a:focus-visible{outline:3px solid #8d642a;outline-offset:-3px}
}

/* Keep the phone dock the same size in every language. */
@media(max-width:760px){
 body :is(nav.site-mobile-nav,nav.broadcast-mobile-nav,nav.mobile-gallery-nav){height:calc(50px + env(safe-area-inset-bottom));min-height:0;box-sizing:border-box;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch}
 body :is(nav.site-mobile-nav,nav.broadcast-mobile-nav,nav.mobile-gallery-nav) a{height:50px;min-height:0;padding:5px 3px 3px;font-size:clamp(11px,3vw,13px);line-height:1.25;white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none;letter-spacing:0}
 body :is(nav.site-mobile-nav,nav.broadcast-mobile-nav,nav.mobile-gallery-nav) a[data-nav-key]{font-size:clamp(11px,3vw,13px);min-height:0;height:50px;overflow-wrap:normal;word-break:normal}
}
