/*
Theme Name: CelticFCBars Theme
Theme URI: https://www.celticfcbars.com/
Author: CelticFCBars
Author URI: https://www.celticfcbars.com/
Description: Production WordPress theme for CelticFCBars with Gutenberg content editing, ACF-powered page sections, supporter club directory tools, and curated news feeds.
Version: 1.6.29
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: celticfcbars
*/

/* Primary theme stylesheet bundle for WordPress activation. */

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

/* 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;
  position: relative;
  padding: 1.2rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 251, 246, 0.92) 100%);
  box-shadow:
    0 12px 28px rgba(7, 17, 11, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}
.archive-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.35rem;
  border-radius: 1.5rem 1.5rem 0 0;
  background: linear-gradient(90deg, #008b46 0%, #00a651 55%, #d6a735 100%);
}
.archive-card__media {
  display: block;
  margin-bottom: 1.1rem;
  margin-top: 0.2rem;
  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.65rem;
}
.archive-card__title a {
  color: inherit;
  text-decoration: none;
}
.archive-card__title a:hover,
.archive-card__title a:focus-visible {
  color: #0a6a40;
}
.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);
}
.directory-guide {
  background:
    linear-gradient(180deg, #f3fbf6 0%, #ffffff 22%, #f8fbf9 58%, #ffffff 100%);
}
.directory-guide-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(22, 199, 102, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(214, 167, 53, 0.18), transparent 20%),
    linear-gradient(135deg, #04150d 0%, #0a2a1b 48%, #0f3f28 100%);
}
.directory-guide-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.08));
  pointer-events: none;
}
.directory-guide-hero .breadcrumbs,
.directory-guide-hero .breadcrumbs a,
.directory-guide-hero .breadcrumbs li,
.directory-guide-hero .breadcrumbs ol {
  color: rgba(255, 255, 255, 0.78);
}
.directory-guide-hero .breadcrumbs li + li::before {
  color: rgba(214, 167, 53, 0.72);
}
.directory-guide-hero .eyebrow--hero {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #dff7e8;
}
.directory-guide-hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.35rem;
}
.directory-guide-hero-copy {
  padding: clamp(1.35rem, 2.8vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.9rem;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}
.directory-guide-hero-copy h1,
.directory-guide-hero-copy h2,
.directory-guide-band--dark h2,
.directory-guide-band--dark h3 {
  color: #ffffff;
}
.directory-guide-hero-copy .section-copy,
.directory-guide-prose p,
.directory-guide-band--dark .section-copy {
  color: rgba(239, 248, 243, 0.84);
}
.directory-guide-prose {
  display: grid;
  gap: 0.9rem;
}
.directory-guide-summary-grid {
  display: grid;
  gap: 0.85rem;
}
.directory-guide-summary-card {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.directory-guide-summary-card span {
  display: block;
  color: rgba(223, 247, 232, 0.74);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.directory-guide-summary-card strong {
  display: block;
  margin-top: 0.4rem;
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1;
}
.directory-guide-summary-card p {
  margin-top: 0.45rem;
  color: rgba(239, 248, 243, 0.76);
  font-size: 0.86rem;
  line-height: 1.5;
}
.directory-guide-links,
.directory-guide-results,
.directory-guide-related,
.directory-guide-faq {
  position: relative;
}
.directory-guide-band {
  padding: clamp(1.4rem, 2.8vw, 2rem);
  border: 1px solid rgba(0, 75, 47, 0.12);
  border-top: 4px solid #00a651;
  border-radius: 1.9rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 252, 249, 0.96) 100%);
  box-shadow: 0 14px 36px rgba(7, 17, 11, 0.06);
}
.directory-guide-band--soft {
  background:
    radial-gradient(circle at top right, rgba(0, 166, 81, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 251, 246, 0.94) 100%);
}
.directory-guide-band--dark {
  border-color: rgba(255, 255, 255, 0.08);
  border-top-color: #d6a735;
  background:
    radial-gradient(circle at top right, rgba(214, 167, 53, 0.12), transparent 30%),
    linear-gradient(135deg, #072115 0%, #0a2f1f 100%);
  box-shadow: 0 20px 46px rgba(4, 15, 9, 0.2);
}
.directory-guide-section-head {
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(0, 75, 47, 0.12);
}
.archive-grid--guide {
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.directory-guide .chip-row {
  gap: 0.8rem;
}
.directory-guide .chip {
  min-height: 3rem;
  border-color: rgba(0, 75, 47, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbf8 100%);
  color: #0f3421;
}
.directory-guide .chip:hover,
.directory-guide .chip:focus-visible {
  border-color: rgba(0, 166, 81, 0.35);
  background: linear-gradient(180deg, #f4fbf6 0%, #ffffff 100%);
}
.directory-guide .archive-pagination {
  margin-top: 1.5rem;
}
.directory-guide-faq .faq-list {
  gap: 0.9rem;
}
.directory-guide-faq .faq-item {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.directory-guide-faq .faq-question {
  color: #ffffff;
}
.directory-guide-faq .faq-answer {
  color: rgba(239, 248, 243, 0.78);
}

@media (min-width: 48rem) {
  .directory-guide-hero-panel {
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    align-items: start;
  }

  .directory-guide-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 72rem) {
  .directory-guide-hero-panel {
    grid-template-columns: minmax(0, 1.45fr) minmax(22rem, 0.75fr);
  }
}
.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: clip;
}

body.nav-open {
  overflow: hidden;
}

main,
section,
.container,
.hero-search-shell,
.hero-aside,
.quick-news-shell,
.compact-map-shell,
.city-browse-featured,
.city-browse-grid,
.sportsdb-dashboard-grid,
.sportsdb-fixtures-grid,
.footer-grid,
.detail-grid,
.feature-panel,
.archive-grid,
.archive-card {
  min-width: 0;
  max-width: 100%;
}

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

svg,
video,
canvas,
iframe,
table {
  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);
}

.matchday-api-page .matchday-data-hub > .section.section--white:nth-of-type(odd) {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
}

.matchday-api-page .matchday-data-hub > .section.section--white:nth-of-type(even) {
  background:
    linear-gradient(180deg, #0c2419 0%, #143528 100%);
}

.matchday-api-page .matchday-data-hub > .section.section--white:nth-of-type(even) .api-card {
  background:
    radial-gradient(circle at top right, rgba(214, 178, 94, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(248, 252, 249, 0.98), rgba(235, 246, 239, 0.98));
  border-color: rgba(214, 178, 94, 0.18);
  box-shadow: 0 14px 30px rgba(3, 20, 12, 0.22);
}

.matchday-api-page .matchday-data-hub > .section.section--white:nth-of-type(odd) .api-card {
  background:
    radial-gradient(circle at bottom left, rgba(0, 155, 58, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 251, 248, 0.98));
}

.matchday-api-page .matchday-data-hub > .section.section--white:nth-of-type(even) .api-card-head h2,
.matchday-api-page .matchday-data-hub > .section.section--white:nth-of-type(even) .api-card-head .eyebrow,
.matchday-api-page .matchday-data-hub > .section.section--white:nth-of-type(even) .api-empty,
.matchday-api-page .matchday-data-hub > .section.section--white:nth-of-type(even) .section-copy {
  color: #0f3c2a;
}

.matchday-api-page .matchday-data-hub > .section.section--white:nth-of-type(even) .api-card-head .eyebrow {
  background: rgba(214, 178, 94, 0.14);
  border-color: rgba(214, 178, 94, 0.26);
}

.matchday-api-page .matchday-data-hub > .section.section--white:nth-of-type(odd) .api-card {
  border-left: 4px solid rgba(0, 155, 58, 0.68);
}

.matchday-api-page .matchday-data-hub > .section.section--white:nth-of-type(even) .api-card {
  border-left: 4px solid rgba(214, 178, 94, 0.78);
}

.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-forum-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #07110b;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(7, 17, 11, 0.12);
}

.header-forum-pill:hover,
.header-forum-pill:focus-visible {
  color: #07110b;
  transform: translateY(-1px);
}

.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;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: min(calc(100% - 1rem), 30rem);
  margin: 0.8rem auto 0;
  max-height: calc(100dvh - var(--header-height) - 1.1rem);
  padding: 0.95rem 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  background: var(--white);
  box-shadow:
    0 20px 40px rgba(7, 17, 11, 0.14),
    0 6px 18px rgba(7, 17, 11, 0.08);
  transform: translateY(-16px);
  transition: transform var(--transition);
  overflow: hidden;
}

body.nav-open .mobile-panel {
  transform: translateY(0);
}

.mobile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

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

.mobile-nav-wrap {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.15rem;
  margin-right: -0.15rem;
  scrollbar-width: thin;
}

.mobile-nav {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.82rem 0.92rem;
  border-radius: 1.1rem;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.2;
  background: var(--surface-soft);
  border: 1px solid rgba(7, 17, 11, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition:
    border-color var(--transition),
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  border-color: var(--line-gold);
  background: var(--surface-mint);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 20px rgba(0, 155, 58, 0.08);
  transform: translateY(-1px);
}

.mobile-cta-stack {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.mobile-cta-stack .button {
  width: 100%;
  min-width: 0;
  min-height: 2.95rem;
  padding: 0.72rem 0.9rem;
  font-size: 0.88rem;
}

.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: 0.95rem;
  padding: clamp(0.95rem, 1.8vw, 1.2rem);
}

/* 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.65rem;
}

.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.55rem;
}

.hero-chip-row .chip {
  min-height: 2.35rem;
  padding: 0.55rem 0.85rem;
  border-color: var(--line);
  background: var(--white);
  font-size: 0.84rem;
}

.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: 4.75rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem 0.72rem;
  min-height: 0;
  padding: 0.52rem 0.62rem;
  border-bottom: 1px solid rgba(0, 155, 58, 0.14);
  color: inherit;
  text-decoration: none;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.quick-news-row:nth-child(odd) {
  background:
    linear-gradient(90deg, rgba(0, 155, 58, 0.1), rgba(255, 255, 255, 0.98) 24%),
    var(--white);
}

.quick-news-row:nth-child(even) {
  background:
    linear-gradient(90deg, rgba(0, 155, 58, 0.2), rgba(232, 248, 237, 0.98) 22%),
    #edf9f0;
}

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

.quick-news-row:hover,
.quick-news-row:focus-visible {
  background:
    linear-gradient(90deg, rgba(0, 155, 58, 0.22), rgba(230, 247, 236, 0.98) 22%),
    #e2f6e9;
  border-bottom-color: rgba(0, 155, 58, 0.24);
  transform: translateY(-1px);
}

.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-thumb {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 4.55rem;
  overflow: hidden;
  border: 1px solid rgba(0, 155, 58, 0.16);
  border-radius: 0.8rem;
  background:
    linear-gradient(145deg, rgba(1, 43, 22, 0.96), rgba(6, 86, 42, 0.88));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.quick-news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-news-thumb-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(187, 227, 205, 0.4);
  background: rgba(255, 255, 255, 0.14);
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.quick-news-thumb:not(.quick-news-thumb--placeholder) .quick-news-thumb-fallback {
  display: none;
}

.quick-news-thumb--placeholder {
  background:
    radial-gradient(circle at top, rgba(96, 201, 132, 0.26), transparent 58%),
    linear-gradient(145deg, rgba(1, 30, 18, 0.96), rgba(0, 84, 38, 0.88));
}

.quick-news-thumb-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(187, 227, 205, 0.36);
  background: rgba(255, 255, 255, 0.1);
  color: #f5fff7;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.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;
}

@media (max-width: 700px) {
  .quick-news-row {
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 0.42rem 0.6rem;
  }

  .quick-news-thumb {
    min-height: 3.9rem;
  }

  .quick-news-headline-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.28rem;
  }

  .quick-news-tag {
    justify-self: start;
  }

  .quick-news-chevron {
    display: none;
  }
}

.home-youtube-section {
  padding-top: 1.75rem;
}

.video-hub-block {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.15rem, 2vw, 1.85rem);
  border-radius: 1.6rem;
  background:
    linear-gradient(145deg, rgba(3, 18, 14, 0.98), rgba(4, 40, 28, 0.95) 58%, rgba(8, 28, 44, 0.92)),
    radial-gradient(circle at top right, rgba(88, 144, 214, 0.18), transparent 46%);
  border: 1px solid rgba(173, 214, 193, 0.18);
  box-shadow: 0 24px 56px rgba(4, 20, 16, 0.18);
}

.video-hub-block--compact,
.video-hub-block--sidebar {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.video-hub-head {
  display: grid;
  gap: 1rem;
  align-items: end;
  grid-template-columns: minmax(0, 1.3fr) auto;
}

.video-hub-head .eyebrow,
.video-hub-head h2,
.video-hub-head .section-copy {
  color: #f8fff9;
}

.video-hub-head .section-copy {
  max-width: 62ch;
  color: rgba(244, 251, 246, 0.84);
}

.video-hub-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-hub-card {
  display: grid;
  overflow: hidden;
  border-radius: 1.3rem;
  background: linear-gradient(180deg, rgba(255, 253, 246, 0.99), rgba(243, 251, 246, 0.98));
  border: 1px solid rgba(214, 234, 223, 0.92);
  box-shadow: 0 18px 40px rgba(4, 20, 16, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.video-hub-card:hover,
.video-hub-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 26px 54px rgba(4, 20, 16, 0.18);
}

.video-hub-card--compact {
  border-radius: 1rem;
}

.video-hub-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: #041716;
  cursor: pointer;
}

.video-hub-media img,
.video-hub-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-hub-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 11, 7, 0.05), rgba(2, 11, 7, 0.38));
}

.video-hub-play {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5rem;
  min-height: 2.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #fffdf6;
  color: #073b2f;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(4, 20, 16, 0.16);
}

.video-hub-body {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.video-hub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
}

.video-hub-channel {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0b6f46;
}

.video-hub-date {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: rgba(10, 58, 104, 0.08);
  color: #18486e;
  font-size: 0.76rem;
  font-weight: 700;
}

.video-hub-title {
  margin: 0;
  color: #061412;
  font-size: 1.02rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.video-hub-empty {
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  background: rgba(255, 253, 246, 0.08);
  border: 1px solid rgba(224, 238, 230, 0.14);
  color: rgba(248, 255, 249, 0.92);
}

.video-hub-widget-shell {
  background: transparent;
}

.home-youtube-shell {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.4rem, 2vw, 1.9rem);
  border-radius: 1.75rem;
  background:
    linear-gradient(145deg, rgba(3, 18, 14, 0.98), rgba(4, 40, 28, 0.95) 58%, rgba(8, 28, 44, 0.92)),
    radial-gradient(circle at top right, rgba(88, 144, 214, 0.2), transparent 46%);
  border: 1px solid rgba(173, 214, 193, 0.18);
  box-shadow: 0 30px 80px rgba(4, 20, 16, 0.24);
}

.home-youtube-head {
  display: grid;
  gap: 1rem;
  align-items: end;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
}

.home-youtube-head .eyebrow,
.home-youtube-head h2,
.home-youtube-head .section-copy {
  color: #f8fff9;
}

.home-youtube-head .section-copy {
  max-width: 62ch;
  color: rgba(244, 251, 246, 0.84);
}

.home-youtube-status-wrap {
  display: flex;
  justify-content: flex-end;
}

.home-youtube-status {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.1);
  border: 1px solid rgba(224, 238, 230, 0.14);
  color: rgba(248, 255, 249, 0.92);
  font-size: 0.92rem;
  line-height: 1.4;
}

.home-youtube-status--today {
  background: rgba(19, 137, 77, 0.22);
  border-color: rgba(92, 223, 149, 0.3);
}

.home-youtube-status--recent {
  background: rgba(28, 72, 121, 0.28);
  border-color: rgba(104, 162, 233, 0.3);
}

.home-youtube-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-youtube-card {
  display: grid;
  overflow: hidden;
  border-radius: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 253, 246, 0.98), rgba(241, 250, 245, 0.98));
  border: 1px solid rgba(214, 234, 223, 0.86);
  box-shadow: 0 18px 40px rgba(4, 20, 16, 0.14);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-youtube-card:hover,
.home-youtube-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 26px 52px rgba(4, 20, 16, 0.18);
}

.home-youtube-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #041716;
}

.home-youtube-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.home-youtube-card-body {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1rem 1.1rem;
}

.home-youtube-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
}

.home-youtube-channel {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0b6f46;
}

.home-youtube-time {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: rgba(10, 58, 104, 0.08);
  color: #18486e;
  font-size: 0.76rem;
  font-weight: 700;
}

.home-youtube-title {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.35;
}

.home-youtube-title a {
  color: #061412;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-youtube-title a:hover,
.home-youtube-title a:focus-visible {
  color: #06703c;
}

.home-youtube-empty {
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  background: rgba(255, 253, 246, 0.08);
  border: 1px solid rgba(224, 238, 230, 0.14);
  color: rgba(248, 255, 249, 0.92);
}

.home-youtube-empty p {
  margin: 0;
}

.home-youtube-channels {
  display: grid;
  gap: 0.7rem;
}

.home-youtube-channels-label {
  margin: 0;
  color: rgba(248, 255, 249, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-youtube-chip-row .chip-card {
  background: rgba(255, 253, 246, 0.08);
  color: #f8fff9;
  border-color: rgba(214, 234, 223, 0.2);
}

.home-youtube-chip-row .chip-card:hover,
.home-youtube-chip-row .chip-card:focus-visible {
  background: rgba(255, 253, 246, 0.15);
  border-color: rgba(111, 223, 160, 0.4);
}

.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 rgba(0, 88, 44, 0.18);
  border-top: 2px solid rgba(255, 255, 255, 0.34);
  border-radius: 1.9rem;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 28%),
    radial-gradient(circle at bottom left, rgba(214, 178, 94, 0.12), transparent 26%),
    linear-gradient(135deg, #0d5a38 0%, #117847 60%, #0b693d 100%);
  box-shadow:
    0 10px 20px rgba(7, 17, 11, 0.12),
    0 22px 42px rgba(7, 17, 11, 0.1);
}

.compact-map-head {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.compact-map-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  color: #ffffff;
}

.compact-map-copy {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.86);
  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 rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(7, 17, 11, 0.12);
}

.compact-map-input::placeholder {
  color: var(--text-soft);
}

.compact-map-search-button,
.compact-map-near {
  min-height: 3.15rem;
  box-shadow: 0 12px 26px rgba(7, 17, 11, 0.16);
}

.compact-map-status {
  min-height: 1.35rem;
  padding: 0.78rem 0.92rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  line-height: 1.45;
}

.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;
}

.home-map-marker {
  display: inline-flex;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: #18be55;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(0, 155, 58, 0.18);
}

.home-map-marker--official {
  background: #d6b25e;
  box-shadow: 0 0 0 5px rgba(214, 178, 94, 0.2);
}

.home-map-marker--approx {
  background: #8ea49a;
  box-shadow: 0 0 0 4px rgba(95, 111, 102, 0.18);
}

.compact-map-stage-wrap .marker-cluster-small,
.compact-map-stage-wrap .marker-cluster-medium,
.compact-map-stage-wrap .marker-cluster-large {
  background: rgba(0, 75, 47, 0.24);
}

.compact-map-stage-wrap .marker-cluster div {
  border: 2px solid rgba(255, 255, 255, 0.82);
  background: #0a4e33;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.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: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
}

.compact-map-footer .text-link {
  color: #ffffff;
  font-weight: 800;
}

.compact-map-footer .text-link:hover,
.compact-map-footer .text-link:focus-visible {
  color: #ffffff;
}

.compact-map-shell .eyebrow {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.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.1rem;
  align-items: center;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  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-panel-copy {
  max-width: 46rem;
}

.submit-panel .section-copy {
  max-width: 44rem;
  margin-bottom: 0.75rem;
}

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

.submit-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.42rem 0.75rem;
  border: 1px solid rgba(0, 101, 57, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.submit-actions {
  margin-top: 0;
  gap: 0.8rem;
}

.submit-panel-actions {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
  align-content: center;
}

.submit-actions .button {
  min-width: 10.5rem;
}

.submit-panel-actions .supporting-copy {
  margin: 0;
  max-width: 28rem;
}

/* 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;
  margin-bottom: 0.25rem;
}

.city-browse-copy {
  margin-top: 0.35rem;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 34rem;
}

.city-browse-toolbar {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.city-browse-search input {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0, 155, 58, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 247, 0.98));
  color: var(--text);
  box-shadow: 0 10px 24px rgba(7, 17, 11, 0.05);
}

.city-browse-search input::placeholder {
  color: #71887b;
}

.city-browse-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.city-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(0, 155, 58, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #244c3b;
  font-size: 0.74rem;
  font-weight: 700;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.city-filter-chip:hover,
.city-filter-chip:focus-visible,
.city-filter-chip.is-active {
  transform: translateY(-1px);
  border-color: rgba(0, 155, 58, 0.32);
  background: linear-gradient(180deg, rgba(0, 155, 58, 0.16), rgba(0, 155, 58, 0.08));
  color: #0b5735;
  box-shadow: 0 8px 20px rgba(0, 155, 58, 0.12);
}

.city-browse-results-bar {
  margin-top: 0.65rem;
}

.city-browse-results-copy {
  color: #597165;
  font-size: 0.8rem;
  line-height: 1.3;
}

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

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

.city-browse-section .city-link-card {
  display: grid;
  gap: 0.42rem;
  min-height: 6rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(0, 155, 58, 0.15);
  border-radius: 1rem;
  background:
    radial-gradient(circle at top right, rgba(0, 155, 58, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 248, 0.99));
  box-shadow:
    0 8px 18px rgba(7, 17, 11, 0.05),
    0 3px 8px rgba(7, 17, 11, 0.04);
  color: inherit;
  text-decoration: none;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.city-browse-section .city-link-card--featured {
  min-height: 7.2rem;
  padding: 0.95rem 1rem;
  border-color: rgba(0, 155, 58, 0.22);
  background:
    radial-gradient(circle at top right, rgba(0, 155, 58, 0.12), transparent 40%),
    radial-gradient(circle at bottom left, rgba(214, 178, 94, 0.08), transparent 38%),
    linear-gradient(180deg, #ffffff, #f5fbf7);
}

.city-browse-section .city-link-card:hover,
.city-browse-section .city-link-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 155, 58, 0.35);
  background:
    radial-gradient(circle at top right, rgba(0, 155, 58, 0.15), transparent 42%),
    linear-gradient(180deg, #ffffff, #f2faf5);
  box-shadow:
    0 12px 28px rgba(0, 155, 58, 0.1),
    0 6px 16px rgba(7, 17, 11, 0.06);
}

.city-link-card__meta,
.city-link-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.city-link-card__region {
  color: #628173;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.city-link-card__arrow {
  color: #0a6e40;
  font-size: 0.95rem;
  font-weight: 800;
}

.city-link-card__name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  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;
}

.city-link-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8rem;
  height: 1.8rem;
  padding: 0 0.42rem;
  border-radius: 999px;
  background: rgba(0, 155, 58, 0.08);
  color: #0a6c3f;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* 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-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.9rem 1.2rem;
  margin-bottom: 0.85rem;
}

.sportsdb-head h2 {
  max-width: 15ch;
  color: #062a1d;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.sportsdb-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: #5a7165;
  font-size: 0.85rem;
}

.sportsdb-separator {
  color: #90a69b;
}

.sportsdb-status {
  min-height: 1rem;
  margin-bottom: 1rem;
  color: #244c3b;
  font-size: 0.9rem;
}

.sportsdb-dashboard-grid,
.sportsdb-home-secondary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.sportsdb-home-top-stack {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.sportsdb-home-summary-card {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(0, 128, 61, 0.18);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(84, 177, 121, 0.15), transparent 34%),
    radial-gradient(circle at left center, rgba(214, 178, 94, 0.1), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(239, 249, 243, 0.98) 58%, rgba(232, 245, 237, 0.98));
  box-shadow:
    0 16px 34px rgba(7, 17, 11, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.sportsdb-home-summary-head {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  align-items: flex-start;
}

.sportsdb-home-summary-title {
  margin: 0.18rem 0 0.2rem;
  color: #0c2b1d;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  line-height: 1.08;
}

.sportsdb-home-summary-copy {
  margin: 0;
  color: #456353;
  font-size: 0.88rem;
  line-height: 1.45;
}

.sportsdb-home-summary-badges,
.sportsdb-home-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.celtic-data-hub--homepage .sportsdb-home-summary-detail {
  margin-top: 0.1rem;
}

.celtic-data-hub--homepage .sportsdb-home-summary-detail > .fixture-row,
.celtic-data-hub--homepage .sportsdb-fixture-detail-item > .fixture-row {
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(0, 128, 61, 0.14);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 251, 247, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 6px 16px rgba(7, 17, 11, 0.04);
}

.celtic-data-hub--homepage .celtic-detail-summary {
  display: grid;
  gap: 0.28rem;
  list-style: none;
  cursor: pointer;
}

.celtic-data-hub--homepage .celtic-detail-summary::-webkit-details-marker {
  display: none;
}

.celtic-data-hub--homepage .celtic-detail-summary strong {
  color: #112f23;
  font-size: 0.98rem;
  line-height: 1.12;
}

.celtic-data-hub--homepage .celtic-detail-summary span {
  color: #3d5d4e;
  font-size: 0.78rem;
  line-height: 1.4;
}

.celtic-data-hub--homepage .celtic-detail-summary .live-badge {
  justify-self: start;
  margin-top: 0.15rem;
}

.celtic-data-hub--homepage .celtic-detail-content {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.celtic-data-hub--homepage .celtic-hub-detail-panels {
  display: grid;
  gap: 0.75rem;
}

.celtic-data-hub--homepage .celtic-hub-detail-panels .api-card {
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(0, 155, 58, 0.14);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, #ffffff, #f5fbf7);
}

.celtic-data-hub--homepage .sportsdb-fixture-detail-item + .sportsdb-fixture-detail-item {
  margin-top: 0.7rem;
}

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

.sportsdb-home-fixtures-grid > .sportsdb-fixture-card:first-child {
  border-color: rgba(0, 128, 61, 0.22);
  background:
    radial-gradient(circle at top right, rgba(0, 155, 58, 0.16), transparent 38%),
    radial-gradient(circle at bottom left, rgba(163, 214, 183, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(241, 250, 244, 0.98));
}

.sportsdb-home-fixtures-grid > .sportsdb-fixture-card:last-child {
  border-color: rgba(214, 178, 94, 0.24);
  background:
    radial-gradient(circle at top right, rgba(214, 178, 94, 0.16), transparent 36%),
    radial-gradient(circle at bottom left, rgba(0, 155, 58, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(252, 249, 240, 0.98));
}

.sportsdb-home-news-wrap {
  margin-bottom: 0.95rem;
}

.sportsdb-hero-card,
.sportsdb-mini-card,
.sportsdb-fixture-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 128, 61, 0.16);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top right, rgba(0, 155, 58, 0.12), transparent 42%),
    radial-gradient(circle at bottom left, rgba(214, 178, 94, 0.09), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 246, 0.98));
  box-shadow:
    0 18px 40px rgba(7, 17, 11, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.sportsdb-hero-card:hover,
.sportsdb-mini-card:hover,
.sportsdb-fixture-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 128, 61, 0.28);
  box-shadow:
    0 22px 48px rgba(7, 17, 11, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.sportsdb-hero-card {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  grid-row: auto;
  padding: 1rem 1.05rem 1.05rem;
  min-height: 0;
  background:
    linear-gradient(135deg, rgba(0, 63, 39, 0.98), rgba(4, 95, 54, 0.94) 60%, rgba(10, 46, 34, 0.98)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 38%);
  color: #ffffff;
}

.live-standings-section--quiet .sportsdb-head {
  margin-bottom: 0.55rem;
}

.live-standings-section--quiet .sportsdb-status {
  margin-bottom: 0.7rem;
}

.live-standings-section--quiet .sportsdb-dashboard-grid {
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.live-standings-section--quiet .sportsdb-hero-card {
  min-height: 14rem;
  padding: 1rem 1.05rem 1.05rem;
}

.sportsdb-hero-card--empty {
  gap: 0.8rem;
  align-content: space-between;
}

.sportsdb-hero-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(3, 20, 13, 0.22));
  pointer-events: none;
}

.sportsdb-hero-topline,
.sportsdb-hero-body,
.sportsdb-hero-meta,
.sportsdb-hero-empty {
  position: relative;
  z-index: 1;
}

.sportsdb-hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.sportsdb-hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
}

.sportsdb-hero-team {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
}

.sportsdb-hero-team--away {
  align-items: flex-end;
  text-align: right;
}

.sportsdb-hero-badge {
  width: clamp(3rem, 5vw, 4.4rem);
  height: clamp(3rem, 5vw, 4.4rem);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
  object-fit: contain;
}

.sportsdb-hero-team-name {
  font-size: clamp(1.05rem, 1.65vw, 1.35rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.sportsdb-hero-centre {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
}

.sportsdb-hero-scoreline {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.sportsdb-hero-scoreline span {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.sportsdb-hero-scoreline small,
.sportsdb-hero-versus {
  font-size: 1rem;
  font-weight: 800;
  opacity: 0.9;
}

.sportsdb-hero-versus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.11);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.sportsdb-hero-detail-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.sportsdb-hero-chip,
.sportsdb-hero-countdown,
.sportsdb-match-state {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sportsdb-hero-chip {
  background: rgba(255, 255, 255, 0.14);
  color: #f7fff9;
}

.sportsdb-hero-countdown {
  background: rgba(255, 232, 181, 0.18);
  color: #fff0c8;
}

.sportsdb-match-state {
  background: rgba(255, 255, 255, 0.12);
  color: #f7fff9;
}

.sportsdb-match-state--live {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: 0 0 0 0.32rem rgba(7, 17, 11, 0.12);
}

.sportsdb-match-state--idle {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.sportsdb-hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.sportsdb-hero-meta-item {
  padding: 0.9rem 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.sportsdb-hero-meta-label {
  display: block;
  margin-bottom: 0.22rem;
  color: rgba(241, 249, 244, 0.72);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sportsdb-hero-meta-item strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.3;
}

.sportsdb-hero-empty {
  display: grid;
  gap: 0.55rem;
  align-content: center;
  min-height: 100%;
}

.sportsdb-mini-card {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 0.92rem 1rem;
  min-height: 0;
}

.sportsdb-mini-card--hub {
  align-content: space-between;
}

.sportsdb-mini-card--snapshot,
.sportsdb-mini-card--season,
.sportsdb-mini-card--hub {
  grid-column: auto;
}

.sportsdb-mini-kicker {
  color: #0b7042;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.sportsdb-mini-title {
  color: #0a281c;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.sportsdb-mini-copy {
  color: #456054;
  font-size: 0.88rem;
  line-height: 1.48;
}

.sportsdb-snapshot-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
}

.sportsdb-snapshot-badge {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 128, 61, 0.16);
  background: #fff;
  object-fit: contain;
  box-shadow: 0 10px 24px rgba(7, 17, 11, 0.08);
}

.sportsdb-snapshot-grid,
.sportsdb-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.sportsdb-snapshot-stat,
.sportsdb-stat-block {
  display: grid;
  gap: 0.18rem;
  padding: 0.8rem 0.85rem;
  border-radius: 1rem;
  background: rgba(5, 35, 24, 0.04);
  border: 1px solid rgba(0, 128, 61, 0.08);
}

.sportsdb-snapshot-stat span,
.sportsdb-stat-block span,
.sportsdb-season-form-label {
  color: #5a7366;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sportsdb-snapshot-stat strong,
.sportsdb-stat-block strong {
  color: #0a2c1e;
  font-size: 1rem;
  line-height: 1.2;
}

.sportsdb-season-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.85rem;
  border-radius: 1rem;
  background: rgba(5, 35, 24, 0.04);
  border: 1px solid rgba(0, 128, 61, 0.08);
}

.sportsdb-season-note {
  margin: 0;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(0, 128, 61, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.sportsdb-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #00a645 0%, #008d3b 100%);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 128, 61, 0.2);
}

.sportsdb-card-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.sportsdb-stadium-footer-card {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(0, 128, 61, 0.16);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(214, 178, 94, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 246, 0.98));
  box-shadow: 0 14px 30px rgba(7, 17, 11, 0.06);
}

.sportsdb-stadium-footer-copy {
  display: grid;
  gap: 0.35rem;
}

.sportsdb-stadium-footer-title {
  color: #0a281c;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.08;
}

.sportsdb-stadium-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.sportsdb-fixtures-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.sportsdb-fixture-card--result {
  max-width: 36rem;
}

.sportsdb-fixture-card--homepage-result {
  width: min(100%, 38rem);
  max-width: 100%;
}

.sportsdb-fixture-card {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 1.05rem;
}

.sportsdb-home-fixtures-grid .sportsdb-fixture-detail-item:nth-child(odd) > .fixture-row {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 251, 247, 0.9));
}

.sportsdb-home-fixtures-grid .sportsdb-fixture-detail-item:nth-child(even) > .fixture-row {
  background:
    linear-gradient(180deg, rgba(252, 255, 252, 0.94), rgba(238, 248, 241, 0.9));
}

.sportsdb-home-fixtures-grid > .sportsdb-fixture-card:last-child .sportsdb-fixture-detail-item:nth-child(odd) > .fixture-row {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(252, 248, 239, 0.92));
}

.sportsdb-home-fixtures-grid > .sportsdb-fixture-card:last-child .sportsdb-fixture-detail-item:nth-child(even) > .fixture-row {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.95), rgba(247, 242, 225, 0.92));
}

.sportsdb-home-fixtures-grid .sportsdb-fixture-detail-item .live-badge {
  border: 1px solid rgba(0, 128, 61, 0.12);
  background: rgba(233, 243, 236, 0.96);
  color: #0f3d2a;
  font-weight: 800;
}

.sportsdb-home-fixtures-grid > .sportsdb-fixture-card:last-child .sportsdb-fixture-detail-item .live-badge {
  border-color: rgba(214, 178, 94, 0.18);
  background: rgba(244, 237, 214, 0.96);
  color: #5b4715;
}

.sportsdb-home-fixtures-grid .sportsdb-fixture-detail-item.sportsdb-fixture-item--win > .fixture-row {
  border-left: 4px solid #00a645;
}

.sportsdb-home-fixtures-grid .sportsdb-fixture-detail-item.sportsdb-fixture-item--draw > .fixture-row {
  border-left: 4px solid #d6b25e;
}

.sportsdb-home-fixtures-grid .sportsdb-fixture-detail-item.sportsdb-fixture-item--loss > .fixture-row {
  border-left: 4px solid #b64e4e;
}

.sportsdb-fixture-card--empty {
  gap: 0.5rem;
  padding: 0.95rem 1rem;
}

.sportsdb-fixture-meta {
  color: #066a3d;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sportsdb-fixture-item {
  display: grid;
  gap: 0.32rem;
  padding: 0.95rem 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 128, 61, 0.1);
}

.sportsdb-fixture-item + .sportsdb-fixture-item {
  margin-top: 0.7rem;
}

.sportsdb-fixture-item--win {
  box-shadow: inset 3px 0 0 #00a645;
}

.sportsdb-fixture-item--draw {
  box-shadow: inset 3px 0 0 #d6b25e;
}

.sportsdb-fixture-item--loss {
  box-shadow: inset 3px 0 0 #cf5e5e;
}

.sportsdb-fixture-item--neutral {
  box-shadow: inset 3px 0 0 rgba(0, 0, 0, 0.1);
}

.sportsdb-fixture-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.sportsdb-fixture-clubs {
  display: grid;
  gap: 0.45rem;
}

.sportsdb-fixture-club {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #1c3a2b;
  font-size: 0.84rem;
  font-weight: 700;
}

.sportsdb-fixture-badge {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 128, 61, 0.14);
  object-fit: contain;
}

.sportsdb-fixture-title {
  color: #0d291d;
  font-size: 1.25rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

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

.sportsdb-fixture-score span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.8rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 128, 61, 0.12);
}

.sportsdb-fixture-score--time span {
  min-width: 5.2rem;
  background: rgba(10, 46, 34, 0.08);
  color: #174130;
  font-size: 0.88rem;
}

.sportsdb-fixture-date,
.sportsdb-fixture-league {
  color: #476255;
  font-size: 0.82rem;
  line-height: 1.45;
}

.sportsdb-fixture-empty-state {
  display: grid;
  gap: 0.25rem;
  padding: 0.1rem 0 0.05rem;
}

.sportsdb-fixture-date--empty {
  color: #1f4434;
  font-weight: 700;
}

.sportsdb-fixture-league--empty {
  font-size: 0.78rem;
  color: #6b8377;
}

.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-more {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.sportsdb-fixture-more > summary {
  list-style: none;
  cursor: pointer;
  color: #00693d;
  font-size: 0.8rem;
  font-weight: 800;
}

.sportsdb-fixture-more > summary::-webkit-details-marker {
  display: none;
}

.sportsdb-fixture-more-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(0, 155, 58, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.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-schedule-list {
  display: grid;
  gap: 1rem;
}

.sportsdb-schedule-group {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(0, 128, 61, 0.12);
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 248, 0.96));
}

.sportsdb-schedule-group:nth-child(even) {
  border-color: rgba(214, 178, 94, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 251, 242, 0.98), rgba(249, 245, 234, 0.96));
}

.sportsdb-schedule-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.sportsdb-schedule-group-head h3 {
  max-width: none;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.1;
}

.sportsdb-schedule-group-head span {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 128, 61, 0.08);
  color: #0b6f46;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sportsdb-schedule-group:nth-child(even) .sportsdb-schedule-group-head span {
  background: rgba(214, 178, 94, 0.16);
  color: #8b6721;
}

.sportsdb-schedule-fixture-list {
  gap: 0.55rem;
}

.sportsdb-schedule-fixture-list .fixture-row {
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(0, 128, 61, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
}

.sportsdb-schedule-fixture-list .fixture-row:nth-child(even) {
  background: rgba(240, 248, 243, 0.92);
}

.sportsdb-schedule-group:nth-child(even) .sportsdb-schedule-fixture-list .fixture-row {
  border-color: rgba(214, 178, 94, 0.12);
  background: rgba(255, 255, 255, 0.88);
}

.sportsdb-schedule-group:nth-child(even) .sportsdb-schedule-fixture-list .fixture-row:nth-child(even) {
  background: rgba(251, 247, 239, 0.94);
}

.sportsdb-schedule-fixture-list .fixture-row strong {
  font-size: 0.98rem;
  line-height: 1.18;
}

.sportsdb-schedule-fixture-list .fixture-row span {
  color: #476457;
  font-size: 0.82rem;
  line-height: 1.42;
}

.sportsdb-schedule-fixture-list .fixture-row .live-badge {
  margin-top: 0.35rem;
}

.sportsdb-schedule-more {
  margin-top: 0.2rem;
}

.sportsdb-schedule-more > .api-show-more-summary {
  justify-self: start;
}

.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;
}

.celtic-data-hub--homepage {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.3vw, 1.45rem);
  border: 1px solid rgba(0, 155, 58, 0.18);
  border-radius: 1.7rem;
  background:
    radial-gradient(circle at top right, rgba(255, 219, 132, 0.15), transparent 22%),
    radial-gradient(circle at top left, rgba(20, 156, 81, 0.24), transparent 28%),
    linear-gradient(135deg, #03150d 0%, #073321 26%, #0d5c37 62%, #072718 100%);
  box-shadow:
    0 28px 56px rgba(4, 11, 8, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.celtic-data-hub--homepage::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.celtic-data-hub--homepage .sportsdb-head {
  position: relative;
  z-index: 1;
  align-items: flex-start;
  gap: 1rem 1.2rem;
  margin-bottom: 0;
}

.celtic-data-hub--homepage .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(217, 185, 112, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f2d58f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.celtic-data-hub--homepage .sportsdb-head h2 {
  max-width: 12ch;
  color: #f8fff9;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.celtic-data-hub--homepage .sportsdb-meta {
  align-self: flex-start;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(2, 19, 12, 0.32);
  color: rgba(241, 249, 244, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.celtic-data-hub--homepage .sportsdb-separator {
  color: rgba(255, 255, 255, 0.38);
}

.celtic-data-hub--homepage .sportsdb-status {
  margin-bottom: 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(5, 26, 17, 0.26);
  color: rgba(241, 249, 244, 0.9);
}

.celtic-data-hub--homepage .sportsdb-home-top-stack,
.celtic-data-hub--homepage .sportsdb-home-news-wrap,
.celtic-data-hub--homepage .sportsdb-table-wrap,
.celtic-data-hub--homepage .sportsdb-home-secondary-grid,
.celtic-data-hub--homepage .sportsdb-links,
.celtic-data-hub--homepage .sportsdb-stadium-footer-card {
  position: relative;
  z-index: 1;
}

.celtic-data-hub--homepage .sportsdb-home-top-stack {
  gap: 1rem;
  margin-bottom: 0;
}

.celtic-data-hub--homepage .sportsdb-home-summary-card {
  padding: 1.15rem 1.15rem 1.05rem;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 1.45rem;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at top right, rgba(240, 204, 116, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(22, 176, 90, 0.16), transparent 30%),
    linear-gradient(140deg, rgba(4, 40, 25, 0.96), rgba(12, 92, 56, 0.88) 58%, rgba(5, 31, 20, 0.97));
  box-shadow:
    0 18px 40px rgba(2, 9, 6, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.celtic-data-hub--homepage .sportsdb-home-summary-title {
  color: #ffffff;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.celtic-data-hub--homepage .sportsdb-home-summary-copy {
  color: rgba(240, 248, 243, 0.82);
}

.celtic-data-hub--homepage .sportsdb-home-summary-badges .sportsdb-match-state,
.celtic-data-hub--homepage .sportsdb-home-summary-badges .sportsdb-hero-countdown {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.celtic-data-hub--homepage .sportsdb-home-summary-detail > .fixture-row {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 10px 22px rgba(2, 11, 7, 0.12);
}

.celtic-data-hub--homepage .sportsdb-home-summary-card .celtic-detail-summary strong,
.celtic-data-hub--homepage .sportsdb-home-summary-card .celtic-detail-summary span {
  color: #f5fff7;
}

.celtic-data-hub--homepage .sportsdb-home-summary-card .celtic-detail-summary span {
  color: rgba(236, 245, 240, 0.8);
}

.celtic-data-hub--homepage .sportsdb-home-fixtures-grid {
  gap: 1rem;
}

.celtic-data-hub--homepage .sportsdb-home-fixtures-grid .celtic-detail-summary strong {
  color: #0f2d20;
}

.celtic-data-hub--homepage .sportsdb-home-fixtures-grid .celtic-detail-summary span {
  color: #426152;
}

.celtic-data-hub--homepage .sportsdb-home-fixtures-grid .celtic-detail-summary .live-badge {
  color: #0e3a29;
}

.celtic-data-hub--homepage .sportsdb-fixture-card {
  border-radius: 1.3rem;
  box-shadow:
    0 18px 32px rgba(2, 10, 6, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.celtic-data-hub--homepage .sportsdb-home-fixtures-grid > .sportsdb-fixture-card:first-child {
  background:
    radial-gradient(circle at top right, rgba(4, 170, 74, 0.18), transparent 34%),
    radial-gradient(circle at bottom left, rgba(166, 228, 191, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(239, 249, 243, 0.98));
}

.celtic-data-hub--homepage .sportsdb-home-fixtures-grid > .sportsdb-fixture-card:last-child {
  background:
    radial-gradient(circle at top right, rgba(240, 204, 116, 0.22), transparent 32%),
    radial-gradient(circle at bottom left, rgba(13, 93, 56, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(252, 248, 240, 0.98));
}

.celtic-data-hub--homepage .sportsdb-home-news-wrap .quick-news-shell {
  margin: 0;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 1.45rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 247, 0.98));
  box-shadow:
    0 18px 36px rgba(3, 12, 8, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.celtic-data-hub--homepage .quick-news-head {
  align-items: center;
}

.celtic-data-hub--homepage .quick-news-head h2 {
  font-size: clamp(1.35rem, 2vw, 1.95rem);
}

.celtic-data-hub--homepage .sportsdb-table-wrap {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 1.45rem;
  background:
    linear-gradient(180deg, rgba(6, 30, 19, 0.76), rgba(3, 19, 12, 0.8));
  box-shadow:
    0 22px 40px rgba(2, 10, 6, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.celtic-data-hub--homepage .sportsdb-table {
  min-width: 0;
  background: rgba(255, 255, 255, 0.98);
}

.celtic-data-hub--homepage .sportsdb-table thead th {
  padding: 0.68rem 0.62rem;
  background:
    linear-gradient(180deg, #00b14a 0%, #007e36 100%);
  font-size: 0.7rem;
}

.celtic-data-hub--homepage .sportsdb-table td {
  padding: 0.58rem 0.62rem;
}

.celtic-data-hub--homepage .sportsdb-table tbody tr:nth-child(even) {
  background: #eef8f1;
}

.celtic-data-hub--homepage .sportsdb-table tbody tr:hover {
  background: #dbf1e3;
}

.celtic-data-hub--homepage .sportsdb-celtic-row td {
  background:
    linear-gradient(90deg, rgba(0, 155, 58, 0.18) 0%, rgba(0, 155, 58, 0.08) 100%);
  color: #024f2d;
}

.celtic-data-hub--homepage .sportsdb-home-secondary-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(0, 0.82fr);
  gap: 1rem;
  margin-bottom: 0;
}

.celtic-data-hub--homepage .sportsdb-mini-card {
  min-height: 100%;
  padding: 1rem 1.05rem;
  border-radius: 1.3rem;
}

.celtic-data-hub--homepage .sportsdb-mini-card--snapshot {
  background:
    radial-gradient(circle at top right, rgba(12, 171, 80, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(240, 250, 244, 0.98));
}

.celtic-data-hub--homepage .sportsdb-mini-card--season {
  background:
    radial-gradient(circle at top right, rgba(240, 204, 116, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(252, 249, 242, 0.98));
}

.celtic-data-hub--homepage .sportsdb-mini-card--hub {
  background:
    linear-gradient(150deg, rgba(3, 34, 21, 0.96), rgba(8, 78, 46, 0.9));
  border-color: rgba(255, 255, 255, 0.06);
}

.celtic-data-hub--homepage .sportsdb-mini-card--hub .sportsdb-mini-kicker,
.celtic-data-hub--homepage .sportsdb-mini-card--hub .sportsdb-mini-title,
.celtic-data-hub--homepage .sportsdb-mini-card--hub .sportsdb-mini-copy {
  color: #f6fff9;
}

.celtic-data-hub--homepage .sportsdb-mini-card--hub .sportsdb-mini-kicker {
  color: #f0d18b;
}

.celtic-data-hub--homepage .sportsdb-mini-card--hub .sportsdb-card-link {
  background: linear-gradient(180deg, #ffffff 0%, #f0f5f2 100%);
  color: #07492d;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.celtic-data-hub--homepage .sportsdb-links {
  justify-content: flex-start;
  margin-top: -0.15rem;
}

.celtic-data-hub--homepage .sportsdb-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(2, 19, 12, 0.28);
  color: #f8fff9;
}

.celtic-data-hub--homepage .sportsdb-links a:hover {
  color: #ffffff;
  background: rgba(2, 19, 12, 0.42);
}

.celtic-data-hub--homepage .sportsdb-stadium-footer-card {
  margin-top: 0;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(240, 204, 116, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(241, 249, 244, 0.98));
}

.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,
.static-form select {
  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,
.static-form 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-grid--two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.form-intro-card,
.form-section-card,
.submission-history-panel {
  padding: clamp(0.95rem, 1.8vw, 1.2rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #ffffff, #f7fbf8);
  box-shadow: var(--shadow-card);
}

.form-intro-card h2,
.form-intro-card h3,
.form-section-heading h3 {
  margin: 0 0 0.35rem;
}

.form-section-heading p,
.form-intro-card .section-copy {
  margin: 0;
}

.form-section-card--optional summary,
.submission-history-panel summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  gap: 0.2rem;
  font-weight: 700;
  color: var(--text);
}

.form-section-card--optional summary::-webkit-details-marker,
.submission-history-panel summary::-webkit-details-marker {
  display: none;
}

.form-section-card--optional summary small,
.submission-history-panel summary small {
  font-weight: 500;
  color: var(--mist);
}

.form-section-card--optional[open] summary,
.submission-history-panel[open] summary {
  margin-bottom: 1rem;
}

.submission-mode-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.submission-mode-note {
  color: var(--mist);
  font-size: 0.9rem;
}

.submission-shortcuts-card {
  gap: 0.9rem;
}

.submit-workspace-top,
.submit-workspace-copy,
.submit-workspace-aside,
.submit-workspace-stats,
.submit-workspace-flow,
.submit-form-summary {
  display: grid;
  gap: 1rem;
}

.submit-workspace-top {
  align-items: start;
}

.submit-workspace-copy {
  gap: 1.1rem;
}

.submit-workspace-aside {
  gap: 0.9rem;
}

.submit-workspace-trust {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(0, 155, 58, 0.16);
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at top right, rgba(214, 178, 94, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6fbf8 100%);
  box-shadow: 0 12px 24px rgba(7, 17, 11, 0.05);
}

.submit-workspace-flow {
  gap: 0.75rem;
}

.submit-workspace-flow > div,
.submit-workspace-stat,
.submit-form-summary__item {
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(0, 75, 47, 0.11);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
}

.submit-workspace-flow strong,
.submit-workspace-stat strong,
.submit-form-summary__item strong {
  display: block;
  color: #0f2d1f;
  font-size: 0.98rem;
  line-height: 1.12;
}

.submit-workspace-flow span,
.submit-workspace-stat span,
.submit-form-summary__item span {
  display: block;
  margin-top: 0.34rem;
  color: var(--mist);
  font-size: 0.82rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.submit-workspace-stats {
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.75rem;
}

.submit-workspace-stat span {
  margin-top: 0;
  color: #1f6447;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.submit-workspace-stat strong {
  margin-top: 0.35rem;
  font-size: 1rem;
}

.submission-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem;
}

.submission-shortcut {
  display: grid;
  gap: 0.4rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(0, 75, 47, 0.12);
  border-radius: 1.05rem;
  background:
    radial-gradient(circle at top right, rgba(0, 155, 58, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff, #f4fbf6);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(7, 17, 11, 0.05);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.submission-shortcut:hover,
.submission-shortcut:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(0, 155, 58, 0.26);
  box-shadow: 0 16px 28px rgba(7, 17, 11, 0.08);
}

.submission-shortcut strong {
  color: #0f2d1f;
  font-size: 1.02rem;
  line-height: 1.12;
}

.submission-shortcut span {
  color: var(--mist);
  font-size: 0.86rem;
  line-height: 1.42;
  text-wrap: pretty;
}

.submission-form-chips {
  margin-top: 0.7rem;
  gap: 0.55rem;
}

.submission-form-chips .chip {
  min-height: 2.1rem;
  padding: 0.48rem 0.72rem;
  font-size: 0.78rem;
}

.submit-form-summary {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.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;
}

.club-dashboard-message {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(0, 75, 47, 0.14);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #ffffff, #f5fbf7);
  color: var(--text);
  box-shadow: var(--shadow-card);
}

.club-dashboard-message.notice-error {
  border-color: rgba(180, 44, 44, 0.22);
  background: linear-gradient(180deg, #fff7f7, #fffdfd);
}

.club-dashboard-message.notice-warning {
  border-color: rgba(214, 178, 94, 0.34);
  background: linear-gradient(180deg, #fffdf6, #fffaf0);
}

.club-review-list {
  margin: 0.85rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.65rem;
}

.club-review-list li {
  color: var(--mist);
}

.club-login-prompt,
.club-map-shortcode-panel,
.club-dashboard-empty,
.club-dashboard-card,
.club-control-stat {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.club-dashboard,
.club-dashboard-grid,
.club-control-grid {
  display: grid;
  gap: 1rem;
}

.fixture-broadcasts {
  margin-top: 0.75rem;
}

.fixture-broadcasts > summary {
  list-style: none;
}

.fixture-broadcasts > summary::-webkit-details-marker {
  display: none;
}

.fixture-broadcasts--inline {
  display: inline-block;
}

.fixture-broadcasts--inline > summary {
  display: inline-flex;
}

.celtic-detail-content--nested {
  margin-top: 0.85rem;
}

.celtic-broadcast-groups {
  display: grid;
  gap: 1rem;
}

.celtic-broadcast-group {
  display: grid;
  gap: 0.65rem;
}

.celtic-broadcast-country {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.fixture-row--broadcast {
  align-items: center;
}

.api-broadcast-legal-note {
  margin: 0.9rem 0 0;
  color: var(--mist);
  font-size: 0.9rem;
}

.club-inline-form,
.club-shortcode-search,
.club-dashboard-head,
.club-dashboard-card-top {
  display: grid;
  gap: 1rem;
}

.club-dashboard-head,
.club-dashboard-card-top {
  align-items: start;
}

.club-dashboard-grid {
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.account-two-column--community {
  margin-top: 1.5rem;
}

.community-screening-card {
  border: 1px solid rgba(6, 82, 41, 0.14);
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(245, 252, 247, 0.96), #fff);
  box-shadow: 0 18px 38px rgba(4, 36, 20, 0.08);
  margin-bottom: 1rem;
}

.community-screening-card__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.community-screening-meta .chip-row,
.community-result-badge {
  margin-top: 0.75rem;
}

.community-result-badge .chip-card {
  background: #065229;
  color: #fff;
  border-color: #065229;
}

.venue-card-save {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

.sportsdb-hero-actions,
.fixture-row-actions {
  margin-top: 0.85rem;
}

.fixture-row-actions .button,
.sportsdb-hero-actions .button {
  width: fit-content;
}

.button.is-active[data-favourite-listing] {
  background: #065229;
  color: #fff;
  border-color: #065229;
}

.club-dashboard-card .card-actions,
.club-login-prompt .card-actions {
  margin-top: 0.2rem;
}

.club-login-prompt__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 1fr);
  gap: 1.15rem;
  align-items: start;
}

.club-login-prompt__aside {
  padding: 1rem 1.05rem;
  border: 1px solid #d9eadf;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf6 100%);
}

.club-login-prompt__aside strong {
  display: block;
  margin-bottom: 0.75rem;
  color: #0f2d1f;
}

.club-inline-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--mist);
  font-size: 0.9rem;
}

.club-inline-form textarea,
.club-shortcode-search input {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
  color: var(--text);
}

.club-map-shortcode-panel .celtic-club-map-shortcode {
  margin-top: 1rem;
  border-radius: 1.3rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.club-control-grid {
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  margin: 1rem 0 1.5rem;
}

.club-control-stat span {
  display: block;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.club-control-stat strong {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1;
}

@media (min-width: 48rem) {
  .submit-workspace-top {
    grid-template-columns: minmax(0, 1.22fr) minmax(18rem, 0.88fr);
  }

  .club-dashboard-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

.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) {
  html,
  body {
    overflow-x: clip;
  }

  .site-nav__list,
  .footer-links__list,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .card-actions,
  .submit-actions,
  .simple-page-actions,
  .detail-hero-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-actions .button,
  .card-actions .button,
  .submit-actions .button,
  .simple-page-actions .button,
  .detail-hero-actions .button,
  .filter-strip .button {
    width: 100%;
  }

  .live-card {
    flex-direction: column;
  }

  .live-card span {
    align-self: flex-start;
  }

  .legacy-banner span {
    white-space: normal;
    line-height: 1.35;
  }

  .footer-grid {
    gap: 1.4rem;
    padding: 2.5rem 0 1.5rem;
  }

  .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;
  }

  .container,
  .section,
  .home-command-grid,
  .home-command-primary,
  .hero-search-shell,
  .hero-aside,
  .quick-news-shell,
  .compact-map-shell,
  .compact-map-toolbar,
  .compact-map-search,
  .compact-map-search-row,
  .city-browse-featured,
  .city-browse-grid,
  .sportsdb-dashboard-grid,
  .sportsdb-home-secondary-grid,
  .sportsdb-home-fixtures-grid,
  .sportsdb-fixtures-grid,
  .footer-grid,
  .detail-grid,
  .feature-panel,
  .archive-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .compact-map-input,
  .page-select,
  .static-form input,
  .static-form textarea,
  .static-form select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .submit-workspace-stats,
  .submit-form-summary,
  .submission-shortcuts {
    grid-template-columns: 1fr;
  }

  .submit-workspace-trust,
  .submit-workspace-flow > div,
  .submit-workspace-stat,
  .submit-form-summary__item {
    padding: 0.85rem;
    border-radius: 1rem;
  }

  .sportsdb-head h2 {
    font-size: 1.55rem;
    max-width: none;
  }

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

  .sportsdb-head {
    align-items: flex-start;
  }

  .sportsdb-dashboard-grid,
  .sportsdb-home-secondary-grid,
  .sportsdb-home-fixtures-grid,
  .sportsdb-fixtures-grid,
  .sportsdb-hero-meta,
  .sportsdb-stadium-footer-grid,
  .sportsdb-snapshot-grid,
  .sportsdb-stat-grid {
    grid-template-columns: 1fr;
  }

  .sportsdb-hero-card {
    grid-row: auto;
    min-height: 0;
    padding: 1rem;
  }

  .sportsdb-mini-card {
    min-height: 0;
    padding: 0.95rem;
  }

  .sportsdb-home-summary-head {
    flex-direction: column;
  }

  .sportsdb-hero-body {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .sportsdb-hero-team,
  .sportsdb-hero-team--away {
    align-items: center;
    text-align: center;
  }

  .sportsdb-hero-centre {
    order: -1;
  }

  .sportsdb-hero-meta-item {
    padding: 0.8rem 0.85rem;
  }

  .sportsdb-mini-card--snapshot,
  .sportsdb-mini-card--season,
  .sportsdb-mini-card--hub {
    grid-column: auto;
  }

  .sportsdb-fixture-card--homepage-result {
    width: 100%;
  }

  .sportsdb-season-form,
  .sportsdb-fixture-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .sportsdb-fixture-score span,
  .sportsdb-fixture-score--time span {
    min-width: 4.4rem;
  }

  .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-fixture-title {
    font-size: 1.02rem;
  }

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

  .celtic-data-hub--homepage {
    gap: 0.85rem;
    padding: 0.9rem;
    border-radius: 1.35rem;
  }

  .celtic-data-hub--homepage .sportsdb-meta,
  .celtic-data-hub--homepage .sportsdb-status,
  .celtic-data-hub--homepage .sportsdb-links a {
    width: 100%;
  }

  .celtic-data-hub--homepage .sportsdb-meta {
    justify-content: flex-start;
    padding: 0.65rem 0.8rem;
  }

  .celtic-data-hub--homepage .sportsdb-home-summary-card,
  .celtic-data-hub--homepage .sportsdb-fixture-card,
  .celtic-data-hub--homepage .sportsdb-mini-card,
  .celtic-data-hub--homepage .sportsdb-home-news-wrap .quick-news-shell,
  .celtic-data-hub--homepage .sportsdb-table-wrap,
  .celtic-data-hub--homepage .sportsdb-stadium-footer-card {
    border-radius: 1.15rem;
  }

  .celtic-data-hub--homepage .sportsdb-home-summary-card,
  .celtic-data-hub--homepage .sportsdb-fixture-card,
  .celtic-data-hub--homepage .sportsdb-mini-card {
    padding: 0.95rem;
  }

  .celtic-data-hub--homepage .sportsdb-links {
    justify-content: stretch;
  }

  .csc-directory-page .directory-hero-panel,
  .csc-directory-page .filter-strip,
  .csc-directory-page .search-panel,
  .csc-directory-page .card-actions {
    grid-template-columns: 1fr;
  }

  .csc-directory-page .page-select,
  .csc-directory-page .search-panel input,
  .csc-directory-page .compact-listing-form input,
  .csc-directory-page .compact-listing-form textarea,
  .community-page #wpforo-wrap input[type="search"],
  .community-page #wpforo-wrap input[type="text"],
  .community-page #wpforo-wrap input[type="email"],
  .community-page #wpforo-wrap input[type="url"],
  .community-page #wpforo-wrap input[type="password"],
  .community-page #wpforo-wrap textarea,
  .community-page #wpforo-wrap select {
    font-size: 16px;
  }

  .community-page #wpforo-wrap .wpf-forum-table,
  .community-page #wpforo-wrap .wpf-topic-table,
  .community-page #wpforo-wrap .wpf-members-table,
  .community-page #wpforo-wrap .wpfpm-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .community-page #wpforo-wrap .wpf-forum-table > *,
  .community-page #wpforo-wrap .wpf-topic-table > *,
  .community-page #wpforo-wrap .wpf-members-table > *,
  .community-page #wpforo-wrap .wpfpm-table > * {
    min-width: 42rem;
  }

  .community-page #wpforo-wrap .wpf-head-bar,
  .community-page #wpforo-wrap .wpf-head-bar-left,
  .community-page #wpforo-wrap .wpf-head-bar-right {
    display: grid;
    gap: 0.65rem;
  }
}

@media (max-width: 30rem) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .hero-title,
  .simple-page-panel h1,
  .directory-hero-panel h1,
  .submit-page-panel h1,
  .detail-hero-panel h1 {
    max-width: none;
  }

  .home-command-copy h2,
  .sportsdb-head h2,
  .quick-news-head h2 {
    max-width: none;
  }

  .city-browse-copy {
    max-width: none;
  }

  .city-browse-featured,
  .city-browse-grid {
    grid-template-columns: 1fr;
  }

  .archive-card,
  .feature-panel,
  .detail-panel,
  .submit-page-panel,
  .directory-hero-panel,
  .simple-page-panel,
  .community-page .feature-panel.simple-page-panel,
  .hero-search-shell,
  .hero-aside,
  .quick-news-shell {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  .community-page #wpforo-wrap .wpf-menu li,
  .community-page #wpforo-wrap .wpf-menu li a {
    width: 100%;
  }

  .community-page #wpforo-wrap .wpf-forum-breadcrumps,
  .community-page #wpforo-wrap .wpf-breadcrumbs,
  .community-page #wpforo-wrap .wpf-topic-breadcrumps {
    padding: 0.7rem 0.8rem;
  }
}

@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;
  }

  .submit-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .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-dashboard-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }

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

  .sportsdb-hero-card {
    grid-row: span 2;
  }

  .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;
  }

  .header-forum-pill {
    display: none;
  }

  .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"
      "aside";
    align-items: stretch;
  }

  .home-command-primary {
    display: contents;
  }

  .home-command-primary .hero-search-shell {
    grid-area: search;
  }

  .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-featured {
    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.95rem;
}

.csc-directory-page .csc-card {
  display: grid;
  gap: 0.8rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid #d9eadf;
  border-top: 4px solid #00a651;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fffefb 0%, #ffffff 56%, #f7fbf8 100%);
  box-shadow: 0 14px 32px rgba(7, 17, 11, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(odd) {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfb 72%, #f6fbf7 100%);
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(even) {
  border-color: rgba(0, 125, 59, 0.46);
  border-top-color: #0aa34c;
  background: linear-gradient(180deg, #0b8e44 0%, #076433 100%);
}

.csc-directory-page .csc-card:hover,
.csc-directory-page .csc-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(0, 166, 81, 0.42);
  box-shadow: 0 18px 38px rgba(7, 17, 11, 0.1);
}

.csc-directory-page .csc-card-top {
  display: grid;
  gap: 0.7rem;
  align-items: start;
}

.csc-directory-page .csc-card-top p {
  margin: 0;
  color: #5f6f66;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.csc-directory-page .csc-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #102018;
  font-size: clamp(1.02rem, 1.15vw, 1.18rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(even) .csc-card-top p,
.csc-directory-page .js-cscs-grid .csc-card:nth-child(even) .csc-card h3,
.csc-directory-page .js-cscs-grid .csc-card:nth-child(even) .listing-matchday-note,
.csc-directory-page .js-cscs-grid .csc-card:nth-child(even) .listing-status-badge,
.csc-directory-page .js-cscs-grid .csc-card:nth-child(even) .text-link {
  color: #ffffff;
}

.csc-directory-page .csc-meta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  margin: 0;
}

.csc-directory-page .meta-box {
  min-width: 0;
  padding: 0.6rem 0.68rem;
  border: 1px solid rgba(0, 75, 47, 0.1);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.csc-directory-page .meta-box span {
  display: block;
  color: #6c7b73;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.1;
  text-transform: uppercase;
}

.csc-directory-page .meta-box strong {
  display: block;
  margin-top: 0.35rem;
  color: #0f3421;
  font-size: 0.82rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(even) .meta-box {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(even) .meta-box span,
.csc-directory-page .js-cscs-grid .csc-card:nth-child(even) .meta-box strong {
  color: #ffffff;
}

.csc-directory-page .listing-matchday-note {
  margin: 0;
  color: #43554c;
  font-size: 0.83rem;
  line-height: 1.48;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.csc-directory-page .card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0;
}

.csc-directory-page .card-actions .button {
  min-height: 2.35rem;
  padding: 0.6rem 0.72rem;
  border-radius: 0.75rem;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.1;
  justify-content: center;
  text-align: center;
}

.csc-directory-page .csc-card .card-actions .button:last-child {
  grid-column: 1 / -1;
}

.csc-directory-page .csc-card .card-actions .button-primary {
  box-shadow: 0 10px 20px rgba(0, 166, 81, 0.18);
}

.csc-directory-page .csc-card .card-actions .button-secondary {
  border-color: rgba(0, 75, 47, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: #0b4229;
}

.csc-directory-page .js-cscs-grid .csc-card:nth-child(even) .card-actions .button-primary {
  background: #ffffff;
  color: #085634;
  box-shadow: 0 10px 22px rgba(3, 32, 15, 0.22);
}

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

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

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

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

.csc-directory-page .js-cscs-grid .csc-card:nth-child(even) .compact-listing-form input::placeholder,
.csc-directory-page .js-cscs-grid .csc-card:nth-child(even) .compact-listing-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.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 :where(a, button, input, select):focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 155, 58, 0.3);
}

.csc-directory-page .listing-status-badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  border: 1px solid rgba(0, 75, 47, 0.14);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0b4229;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 14px rgba(7, 17, 11, 0.06);
}

@media (min-width: 30rem) {
  .csc-directory-page .csc-card-top {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .csc-directory-page .csc-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.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(2, 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(3, minmax(0, 1fr));
  }
}

@media (min-width: 86rem) {
  .csc-directory-page .js-cscs-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* wpForo forum theming */
