/* Figma header. Keep these tokens local while the remaining sections are rebuilt. */
.brandtastic-header, .brandtastic-mobile-navigation {
  --brandtastic-body: var(--guardian-font-body);
  --brandtastic-header-blue: var(--guardian-navy);
  --brandtastic-header-red: var(--guardian-burgundy);
  --brandtastic-header-dark-red: var(--guardian-burgundy-hover);
  --brandtastic-header-black: var(--guardian-charcoal);
  --brandtastic-header-width: 1300px;
  font-family: var(--guardian-font-body);
}
.site-header.brandtastic-header { height: auto; background: var(--guardian-warm-white); border-bottom: 1px solid var(--guardian-border); box-shadow: none; }
.brandtastic-header::before, .brandtastic-header .site-header__brand::before { display: none; }
/* Keep page content below the opaque sticky header. */
body { --brandtastic-site-header-height: 192.473px; }
body:is(.home, :has(.page-header)) > .site-header.brandtastic-header { margin-bottom: 0; }
.home .brandtastic-hero { padding-top: 80px; }
.brandtastic-header-topbar { color: var(--guardian-warm-white); background: var(--guardian-burgundy); }
.brandtastic-header-topbar__inner, .brandtastic-header .site-header__inner { width: min(calc(100% - 80px), var(--brandtastic-header-width)); margin-inline: auto; }
.brandtastic-header-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 32px; padding-block: 6px; }
.brandtastic-header-hours { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 400; line-height: 20px; letter-spacing: .51px; }
.brandtastic-header-hours img { flex: 0 0 19px; width: 19px; height: 19px; }
.brandtastic-header-follow { display: flex; align-items: center; gap: 20px; }
.brandtastic-header-follow > span { font-size: 15px; font-weight: 600; line-height: 20px; letter-spacing: 0; text-transform: uppercase; white-space: nowrap; }
.brandtastic-header-socials { display: flex; align-items: center; gap: 10px; padding: 0; margin: 0; list-style: none; }
.brandtastic-header-socials a { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; transition: opacity .2s; }
.brandtastic-header-socials a:hover { opacity: .75; }
.brandtastic-header-socials img { width: 20px; height: 20px; }
.brandtastic-header .site-header__inner { height: auto; min-height: 160.473px; padding: 25px 0; justify-content: space-between; gap: 40px; }
.brandtastic-header .site-header__brand { width: 425.106px; height: auto; align-self: center; }
.brandtastic-header-logo { position: relative; display: block; width: 100%; aspect-ratio: 425.106 / 110.473; overflow: hidden; }
.brandtastic-header .site-header__brand img { position: static; height: auto; object-fit: contain; filter: none; }
.brandtastic-header .site-header__brand .brandtastic-header-logo__main { position: absolute; top: 0; left: 0; width: 100%; }
.brandtastic-header .site-header__brand .brandtastic-header-logo__tagline { position: absolute; top: 84.71%; left: 30.84%; width: 67.83%; }
.brandtastic-header .site-header__brand .brandtastic-header-logo__custom { width: 100%; max-height: 110.473px; }
.brandtastic-header .site-navigation { display: flex; flex: 0 1 1140px; min-width: 0; width: auto; max-width: 1140px; align-items: center; justify-content: space-between; gap: 24.833px; }
.brandtastic-header .site-navigation__menu { flex: 1; min-width: 0; justify-content: space-between; gap: 0; }
.brandtastic-header .site-navigation__menu a { padding: 6px 0; color: var(--brandtastic-header-black); font-family: var(--guardian-font-body); font-size: 21px; font-weight: 600; line-height: normal; letter-spacing: .63px; }
.brandtastic-header .site-navigation__menu > li > a::after { bottom: 0; background: var(--brandtastic-header-red); }
.brandtastic-header .site-navigation__menu .sub-menu { border-top: 0; }
.brandtastic-header .site-navigation__menu .sub-menu a { padding: 12px 30px 12px 10px; font-size: 15px; line-height: 20px; letter-spacing: 0; }
.brandtastic-header-phone { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 8px; color: var(--brandtastic-header-black); text-decoration: none; white-space: nowrap; }
.brandtastic-header-phone:hover, .brandtastic-header-phone:focus-visible { color: var(--brandtastic-header-red); }
.brandtastic-header-phone img { flex: 0 0 21px; width: 21px; height: 21px; }
.brandtastic-header-phone strong { font-size: 23px; font-weight:600; line-height: normal; letter-spacing: .69px; }
.brandtastic-header .site-header__member-button, .brandtastic-header .site-header__mobile-member, .brandtastic-mobile-navigation .mobile-menu-member { min-height: 52px; padding: 12px 15px; border: 0; border-radius: 5px; color: var(--guardian-warm-white); background: var(--brandtastic-header-red); font-family: var(--guardian-font-body); font-size: 19px; font-weight:600; line-height: 28px; letter-spacing: 1.52px; text-transform: uppercase; box-shadow: none; }
.brandtastic-header .site-header__member-button:hover, .brandtastic-header .site-header__mobile-member:hover, .brandtastic-mobile-navigation .mobile-menu-member:hover { color: var(--guardian-warm-white); background: var(--brandtastic-header-dark-red); transform: none; }
.brandtastic-header .site-header__mobile-controls { display: none; }
.brandtastic-mobile-navigation { --brandtastic-mobile-background: var(--guardian-burgundy); }
.brandtastic-mobile-navigation.sliding-navbar, .brandtastic-mobile-navigation #menu-responsive .sub-menu { background: var(--brandtastic-mobile-background); }
.brandtastic-mobile-navigation .menu-separator { background: #fff; }
.brandtastic-mobile-phone { display: block; margin-top: 35px; color: var(--guardian-warm-white); font-size: 23px; font-weight:600; text-align: center; text-decoration: none; }
.brandtastic-mobile-phone:hover, .brandtastic-mobile-phone:focus-visible { color: var(--guardian-warm-white); }
.brandtastic-mobile-navigation .mobile-menu-member { width: fit-content; max-width: calc(100% - 40px); min-height: 35.349px; margin: 15px auto 0; padding: 10.675px 13.343px; border-radius: 2.669px; font-size: 19px; letter-spacing: 1.52px; overflow: hidden; }
.brandtastic-mobile-navigation .mobile-menu-member__label { min-width: 0; font-weight:600; line-height: 14px; font-feature-settings: "salt" 1; text-align: center; white-space: nowrap; }
@supports (text-box-trim: trim-both) {
  .brandtastic-mobile-navigation .mobile-menu-member__label { line-height: 28px; text-box-trim: trim-both; text-box-edge: cap alphabetic; }
}
.brandtastic-mobile-navigation .brandtastic-header-socials { flex-wrap: wrap; justify-content: center; gap: 20px 40px; width: min(calc(100% - 50px), 260px); margin: 30px auto; }
.brandtastic-mobile-navigation .brandtastic-header-socials a, .brandtastic-mobile-navigation .brandtastic-header-socials img { width: 24px; height: 24px; }
@media (max-width: 1750px) and (min-width: 1181px) {
  .brandtastic-header .site-header__brand { width: clamp(260px, 21.25vw, 372px); }
  .brandtastic-header .site-header__inner { min-height: 140px; gap: 30px; }
  .brandtastic-header .site-navigation, .brandtastic-header .site-navigation__menu { gap: clamp(14px, 1.25vw, 22px); }
  .brandtastic-header .site-navigation__menu a { font-size: 18px; letter-spacing: .54px; }
  .brandtastic-header-phone strong { font-size: 20px; letter-spacing: .6px; }
  .brandtastic-header .site-header__member-button { font-size: 16px; letter-spacing: 1.28px; }
}
@media (max-width: 1400px) and (min-width: 1181px) {
  .brandtastic-header-topbar__inner, .brandtastic-header .site-header__inner { width: calc(100% - 48px); }
  .brandtastic-header .site-header__inner { gap: 24px; }
  .brandtastic-header .site-header__brand { width: 260px; }
  .brandtastic-header .site-navigation, .brandtastic-header .site-navigation__menu { gap: 14px; }
  .brandtastic-header .site-navigation__menu a { font-size: 16px; letter-spacing: .48px; }
  .brandtastic-header-phone strong { font-size: 18px; }
  .brandtastic-header .site-header__member-button { padding-inline: 12px; font-size: 14px; letter-spacing: 1.12px; }
}
@media (max-width: 1180px) {
  .brandtastic-header-topbar__inner, .brandtastic-header .site-header__inner { width: calc(100% - 48px); }
  .brandtastic-header .site-header__inner { min-height: 112px; padding-block: 20px; gap: 20px; }
  .brandtastic-header .site-header__brand { width: 300px; }
  .brandtastic-header .site-navigation { display: none; }
  .brandtastic-header .site-header__mobile-controls { display: flex; flex-shrink: 0; gap: 20px; }
  .brandtastic-header .site-header__mobile-member { display: inline-flex; min-height: 44px; font-size: 14px; line-height: 20px; letter-spacing: 1.12px; }
  .brandtastic-header .openmainnav, .brandtastic-header .openmainnav:hover, .brandtastic-header .openmainnav:focus-visible, .brandtastic-header .openmainnav.menu-opened { display: flex; flex: 0 0 44px; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; margin: 0; border: 0; color: var(--brandtastic-header-blue); background: transparent; }
  .brandtastic-header .site-navigation__toggle-icon { display: block; width: 35px; height: 35px; }
  .brandtastic-header .site-header__mobile-controls .brandtastic-header-phone img { flex-basis: 34px; width: 34px; height: 34px; }
  .brandtastic-header .site-header__mobile-controls .brandtastic-header-phone img, .brandtastic-header .site-navigation__toggle-icon { transition: opacity .2s ease; }
  .brandtastic-header .site-header__mobile-controls .brandtastic-header-phone:hover img, .brandtastic-header .openmainnav:hover .site-navigation__toggle-icon { opacity: .8; }
  .brandtastic-header .site-header__mobile-controls .brandtastic-header-phone:focus-visible, .brandtastic-header .openmainnav:focus-visible { outline: 2px solid var(--brandtastic-header-blue); outline-offset: 2px; border-radius: 3px; }
  .brandtastic-header .site-header__mobile-controls .brandtastic-header-phone { width: 44px; height: 44px; }
}
@media (max-width: 700px) {
  .brandtastic-header-topbar__inner, .brandtastic-header .site-header__inner { width: calc(100% - 30px); }
  .brandtastic-header-topbar__inner { flex-wrap: wrap; justify-content: center; gap: 6px 20px; padding-block: 8px; }
  .brandtastic-header-hours { font-size: 13px; letter-spacing: .39px; }
  .brandtastic-header-follow { gap: 12px; }
  .brandtastic-header-follow > span { font-size: 12px; }
  .brandtastic-header .site-header__inner { min-height: 96px; padding-block: 18px; gap: 15px; }
  .brandtastic-header .site-header__brand { width: min(260px, calc(100% - 133.5px)); }
  .brandtastic-header .site-header__mobile-member { display: none; }
  .brandtastic-header .site-header__mobile-controls { gap: 30.5px; }

}
@media (width < 700px) {
  body.home > .site-header.brandtastic-header { margin-bottom: 0; }
  .home .brandtastic-hero { padding-top: 50px; }
  .brandtastic-header-topbar { height: 14px; }
  .brandtastic-header-topbar__inner { display: none; }
}
@media (max-width: 360px) {
  .brandtastic-mobile-navigation .mobile-menu-member { font-size: 16px; letter-spacing: 1.28px; }
}
@media (prefers-reduced-motion: reduce) {
  .brandtastic-mobile-navigation, .brandtastic-mobile-navigation #menu-responsive .sub-menu, .mobile-menu-mask { transition: none; }
}

/* Guardian's complete shield and wordmark replace the old split logo assets. */
.brandtastic-header .site-header__brand {
  flex-shrink: 0;
  height: auto;
  align-self: center;
}
.brandtastic-header .site-header__brand .guardian-header-logo,
.brandtastic-header .site-header__brand .brandtastic-header-logo__custom {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  filter: none;
}
.brandtastic-header .site-header__member-button,
.brandtastic-header .site-header__mobile-member,
.brandtastic-mobile-navigation .mobile-menu-member {
  letter-spacing: .025em;
  text-transform: none;
}
@media (min-width: 1181px) {
  .brandtastic-header .site-header__brand { width: clamp(260px, 21vw, 350px); }
}
@media (max-width: 700px) {
  .brandtastic-header .site-header__brand { width: min(260px, calc(100% - 118px)); }
  .brandtastic-header .site-header__mobile-controls { gap: 15px; }
}

/* A quieter, more compact Guardian header. */
.brandtastic-header .site-header__inner { min-height: 112px; padding-block: calc(20px - 10px * 283 / 720); }
.brandtastic-header-hours { font-size: 14px; letter-spacing: .01em; }
.brandtastic-header-follow > span { font-size: 12px; font-weight: 400; text-transform: none; }
.brandtastic-header .site-navigation__menu a { letter-spacing: .01em; }
.brandtastic-header .site-navigation__menu .sub-menu { box-shadow: 0 4px 12px rgb(var(--guardian-charcoal-rgb) / .1); border: 1px solid var(--guardian-border); border-radius: 3px; }
.brandtastic-mobile-navigation .toggle-btn span { font-size: 26px; }
@media (max-width: 700px) {
  .brandtastic-header .site-header__inner { min-height: 96px; padding-block: calc(18px - 6px * 283 / 720); }
}

/* Align the header with the main site container and keep navigation on one row. */
.brandtastic-header-topbar__inner,
.brandtastic-header .site-header__inner { width: min(calc(100% - 64px), var(--brandtastic-header-width)); }
@media (min-width: 1181px) {
  .brandtastic-header .site-header__inner { min-height: 96px; gap: 24px; }
  .brandtastic-header .site-header__brand { width: calc(clamp(180px, 17vw, 220px) + 20px); }
  .brandtastic-header .site-navigation { display: flex; flex-wrap: nowrap; flex: 1 1 auto; max-width: none; justify-content: flex-end; gap: 16px; }
  .brandtastic-header .site-navigation__menu { flex: 0 1 auto; justify-content: flex-end; flex-wrap: nowrap; gap: clamp(10px, 1vw, 18px); }
  .brandtastic-header .site-navigation__menu > li > a { font-size: clamp(14px, .95vw, 15px); }
  .brandtastic-header-phone strong { font-size: clamp(16px, 1.15vw, 18px); }
}
@media (max-width: 700px) {
  .brandtastic-header-topbar__inner { width: calc(100% - 48px); }
  .brandtastic-header .site-header__inner { width: calc(100% - 36px); }
  .brandtastic-header .site-header__brand { width: min(272px, calc(100% - 118px)); }
}
@media (min-width: 701px) and (max-width: 1180px) {
  .brandtastic-header .site-header__brand { width: 320px; }
}

/* Native dropdown styling, independent of the retired copied presentation. */
@media (min-width: 1181px) {
  .brandtastic-header .site-navigation__menu .sub-menu { width: 250px; min-width: 250px; padding: 5px; }
  .brandtastic-header .site-navigation__menu > li > .sub-menu { top: 100%; left: -5px; right: auto; }
  .brandtastic-header .site-navigation__menu .sub-menu li { position: relative; }
  .brandtastic-header .site-navigation__menu .sub-menu a { white-space: normal; border-radius: 3px; }
  .brandtastic-header .site-navigation__menu .sub-menu li:hover > a,
  .brandtastic-header .site-navigation__menu .sub-menu li:focus-within > a { background: var(--guardian-surface); }
  .brandtastic-header .site-navigation__menu .sub-menu .sub-menu { top: 0; left: 100%; }
  .brandtastic-header .site-navigation__menu .sub-menu .menu-item-has-children > a::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); }
}
@media (max-width: 380px) {
  .brandtastic-header .site-header__inner { width: calc(100% - 20px); gap: 8px; }
  .brandtastic-header .site-header__brand { width: calc(100% - 104px); }
  .brandtastic-header .site-header__mobile-controls { gap: 8px; }
}

