/*
Theme Name: CelticFCBars Theme
Theme URI: https://www.celticfcbars.com/
Author: CelticFCBars
Author URI: https://www.celticfcbars.com/
Description: Production WordPress theme converted from static CelticFCBars HTML/CSS/JS with Gutenberg and UXBlocks compatibility.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: celticfcbars
*/

/* Primary theme stylesheet bundle for WordPress activation. */

/* Bridge styles for WordPress nav output */
.site-nav__list,
.mobile-nav,
.footer-links__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__list { display: flex; align-items: center; gap: 1.2rem; }
.mobile-nav { display: grid; gap: 0.45rem; margin-top: 1rem; }
.footer-links__list { display: grid; gap: 0.85rem 1rem; grid-template-columns: repeat(2,minmax(0,1fr)); }
.site-nav-link, .mobile-nav-link, .footer-nav-link { text-decoration: none; }
.page-builder-canvas { width: 100%; }
.site-media-card { position: relative; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 9999;
}
.skip-link:focus {
  left: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  background: #009b3a;
  color: #fff;
}
.breadcrumbs {
  margin-bottom: 1.4rem;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-soft);
  font-size: 0.9rem;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.breadcrumbs li + li::before {
  content: "/";
  color: rgba(214, 178, 94, 0.65);
}
.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}
.archive-grid {
  display: grid;
  gap: 1.1rem;
}
.archive-card {
  overflow: hidden;
}
.archive-card__media {
  display: block;
  margin-bottom: 1rem;
  border-radius: 1.1rem;
  overflow: hidden;
  background: rgba(0, 155, 58, 0.08);
  aspect-ratio: 16 / 10;
}
.archive-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}
.archive-card:hover .archive-card__media img,
.archive-card:focus-within .archive-card__media img {
  transform: scale(1.03);
}
.archive-card__title {
  margin-bottom: 0.75rem;
}
.archive-card__title a {
  color: inherit;
  text-decoration: none;
}
.archive-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin: -0.15rem 0 0.85rem;
  color: var(--text-soft);
  font-size: 0.84rem;
}
.archive-card__meta span {
  position: relative;
}
.archive-card__meta span + span::before {
  content: "";
  position: absolute;
  left: -0.42rem;
  top: 50%;
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 999px;
  background: rgba(214, 178, 94, 0.72);
  transform: translateY(-50%);
}
.archive-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}
.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.8rem;
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}
.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers:focus-visible {
  border-color: rgba(214, 178, 94, 0.48);
  background: rgba(214, 178, 94, 0.12);
  color: var(--text);
  transform: translateY(-1px);
}
.meta-stack {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}
.meta-stack__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.meta-stack__row span {
  color: var(--text-soft);
}
.meta-stack__row strong a {
  color: inherit;
  text-decoration: none;
}
.meta-stack__row strong a:hover,
.meta-stack__row strong a:focus-visible {
  color: var(--gold-bright);
}
.comment-respond,
.comments-area {
  margin-top: 1.5rem;
}
.comment-form {
  display: grid;
  gap: 1rem;
}
.comment-form input,
.comment-form textarea,
.search-form input[type="search"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--text);
  padding: 0.95rem 1rem;
}
.comment-form input:focus,
.comment-form textarea:focus,
.search-form input[type="search"]:focus {
  outline: 2px solid rgba(214, 178, 94, 0.55);
  outline-offset: 2px;
}
.comment-form .submit,
.search-form .search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid rgba(0, 155, 58, 0.8);
  border-radius: 999px;
  background: #009b3a;
  color: #fff;
  padding: 0.85rem 1.3rem;
  cursor: pointer;
}
.comments-panel {
  margin-top: 1.5rem;
}
.comment-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.comment-list .comment {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-soft);
  padding: 1rem 1.1rem;
}
.comment-list .children {
  list-style: none;
  margin: 0.9rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.8rem;
}
.comment-metadata,
.comment-awaiting-moderation,
.logged-in-as {
  color: var(--text-soft);
  font-size: 0.92rem;
}
.comment-author .fn {
  color: var(--text);
  font-style: normal;
  font-weight: 600;
}
.widget-title {
  margin: 0 0 0.9rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.2;
}
.comment-content p:last-child {
  margin-bottom: 0;
}
.footer-widgets {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.footer-widget-column {
  display: grid;
  gap: 1rem;
}
.news-content-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
.news-sidebar {
  display: grid;
  gap: 1rem;
}
.news-sidebar .widget {
  padding: 1.2rem;
}
.ux-builder-section .page-builder-canvas > :first-child {
  margin-top: 0;
}
.ux-builder-section .page-builder-canvas > :last-child {
  margin-bottom: 0;
}
@media (min-width: 960px) {
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-widgets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .news-content-grid {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
  }
}


:root {
  --celtic-green: #009b3a;
  --celtic-green-dark: #007a2f;
  --deep-green: #004b2f;
  --white: #ffffff;
  --soft-white: #f7f7f2;
  --gold: #b8862e;
  --gold-bright: #d6b25e;
  --charcoal: #07110b;
  --text: #07110b;
  --text-muted: rgba(7, 17, 11, 0.72);
  --text-soft: rgba(7, 17, 11, 0.56);
  --mist: rgba(7, 17, 11, 0.68);
  --surface: #ffffff;
  --surface-soft: #f7f7f2;
  --surface-mint: #eef8f1;
  --line: rgba(7, 17, 11, 0.1);
  --line-strong: rgba(0, 155, 58, 0.18);
  --line-gold: rgba(184, 134, 46, 0.24);
  --card: #ffffff;
  --card-muted: #f7f7f2;
  --card-strong: rgba(0, 155, 58, 0.08);
  --shadow-soft: 0 18px 48px rgba(7, 17, 11, 0.08);
  --shadow-glow: 0 16px 42px rgba(0, 155, 58, 0.12);
  --shadow-card: 0 10px 28px rgba(7, 17, 11, 0.06);
  --radius-md: 1rem;
  --radius-lg: 1.75rem;
  --radius-xl: 2.2rem;
  --container: 1400px;
  --header-height: clamp(4.75rem, 7vw, 5.35rem);
  --space-hero-top: clamp(2.5rem, 7vw, 5.5rem);
  --space-hero-bottom: clamp(3.5rem, 8vw, 6rem);
  --space-hero-gap: clamp(1.5rem, 3.5vw, 3rem);
  --panel-padding: clamp(1rem, 2vw, 1.45rem);
  --transition: 220ms ease;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(0, 155, 58, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(214, 178, 94, 0.06), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f2 45%, #eef8f1 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  transform: translateY(-220%);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--charcoal);
  font-weight: 700;
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.section--warm {
  background: var(--surface-soft);
}

.section--white {
  background: var(--white);
}

.section--mint {
  background: rgba(0, 155, 58, 0.05);
}

.brand-card {
  border: 1px solid var(--line);
  border-top: 2px solid var(--celtic-green);
  border-radius: 1.75rem;
  background: var(--white);
  box-shadow:
    0 4px 6px -1px rgba(7, 17, 11, 0.08),
    0 10px 24px -4px rgba(7, 17, 11, 0.08);
}

.brand-card--gold {
  border-top-color: var(--gold-bright);
}

.section-head,
.feature-panel,
.matchday-grid,
.footer-grid {
  gap: 1.5rem;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-gold);
  background: rgba(0, 155, 58, 0.06);
  color: var(--deep-green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.brand-title,
.aside-title,
.stat-card strong {
  font-family: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: -0.04em;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2.65rem, 8vw, 5.85rem);
  line-height: 0.95;
}

h2 {
  max-width: 17ch;
  font-size: clamp(2rem, 5vw, 3.65rem);
  line-height: 1.02;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.1;
}

h1,
h2,
h3,
.stat-card strong,
.metric-card strong,
.meta-box strong,
.bar-card-copy h3,
.mini-venue-card h3,
.country-quick-link strong {
  color: var(--text);
}

.section-copy,
.map-copy p,
.bar-card-body p,
.csc-card p,
.supporting-copy {
  color: var(--text-muted);
}

.footer-brand h2,
.footer-brand .eyebrow {
  color: var(--white);
}

.footer-brand .eyebrow {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-bright);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    color var(--transition);
  text-align: center;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, #00a940, var(--celtic-green));
  color: var(--white);
  box-shadow:
    0 14px 34px rgba(0, 155, 58, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.button-primary:hover {
  background: linear-gradient(180deg, #00b146, #009236);
  box-shadow:
    0 18px 38px rgba(0, 155, 58, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.button-secondary {
  border-color: var(--line-gold);
  background: var(--white);
  color: var(--deep-green);
  box-shadow: var(--shadow-card);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.82);
}

.button-hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: transparent;
  color: var(--white);
  box-shadow: none;
}

.button-hero-secondary:hover {
  border-color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button-small {
  min-height: 2.85rem;
  padding-inline: 1.05rem;
  font-size: 0.92rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-size: 0.95rem;
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.chip:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  background: var(--surface-mint);
}

.chip-card {
  border-top: 2px solid rgba(0, 155, 58, 0.35);
  box-shadow:
    0 4px 6px -1px rgba(7, 17, 11, 0.08),
    0 10px 24px -4px rgba(7, 17, 11, 0.08);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  border-bottom: 1px solid rgba(0, 155, 58, 0.35);
  background: #070b09;
  backdrop-filter: none;
}

.site-header.is-scrolled {
  background: #070b09;
  box-shadow: none;
}

.site-header .site-nav a {
  color: rgba(255, 255, 255, 0.86);
}

.site-header .site-nav a:hover {
  color: #6ae88f;
}

.site-header .menu-toggle {
  border-color: rgba(255, 255, 255, 0.25);
  background: #070b09;
  color: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 1.8vw, 1.4rem);
  min-height: var(--header-height);
}

.brand {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  width: clamp(10.75rem, 42vw, 16rem);
  max-width: calc(100vw - 5.25rem);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(7, 17, 11, 0.08));
}

.site-nav,
.header-find {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.header-actions > .button-secondary {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(0.42rem) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-0.42rem) rotate(-45deg);
}

.mobile-shell {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 109;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}

body.nav-open .mobile-shell {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.54);
}

.mobile-panel {
  position: relative;
  width: min(calc(100% - 1.5rem), 30rem);
  margin: 1rem auto 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transform: translateY(-16px);
  transition: transform var(--transition);
}

body.nav-open .mobile-panel {
  transform: translateY(0);
}

.mobile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mobile-close {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text);
  padding: 0.7rem 1rem;
  font-weight: 600;
}

.mobile-nav {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.mobile-nav a {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  color: var(--text);
  font-size: 1rem;
  background: var(--surface-soft);
  border: 1px solid transparent;
}

.mobile-nav a:hover {
  border-color: var(--line-gold);
  background: var(--surface-mint);
}

.mobile-cta-stack {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(28rem, 72vh, 42rem);
  padding: clamp(3.25rem, 8vw, 5.5rem) 0;
  background:
    linear-gradient(
      135deg,
      rgba(0, 75, 47, 0.85) 0%,
      rgba(7, 17, 11, 0.78) 48%,
      rgba(7, 17, 11, 0.9) 100%
    ),
    url("./assets/images/hero-splash.png") center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(214, 178, 94, 0.16), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(0, 155, 58, 0.18), transparent 24%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
}

.hero-eyebrow {
  border-color: rgba(214, 178, 94, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-bright);
}

.hero-title {
  max-width: 11ch;
  margin-top: 1rem;
  color: var(--white);
  font-size: clamp(2.55rem, 5.8vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero-title-line {
  display: block;
}

.hero-highlight {
  color: var(--gold-bright);
}

.hero-lead {
  max-width: 37rem;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.72;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-actions {
  margin-top: 1.75rem;
}

.hero-actions .button {
  width: 100%;
}

.section.home-command-section {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.home-command-grid,
.home-command-primary {
  display: grid;
  gap: 1rem;
}

.home-command-copy {
  display: grid;
  gap: 0.7rem;
}

.home-command-copy h2 {
  max-width: 15ch;
  font-size: clamp(1.7rem, 4vw, 2.85rem);
}

.home-command-copy .section-copy {
  max-width: 44rem;
  font-size: 0.98rem;
  line-height: 1.62;
}

.hero-search-shell {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}

/* Prioritize homepage search block with high-contrast styling */
.home-command-section .hero-search-shell {
  border-color: rgba(214, 178, 94, 0.34);
  border-top-color: var(--gold-bright);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 38%),
    linear-gradient(135deg, #0a4e33 0%, #006b3f 54%, #00874a 100%);
  color: var(--white);
}

.home-command-section .hero-search-shell .home-command-copy h2,
.home-command-section .hero-search-shell .home-command-copy .section-copy {
  color: var(--white);
}

.home-command-section .hero-search-shell .home-command-copy .section-copy {
  color: rgba(255, 255, 255, 0.9);
}

.home-command-section .hero-search-shell .eyebrow {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.search-panel {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.search-panel-row {
  display: grid;
  gap: 0.8rem;
}

.search-panel input {
  width: 100%;
  min-height: 3.45rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--white);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.search-panel input::placeholder {
  color: var(--text-soft);
}

.search-button {
  width: 100%;
  min-height: 3.45rem;
}

.hero-chip-row {
  margin-top: 0;
  gap: 0.65rem;
}

.hero-chip-row .chip {
  min-height: 2.6rem;
  padding: 0.65rem 0.95rem;
  border-color: var(--line);
  background: var(--white);
  font-size: 0.9rem;
}

.quick-news-shell {
  display: grid;
  gap: 0.4rem;
  padding: clamp(0.72rem, 1.35vw, 0.9rem);
  border: 1px solid var(--line);
  border-top: 2px solid var(--celtic-green);
  border-radius: 0.95rem;
  background: var(--surface);
  box-shadow:
    0 4px 6px -1px rgba(7, 17, 11, 0.08),
    0 10px 24px -4px rgba(7, 17, 11, 0.08);
  color: var(--text);
}

.quick-news-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.quick-news-head h2 {
  max-width: none;
  font-size: clamp(1.18rem, 1.8vw, 1.35rem);
  line-height: 1.04;
}

.quick-news-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
}

.quick-news-updated,
.quick-news-status {
  color: var(--text-soft);
  font-size: 0.72rem;
}

.quick-news-shell .text-link {
  margin-top: 0;
  font-size: 0.8rem;
}

.quick-news-status {
  min-height: 0.88rem;
}

.quick-news-list-wrap {
  margin-top: 0.05rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--white);
  overflow: hidden;
}

.quick-news-list {
  display: flex;
  flex-direction: column;
}

.quick-news-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.28rem 0.55rem;
  min-height: 0;
  padding: 0.45rem 0.62rem;
  border-bottom: 1px solid rgba(0, 155, 58, 0.1);
  color: inherit;
  text-decoration: none;
  transition:
    background var(--transition),
    border-color var(--transition);
}

.quick-news-row:nth-child(odd) {
  background: var(--white);
}

.quick-news-row:nth-child(even) {
  background: #f3fbf6;
}

.quick-news-row:last-child {
  border-bottom: 0;
}

.quick-news-row:hover,
.quick-news-row:focus-visible {
  background: #e2f6e9;
  border-bottom-color: rgba(0, 155, 58, 0.24);
}

.quick-news-row:hover .quick-news-headline,
.quick-news-row:focus-visible .quick-news-headline {
  color: #006b3f;
}

.quick-news-row:hover .quick-news-chevron,
.quick-news-row:focus-visible .quick-news-chevron {
  color: #006b3f;
  transform: translateX(2px);
}

.quick-news-main {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.quick-news-source {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.quick-news-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #eff9f2;
  color: var(--celtic-green-dark);
  font-size: 0.44rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quick-news-favicon {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 155, 58, 0.2);
  background: #fff;
  flex: 0 0 auto;
}

.quick-news-source-name {
  color: #1f3e30;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.quick-news-time {
  color: #557563;
  font-size: 0.66rem;
  line-height: 1;
}

.quick-news-headline-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.35rem;
}

.quick-news-headline {
  color: #102e22;
  font-size: clamp(0.93rem, 1.45vw, 1.02rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.quick-news-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.4rem;
  border: 1px solid rgba(0, 155, 58, 0.32);
  border-radius: 999px;
  background: rgba(0, 155, 58, 0.1);
  color: #0f5a38;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.quick-news-snippet {
  max-height: 0;
  overflow: hidden;
  color: #4a6657;
  font-size: 0.72rem;
  line-height: 1.28;
  opacity: 0;
  transition:
    max-height var(--transition),
    opacity var(--transition);
}

.quick-news-row:hover .quick-news-snippet,
.quick-news-row:focus-visible .quick-news-snippet {
  max-height: 2.4rem;
  opacity: 1;
}

.quick-news-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #5f7d6d;
  font-size: 0.65rem;
  line-height: 1.1;
}

.quick-news-read {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  background: rgba(0, 155, 58, 0.1);
  color: #0f6e41;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quick-news-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.15rem;
  color: #0d7b47;
  transition:
    transform var(--transition),
    color var(--transition);
}

.quick-news-chevron svg {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
}

.hero-aside {
  display: grid;
  gap: 0.75rem;
  padding: clamp(0.95rem, 2vw, 1.15rem);
  border: 1px solid rgba(214, 178, 94, 0.18);
  border-radius: 1.45rem;
  background:
    radial-gradient(circle at top right, rgba(0, 155, 58, 0.22), transparent 34%),
    linear-gradient(135deg, #07110b 0%, #004b2f 100%);
  box-shadow:
    0 18px 38px rgba(7, 17, 11, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.hero-aside-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-aside-copy {
  max-width: 15rem;
}

.aside-kicker {
  color: var(--gold-bright);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.aside-title {
  margin-top: 0.25rem;
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding-top: 0.1rem;
}

.stat-card {
  display: grid;
  gap: 0.1rem;
  justify-items: center;
  padding: 0.35rem 0.45rem;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.stat-card:nth-child(2n) {
  border-right: 0;
}

.stat-card strong {
  color: var(--gold-bright);
  font-size: clamp(1.28rem, 3vw, 1.65rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.stat-card span {
  color: rgba(247, 247, 242, 0.62);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.signal-pill,
.outline-pill,
.status-badge,
.legacy-badge,
.live-card span,
.bar-tag,
.bar-rank,
.live-dot {
  gap: 0.45rem;
  padding: 0.52rem 0.78rem;
  border: 1px solid rgba(0, 155, 58, 0.18);
  background: rgba(0, 155, 58, 0.08);
  color: var(--deep-green);
}

.hero-aside .signal-pill {
  border-color: rgba(0, 155, 58, 0.85);
  background: rgba(0, 155, 58, 0.08);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-panel {
  display: grid;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold-bright);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow:
    0 4px 6px -1px rgba(7, 17, 11, 0.08),
    0 10px 24px -4px rgba(7, 17, 11, 0.08);
}

.site-media-card {
  position: relative;
  overflow: hidden;
  min-height: clamp(9rem, 22vw, 13rem);
  margin: 0;
  border: 1px solid rgba(214, 178, 94, 0.24);
  border-radius: 1.35rem;
  background: #07110b;
  box-shadow:
    0 8px 24px rgba(7, 17, 11, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 17, 11, 0.02), rgba(7, 17, 11, 0.34)),
    radial-gradient(circle at top right, rgba(0, 155, 58, 0.18), transparent 34%);
  pointer-events: none;
}

.site-media-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.site-media-card--compact {
  min-height: clamp(8rem, 18vw, 10.5rem);
}

.site-media-card--wide {
  min-height: clamp(10rem, 26vw, 15rem);
}

.site-media-card--hero {
  min-height: clamp(10rem, 22vw, 14rem);
}

.compact-map-shell {
  display: grid;
  gap: 1rem;
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold-bright);
  border-radius: 1.9rem;
  background:
    radial-gradient(circle at top right, rgba(0, 155, 58, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff, #f7f7f2);
  box-shadow:
    0 4px 6px -1px rgba(7, 17, 11, 0.08),
    0 10px 24px -4px rgba(7, 17, 11, 0.08);
}

.compact-map-head {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.compact-map-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.compact-map-copy {
  max-width: 40rem;
  color: var(--mist);
  font-size: 0.98rem;
}

.compact-map-link-desktop {
  display: none;
}

.compact-map-toolbar {
  display: grid;
  gap: 0.8rem;
}

.compact-map-search {
  display: grid;
  gap: 0.75rem;
}

.compact-map-search-row {
  display: grid;
  gap: 0.7rem;
}

.compact-map-input {
  width: 100%;
  min-height: 3.15rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
  color: var(--text);
}

.compact-map-input::placeholder {
  color: var(--text-soft);
}

.compact-map-search-button,
.compact-map-near {
  min-height: 3.15rem;
}

.compact-map-status {
  min-height: 1.35rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.compact-map-stage-wrap {
  position: relative;
  contain: layout paint;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 1.45rem;
  background: #07110b;
}

.compact-map-stage {
  position: relative;
  z-index: 0;
  width: 100%;
  height: clamp(18rem, 46vw, 27rem);
  min-height: 18rem;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 155, 58, 0.14), transparent 34%),
    linear-gradient(135deg, #07110b 0%, #004b2f 100%);
}

.compact-map-stage.leaflet-container {
  width: 100%;
  height: clamp(18rem, 46vw, 27rem);
}

.compact-map-stage[data-map-ready="false"] {
  position: relative;
}

.compact-map-stage[data-map-ready="false"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 36%, rgba(214, 178, 94, 0.8) 0 5px, transparent 6px),
    radial-gradient(circle at 58% 48%, rgba(0, 155, 58, 0.8) 0 5px, transparent 6px),
    radial-gradient(circle at 72% 32%, rgba(214, 178, 94, 0.75) 0 4px, transparent 5px),
    linear-gradient(rgba(214, 178, 94, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 178, 94, 0.055) 1px, transparent 1px);
  background-size: auto, auto, auto, 34px 34px, 34px 34px;
  opacity: 0.55;
}

.compact-map-stage[data-map-ready="false"]::after {
  content: "Loading worldwide Celtic map";
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 178, 94, 0.28);
  background: rgba(7, 17, 11, 0.78);
  color: var(--gold-bright);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compact-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0.85rem 1rem 1rem;
  color: #ffffff;
  font-size: 0.84rem;
}

.compact-map-suggestions {
  display: none;
  gap: 0.75rem;
}

.compact-suggestion-card {
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.compact-suggestion-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.compact-suggestion-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: rgba(0, 155, 58, 0.1);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compact-suggestion-badge--official {
  border: 1px solid rgba(214, 178, 94, 0.2);
  background: rgba(214, 178, 94, 0.12);
  color: var(--gold);
}

.compact-suggestion-title {
  font-size: 1rem;
  line-height: 1.3;
}

.compact-suggestion-meta {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.compact-suggestion-address {
  line-height: 1.35;
}

.compact-suggestion-link {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
}

.compact-map-footer {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.compact-map-updated {
  color: var(--text-soft);
  font-size: 0.78rem;
}

.legend-dot {
  display: inline-flex;
  width: 0.85rem;
  height: 0.85rem;
  margin-right: 0.45rem;
  border-radius: 999px;
}

.legend-dot--official {
  background: linear-gradient(180deg, var(--gold), #9a7c35);
  box-shadow: 0 0 0 3px rgba(214, 178, 94, 0.18);
}

.legend-dot--bar {
  background: linear-gradient(180deg, #14c658, var(--celtic-green));
  box-shadow: 0 0 0 3px rgba(0, 155, 58, 0.18);
}

.venue-intelligence-section {
  padding-top: 0;
}

.spotlight-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.spotlight-chip {
  display: grid;
  gap: 0.2rem;
  min-width: 10rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-top: 2px solid var(--celtic-green);
  border-radius: 1rem;
  background: var(--white);
  box-shadow:
    0 4px 6px -1px rgba(7, 17, 11, 0.08),
    0 10px 24px -4px rgba(7, 17, 11, 0.08);
}

.spotlight-chip strong {
  font-size: 0.96rem;
}

.spotlight-chip span {
  color: var(--mist);
  font-size: 0.82rem;
}

.discovery-collections {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.discovery-collection-card {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-top: 2px solid var(--celtic-green);
  border-radius: 1.5rem;
  background: var(--white);
  box-shadow:
    0 4px 6px -1px rgba(7, 17, 11, 0.08),
    0 10px 24px -4px rgba(7, 17, 11, 0.08);
}

.discovery-collection-card:nth-child(2) {
  border-top-color: var(--gold-bright);
}

.discovery-collection-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.discovery-collection-list,
.country-chip-grid {
  display: grid;
  gap: 0.75rem;
}

.mini-venue-card,
.country-quick-link {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-top: 2px solid var(--celtic-green);
  border-radius: 1.15rem;
  background: var(--white);
  box-shadow:
    0 4px 6px -1px rgba(7, 17, 11, 0.08),
    0 10px 24px -4px rgba(7, 17, 11, 0.08);
}

.mini-venue-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mini-venue-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 155, 58, 0.1);
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini-venue-badge--official {
  border: 1px solid rgba(214, 178, 94, 0.18);
  background: rgba(214, 178, 94, 0.12);
  color: var(--gold);
}

.mini-venue-score {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
}

.mini-venue-card h3,
.country-quick-link strong {
  font-size: 1rem;
  line-height: 1.3;
}

.mini-venue-card p,
.country-quick-link span {
  color: var(--mist);
  font-size: 0.84rem;
}

.map-panel {
  align-items: stretch;
}

.map-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.map-copy .button {
  align-self: flex-start;
}

.map-stage {
  position: relative;
  min-height: 21rem;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at 50% 20%, rgba(0, 155, 58, 0.12), transparent 30%),
    linear-gradient(180deg, #eef8f1 0%, #f7f7f2 100%);
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(214, 178, 94, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 178, 94, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.25;
}

.map-ring {
  position: absolute;
  border: 1px solid rgba(214, 178, 94, 0.12);
  border-radius: 999px;
}

.ring-one {
  top: 20%;
  left: 18%;
  width: 9rem;
  height: 9rem;
}

.ring-two {
  top: 17%;
  left: 42%;
  width: 10rem;
  height: 10rem;
}

.ring-three {
  top: 56%;
  left: 74%;
  width: 8rem;
  height: 8rem;
}

.map-pin {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--celtic-green);
  box-shadow: 0 0 24px rgba(0, 155, 58, 0.8);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 0.26rem;
  border-radius: 999px;
  background: var(--white);
}

.pin-new-york {
  top: 26%;
  left: 23%;
}

.pin-boston {
  top: 22%;
  left: 27%;
}

.pin-glasgow {
  top: 18%;
  left: 49%;
}

.pin-dublin {
  top: 24%;
  left: 47%;
}

.pin-sydney {
  top: 68%;
  left: 84%;
}

.map-float {
  position: absolute;
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border: 1px solid var(--line-gold);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.map-float p {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.map-float strong,
.map-float span {
  color: var(--text);
}

.map-float-top {
  top: 1rem;
  left: 1rem;
  max-width: 14rem;
}

.map-float-bottom {
  right: 1rem;
  bottom: 1rem;
  max-width: 15rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.bar-card,
.csc-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.bar-card:hover,
.csc-card:hover:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-glow);
}

.bar-card {
  overflow: hidden;
}

.bar-card-media {
  position: relative;
  min-height: 14.5rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, transparent 20%, rgba(0, 75, 47, 0.62) 100%),
    radial-gradient(circle at top left, rgba(0, 155, 58, 0.28), transparent 34%),
    linear-gradient(140deg, #eef8f1 10%, #b8e6c8 38%, #009b3a 100%);
}

.bar-rank {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line-gold);
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep-green);
}

.bar-card-copy {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
}

.bar-card-copy p {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.bar-card-copy h3 {
  margin-top: 0.55rem;
  color: var(--white);
}

.bar-tag {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line-gold);
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep-green);
  letter-spacing: 0.05em;
  text-transform: none;
  font-size: 0.78rem;
}

.bar-card-body,
.csc-card {
  padding: 1.25rem;
}

.metric-grid {
  grid-template-columns: 1fr;
}

.metric-card strong,
.meta-box strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1rem;
  color: var(--text);
}

.metric-live {
  color: var(--celtic-green);
}

.bar-card-body p,
.csc-card p {
  margin-top: 1rem;
}

.card-actions {
  margin-top: 1.2rem;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 700;
}

.text-link:hover {
  color: var(--celtic-green);
}

.matchday-grid {
  display: grid;
}

.list-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.list-card {
  padding: 1rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 1.35rem;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.live-panel {
  gap: 1rem;
}

.live-panel-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.live-panel-head p {
  color: var(--mist);
  font-size: 0.95rem;
}

.live-panel-head h3 {
  margin-top: 0.35rem;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
}

.outline-pill {
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(0, 155, 58, 0.24);
  background: rgba(0, 155, 58, 0.08);
  color: var(--white);
  align-self: flex-start;
}

.live-card-stack {
  display: grid;
  gap: 0.8rem;
}

.live-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--surface-soft);
}

.live-card p {
  color: var(--mist);
  font-size: 0.95rem;
}

.live-card strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

.live-card span {
  align-self: flex-start;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(214, 178, 94, 0.2);
  background: rgba(214, 178, 94, 0.1);
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.82rem;
}

.legacy-banner {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.legacy-banner span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 178, 94, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--mist);
  text-align: center;
}

.legacy-banner span:first-child {
  color: var(--gold);
}

.csc-card-top {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.csc-card-top p p {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.status-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.status-badge {
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(214, 178, 94, 0.2);
  background: rgba(214, 178, 94, 0.1);
  color: var(--gold);
}

.legacy-badge {
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--mist);
}

.csc-meta-grid {
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

.submit-panel {
  gap: 1.5rem;
  align-items: start;
  background:
    radial-gradient(circle at top right, rgba(214, 178, 94, 0.12), transparent 28%),
    linear-gradient(140deg, rgba(0, 155, 58, 0.08), rgba(255, 255, 255, 1));
}

.submit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.submit-tile {
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--white);
  box-shadow: var(--shadow-card);
  font-weight: 600;
}

.submit-actions {
  margin-top: 1.25rem;
}

.submit-panel-actions {
  display: grid;
  gap: 0.85rem;
}

/* Homepage flow tuning: remove oversized section gaps */
.section.home-command-section {
  padding-top: clamp(1.15rem, 2.4vw, 1.85rem);
  padding-bottom: clamp(1.1rem, 2.2vw, 1.7rem);
}

.section.map-section {
  padding-top: clamp(0.55rem, 1.4vw, 0.95rem);
  padding-bottom: clamp(0.85rem, 1.9vw, 1.35rem);
}

.live-standings-section {
  padding-top: clamp(0.65rem, 1.4vw, 1.05rem);
  padding-bottom: clamp(1.05rem, 2.2vw, 1.55rem);
}

.city-browse-section {
  padding-top: clamp(1.1rem, 2.5vw, 1.9rem);
  padding-bottom: clamp(1.25rem, 2.6vw, 2rem);
}

.submit-section {
  padding-top: clamp(1.2rem, 2.6vw, 2rem);
  padding-bottom: clamp(1.35rem, 2.8vw, 2.15rem);
}

.city-browse-section {
  padding-top: clamp(1.1rem, 2.5vw, 1.9rem);
  padding-bottom: clamp(1.25rem, 2.6vw, 2rem);
}

.city-browse-head {
  margin-bottom: 0;
}

.city-browse-head h2 {
  max-width: none;
}

.city-browse-copy {
  margin-top: 0.65rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 38rem;
}

.city-browse-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.city-browse-section .city-link-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-top: 2px solid var(--celtic-green);
  border-radius: 1rem;
  background: var(--white);
  box-shadow:
    0 4px 6px -1px rgba(7, 17, 11, 0.08),
    0 10px 20px -4px rgba(7, 17, 11, 0.06);
  color: inherit;
  text-decoration: none;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.city-browse-section .city-link-card:hover,
.city-browse-section .city-link-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--celtic-green);
  box-shadow:
    0 10px 24px rgba(0, 155, 58, 0.12),
    0 4px 10px rgba(7, 17, 11, 0.08);
}

.city-link-card__name {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.city-link-card__count {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.48rem;
  border: 1px solid rgba(0, 155, 58, 0.12);
  border-radius: 999px;
  background: var(--surface-mint);
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
}

/* Live SportsDB Celtic match centre */
.live-standings-section {
  padding-top: clamp(0.65rem, 1.4vw, 1.05rem);
  padding-bottom: clamp(1.05rem, 2.2vw, 1.55rem);
}

.section.map-section {
  padding-top: clamp(0.55rem, 1.4vw, 0.95rem);
  padding-bottom: clamp(0.85rem, 1.9vw, 1.35rem);
}

.sportsdb-head {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.sportsdb-head h2 {
  max-width: 18ch;
  color: #0b3f2c;
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
}

.sportsdb-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.sportsdb-separator {
  color: #6d8478;
}

.sportsdb-status {
  min-height: 1rem;
  margin-bottom: 0.5rem;
  color: #2c5741;
  font-size: 0.8rem;
}

.sportsdb-topline-grid {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.sportsdb-mini-card {
  display: grid;
  gap: 0.24rem;
  padding: 0.62rem 0.8rem;
  border: 1px solid rgba(0, 155, 58, 0.2);
  border-radius: 0.78rem;
  background:
    radial-gradient(circle at top right, rgba(0, 155, 58, 0.14), transparent 52%),
    #f9fff9;
}

.sportsdb-mini-card:nth-child(even) {
  background:
    radial-gradient(circle at top right, rgba(214, 178, 94, 0.12), transparent 52%),
    #f4fbf6;
}

.sportsdb-mini-kicker {
  color: #0d7143;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sportsdb-mini-title {
  color: #0f3526;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.15;
}

.sportsdb-mini-score {
  color: #006e3d;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.05;
}

.sportsdb-mini-copy {
  color: #3d5d4e;
  font-size: 0.76rem;
  line-height: 1.28;
}

.sportsdb-fixtures-grid {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.6rem;
}

.sportsdb-fixture-card {
  display: grid;
  gap: 0.24rem;
  padding: 0.68rem 0.85rem;
  border: 1px solid rgba(0, 155, 58, 0.2);
  border-radius: 0.78rem;
  background:
    radial-gradient(circle at top right, rgba(0, 155, 58, 0.12), transparent 52%),
    #f8fff9;
}

.sportsdb-fixtures-grid .sportsdb-fixture-card:nth-child(even) {
  background:
    radial-gradient(circle at top right, rgba(214, 178, 94, 0.12), transparent 52%),
    #f3fbf6;
}

.sportsdb-fixture-meta {
  color: #00693d;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sportsdb-fixture-title {
  color: #112f23;
  font-size: clamp(0.92rem, 1.18vw, 1rem);
  line-height: 1.15;
}

.sportsdb-fixture-score {
  color: #0b5f39;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.sportsdb-fixture-date,
.sportsdb-fixture-league {
  color: #3d5d4e;
  font-size: 0.74rem;
}

.sportsdb-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(0, 155, 58, 0.22);
  border-radius: 0.78rem;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(7, 17, 11, 0.06);
}

.sportsdb-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
}

.sportsdb-table thead th {
  padding: 0.5rem 0.5rem;
  background: linear-gradient(180deg, #00a645 0%, #008f3c 100%);
  color: #ffffff;
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sportsdb-table td {
  padding: 0.44rem 0.5rem;
  border-bottom: 1px solid rgba(0, 155, 58, 0.12);
  color: #113023;
  font-size: 0.78rem;
  line-height: 1.18;
}

.sportsdb-table tbody tr:nth-child(even) {
  background: #f4fbf6;
}

.sportsdb-table tbody tr:hover {
  background: #e0f4e7;
}

.sportsdb-celtic-row td {
  background: linear-gradient(90deg, rgba(0, 155, 58, 0.16) 0%, rgba(0, 155, 58, 0.08) 100%);
  color: #045f36;
  font-weight: 700;
}

.sportsdb-empty-row {
  text-align: center;
  color: #4f6a5d;
}

.sportsdb-row--title td {
  background-color: #f2fdf6;
}

.sportsdb-row--relegation td {
  background-color: #fbfffc;
}

.sportsdb-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.sportsdb-rank-badge--elite {
  background: linear-gradient(180deg, #00b84f 0%, #009441 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 155, 58, 0.28);
}

.sportsdb-rank-badge--strong {
  background: rgba(0, 155, 58, 0.14);
  color: #05663a;
}

.sportsdb-rank-badge--neutral {
  background: rgba(7, 17, 11, 0.08);
  color: #2d4d3c;
}

.sportsdb-team-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.sportsdb-team-badge {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 155, 58, 0.18);
  background: #fff;
  object-fit: cover;
}

.sportsdb-team-name {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sportsdb-form-track {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
}

.sportsdb-form-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.08rem;
  height: 1.08rem;
  border-radius: 0.4rem;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
}

.sportsdb-form-pill--win {
  background: rgba(0, 155, 58, 0.18);
  color: #006b3f;
}

.sportsdb-form-pill--draw {
  background: rgba(214, 178, 94, 0.22);
  color: #6c5420;
}

.sportsdb-form-pill--loss {
  background: rgba(194, 53, 53, 0.16);
  color: #8c2e2e;
}

.sportsdb-form-pill--neutral {
  background: rgba(7, 17, 11, 0.08);
  color: #3a5447;
}

.sportsdb-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  justify-content: center;
  margin-top: 0.5rem;
  color: #2f5d47;
  font-size: 0.74rem;
}

.sportsdb-links a {
  color: #0c6c3f;
  font-weight: 700;
}

.sportsdb-links a:hover {
  color: #005f34;
}

.simple-page-panel,
.directory-hero-panel,
.detail-panel,
.submit-page-panel {
  gap: 1.25rem;
}

.simple-page-panel h1,
.directory-hero-panel h1,
.submit-page-panel h1,
.detail-hero-panel h1 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 0.98;
}

.simple-page-copy,
.detail-hero-copy {
  display: grid;
  gap: 1rem;
}

.simple-page-actions {
  align-items: flex-start;
}

.matchday-revamp-panel {
  border-color: rgba(0, 155, 58, 0.24);
  border-top-color: var(--celtic-green);
  background:
    radial-gradient(circle at top right, rgba(0, 155, 58, 0.1), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f3fbf6 100%);
}

.matchday-revamp-copy {
  gap: 0.85rem;
}

.matchday-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.matchday-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.95rem;
  padding: 0.3rem 0.62rem;
  border: 1px solid rgba(0, 155, 58, 0.22);
  border-radius: 999px;
  background: rgba(0, 155, 58, 0.08);
  color: #075d37;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.matchday-revamp-media figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(7, 17, 11, 0.62);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.matchday-mini-grid {
  display: grid;
  gap: 0.65rem;
}

.matchday-mini-card {
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(0, 155, 58, 0.18);
  border-radius: 0.9rem;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(7, 17, 11, 0.06);
}

.matchday-mini-card span {
  display: block;
  color: #226449;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.matchday-mini-card strong {
  display: block;
  margin-top: 0.28rem;
  color: #0b4f34;
  font-size: 1.02rem;
  line-height: 1.1;
}

.matchday-mini-card p {
  margin-top: 0.3rem;
  color: rgba(7, 17, 11, 0.7);
  font-size: 0.78rem;
  line-height: 1.35;
}

.matchday-revamp-actions {
  gap: 0.65rem;
}

.community-revamp-panel {
  border-color: rgba(0, 155, 58, 0.24);
  border-top-color: var(--gold-bright);
  background:
    radial-gradient(circle at top right, rgba(214, 178, 94, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f2 100%);
}

.community-revamp-copy {
  gap: 0.85rem;
}

.community-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.community-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.95rem;
  padding: 0.3rem 0.62rem;
  border: 1px solid rgba(214, 178, 94, 0.34);
  border-radius: 999px;
  background: rgba(214, 178, 94, 0.12);
  color: #6a4d14;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.community-revamp-media figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(7, 17, 11, 0.62);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.community-mini-grid {
  display: grid;
  gap: 0.65rem;
}

.community-mini-card {
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(214, 178, 94, 0.26);
  border-radius: 0.9rem;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(7, 17, 11, 0.06);
}

.community-mini-card span {
  display: block;
  color: #6f541f;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.community-mini-card strong {
  display: block;
  margin-top: 0.28rem;
  color: #0b4f34;
  font-size: 1.02rem;
  line-height: 1.1;
}

.community-mini-card p {
  margin-top: 0.3rem;
  color: rgba(7, 17, 11, 0.7);
  font-size: 0.78rem;
  line-height: 1.35;
}

.community-revamp-actions {
  gap: 0.65rem;
}

.directory-hero-panel {
  display: grid;
}

.directory-hero-panel .site-media-card,
.submit-page-panel .site-media-card,
.simple-page-panel .site-media-card {
  border-top-color: var(--gold-bright);
}

.filter-strip {
  display: grid;
  gap: 0.85rem;
}

.page-select,
.static-form input,
.static-form textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.page-select {
  appearance: none;
}

.page-select option {
  color: var(--charcoal);
}

.empty-directory-state {
  margin-top: 2rem;
}

.static-bar-card[hidden],
.static-csc-card[hidden] {
  display: none;
}

.detail-chip-row {
  margin-top: 0.25rem;
}

.detail-hero-panel,
.detail-grid {
  display: grid;
  gap: 1rem;
}

.detail-hero-panel {
  padding: 1.4rem;
  border-color: rgba(214, 178, 94, 0.32);
  border-top-color: var(--gold-bright);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 38%),
    linear-gradient(135deg, #0a4e33 0%, #006b3f 55%, #007f47 100%);
  color: var(--white);
}

.detail-hero-panel h1,
.detail-hero-panel .section-copy {
  color: var(--white);
}

.detail-hero-panel .eyebrow {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.detail-hero-panel .chip {
  border-color: rgba(255, 255, 255, 0.7);
  background: var(--white);
  color: #103424;
}

.detail-hero-panel .stat-card {
  border-color: rgba(255, 255, 255, 0.28);
}

.detail-hero-panel .stat-card strong {
  color: #ffe8a3;
}

.detail-hero-panel .stat-card span {
  color: rgba(255, 255, 255, 0.9);
}

.detail-hero-side {
  display: grid;
  align-content: start;
}

.detail-hero-actions {
  align-items: stretch;
}

.detail-info-list,
.side-link-list,
.static-form,
.form-grid {
  display: grid;
  gap: 1rem;
}

.detail-info-list > div,
.side-link-list a {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.detail-info-list strong,
.side-link-list strong {
  color: var(--text);
}

.detail-info-list span,
.side-link-list span {
  color: var(--mist);
}

.static-form label {
  display: grid;
  gap: 0.5rem;
  color: var(--mist);
  font-size: 0.95rem;
}

.form-grid {
  grid-template-columns: 1fr;
}

.form-span-2 {
  grid-column: span 1;
}

.form-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface-soft);
}

.form-consent input {
  width: 1rem;
  min-height: auto;
  margin-top: 0.2rem;
}

.form-success {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(0, 155, 58, 0.24);
  border-radius: 1.25rem;
  background: rgba(0, 155, 58, 0.08);
  color: var(--deep-green);
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid rgba(0, 155, 58, 0.15);
  background: linear-gradient(180deg, var(--celtic-green), var(--deep-green));
  color: var(--white);
}

.footer-grid {
  display: grid;
  padding: 3.5rem 0 2rem;
}

.footer-brand h2 {
  margin-top: 1rem;
  max-width: 14ch;
}

.footer-brand p:last-child {
  margin-top: 1rem;
  max-width: 36rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  align-content: start;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

@media (max-width: 48rem) {
  .section.home-command-section {
    padding-top: 1rem;
    padding-bottom: 1.15rem;
  }

  .section.map-section {
    padding-top: 0.45rem;
    padding-bottom: 0.95rem;
  }

  .live-standings-section {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
  }

  .city-browse-section,
  .submit-section {
    padding-top: 1.05rem;
    padding-bottom: 1.2rem;
  }

  .sportsdb-head h2 {
    font-size: 1.08rem;
  }

  .sportsdb-meta {
    font-size: 0.76rem;
  }

  .sportsdb-table-wrap {
    overflow-x: hidden;
  }

  .sportsdb-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .sportsdb-table thead th,
  .sportsdb-table td {
    padding: 0.38rem 0.3rem;
    font-size: 0.7rem;
  }

  .sportsdb-table thead th:nth-child(4),
  .sportsdb-table td:nth-child(4) {
    display: none;
  }

  .sportsdb-table thead th:nth-child(1),
  .sportsdb-table td:nth-child(1) {
    width: 2.1rem;
  }

  .sportsdb-table thead th:nth-child(2),
  .sportsdb-table td:nth-child(2) {
    width: auto;
  }

  .sportsdb-table thead th:nth-child(3),
  .sportsdb-table td:nth-child(3),
  .sportsdb-table thead th:nth-child(5),
  .sportsdb-table td:nth-child(5) {
    width: 2.1rem;
    text-align: center;
  }

  .sportsdb-table thead th:nth-child(6),
  .sportsdb-table td:nth-child(6) {
    width: 5.5rem;
  }

  .sportsdb-team-cell {
    gap: 0.24rem;
  }

  .sportsdb-team-badge {
    width: 0.82rem;
    height: 0.82rem;
  }

  .sportsdb-team-name {
    font-size: 0.72rem;
  }

  .sportsdb-form-pill {
    width: 0.86rem;
    height: 0.86rem;
    border-radius: 0.28rem;
    font-size: 0.54rem;
  }

  .sportsdb-form-track {
    gap: 0.1rem;
  }
}

@media (min-width: 40rem) {
  .section {
    padding: 5.25rem 0;
  }

  .section.home-command-section {
    padding-top: 1.25rem;
    padding-bottom: 1.45rem;
  }

  .section.map-section {
    padding-top: 0.65rem;
    padding-bottom: 1.05rem;
  }

  .live-standings-section {
    padding-top: 0.75rem;
    padding-bottom: 1.25rem;
  }

  .city-browse-section {
    padding-top: 1.25rem;
    padding-bottom: 1.45rem;
  }

  .submit-section {
    padding-top: 1.35rem;
    padding-bottom: 1.65rem;
  }

  .container {
    width: min(calc(100% - 3rem), var(--container));
  }

  .brand {
    width: clamp(12.5rem, 31vw, 18rem);
    max-width: calc(100vw - 10rem);
  }

  .header-actions > .button-secondary {
    display: inline-flex;
  }

  .search-panel-row,
  .hero-actions,
  .card-actions,
  .submit-actions {
    flex-direction: row;
  }

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

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

  .hero-actions .button {
    width: auto;
  }

  .hero-search-shell {
    padding: 1.05rem;
  }

  .home-command-grid,
  .home-command-primary {
    gap: 1.25rem;
  }

  .search-panel-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .search-button {
    width: auto;
    min-width: 9.75rem;
    flex: 0 0 auto;
  }

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

  .stat-card {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-card:nth-child(2n) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-card:last-child {
    border-right: 0;
  }

  .city-browse-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .sportsdb-fixtures-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sportsdb-topline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-grid,
  .submit-grid,
  .csc-meta-grid,
  .filter-strip,
  .detail-hero-actions,
  .simple-page-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .live-panel-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .legacy-banner {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

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

  .form-span-2 {
    grid-column: span 2;
  }

  .compact-map-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .compact-map-search-button,
  .compact-map-near {
    width: auto;
    min-width: 9rem;
  }

  .discovery-collections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discovery-collection-list,
  .country-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 63.9375rem) {
  .hero {
    min-height: clamp(24rem, 62vh, 34rem);
  }

  .hero-title {
    font-size: clamp(2.6rem, 9.6vw, 3.35rem);
    max-width: 10.5ch;
  }

  .hero-search-shell,
  .hero-aside {
    max-width: 100%;
  }

  .hero-aside {
    margin-top: 0.25rem;
  }

  .hero-aside-head {
    align-items: center;
  }

  .hero-aside-copy {
    max-width: none;
  }

  .compact-map-link-desktop {
    display: none;
  }

  .detail-hero-panel,
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 23.5rem) {
  .brand {
    width: clamp(9.2rem, 49vw, 11.4rem);
    max-width: calc(100vw - 5rem);
  }

  .hero {
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: clamp(2.6rem, 12vw, 3.05rem);
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-search-shell,
  .hero-aside {
    padding: 0.9rem;
    border-radius: 1.45rem;
  }

  .hero-chip-row .chip {
    min-height: 2.45rem;
    padding-inline: 0.85rem;
    font-size: 0.84rem;
  }

  .compact-map-shell {
    padding: 0.95rem;
    border-radius: 1.45rem;
  }

  .compact-map-stage {
    min-height: 13rem;
  }
}

@media (min-width: 64rem) {
  .section {
    padding: 6rem 0;
  }

  .section.home-command-section {
    padding-top: 1.35rem;
    padding-bottom: 1.55rem;
  }

  .section.map-section {
    padding-top: 0.7rem;
    padding-bottom: 1.1rem;
  }

  .live-standings-section {
    padding-top: 0.8rem;
    padding-bottom: 1.35rem;
  }

  .city-browse-section {
    padding-top: 1.35rem;
    padding-bottom: 1.55rem;
  }

  .submit-section {
    padding-top: 1.5rem;
    padding-bottom: 1.85rem;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .site-nav a {
    color: var(--mist);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
  }

  .site-nav a:hover {
    color: var(--celtic-green);
  }

  .header-find {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-shell {
    display: none;
  }

  .map-panel,
  .matchday-grid,
  .submit-panel,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) 22rem;
  }

  .home-command-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "search"
      "news"
      "aside";
    align-items: stretch;
  }

  .home-command-primary {
    display: contents;
  }

  .home-command-primary .hero-search-shell {
    grid-area: search;
  }

  .quick-news-shell {
    grid-area: news;
    align-self: stretch;
  }

  .home-command-primary .hero-aside {
    grid-area: aside;
    justify-self: stretch;
    align-self: stretch;
    width: 100%;
    max-width: none;
    margin-top: 0.1rem;
  }

  .home-command-primary .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-command-primary,
  .quick-news-shell {
    align-self: stretch;
  }

  .map-panel {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .matchday-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .submit-panel {
    grid-template-columns: 0.85fr 17rem minmax(0, 1fr);
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1.35fr 1fr;
    align-items: start;
  }

  .compact-map-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .compact-map-link-desktop {
    display: inline-flex;
    white-space: nowrap;
  }

  .compact-map-shell {
    gap: 1.1rem;
  }

  .compact-map-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

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

  .discovery-collection-list,
  .country-chip-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-aside {
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: 30rem;
  }

  .directory-hero-panel,
  .detail-hero-panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    align-items: start;
  }

  .directory-hero-panel .site-media-card {
    grid-row: span 3;
  }

  .simple-page-panel .site-media-card {
    max-width: 32rem;
  }

  .submit-page-panel .site-media-card {
    max-width: 34rem;
  }

  .detail-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.75fr);
  }

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

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

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

  .brand {
    width: clamp(13rem, 18vw, 16rem);
    max-width: none;
  }

  .quick-news-head {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
  }
}

@media (min-width: 80rem) {
  .section-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
  }

  .bar-card-body,
  .csc-card {
    padding: 1.5rem;
  }

  .home-command-primary {
    display: contents;
  }

  .home-command-primary .hero-aside {
    align-self: stretch;
    max-width: none;
  }

  .home-command-primary .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-title {
    font-size: clamp(4.25rem, 4.8vw, 4.9rem);
  }

  .hero-content {
    max-width: var(--container);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* CSC Directory Refactor */
.csc-directory-page {
  background: #f7f7f2;
}

.csc-hero,
.csc-results-section {
  padding: clamp(1.25rem, 3vw, 2rem) 0;
}

.csc-hero + .csc-results-section {
  padding-top: 0;
}

.csc-directory-page .directory-hero-panel {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1rem, 2.3vw, 1.35rem);
  border: 1px solid rgba(0, 75, 47, 0.14);
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(7, 17, 11, 0.07);
}

.csc-directory-page .directory-hero-panel h1 {
  max-width: 15ch;
  color: #07110b;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.csc-directory-page .section-copy {
  max-width: 46rem;
  color: rgba(7, 17, 11, 0.68);
  font-size: clamp(0.94rem, 1vw, 1rem);
  line-height: 1.5;
}

.csc-directory-page .search-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.csc-directory-page .search-panel input,
.csc-directory-page .page-select {
  width: 100%;
  min-height: 2.65rem;
  border: 1px solid rgba(0, 75, 47, 0.16);
  border-radius: 0.8rem;
  background: #ffffff;
  color: #07110b;
  font-size: 0.92rem;
}

.csc-directory-page .search-panel input {
  padding: 0 0.85rem;
}

.csc-directory-page .search-panel input::placeholder {
  color: rgba(7, 17, 11, 0.52);
}

.csc-directory-page .search-button,
.csc-directory-page .filter-strip .button {
  min-height: 2.65rem;
  padding: 0.6rem 0.9rem;
  border-radius: 0.8rem;
  white-space: nowrap;
}

.csc-directory-page .filter-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.csc-directory-page .legacy-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: center;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(0, 155, 58, 0.18);
  border-radius: 999px;
  background: rgba(0, 155, 58, 0.07);
  color: #004b2f;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.csc-directory-page .legacy-banner span:first-child::before {
  content: "";
  display: inline-flex;
  width: 0.48rem;
  height: 0.48rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  background: #009b3a;
  vertical-align: 0.05rem;
}

.csc-results-head {
  margin-bottom: 0.85rem;
}

.csc-results-head h2 {
  max-width: none;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.csc-directory-page .js-cscs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.6rem;
}

.csc-directory-page .csc-card {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid rgba(0, 75, 47, 0.14);
  border-left: 3px solid #009b3a;
  border-radius: 0.8rem;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(7, 17, 11, 0.05);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) {
  border-color: rgba(0, 155, 58, 0.52);
  border-left-color: #ffffff;
  background: linear-gradient(180deg, #0b9f48 0%, #06773a 100%);
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(even) {
  background: #ffffff;
}

.csc-directory-page .csc-card:hover,
.csc-directory-page .csc-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(0, 155, 58, 0.34);
  box-shadow: 0 10px 22px rgba(0, 75, 47, 0.1);
}

.csc-directory-page .csc-card-top {
  display: grid;
  gap: 0.2rem;
}

.csc-directory-page .csc-card-top p {
  margin: 0;
  color: rgba(7, 17, 11, 0.66);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
  text-transform: none;
}

.csc-directory-page .csc-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #07110b;
  font-size: clamp(0.96rem, 1vw, 1.06rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .csc-card-top p,
.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .csc-card h3,
.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .listing-matchday-note,
.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .text-link {
  color: #ffffff;
}

.csc-directory-page .csc-meta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem;
  margin: 0;
}

.csc-directory-page .meta-box {
  min-width: 0;
  padding: 0.42rem 0.52rem;
  border: 1px solid rgba(0, 75, 47, 0.12);
  border-radius: 0.6rem;
  background: #f7f7f2;
}

.csc-directory-page .meta-box span {
  display: block;
  color: rgba(7, 17, 11, 0.52);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
}

.csc-directory-page .meta-box strong {
  display: block;
  margin-top: 0.28rem;
  overflow: hidden;
  color: #004b2f;
  font-size: 0.78rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .meta-box {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.16);
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .meta-box span,
.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .meta-box strong {
  color: #ffffff;
}

.csc-directory-page .listing-matchday-note {
  margin: 0.15rem 0 0;
  color: rgba(7, 17, 11, 0.72);
  font-size: 0.78rem;
  line-height: 1.35;
}

.csc-directory-page .card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0;
}

.csc-directory-page .card-actions .button {
  min-height: 2rem;
  padding: 0.45rem 0.6rem;
  border-radius: 0.62rem;
  font-size: 0.72rem;
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .card-actions .button-primary {
  background: #ffffff;
  color: #085634;
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .card-actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.csc-directory-page .listing-accordion {
  margin-top: 0.12rem;
  border: 1px solid rgba(0, 75, 47, 0.12);
  border-radius: 0.65rem;
  background: #f7f7f2;
}

.csc-directory-page .listing-accordion > summary {
  padding: 0.48rem 0.62rem;
  color: #005735;
  font-size: 0.79rem;
  font-weight: 800;
}

.csc-directory-page .listing-accordion-body {
  padding: 0 0.62rem 0.62rem;
  gap: 0.4rem;
}

.csc-directory-page .listing-accordion-body p,
.csc-directory-page .listing-accordion-body .section-copy {
  color: rgba(7, 17, 11, 0.72);
  font-size: 0.72rem;
  line-height: 1.35;
}

.csc-directory-page .compact-listing-form {
  gap: 0.42rem;
}

.csc-directory-page .compact-listing-form label {
  color: rgba(7, 17, 11, 0.82);
  font-size: 0.76rem;
}

.csc-directory-page .compact-listing-form input,
.csc-directory-page .compact-listing-form textarea {
  border: 1px solid rgba(0, 75, 47, 0.16);
  border-radius: 0.5rem;
  background: #ffffff;
  color: #07110b;
  padding: 0.42rem 0.5rem;
}

.csc-directory-page .compact-listing-form .button.button-secondary {
  min-height: 1.9rem;
  border-radius: 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .listing-status-badge {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .listing-accordion {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .listing-accordion > summary,
.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .listing-accordion-body p,
.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .listing-accordion-body .section-copy,
.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .compact-listing-form label {
  color: #ffffff;
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .compact-listing-form input,
.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .compact-listing-form textarea {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) .compact-listing-form .button.button-secondary {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.csc-directory-page :where(a, button, input, select):focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 155, 58, 0.3);
}

.listing-status-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: rgba(237, 247, 241, 0.92);
  background: rgba(6, 19, 13, 0.55);
}

.listing-status-badge--active {
  border-color: rgba(0, 155, 58, 0.45);
}

.listing-status-badge--needs-checking,
.listing-status-badge--unverified,
.listing-status-badge--submitted {
  border-color: rgba(237, 180, 84, 0.45);
}

.listing-status-badge--closed {
  border-color: rgba(206, 84, 84, 0.55);
}

.listing-matchday-note {
  margin: 0.8rem 0 0;
  color: rgba(227, 240, 233, 0.86);
  font-size: 0.92rem;
  line-height: 1.5;
}

.listing-accordion {
  margin-top: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.8rem;
  background: rgba(6, 19, 13, 0.35);
}

.listing-accordion > summary {
  cursor: pointer;
  padding: 0.65rem 0.8rem;
  font-weight: 600;
  list-style: none;
}

.listing-accordion > summary::-webkit-details-marker {
  display: none;
}

.listing-accordion-body {
  padding: 0 0.8rem 0.85rem;
  display: grid;
  gap: 0.55rem;
}

.listing-accordion-body p {
  margin: 0;
}

.compact-listing-form {
  display: grid;
  gap: 0.55rem;
}

.compact-listing-form label {
  display: grid;
  gap: 0.35rem;
  color: rgba(228, 240, 232, 0.92);
  font-size: 0.85rem;
}

.compact-listing-form input,
.compact-listing-form textarea {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(3, 10, 7, 0.75);
  color: #f4fbf7;
  padding: 0.55rem 0.65rem;
}

.compact-listing-form input:focus,
.compact-listing-form textarea:focus {
  border-color: rgba(0, 155, 58, 0.65);
  outline: none;
}

.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(224, 238, 230, 0.88);
  font-size: 0.84rem;
}

@media (min-width: 42rem) {
  .csc-directory-page .search-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .csc-directory-page .filter-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .csc-directory-page .card-actions {
    grid-template-columns: 1fr 1fr;
  }

  .csc-directory-page .js-cscs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 72rem) {
  .csc-directory-page .filter-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  }
}

@media (min-width: 64rem) {
  .csc-directory-page .directory-hero-panel {
    grid-template-columns: minmax(0, 1fr) minmax(28rem, 0.9fr);
    align-items: end;
  }

  .csc-directory-page .legacy-banner {
    grid-column: 1 / -1;
  }

  .csc-directory-page .js-cscs-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .csc-directory-page .csc-card-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 86rem) {
  .csc-directory-page .js-cscs-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