.community-page .section.section--white {
  padding-top: clamp(1.1rem, 2.5vw, 1.75rem);
}

.community-page .feature-panel.simple-page-panel {
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(0, 75, 47, 0.14);
  border-top: 3px solid #00a651;
  background:
    linear-gradient(180deg, rgba(243, 251, 246, 0.78), rgba(255, 253, 246, 0.98));
  box-shadow: 0 12px 28px rgba(7, 17, 11, 0.06);
}

.community-page .simple-page-copy {
  max-width: none;
}

.community-page .simple-page-copy h1 {
  max-width: none;
  margin-bottom: 0.4rem;
}

.community-page .simple-page-copy > .wpforo {
  margin-top: 0.4rem;
}

.community-page #wpforo-wrap,
.community-page .wpforo {
  color: #102018;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.community-page #wpforo-wrap {
  --celtic-forum-bg: #fffdf6;
  --celtic-forum-surface: #ffffff;
  --celtic-forum-surface-alt: #f3fbf6;
  --celtic-forum-border: #d9eadf;
  --celtic-forum-text: #102018;
  --celtic-forum-muted: #5f6f66;
  --celtic-forum-green: #00a651;
  --celtic-forum-green-bright: #16c766;
  --celtic-forum-green-deep: #020b07;
  --celtic-forum-gold: #d6a735;
  --celtic-forum-shadow: 0 10px 24px rgba(7, 17, 11, 0.06);
  margin-top: 0.25rem;
  padding: 0;
  color: var(--celtic-forum-text);
}

