/*
Theme Name: Bloomington Gold Starter
Theme URI: https://bloomingtongold.com/
Author: Kommento Labs
Author URI: https://kommento.com/
Description: A lightweight, plugin-free WordPress theme for Bloomington Gold's Corvette event, judging, vendor, and sponsor pages. Built for core WordPress blocks and safe editorial updates.
Version: 1.0.7
Requires at least: 6.1
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bloomington-gold-starter
Tags: custom-logo, custom-menu, featured-images, block-patterns, wide-blocks, one-column, two-columns
*/

:root {
  --bg-blue: #073f78;
  --bg-blue-deep: #061c35;
  --bg-blue-ink: #0b2440;
  --bg-gold: #b18a35;
  --bg-gold-bright: #d8b259;
  --bg-red: #c7392f;
  --bg-cream: #f7f3eb;
  --bg-ice: #eef5fb;
  --bg-white: #ffffff;
  --bg-ink: #15171a;
  --bg-muted: #5d6673;
  --bg-border: #d9e0e8;
  --bg-shadow: 0 24px 70px rgba(6, 28, 53, 0.14);
  --bg-radius: 8px;
  --bg-content: min(1180px, calc(100vw - 40px));
  --bg-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg-font-serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f3f5f7;
  color: var(--bg-ink);
  font-family: var(--bg-font-sans);
  font-size: 17px;
  line-height: 1.65;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: var(--bg-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--bg-red);
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  padding: 10px 14px;
  background: var(--bg-white);
  color: var(--bg-blue);
  border: 2px solid var(--bg-blue);
}

.site-shell {
  background: var(--bg-white);
  min-height: 100vh;
}

