/* Website header and footer for platform pages that keep their own styles (e.g. /programme-catalogue/).
   Same look as /assets/site.css, but every rule is scoped under .site-header / .site-footer and uses
   literal colours, so it doesn't clash with the page's own .wrap, .btn, nav, header or :root variables.
   Needs: <script src="/assets/site.js"></script> for the mobile menu and the footer year. */
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700&display=swap");
@font-face{font-family:"Archivo XR";src:url(fonts/Archivo-SemiExpanded-Bold.ttf) format("truetype");font-weight:700;font-display:swap}

.site-header,.site-footer{font-family:"Source Sans 3",Arial,sans-serif;box-sizing:border-box}
.site-header *,.site-footer *{box-sizing:border-box}
.site-header .wrap,.site-footer .wrap{max-width:1300px;margin:0 auto;padding:0 max(20px,env(safe-area-inset-right,0px)) 0 max(20px,env(safe-area-inset-left,0px));background:none}

.site-header{position:sticky;top:0;z-index:50;background:rgba(7,25,35,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid #21414e;color:#f2f8f9}
.site-header .wrap{display:flex;align-items:center;gap:20px;height:84px}
.site-header .brand,.site-footer .brand{display:flex;flex-direction:column;align-items:flex-start;text-decoration:none;flex:none}
.site-header .brand img,.site-footer .brand img{height:40px;width:auto;display:block}
.site-header .brand-tag,.site-footer .brand-tag{display:flex;justify-content:space-between;font:700 10px/1 "Source Sans 3",Arial,sans-serif;letter-spacing:.03em;text-transform:uppercase;color:#2fe0bf;white-space:nowrap;margin:-9px 0 0 40.4px;width:117.6px}
.site-header .brand-tag span:last-child,.site-footer .brand-tag span:last-child{margin-right:-.03em}
@media (min-width:600px){
  .site-header .brand img,.site-footer .brand img{height:48px}
  .site-header .brand-tag,.site-footer .brand-tag{font-size:11px;letter-spacing:.17em;margin:-11px 0 0 48.5px;width:141.2px}
  .site-header .brand-tag span:last-child,.site-footer .brand-tag span:last-child{margin-right:-.17em}
}
.site-header .nav{display:none;margin-left:auto;gap:2px;max-width:none;padding:0;flex-wrap:nowrap}
.site-header .nav a,.site-header .hdr-actions a{white-space:nowrap}
.site-header .nav a{color:#bcd6dc;text-decoration:none;font-weight:600;font-size:15px;padding:8px 11px;border-radius:8px}
.site-header .nav a:hover,.site-header .nav a[aria-current="page"]{color:#f2f8f9;background:#0b2532}
.site-header .hdr-actions{display:none;gap:10px;align-items:center}
.site-header .menu-btn{flex:none;margin-left:auto;background:none;border:1px solid #2b5263;color:#f2f8f9;border-radius:10px;width:44px;height:44px;font-size:20px;cursor:pointer}
.site-header .mobile-nav{display:none;border-top:1px solid #21414e;background:#071923;max-width:none;padding:0}
.site-header .mobile-nav.open{display:block}
.site-header .mobile-nav a{display:block;color:#f2f8f9;text-decoration:none;padding:14px 20px;border-bottom:1px solid #21414e;font-weight:600}
.site-header .mobile-nav .btn{margin:16px 20px;display:block;text-align:center}
@media (min-width:1080px){
  .site-header .nav,.site-header .hdr-actions{display:flex}
  .site-header .nav a{padding:8px 9px}
  .site-header .menu-btn,.site-header .mobile-nav,.site-header .mobile-nav.open{display:none}
}
.site-header .btn{display:inline-block;font:700 16px/1 "Source Sans 3",Arial,sans-serif;text-decoration:none;padding:14px 20px;border-radius:10px;border:1.5px solid transparent;cursor:pointer;min-height:0;filter:none}
.site-header .btn-primary{background:#2fe0bf;color:#071923}
.site-header .btn-primary:hover{background:#5ae9cf}
.site-header .btn-sm{padding:10px 14px;font-size:15px}
.site-header .link-quiet{color:#bcd6dc;text-decoration:none;font-weight:600;font-size:15px}
.site-header .link-quiet:hover{color:#f2f8f9}

.site-footer{border-top:1px solid #21414e;padding:48px 0 32px;color:#97adb6;font-size:15px;line-height:1.6;background:#071923}
.site-footer .foot-grid{display:grid;gap:28px;grid-template-columns:1fr}
@media (min-width:800px){.site-footer .foot-grid{grid-template-columns:1.4fr 1fr 1fr 1fr}}
.site-footer h4{font:700 13px "Source Sans 3",Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#f2f8f9;margin:0 0 10px}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin:0 0 7px}
.site-footer a{color:#bcd6dc;text-decoration:none}
.site-footer a:hover{color:#f2f8f9}
.site-footer .legal{margin-top:34px;padding-top:18px;border-top:1px solid #21414e;font-size:13px}
.site-header a:focus-visible,.site-header button:focus-visible,.site-footer a:focus-visible{outline:3px solid #f2b84c;outline-offset:3px}