.community-page #wpforo-wrap * {
  box-sizing: border-box;
}

.community-page #wpforo-wrap a {
  color: #005f32;
  transition: color 180ms ease, opacity 180ms ease;
}

.community-page #wpforo-wrap a:hover,
.community-page #wpforo-wrap a:focus-visible {
  color: #16c766;
}

.community-page #wpforo-wrap .wpf-spoiler-content,
.community-page #wpforo-wrap .wpf-post-content,
.community-page #wpforo-wrap .wpf-topic-content,
.community-page #wpforo-wrap .wpf-post-text,
.community-page #wpforo-wrap .wpf-page,
.community-page #wpforo-wrap .wpf-post,
.community-page #wpforo-wrap .wpf-thread,
.community-page #wpforo-wrap .wpf-forum-title,
.community-page #wpforo-wrap .wpf-head-bar,
.community-page #wpforo-wrap .wpf-head-bar *,
.community-page #wpforo-wrap .wpf-topic-title,
.community-page #wpforo-wrap .wpf-post-title {
  color: var(--celtic-forum-text);
}

.community-page #wpforo-wrap .wpf-forum-breadcrumps,
.community-page #wpforo-wrap .wpf-breadcrumbs,
.community-page #wpforo-wrap .wpf-topic-breadcrumps {
  margin: 0 0 0.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--celtic-forum-border);
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, #f8fcf9);
  color: var(--celtic-forum-muted);
  box-shadow: 0 6px 16px rgba(7, 17, 11, 0.04);
}