/* Preserve the row height using the previous logo width and vertical padding. */
.brandtastic-header .site-header__inner:has(.guardian-header-logo) {
  container-type: inline-size;
  padding-block: 0;
}
.brandtastic-header .site-header__brand:has(.guardian-header-logo) {
  --previous-logo-width: 320px;
  --previous-vertical-padding: calc(40px - 20px * 283 / 720);
  height: calc(var(--previous-logo-width) * 283 / 720 + var(--previous-vertical-padding));
  width: calc(var(--previous-logo-width) + var(--previous-vertical-padding) * 720 / 283);
  min-width: 0;
  flex-shrink: 1;
}
.brandtastic-header .site-header__brand .guardian-header-logo {
  height: 100%;
  object-position: left center;
}
@media (min-width: 1181px) {
  .brandtastic-header .site-header__brand:has(.guardian-header-logo) {
    --previous-logo-width: calc(clamp(180px, 17vw, 220px) + 20px);
  }
  .brandtastic-header .site-header__inner:has(.guardian-header-logo) .site-navigation { flex: 0 0 auto; }
}
@media (max-width: 700px) {
  .brandtastic-header .site-header__brand:has(.guardian-header-logo) {
    --previous-logo-width: min(272px, calc(100cqw - 118px));
    --previous-vertical-padding: calc(36px - 12px * 283 / 720);
    height: max(96px, calc(var(--previous-logo-width) * 283 / 720 + var(--previous-vertical-padding)));
  }
}
@media (max-width: 380px) {
  .brandtastic-header .site-header__brand:has(.guardian-header-logo) {
    --previous-logo-width: calc(100cqw - 104px);
  }
}