.site-alert {
  background: var(--bg-blue-deep);
  color: var(--bg-white);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-alert__inner {
  width: var(--bg-content);
  margin: 0 auto;
  padding: 9px 0;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.site-alert a {
  color: var(--bg-gold-bright);
  text-decoration: none;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(7, 63, 120, 0.12);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  width: var(--bg-content);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-branding {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  color: var(--bg-blue-ink);
  text-decoration: none;
}

.site-branding img {
  width: 96px;
  max-height: 78px;
  object-fit: contain;
}

.site-title {
  margin: 0;
  color: var(--bg-blue);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.site-description {
  margin: 2px 0 0;
  color: var(--bg-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.primary-navigation {
  position: relative;
  z-index: 300;
  flex: 1 1 auto;
}

.menu-toggle,
.submenu-toggle {
  display: none;
}

.primary-menu,
.primary-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.primary-menu li {
  position: relative;
}

.primary-menu li:hover,
.primary-menu li:focus-within {
  z-index: 20;
}

.primary-menu a {
  display: block;
  padding: 12px 11px;
  color: var(--bg-blue-ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
  color: var(--bg-blue);
}

.primary-menu ul {
  position: absolute;
  z-index: 25;
  top: 100%;
  left: 0;
  min-width: 230px;
  padding: 8px;
  background: var(--bg-white);
  border: 1px solid var(--bg-border);
  box-shadow: var(--bg-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.primary-menu li:hover > ul,
.primary-menu li:focus-within > ul {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.primary-menu ul a {
  padding: 9px 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
}

.header-cta {
  flex: 0 0 auto;
}

.bg-button,
.wp-block-button__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 4px;
  background: var(--bg-red);
  color: var(--bg-white);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.bg-button:hover,
.wp-block-button__link:hover {
  background: var(--bg-blue);
  color: var(--bg-white);
}

.bg-button--gold {
  background: var(--bg-gold);
  color: var(--bg-blue-deep);
}

.bg-button--ghost {
  background: transparent;
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.site-main {
  background: var(--bg-white);
}

.content-wrap,
.entry-content > *:not(.alignfull),
.entry-header,
.entry-footer,
.comments-area {
  width: var(--bg-content);
  margin-right: auto;
  margin-left: auto;
}

.entry-content > .alignwide {
  width: var(--bg-content);
  max-width: var(--bg-content);
}

.entry-content > .alignfull {
  width: 100%;
  max-width: none;
}

.entry-content {
  overflow: hidden;
}

.content-sidebar-layout {
  display: grid;
  width: var(--bg-content);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.content-sidebar-layout.has-sidebar {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
}

.content-sidebar-main {
  min-width: 0;
}

.content-sidebar-layout .entry-header,
.content-sidebar-layout .entry-footer,
.content-sidebar-layout .comments-area,
.content-sidebar-layout .entry-content > *:not(.alignfull) {
  width: auto;
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.content-sidebar-layout .entry-content > .alignwide,
.content-sidebar-layout .entry-content > .alignfull {
  width: 100%;
  max-width: 100%;
}

.site-sidebar {
  padding: 58px 0 64px;
}

.widget {
  margin: 0 0 18px;
}

.widget > *:first-child {
  margin-top: 0;
}

.widget > *:last-child {
  margin-bottom: 0;
}

.site-sidebar .widget_block > .wp-block-group,
.site-sidebar .wp-block-group.is-style-bgold-sidebar-card,
.site-sidebar .sidebar-card {
  padding: 22px;
  border: 1px solid var(--bg-border);
  border-top: 4px solid var(--bg-gold);
  border-radius: var(--bg-radius);
  background: var(--bg-white);
  box-shadow: 0 16px 42px rgba(6, 28, 53, 0.08);
}

.site-sidebar .wp-block-group > *:first-child {
  margin-top: 0;
}

.site-sidebar .wp-block-group > *:last-child {
  margin-bottom: 0;
}

.widget-title,
.site-sidebar h2,
.site-sidebar h3 {
  margin: 0 0 12px;
  color: var(--bg-blue-deep);
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.site-sidebar p,
.site-sidebar ul,
.site-sidebar ol {
  margin-top: 0;
  color: var(--bg-muted);
  font-size: 0.95rem;
  line-height: 1.52;
}

.site-sidebar ul,
.site-sidebar ol {
  padding-left: 1.1em;
}

.site-sidebar img {
  border-radius: 6px;
}

.site-sidebar .wp-block-button,
.site-sidebar .wp-block-buttons {
  margin-top: 14px;
}

.site-sidebar .wp-block-button__link {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.82rem;
}

.entry-title,
.page-title {
  margin: 54px auto 20px;
  color: var(--bg-blue-deep);
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.bg-section-title {
  color: var(--bg-blue-deep);
  letter-spacing: 0;
  line-height: 1.02;
}

.entry-content h2,
.bg-section-title {
  font-size: clamp(2rem, 4vw, 4.2rem);
  margin: 0 0 18px;
}

.entry-content h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.entry-content p {
  max-width: 74ch;
}

.front-page-layout {
  padding-bottom: 72px;
}

.front-page-layout .entry-content {
  display: flow-root;
}

.front-page-layout .entry-content > p:has(> img) {
  max-width: none;
  margin: 22px 0;
}

.front-page-layout .entry-content > p:has(> img) img {
  border-radius: var(--bg-radius);
  box-shadow: 0 18px 48px rgba(6, 28, 53, 0.14);
}

.front-page-layout .entry-content > p:first-child:has(> img) img {
  max-height: 150px;
  margin: 22px auto 10px;
  object-fit: contain;
  box-shadow: none;
}

.front-page-layout .entry-content > p:nth-child(2):has(> img) img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.front-page-layout .entry-content > h5:first-of-type,
.front-page-layout .entry-content > h4:first-of-type {
  margin-top: 36px;
  color: var(--bg-blue);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
}

.front-page-layout .entry-content > ul {
  max-width: 74ch;
  padding: 18px 24px 18px 42px;
  border-left: 4px solid var(--bg-gold);
  border-radius: 0 var(--bg-radius) var(--bg-radius) 0;
  background: var(--bg-ice);
}

.bg-editable-sponsors {
  margin: 64px 0 32px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--bg-border);
  border-radius: var(--bg-radius);
  background: linear-gradient(180deg, var(--bg-white), #f8fbfd);
  box-shadow: 0 22px 64px rgba(6, 28, 53, 0.1);
}

.bg-editable-sponsors > h2 {
  margin: 0 0 10px;
  color: var(--bg-blue-deep);
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 0.98;
  text-align: center;
}

.bg-editable-sponsors > p {
  max-width: 62ch;
  margin: 0 auto 30px;
  color: var(--bg-muted);
  text-align: center;
}

.bg-editable-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bg-editable-sponsor-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(7, 63, 120, 0.14);
  border-radius: var(--bg-radius);
  background: var(--bg-white);
  text-align: center;
}

.bg-editable-sponsor-card .wp-block-image {
  margin: 0;
}

.bg-editable-sponsor-card img {
  width: auto;
  max-height: 92px;
  object-fit: contain;
  box-shadow: none;
}

.bg-editable-sponsor-card h3,
.bg-editable-sponsor-card p {
  margin: 0;
}

.bg-editable-sponsor-card h3 {
  color: var(--bg-blue-deep);
  font-size: 0.98rem;
  line-height: 1.2;
}

.bg-editable-sponsor-card p {
  color: var(--bg-muted);
  font-size: 0.88rem;
}

.bg-eyebrow {
  margin: 0 0 14px;
  color: var(--bg-gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.bg-hero {
  position: relative;
  min-height: 720px;
  color: var(--bg-white);
  background: var(--bg-blue-deep);
  overflow: hidden;
}

.bg-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 28, 53, 0.95), rgba(6, 28, 53, 0.65) 44%, rgba(6, 28, 53, 0.22)),
    linear-gradient(0deg, rgba(6, 28, 53, 0.68), rgba(6, 28, 53, 0));
}

.bg-hero__inner {
  position: relative;
  z-index: 1;
  width: var(--bg-content);
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 44px;
  align-items: center;
  padding: 96px 0 80px;
}

.bg-hero h1 {
  max-width: 860px;
  margin: 0;
  color: var(--bg-white);
  font-size: clamp(3.2rem, 7vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.bg-hero__lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 1.6vw, 1.34rem);
}

.bg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.bg-event-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--bg-blue-deep);
  border-radius: var(--bg-radius);
  box-shadow: var(--bg-shadow);
}

.bg-event-card img {
  width: 100%;
  margin-bottom: 18px;
}

.bg-event-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  margin: 0 0 20px;
}

.bg-event-card dt {
  color: var(--bg-muted);
  font-weight: 900;
}

.bg-event-card dd {
  margin: 0;
  font-weight: 800;
}

.bg-band {
  padding: 84px 0;
}

.bg-band--cream {
  background: var(--bg-cream);
}

.bg-band--blue {
  background: var(--bg-blue-deep);
  color: var(--bg-white);
}

.bg-band--blue .bg-section-title,
.bg-band--blue h2,
.bg-band--blue h3 {
  color: var(--bg-white);
}

.bg-band--blue p {
  color: rgba(255, 255, 255, 0.82);
}

.bg-section-head {
  width: var(--bg-content);
  margin: 0 auto 34px;
  display: flex;
  gap: 28px;
  align-items: end;
  justify-content: space-between;
}

.bg-section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--bg-muted);
}

.bg-band--blue .bg-section-head p {
  color: rgba(255, 255, 255, 0.76);
}

.bg-grid {
  width: var(--bg-content);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.bg-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bg-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bg-card {
  min-height: 100%;
  padding: 26px;
  background: var(--bg-white);
  border: 1px solid var(--bg-border);
  border-radius: var(--bg-radius);
  box-shadow: 0 16px 42px rgba(6, 28, 53, 0.07);
}

.bg-card h3 {
  margin: 0 0 10px;
}

.bg-card p {
  margin: 0 0 18px;
  color: var(--bg-muted);
}

.bg-card a {
  font-weight: 900;
  text-decoration: none;
}

.bg-feature {
  width: var(--bg-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 46px;
  align-items: center;
}

.bg-feature__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--bg-radius);
  box-shadow: var(--bg-shadow);
}

.bg-feature__copy p {
  color: var(--bg-muted);
}

.bg-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.bg-metric {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--bg-radius);
  background: rgba(255, 255, 255, 0.06);
}

.bg-metric strong {
  display: block;
  color: var(--bg-gold-bright);
  font-size: 2rem;
  line-height: 1;
}

.bg-metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
}

.bg-sponsor-strip {
  width: var(--bg-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.bg-sponsor {
  display: flex;
  min-height: 130px;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: var(--bg-white);
  border: 1px solid var(--bg-border);
  border-radius: var(--bg-radius);
}

.bg-sponsor img {
  max-height: 78px;
  width: auto;
  object-fit: contain;
}

.bg-pattern-feature {
  width: var(--bg-content);
  margin-top: 82px;
  margin-bottom: 82px;
}

.bg-pattern-feature img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--bg-radius);
  box-shadow: var(--bg-shadow);
}

.bg-pattern-sponsors .wp-block-column {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: var(--bg-white);
  border: 1px solid var(--bg-border);
  border-radius: var(--bg-radius);
}

.bg-pattern-sponsors figure {
  margin: 0;
}

.bg-pattern-sponsors img {
  max-height: 84px;
  width: auto;
  object-fit: contain;
}

.bg-cta {
  position: relative;
  width: var(--bg-content);
  margin: 0 auto;
  padding: 48px;
  overflow: hidden;
  background: var(--bg-blue);
  border-radius: var(--bg-radius);
  color: var(--bg-white);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.bg-cta h2 {
  margin: 0 0 10px;
  color: var(--bg-white);
  font-size: clamp(2rem, 4vw, 4.5rem);
}

.bg-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer {
  background: var(--bg-blue-deep);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__inner {
  width: var(--bg-content);
  margin: 0 auto;
  padding: 56px 0 30px;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 46px;
}

.footer-brand img {
  width: 118px;
  margin-bottom: 18px;
}

.footer-brand p {
  margin: 0;
  max-width: 430px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-links h2 {
  margin: 0 0 12px;
  color: var(--bg-white);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--bg-gold-bright);
}

.site-footer__bottom {
  width: var(--bg-content);
  margin: 0 auto;
  padding: 20px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.post-list {
  display: grid;
  gap: 28px;
  padding: 0 0 70px;
}

.post-list article {
  padding: 28px;
  background: var(--bg-white);
  border: 1px solid var(--bg-border);
  border-radius: var(--bg-radius);
}

.post-list h2 {
  margin: 0 0 8px;
}

.post-thumbnail {
  margin-bottom: 20px;
}

.post-thumbnail img {
  border-radius: var(--bg-radius);
}

.aligncenter {
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 980px) {
  .content-sidebar-layout,
  .content-sidebar-layout.has-sidebar {
    grid-template-columns: 1fr;
  }

  .site-sidebar {
    position: static;
    padding: 0 0 54px;
  }

  .site-alert__inner,
  .bg-section-head,
  .bg-feature,
  .site-footer__inner,
  .bg-cta,
  .bg-hero__inner {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    display: grid;
    min-height: 0;
    padding: 12px 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .site-branding img {
    width: 74px;
    max-height: 58px;
  }

  .site-title {
    font-size: 0.98rem;
  }

  .site-description {
    font-size: 0.68rem;
  }

  .menu-toggle {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--bg-border);
    border-radius: 4px;
    background: var(--bg-white);
    color: var(--bg-blue-deep);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .menu-toggle__bar,
  .menu-toggle__bar::before,
  .menu-toggle__bar::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    content: "";
  }

  .menu-toggle__bar {
    position: relative;
  }

  .menu-toggle__bar::before,
  .menu-toggle__bar::after {
    position: absolute;
    left: 0;
  }

  .menu-toggle__bar::before {
    top: -6px;
  }

  .menu-toggle__bar::after {
    top: 6px;
  }

  .primary-navigation {
    display: none;
    grid-column: 1 / -1;
    z-index: 600;
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-menu {
    display: grid;
    max-height: min(68vh, 620px);
    margin-top: 4px;
    overflow: auto;
    border: 1px solid var(--bg-border);
    border-radius: var(--bg-radius);
    background: var(--bg-white);
    box-shadow: 0 18px 44px rgba(6, 28, 53, 0.16);
  }

  .primary-menu li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    border-bottom: 1px solid rgba(7, 63, 120, 0.1);
  }

  .primary-menu li:last-child {
    border-bottom: 0;
  }

  .primary-menu a {
    padding: 12px 14px;
    font-size: 0.86rem;
    line-height: 1.25;
  }

  .primary-menu ul {
    position: static;
    display: none;
    grid-column: 1 / -1;
    min-width: 0;
    padding: 0 0 8px;
    border: 0;
    background: #f7f9fb;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .primary-menu .submenu-open > ul {
    display: block;
  }

  .primary-menu ul a {
    padding: 9px 16px 9px 28px;
    font-size: 0.84rem;
    font-weight: 800;
  }

  .submenu-toggle {
    display: inline-flex;
    width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-left: 1px solid rgba(7, 63, 120, 0.12);
    background: transparent;
    color: var(--bg-blue-deep);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
  }

  .submenu-toggle[aria-expanded="true"] span {
    transform: rotate(45deg);
  }

  .submenu-toggle span {
    transition: transform 140ms ease;
  }

  .header-cta {
    display: none;
  }

  .bg-hero,
  .bg-hero__inner {
    min-height: 0;
  }

  .bg-hero__inner {
    padding: 74px 0;
  }

  .bg-grid--3,
  .bg-grid--4,
  .bg-sponsor-strip,
  .bg-editable-sponsor-grid,
  .bg-metrics,
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  :root {
    --bg-content: min(100vw - 24px, 1180px);
  }

  body {
    font-size: 16px;
  }

  .site-header {
    position: sticky;
  }

  .site-alert__inner {
    display: block;
  }

  .site-alert__inner span {
    display: block;
  }

  .entry-title,
  .page-title {
    margin-top: 32px;
    font-size: 2.05rem;
    line-height: 1.05;
  }

  .entry-content h1,
  .entry-content h2,
  .bg-section-title,
  .bg-editable-sponsors > h2 {
    font-size: 1.85rem;
    line-height: 1.12;
  }

  .entry-content h3 {
    font-size: 1.22rem;
  }

  .entry-content p,
  .entry-content li {
    font-size: 1rem;
    line-height: 1.58;
  }

  .front-page-layout {
    padding-bottom: 42px;
  }

  .front-page-layout .entry-content > p:has(> img) {
    margin: 14px 0;
  }

  .front-page-layout .entry-content > p:nth-child(2):has(> img) img {
    max-height: 300px;
  }

  .bg-hero h1 {
    font-size: 2.35rem;
    line-height: 1.04;
  }

  .bg-hero__lead {
    font-size: 1rem;
  }

  .bg-hero__inner {
    padding: 46px 0;
  }

  .bg-button,
  .wp-block-button__link {
    width: 100%;
    min-height: 42px;
    padding: 11px 14px;
    font-size: 0.8rem;
  }

  .bg-grid--3,
  .bg-grid--4,
  .bg-sponsor-strip,
  .bg-editable-sponsor-grid,
  .bg-metrics,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .bg-band {
    padding: 44px 0;
  }

  .bg-card,
  .bg-event-card,
  .bg-cta {
    padding: 18px;
  }

  .bg-editable-sponsors {
    margin: 36px 0 24px;
    padding: 20px;
  }

  .bg-editable-sponsor-card {
    min-height: 150px;
    padding: 18px;
  }

  .bg-editable-sponsor-card img {
    max-height: 76px;
  }
}