.community-page #wpforo-wrap .wpf-forum-breadcrumps a,
.community-page #wpforo-wrap .wpf-breadcrumbs a,
.community-page #wpforo-wrap .wpf-topic-breadcrumps a {
  color: #005f32;
  font-weight: 700;
}

.community-page #wpforo-wrap .wpf-head-bar,
.community-page #wpforo-wrap .wpf-head-bar-left,
.community-page #wpforo-wrap .wpf-head-bar-right {
  background: transparent;
}

.community-page #wpforo-wrap .wpf-head-bar {
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
}

.community-page #wpforo-wrap .wpf-search,
.community-page #wpforo-wrap .wpf-search input[type="text"],
.community-page #wpforo-wrap input[type="search"],
.community-page #wpforo-wrap input[type="text"],
.community-page #wpforo-wrap input[type="email"],
.community-page #wpforo-wrap input[type="url"],
.community-page #wpforo-wrap input[type="password"],
.community-page #wpforo-wrap textarea,
.community-page #wpforo-wrap select {
  border: 1px solid var(--celtic-forum-border);
  border-radius: 0.9rem;
  background: #ffffff;
  color: var(--celtic-forum-text);
  box-shadow: inset 0 1px 2px rgba(7, 17, 11, 0.03);
}

.community-page #wpforo-wrap input[type="text"],
.community-page #wpforo-wrap input[type="email"],
.community-page #wpforo-wrap input[type="url"],
.community-page #wpforo-wrap input[type="password"],
.community-page #wpforo-wrap input[type="search"],
.community-page #wpforo-wrap select {
  min-height: 2.8rem;
  padding: 0.7rem 0.9rem;
}

.community-page #wpforo-wrap textarea {
  min-height: 8rem;
  padding: 0.9rem 1rem;
  line-height: 1.55;
}

.community-page #wpforo-wrap input:focus,
.community-page #wpforo-wrap textarea:focus,
.community-page #wpforo-wrap select:focus {
  outline: none;
  border-color: rgba(0, 166, 81, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.14);
}

.community-page #wpforo-wrap .wpf-menu,
.community-page #wpforo-wrap .wpf-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  list-style: none;
}

.community-page #wpforo-wrap .wpf-menu li {
  margin: 0;
  border: 0;
  background: transparent;
}

.community-page #wpforo-wrap .wpf-menu li a,
.community-page #wpforo-wrap .wpf-menu li:not(.wpf-menu-active) a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--celtic-forum-border);
  border-radius: 999px;
  background: #ffffff;
  color: #005f32;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(7, 17, 11, 0.04);
}

.community-page #wpforo-wrap .wpf-menu li a:hover,
.community-page #wpforo-wrap .wpf-menu li a:focus-visible {
  border-color: rgba(0, 166, 81, 0.28);
  background: #f3fbf6;
  color: #00763b;
}

.community-page #wpforo-wrap .wpf-menu li.wpf-menu-active a,
.community-page #wpforo-wrap .wpf-menu li.current-menu-item a,
.community-page #wpforo-wrap .wpf-menu li.current a {
  border-color: rgba(0, 166, 81, 0.48);
  background: linear-gradient(180deg, #16c766, #00a651);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(0, 166, 81, 0.22);
}

.community-page #wpforo-wrap .wpf-button,
.community-page #wpforo-wrap .wpf-button-secondary,
.community-page #wpforo-wrap .wpfcl-button,
.community-page #wpforo-wrap .wpf-load-more,
.community-page #wpforo-wrap .wpf-new-topic-title a,
.community-page #wpforo-wrap .wpf-topic-create,
.community-page #wpforo-wrap .wpf-topic-create a,
.community-page #wpforo-wrap .wpf-post-create,
.community-page #wpforo-wrap .wpf-post-create a,
.community-page #wpforo-wrap input[type="submit"],
.community-page #wpforo-wrap button,
.community-page #wpforo-wrap .wpforo-btn {
  border: 1px solid rgba(0, 166, 81, 0.74);
  border-radius: 999px;
  background: linear-gradient(180deg, #16c766, #00a651);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(0, 166, 81, 0.18);
}

.community-page #wpforo-wrap .wpf-button:hover,
.community-page #wpforo-wrap .wpfcl-button:hover,
.community-page #wpforo-wrap .wpf-load-more:hover,
.community-page #wpforo-wrap .wpf-new-topic-title a:hover,
.community-page #wpforo-wrap .wpf-topic-create a:hover,
.community-page #wpforo-wrap .wpf-post-create a:hover,
.community-page #wpforo-wrap input[type="submit"]:hover,
.community-page #wpforo-wrap button:hover,
.community-page #wpforo-wrap .wpforo-btn:hover {
  background: linear-gradient(180deg, #1bd46d, #009949);
  color: #ffffff;
}

.community-page #wpforo-wrap .wpf-button-secondary,
.community-page #wpforo-wrap .wpf-load-more {
  background: #ffffff;
  color: #005f32;
}

.community-page #wpforo-wrap .wpf-button-secondary:hover,
.community-page #wpforo-wrap .wpf-load-more:hover {
  background: #f3fbf6;
  color: #00763b;
}

.community-page #wpforo-wrap .wpf-forum-table,
.community-page #wpforo-wrap .wpf-topic-table,
.community-page #wpforo-wrap .wpf-members-table,
.community-page #wpforo-wrap .wpfpm-table {
  border: 0;
  background: transparent;
}

.community-page #wpforo-wrap .wpf-cat-head,
.community-page #wpforo-wrap .wpf-forum-head,
.community-page #wpforo-wrap .wpf-topic-head,
.community-page #wpforo-wrap .wpforo-category {
  margin-top: 0.8rem;
  border: 1px solid rgba(0, 75, 47, 0.18);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, #020b07 0%, #0a3f24 50%, #00592f 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(2, 11, 7, 0.18);
}

.community-page #wpforo-wrap .wpf-cat-head *,
.community-page #wpforo-wrap .wpf-forum-head *,
.community-page #wpforo-wrap .wpf-topic-head *,
.community-page #wpforo-wrap .wpforo-category * {
  color: #ffffff;
}

.community-page #wpforo-wrap .wpf-cat-head a,
.community-page #wpforo-wrap .wpf-forum-head a,
.community-page #wpforo-wrap .wpf-topic-head a {
  color: #ffffff;
}

.community-page #wpforo-wrap .wpf-forum-title,
.community-page #wpforo-wrap .wpf-topic-title {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.community-page #wpforo-wrap .wpf-forum,
.community-page #wpforo-wrap .wpf-topic,
.community-page #wpforo-wrap .wpf-post,
.community-page #wpforo-wrap .wpforo-forum,
.community-page #wpforo-wrap .wpforo-topic {
  margin-bottom: 0.7rem;
  border: 1px solid var(--celtic-forum-border);
  border-radius: 1rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--celtic-forum-shadow);
}

.community-page #wpforo-wrap .wpf-forum:nth-of-type(even),
.community-page #wpforo-wrap .wpf-topic:nth-of-type(even),
.community-page #wpforo-wrap .wpf-post:nth-of-type(even),
.community-page #wpforo-wrap .wpforo-forum:nth-of-type(even),
.community-page #wpforo-wrap .wpforo-topic:nth-of-type(even) {
  background: #f3fbf6;
}

.community-page #wpforo-wrap .wpf-row,
.community-page #wpforo-wrap .wpf-topic-row,
.community-page #wpforo-wrap .wpf-post-row,
.community-page #wpforo-wrap .wpforo-row {
  border-top: 1px solid rgba(217, 234, 223, 0.9);
}

.community-page #wpforo-wrap .wpf-row:first-child,
.community-page #wpforo-wrap .wpf-topic-row:first-child,
.community-page #wpforo-wrap .wpf-post-row:first-child,
.community-page #wpforo-wrap .wpforo-row:first-child {
  border-top: 0;
}

.community-page #wpforo-wrap .wpf-forum-content,
.community-page #wpforo-wrap .wpf-topic-content,
.community-page #wpforo-wrap .wpf-post-content {
  line-height: 1.6;
}

.community-page #wpforo-wrap .wpf-last-post,
.community-page #wpforo-wrap .wpf-topic-meta,
.community-page #wpforo-wrap .wpf-stat-data,
.community-page #wpforo-wrap .wpf-forum-stat,
.community-page #wpforo-wrap .wpf-topic-stat,
.community-page #wpforo-wrap .wpf-post-meta,
.community-page #wpforo-wrap .wpf-user-title {
  color: var(--celtic-forum-muted);
}

.community-page #wpforo-wrap .wpf-status-icon,
.community-page #wpforo-wrap i,
.community-page #wpforo-wrap svg {
  color: #00a651;
}

.community-page #wpforo-wrap .wpf-avatar,
.community-page #wpforo-wrap img.avatar {
  border: 2px solid rgba(0, 166, 81, 0.16);
  box-shadow: 0 6px 14px rgba(7, 17, 11, 0.05);
}

.community-page #wpforo-wrap .wpf-editor-wrap,
.community-page #wpforo-wrap .wpf-form-wrapper,
.community-page #wpforo-wrap .wpf-topic-create-wrap,
.community-page #wpforo-wrap .wpf-post-create-wrap,
.community-page #wpforo-wrap .wpf-form-wrap {
  border: 1px solid var(--celtic-forum-border);
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, #fffdf6);
  box-shadow: 0 10px 22px rgba(7, 17, 11, 0.05);
}

.community-page #wpforo-wrap .wpf-form-wrapper,
.community-page #wpforo-wrap .wpf-topic-create-wrap,
.community-page #wpforo-wrap .wpf-post-create-wrap,
.community-page #wpforo-wrap .wpf-form-wrap {
  padding: 1rem;
}

.community-page #wpforo-wrap .wpf-form-head,
.community-page #wpforo-wrap .wpf-editor-head,
.community-page #wpforo-wrap .wpf-topic-form-head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--celtic-forum-border);
}

.community-page #wpforo-wrap .wpf-form-head,
.community-page #wpforo-wrap .wpf-form-head *,
.community-page #wpforo-wrap .wpf-editor-head,
.community-page #wpforo-wrap .wpf-editor-head * {
  color: #102018;
}

.community-page #wpforo-wrap .wpf-form-row,
.community-page #wpforo-wrap .wpf-field,
.community-page #wpforo-wrap .wpf-extra-fields {
  margin-bottom: 0.85rem;
}

.community-page #wpforo-wrap .wpf-editor-wrap .ql-toolbar,
.community-page #wpforo-wrap .wpf-editor-wrap .mce-toolbar,
.community-page #wpforo-wrap .wpf-editor-wrap .wp-editor-tabs {
  border-color: var(--celtic-forum-border);
  background: #f3fbf6;
}

.community-page #wpforo-wrap .wpf-editor-wrap .ql-container,
.community-page #wpforo-wrap .wpf-editor-wrap iframe,
.community-page #wpforo-wrap .wpf-editor-wrap .wp-editor-area {
  border-color: var(--celtic-forum-border);
  background: #ffffff;
}

.community-page #wpforo-wrap .wpf-rss,
.community-page #wpforo-wrap .wpf-rss-link,
.community-page #wpforo-wrap .wpf-icon-legend,
.community-page #wpforo-wrap .wpf-statbox,
.community-page #wpforo-wrap .wpf-forum-legend,
.community-page #wpforo-wrap .wpf-legend,
.community-page #wpforo-wrap .wpf-link-rss {
  display: none !important;
}

@media (max-width: 1024px) {
  .video-hub-head {
    grid-template-columns: 1fr;
  }

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

  .home-youtube-head {
    grid-template-columns: 1fr;
  }

  .home-youtube-status-wrap {
    justify-content: flex-start;
  }

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

@media (max-width: 767px) {
  .video-hub-grid {
    grid-template-columns: 1fr;
  }

  .video-hub-body {
    padding: 0.9rem;
  }

  .video-hub-meta {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .home-youtube-grid {
    grid-template-columns: 1fr;
  }

  .home-youtube-shell {
    padding: 1.1rem;
    border-radius: 1.35rem;
  }

  .home-youtube-card-body {
    padding: 0.9rem;
  }

  .home-youtube-meta {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

.community-page #wpforo-wrap .wpf-member-info,
.community-page #wpforo-wrap .wpf-post-footer,
.community-page #wpforo-wrap .wpf-user-profile {
  border-color: var(--celtic-forum-border);
}

.community-page #wpforo-wrap .wpf-page a.current,
.community-page #wpforo-wrap .wpf-page .current,
.community-page #wpforo-wrap .wpf-pagination a.current,
.community-page #wpforo-wrap .wpf-pagination .current {
  border-color: rgba(0, 166, 81, 0.48);
  background: linear-gradient(180deg, #16c766, #00a651);
  color: #ffffff;
}

.community-page #wpforo-wrap .wpf-page a,
.community-page #wpforo-wrap .wpf-pagination a {
  border-radius: 999px;
}

@media (max-width: 63.9375rem) {
  .community-page .feature-panel.simple-page-panel {
    padding: 0.95rem;
  }

  .community-page #wpforo-wrap .wpf-menu,
  .community-page #wpforo-wrap .wpf-menu ul {
    gap: 0.45rem;
  }

  .community-page #wpforo-wrap .wpf-menu li a {
    width: 100%;
  }
}

@media (max-width: 47.9375rem) {
  .community-page #wpforo-wrap #wpforo-menu {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
  }

  .community-page #wpforo-wrap #wpforo-menu > .wpf-left,
  .community-page #wpforo-wrap #wpforo-menu > .wpf-bar-right {
    display: block !important;
    float: none !important;
    width: 100%;
  }

  .community-page #wpforo-wrap #wpforo-menu > .wpf-left {
    max-width: 100%;
  }

  .community-page #wpforo-wrap .wpf-menu,
  .community-page #wpforo-wrap .wpf-menu ul {
    gap: 0.4rem;
    margin-bottom: 0;
  }

  .community-page #wpforo-wrap .wpf-menu li {
    flex: 1 1 calc(50% - 0.4rem);
  }

  .community-page #wpforo-wrap .wpf-menu li a,
  .community-page #wpforo-wrap .wpf-menu li:not(.wpf-menu-active) a {
    width: 100%;
    min-height: 2.55rem;
    padding: 0.62rem 0.8rem;
    font-size: 0.94rem;
    line-height: 1.1;
  }

  .community-page #wpforo-wrap .wpf-search {
    width: 100%;
  }

  .community-page #wpforo-wrap .wpf-search-form {
    width: 100%;
  }

  .community-page #wpforo-wrap .forum-search-form,
  .community-page #wpforo-wrap .wpf-search-form form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
  }

  .community-page #wpforo-wrap .wpf-search-form i {
    display: none;
  }

  .community-page #wpforo-wrap .wpf-search-field {
    width: 100%;
    min-width: 0;
    margin-right: 0 !important;
  }

  .community-page #wpforo-wrap .forum-search-submit {
    min-width: 5.75rem;
    min-height: 2.8rem;
    padding: 0.65rem 0.95rem;
  }

  .community-page #wpforo-wrap .wpf-breadcrumb,
  .community-page #wpforo-wrap .wpf-forum-breadcrumps,
  .community-page #wpforo-wrap .wpf-breadcrumbs,
  .community-page #wpforo-wrap .wpf-topic-breadcrumps {
    margin-bottom: 0.6rem;
    padding: 0.62rem 0.75rem;
  }

  .community-page #wpforo-wrap .wpf-item-element {
    font-size: 0.78rem;
  }

  .community-page #wpforo-wrap .wpf-head-bar {
    margin-bottom: 0.45rem;
  }

  .community-page #wpforo-wrap #wpforo-title,
  .community-page #wpforo-wrap .wpf-topic-title,
  .community-page #wpforo-wrap .wpforo-topic-title {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.14;
    text-wrap: balance;
  }

  .community-page #wpforo-wrap .wpf-action-link {
    margin-top: 0.35rem;
  }

  .community-page #wpforo-wrap .wpforo-post-head {
    display: none;
  }

  .community-page #wpforo-wrap .wpforo-post,
  .community-page #wpforo-wrap .wpf-post,
  .community-page #wpforo-wrap .post-wrap {
    margin-bottom: 0.75rem;
  }

  .community-page #wpforo-wrap .wpforo-post > .wpf-left,
  .community-page #wpforo-wrap .wpforo-post > .wpf-right {
    float: none;
    width: 100%;
  }

  .community-page #wpforo-wrap .wpforo-post > .wpf-left {
    padding: 0.8rem 0.85rem 0.55rem;
    border-bottom: 1px solid rgba(217, 234, 223, 0.9);
  }

  .community-page #wpforo-wrap .wpforo-post > .wpf-right {
    padding: 0.75rem 0.85rem 0.95rem;
  }

  .community-page #wpforo-wrap .author-avatar {
    margin-bottom: 0.55rem;
  }

  .community-page #wpforo-wrap .author-data,
  .community-page #wpforo-wrap .author-name,
  .community-page #wpforo-wrap .author-title,
  .community-page #wpforo-wrap .author-joined,
  .community-page #wpforo-wrap .author-posts,
  .community-page #wpforo-wrap .wpf-author-nicename {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .community-page #wpforo-wrap .wpforo-post-content-top {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.6rem;
    align-items: center;
    margin-bottom: 0.55rem;
  }

  .community-page #wpforo-wrap .wpforo-post-content h1 {
    margin: 0 0 0.75rem;
    font-size: 1.9rem;
    line-height: 1.02;
    text-wrap: balance;
  }

  .community-page #wpforo-wrap .wpforo-post-content p {
    margin: 0 0 0.78rem;
    font-size: 0.98rem;
    line-height: 1.58;
    text-wrap: pretty;
  }

  .community-page #wpforo-wrap .bottom {
    padding: 0 0.85rem 0.85rem;
  }
}
.cfb-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.header-user-links,
.mobile-user-links,
.hero-user-links,
.footer-user-links,
.page-user-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.header-user-links {
    align-items: center;
    gap: 0.55rem;
}

.header-user-links .button {
    min-width: 0;
    white-space: nowrap;
}

.hero-account-links {
    margin-top: 1rem;
}

.hero-user-links .button,
.page-user-links .button,
.footer-user-links .button {
    min-height: 2.75rem;
}

.account-shell {
    padding: 2rem 0;
}

.account-panel,
.account-list-card,
.account-stat-card {
    border-radius: 1.5rem;
}

.account-panel {
    display: grid;
    gap: 1.2rem;
    padding: clamp(1.2rem, 1.8vw, 2rem);
}

.account-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.account-actions,
.account-entry-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.account-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.account-stat-card {
    padding: 0.95rem 1rem;
    background: linear-gradient(180deg, #fffdf6 0%, #f3fbf6 100%);
    border: 1px solid #d9eadf;
}

.account-stat-card span {
    display: block;
    color: #5f6f66;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-stat-card strong {
    display: block;
    margin-top: 0.35rem;
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    color: #0f2d1f;
    line-height: 1.15;
}

.account-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.account-list-card {
    padding: 1.1rem;
}

.account-entry-list {
    display: grid;
    gap: 0.75rem;
}

.account-entry {
    display: flex;
    justify-content: space-between;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 0.95rem;
    border: 1px solid #d9eadf;
    border-radius: 1rem;
    background: #fff;
}

.account-entry h3 {
    margin: 0 0 0.22rem;
    font-size: 1rem;
    line-height: 1.25;
}

.account-entry p {
    margin: 0;
    color: #5f6f66;
    font-size: 0.92rem;
    line-height: 1.45;
}

.account-form-wrap {
    display: grid;
    gap: 1rem;
}

.account-form-wrap .login-username label,
.account-form-wrap .login-password label,
.account-form-wrap .login-remember label {
    display: block;
    margin-bottom: 0.5rem;
    color: #123222;
    font-weight: 600;
}

.account-form-wrap input:not([type="checkbox"]),
.account-form-wrap textarea,
.account-form-wrap select {
    width: 100%;
    min-height: 3rem;
    border: 1px solid #d9eadf;
    border-radius: 0.95rem;
    padding: 0.85rem 1rem;
    background: #fffdf8;
}

.account-form-wrap .login-submit {
    margin-top: 0.75rem;
}

.account-form-note {
    display: grid;
    gap: 0.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid #d9eadf;
    border-radius: 1rem;
    background: #fff;
}

.account-form-note strong {
    color: #0f2d1f;
    font-size: 0.96rem;
}

.account-form-note p {
    margin: 0;
    color: #5f6f66;
    font-size: 0.9rem;
}

.account-contribution-hero {
    display: grid;
    gap: 1rem;
    padding: 1.15rem;
    border-radius: 1.5rem;
    border: 1px solid #d9eadf;
    background: linear-gradient(135deg, #07110b 0%, #0f3c26 52%, #1b6d45 100%);
    color: #ffffff;
}

.account-contribution-hero__copy h2,
.account-contribution-hero__copy .section-copy,
.account-contribution-hero .eyebrow,
.account-contribution-hero .section-copy {
    color: #ffffff;
}

.account-contribution-hero .eyebrow {
    opacity: 0.9;
}

.account-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.account-kpi-pill {
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
}

.account-kpi-pill span {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-kpi-pill strong {
    display: block;
    margin-top: 0.25rem;
    color: #ffffff;
    font-size: 1.15rem;
    line-height: 1.15;
}

.account-contribution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.account-contribution-card {
    display: grid;
    gap: 0.9rem;
    padding: 1.1rem;
    border-radius: 1.25rem;
}

.account-contribution-card h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.2;
}

.account-task-list {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.account-task-list li {
    position: relative;
    padding-left: 1rem;
    color: #264737;
    font-size: 0.94rem;
    line-height: 1.45;
}

.account-task-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 999px;
    background: #0da64d;
    box-shadow: 0 0 0 0.18rem rgba(13, 166, 77, 0.14);
}

.account-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.contact-form-panel {
    gap: 1.5rem;
}

.celtic-club-form,
.compact-update-form,
.celtic-contact-form {
    gap: 1rem;
}

.simple-page-panel--support {
    margin-top: 1.5rem;
}

.celtic-contact-form .form-grid,
.celtic-contact-form .card-actions {
    gap: 1rem;
}

.celtic-contact-form textarea {
    min-height: 11rem;
    resize: vertical;
}

.celtic-contact-form .button {
    min-width: 14rem;
}

.submission-history-panel {
    margin-top: 1rem;
}

.submission-history-panel > *:last-child {
    margin-bottom: 0;
}

.footer-user-links {
    margin-top: 1rem;
}

.mobile-user-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.85rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.mobile-user-links .button {
    width: 100%;
    min-width: 0;
    min-height: 2.8rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.86rem;
}

@media (max-width: 1100px) {
    .account-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .account-two-column,
    .account-panel-header {
        grid-template-columns: 1fr;
        display: grid;
    }

    .club-login-prompt__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .header-user-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .form-grid--two-column {
        grid-template-columns: 1fr;
    }

    .submission-shortcuts {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .submission-shortcut {
        padding: 0.85rem 0.9rem;
    }

    .submission-mode-switch {
        flex-direction: column;
        align-items: stretch;
    }

    .submission-mode-switch .button,
    .celtic-contact-form .button,
    .static-form .card-actions .button {
        width: 100%;
        min-width: 0;
    }

    .account-stat-grid,
    .account-two-column,
    .account-contribution-grid,
    .account-kpi-grid {
        grid-template-columns: 1fr;
    }

    .account-entry {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-entry-actions,
    .account-actions,
    .account-inline-links {
        width: 100%;
    }

    .account-entry-actions .text-link,
    .account-inline-links .text-link {
        display: inline-flex;
        min-height: 2.4rem;
        align-items: center;
    }

    .account-panel,
    .account-list-card,
    .account-contribution-card,
    .club-login-prompt__aside {
        border-radius: 1.1rem;
    }

    .home-command-section .hero-search-shell {
        gap: 0.85rem;
    }

    .home-command-section .home-command-copy h2 {
        max-width: 11ch;
    }

    .hero-chip-row {
        gap: 0.45rem;
    }

    .hero-chip-row .chip {
        min-height: 2.15rem;
        padding: 0.48rem 0.72rem;
        font-size: 0.78rem;
    }

    .hero-user-links,
    .page-user-links,
    .footer-user-links {
        flex-direction: column;
    }

    .footer-user-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        align-items: stretch;
    }

    .footer-user-links .button {
        width: 100%;
        min-width: 0;
    }

    .footer-user-links .user-action-link--visit-forum {
        grid-column: 1 / -1;
    }

    .footer-user-links .user-action-link--footer-mobile-hide {
        display: none;
    }
}

@media (max-width: 640px) {
    .celtic-contact-form .card-actions,
    .simple-page-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .celtic-contact-form .button,
    .simple-page-actions .button {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 48rem) {
    .community-screening-card__top {
        flex-direction: column;
    }

    .venue-card-save {
        justify-content: flex-start;
    }
}

