@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-v23-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-v23-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-v23-latin-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #009b55;
  --green-bright: #12c777;
  --green-dark: #07502f;
  --green-deep: #062a1a;
  --ink: #142018;
  --muted: #617067;
  --line: #d9e2dc;
  --paper: #ffffff;
  --wash: #f2f5f2;
  --dark: #07110b;
  --danger: #b42318;
  --warning: #a15c00;
  --notice: #0b63ce;
  --shadow: 0 12px 34px rgba(5, 42, 25, 0.10);
  --radius: 20px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 280px;
  scroll-behavior: smooth;
  background: var(--dark);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--wash);
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--green-dark);
}

a:hover {
  color: var(--green);
}

:focus-visible {
  outline: 3px solid rgba(18, 199, 119, 0.55);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  background: #ffffff;
  color: #000000;
  font-weight: 600;
}

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

.container {
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.section.compact {
  padding: 44px 0;
}

.section.dark {
  background: var(--dark);
  color: #ffffff;
}

.section.green {
  background: var(--green-deep);
  color: #ffffff;
}

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

.section-title {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.dark .section-title,
.green .section-title {
  color: #ffffff;
}

.section-intro {
  max-width: 720px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.08rem;
}

.dark .section-intro,
.green .section-intro {
  color: #c7d5cc;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Main navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 7000;
  background: rgba(7, 17, 11, 0.97);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(var(--content), calc(100% - 40px));
  height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  min-width: 0;
}

.site-brand:hover {
  color: #ffffff;
}

.site-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-brand span {
  display: grid;
  line-height: 1.2;
}

.site-brand small {
  color: #aebdb4;
  font-size: 0.72rem;
  font-weight: 400;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav a,
.desktop-nav button {
  border: 0;
  border-radius: 12px;
  padding: 11px 13px;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.desktop-nav button:hover,
.desktop-nav button[aria-expanded="true"] {
  background: rgba(18, 199, 119, 0.16);
  color: #ffffff;
}

.mobile-tabs {
  display: none;
}

.more-panel {
  position: fixed;
  z-index: 7600;
  top: 84px;
  right: max(20px, calc((100vw - var(--content)) / 2));
  width: min(430px, calc(100vw - 40px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.more-panel[hidden] {
  display: none;
}

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

.more-grid a {
  min-height: 76px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 10px 8px;
  border-radius: 12px;
  background: var(--wash);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
}

.more-grid a:hover {
  background: #e2eee6;
  color: var(--green-dark);
}

.more-grid span {
  font-size: 1.25rem;
  line-height: 1;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 7500;
  background: rgba(0, 0, 0, 0.55);
}

.menu-backdrop[hidden] {
  display: none;
}

/* Buttons */
.button,
button.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--green);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #008648;
  color: #ffffff;
}

.button.secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--green-dark);
}

.button.secondary:hover {
  background: #e9f1eb;
  color: var(--green-dark);
}

.button.dark {
  background: var(--dark);
  color: #ffffff;
}

.button.danger {
  background: var(--danger);
  color: #ffffff;
}

.button.small {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 0.88rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Homepage hero */
.home-hero {
  position: relative;
  min-height: min(730px, 82vh);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--dark);
  color: #ffffff;
}

.home-hero > img.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.50;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 15, 9, 0.16), rgba(5, 15, 9, 0.88));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 40px));
  padding: 70px 0;
  text-align: center;
}

.hero-club-logo {
  width: clamp(118px, 15vw, 178px);
  height: clamp(118px, 15vw, 178px);
  margin: 0 auto 22px;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.4));
}

.hero-content h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-content .lead {
  max-width: 720px;
  margin: 22px auto 28px;
  color: #dce8e0;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
}

.hero-meta {
  margin-top: 20px;
  color: #a7c4b2;
  font-size: 0.92rem;
}

/* Page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--green-deep);
  color: #ffffff;
}

.page-hero.has-image {
  min-height: 420px;
  display: grid;
  align-items: end;
}

.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 42, 26, 0.10), rgba(6, 30, 19, 0.92));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
  padding: 74px 0 58px;
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #d7e4dc;
  font-size: 1.08rem;
}

/* Notices and news */
.alert-stack {
  display: grid;
  gap: 10px;
  margin: 22px auto 0;
}

.club-alert {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 15px 18px;
  border: 1px solid #b9d7ff;
  border-radius: 14px;
  background: #edf5ff;
  color: #12385f;
}

.club-alert strong {
  display: block;
  margin-bottom: 2px;
}

.club-alert time {
  color: #466884;
  font-size: 0.78rem;
}

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

.news-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #dfe8e2;
}

.news-card-body {
  padding: 20px;
}

.news-card h3 {
  margin: 8px 0 8px;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.25;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: var(--muted);
  font-size: 0.8rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e7f3eb;
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge.notice {
  background: #e7f1ff;
  color: var(--notice);
}

.badge.news {
  background: #e7f3eb;
  color: var(--green-dark);
}

.badge.banner {
  background: #e7f1ff;
  color: #164f86;
}

.badge.update {
  background: #fff3dd;
  color: var(--warning);
}

.badge.pinned {
  background: #efe8ff;
  color: #6941c6;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed #b8c7bd;
  border-radius: 18px;
  background: #ffffff;
  color: var(--muted);
  text-align: center;
}



/* Closable homepage announcement banner */
.home-banner-host:empty {
  display: none;
}

.home-banner-host {
  position: fixed;
  z-index: 6900;
  top: 76px;
  right: 0;
  left: 0;
  padding: 10px 16px 0;
  pointer-events: none;
}

.home-announcement {
  width: min(1180px, calc(100% - 24px));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-inline: auto;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: #0b5132;
  color: #ffffff;
  box-shadow: 0 12px 35px rgba(0, 24, 14, 0.28);
  pointer-events: auto;
}

.home-announcement-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 700;
}

.home-announcement-copy strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1rem;
}

.home-announcement-copy span {
  display: block;
  color: #e1f0e7;
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-line;
}

.home-announcement-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.home-announcement-close:hover,
.home-announcement-close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

/* Cards and grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

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

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

.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.card p,
.section.green .card p,
.section.dark .card p {
  color: var(--muted) !important;
}

.card h2,
.card h3,
.card h4 {
  margin: 0 0 9px;
  color: var(--ink);
  line-height: 1.25;
}

.card p:last-child {
  margin-bottom: 0;
}

.icon-tile {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 13px;
  background: #e4f3e9;
  color: var(--green-dark);
  font-size: 1.35rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
}

.stat {
  padding: 26px 18px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.stat strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.stat span {
  color: #b8cbbf;
  font-size: 0.9rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.team-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.team-card:hover {
  transform: translateY(-3px);
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(5, 42, 25, 0.16);
}

.team-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  object-position: bottom center;
  padding: 18px 18px 0;
  background: linear-gradient(145deg, #e6efe9, #f8faf8);
}

.team-card-body {
  padding: 16px;
}

.team-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.team-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.sponsor-card {
  min-height: 130px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
}


.sponsor-card-dark {
  background: #17211b;
  border-color: #17211b;
}

.sponsor-card-dark:hover {
  background: #0b120e;
}

.sponsor-card img {
  width: 100%;
  max-width: 170px;
  max-height: 85px;
  object-fit: contain;
}

.person-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.person-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.person-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  object-position: bottom center;
  padding: 16px 16px 0;
  background: #e9f0eb;
}



.person-card.no-photo {
  display: grid;
  grid-template-rows: 180px auto;
}

.person-placeholder {
  display: grid;
  place-items: center;
  min-height: 180px;
  background: linear-gradient(145deg, #e4eee8, #f4f7f5);
  color: var(--green-dark);
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.person-card.no-photo .person-card-body {
  align-self: end;
}

.person-card-body {
  padding: 18px;
}

.person-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.person-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.86rem;
  font-weight: 600;
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.feature-split.reverse > :first-child {
  order: 2;
}

.feature-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.prose {
  max-width: 780px;
}

.prose h2,
.prose h3 {
  margin-top: 1.8em;
  color: var(--green-dark);
  line-height: 1.25;
}

.prose p,
.prose li {
  color: #35443b;
}

.prose a {
  font-weight: 600;
}

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

.quote-card {
  padding: 24px;
  border-left: 5px solid var(--green);
  border-radius: 0 16px 16px 0;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.quote-card blockquote {
  margin: 0;
  color: #314139;
}

.quote-card cite {
  display: block;
  margin-top: 14px;
  color: var(--green-dark);
  font-style: normal;
  font-weight: 600;
}

/* Fixture hub */
.fixture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fixture-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.fixture-card h2 {
  margin: 0;
  font-size: 1.2rem;
}

.fixture-card p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.fa-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 26px;
  padding: 16px 18px;
  border: 1px solid #c9ddcf;
  border-radius: 14px;
  background: #edf5ef;
}

/* Forms */
.form-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

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

.field {
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field .field-label {
  display: block;
  margin-bottom: 7px;
  color: #24352b;
  font-size: 0.9rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #b9c7be;
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(0, 155, 85, 0.14);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.form-help {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.8rem;
}

.status-message {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #eaf6ee;
  color: #185c37;
}

.status-message.error {
  background: #ffefed;
  color: var(--danger);
}

.status-message[hidden] {
  display: none;
}

/* Admin */
.admin-body {
  background: #edf2ee;
}

.admin-banner {
  padding: 34px;
  border-radius: 22px;
  background: linear-gradient(135deg, #062a1a, #0b5c36);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.admin-banner h1 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
}

.admin-banner p {
  margin: 0;
  color: #c8dbcf;
}

.admin-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.admin-action {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.admin-action:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

.admin-action strong {
  color: var(--green-dark);
  font-size: 1.02rem;
}

.admin-action span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 20px;
  align-items: start;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-list-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.admin-list-item h3 {
  margin: 5px 0;
  font-size: 1rem;
}

.admin-list-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* Booking calendar */
.booking-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.booking-toolbar h1,
.booking-toolbar h2 {
  margin: 0;
}

.calendar-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays div {
  padding: 11px 6px;
  border-bottom: 1px solid var(--line);
  background: #eaf0ec;
  color: #415046;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
}

.calendar-day {
  position: relative;
  min-height: 126px;
  padding: 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.calendar-day:nth-child(7n) {
  border-right: 0;
}

.calendar-day.outside {
  background: #f7f9f7;
  color: #96a19a;
}

.calendar-day.today {
  background: #f0faf4;
}

.day-heading {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  align-items: center;
}

.day-number {
  font-size: 0.85rem;
  font-weight: 600;
}

.add-booking {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--green-dark);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.1rem;
}

.day-bookings {
  display: grid;
  gap: 4px;
  margin-top: 7px;
}

.booking-chip {
  overflow: hidden;
  padding: 4px 6px;
  border-radius: 6px;
  background: #e6f2ea;
  color: #17462c;
  font-size: 0.67rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-chip.youth {
  background: #edf2ff;
  color: #274b86;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.68);
}

.modal[hidden] {
  display: none;
}

.modal-card {
  width: min(650px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.modal-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eef2ef;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
}

.modal-body {
  padding: 22px;
}

.booking-list {
  display: grid;
  gap: 12px;
}

.booking-row {
  display: grid;
  grid-template-columns: 120px minmax(150px, 1fr) minmax(150px, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.booking-row strong,
.booking-row span {
  display: block;
}

.booking-row small {
  color: var(--muted);
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

/* Login */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.75fr);
  background: var(--dark);
}

.login-photo {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.login-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.login-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 17, 11, 0.15), rgba(7, 17, 11, 0.88));
}

.login-panel {
  display: grid;
  place-items: center;
  padding: 40px;
  background: var(--dark);
}

.login-box {
  width: min(430px, 100%);
  color: #ffffff;
}

.login-box .login-logo {
  width: 86px;
  height: 86px;
  margin-bottom: 24px;
  object-fit: contain;
}

.login-box h1 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 2.5rem;
  line-height: 1.05;
}

.login-box p {
  color: #adbbb2;
}

.login-box .field label {
  color: #ffffff;
}

/* Footer */
.site-footer {
  padding: 54px 0 30px;
  background: var(--dark);
  color: #ffffff;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
  gap: 40px;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-brand img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-size: 1.05rem;
}

.footer-brand span {
  color: #aebdb4;
  font-size: 0.82rem;
}

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

.footer-links h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a,
.footer-links button {
  display: block;
  width: fit-content;
  margin: 7px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b8c7be;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.83rem;
}

.footer-links a:hover,
.footer-links button:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #91a096;
  font-size: 0.76rem;
}

.footer-accreditation {
  width: 210px;
  max-height: 68px;
  margin-top: 18px;
  object-fit: contain;
  object-position: left center;
}

/* Utility */
.text-centre {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.top-gap {
  margin-top: 24px;
}

.no-margin {
  margin: 0;
}

.divider {
  height: 1px;
  margin: 28px 0;
  background: var(--line);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #edf2ee;
  color: #34443a;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 1050px) {
  .team-grid,
  .sponsor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 820px) {
  .home-banner-host {
    top: 66px;
    padding: 8px 6px 0;
  }

  body {
    padding-top: 66px;
  }

  .site-header {
    display: none;
  }

  .mobile-tabs {
    position: fixed;
    inset: 0 0 auto;
    z-index: 7000;
    height: 66px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 4px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 17, 11, 0.98);
    backdrop-filter: blur(14px);
  }

  .mobile-tabs a,
  .mobile-tabs button {
    min-width: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1px;
    padding: 5px 2px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 500;
    cursor: pointer;
  }

  .mobile-tabs a span,
  .mobile-tabs button span {
    font-size: 1.02rem;
    line-height: 1;
  }

  .mobile-tabs a[aria-current="page"],
  .mobile-tabs button[aria-expanded="true"] {
    background: rgba(18, 199, 119, 0.19);
  }

  .more-panel {
    top: 74px;
    right: 10px;
    left: 10px;
    width: auto;
    max-height: none;
    overflow: visible;
  }

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

  .more-grid a {
    min-height: 66px;
    padding: 8px 4px;
    font-size: 0.70rem;
  }

  .section {
    padding: 54px 0;
  }

  .news-grid,
  .card-grid,
  .card-grid.two,
  .card-grid.four,
  .quote-grid,
  .fixture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-split,
  .admin-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .feature-split.reverse > :first-child {
    order: 0;
  }

  .booking-row {
    grid-template-columns: 110px minmax(0, 1fr) auto;
  }

  .booking-row .booking-pitch {
    grid-column: 2;
  }

  .calendar-day {
    min-height: 104px;
  }

  .login-page {
    grid-template-columns: 1fr;
  }

  .login-photo {
    display: none;
  }

  .login-panel {
    min-height: 100vh;
  }
}

@media (max-width: 620px) {
  .home-announcement {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 13px 14px;
    border-radius: 14px;
  }

  .home-announcement-icon {
    display: none;
  }

  .container,
  .narrow,
  .page-hero-content,
  .hero-content {
    width: min(100% - 24px, var(--content));
  }

  .home-hero {
    min-height: 620px;
  }

  .hero-content h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .page-hero.has-image {
    min-height: 330px;
  }

  .page-hero-content {
    padding: 52px 0 40px;
  }

  .news-grid,
  .card-grid,
  .card-grid.two,
  .card-grid.four,
  .team-grid,
  .sponsor-grid,
  .person-grid,
  .quote-grid,
  .fixture-grid,
  .admin-actions,
  .form-grid,
  .filter-bar {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .team-card {
    display: grid;
    grid-template-columns: 116px 1fr;
    align-items: stretch;
  }

  .team-card img {
    height: 100%;
    min-height: 126px;
    padding: 10px 4px 0;
  }

  .team-card-body {
    display: grid;
    align-content: center;
  }

  .person-card {
    display: grid;
    grid-template-columns: 120px 1fr;
  }

  .person-card img {
    height: 100%;
    min-height: 150px;
    padding: 12px 4px 0;
  }


  .person-card.no-photo {
    grid-template-columns: 120px 1fr;
    grid-template-rows: auto;
  }

  .person-card.no-photo .person-placeholder {
    min-height: 150px;
    height: 100%;
  }

  .calendar-shell {
    overflow-x: auto;
  }

  .calendar-weekdays,
  .calendar-grid {
    min-width: 650px;
  }

  .booking-row {
    grid-template-columns: 1fr;
  }

  .booking-row .booking-pitch {
    grid-column: auto;
  }

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

  .club-alert {
    grid-template-columns: auto 1fr;
  }

  .club-alert time {
    grid-column: 2;
  }

  .login-panel {
    padding: 28px 18px;
  }
}

@media (max-width: 390px) {
  .mobile-tabs a,
  .mobile-tabs button {
    font-size: 0.60rem;
  }

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

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Calendar content created by booking.js */
.calendar-day.outside-month {
  background: #f7f9f7;
  color: #96a19a;
}

.calendar-day-heading {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  align-items: center;
}

.calendar-day-heading > span {
  font-size: 0.85rem;
  font-weight: 600;
}

.calendar-add {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--green-dark);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.1rem;
}

.calendar-add:hover,
.calendar-add:focus-visible {
  background: var(--green);
}

.calendar-items {
  display: grid;
  gap: 4px;
  margin-top: 7px;
}

.calendar-booking {
  overflow: hidden;
  display: block;
  padding: 5px 7px;
  border-radius: 7px;
  background: #e6f2ea;
  color: #17462c;
  text-decoration: none;
  font-size: 0.67rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-booking strong {
  margin-right: 4px;
}

.calendar-booking.youth {
  background: #edf2ff;
  color: #274b86;
}

.calendar-booking:hover,
.calendar-booking:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

.calendar-more {
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 600;
}

/* Booking list content created by booking-view.js */
.booking-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.booking-row-main {
  min-width: 0;
}

.booking-row-main h3 {
  margin: 5px 0 3px;
}

.booking-row-main p {
  margin: 0;
}

.post-type {
  display: inline-flex !important;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e7f6ed;
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.booking-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 620px) {
  .booking-row {
    grid-template-columns: 1fr;
  }

  .booking-row-actions {
    justify-content: flex-start;
  }
}

/* PWFC push notifications */
.notification-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.notification-strip-copy {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.notification-strip-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-size: 22px;
}
.notification-strip h2 {
  margin: 0 0 3px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--ink);
}
.notification-strip p {
  margin: 0;
  color: var(--muted);
}
.push-toast {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 9999;
  max-width: min(390px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: 12px;
  background: #10251b;
  color: #ffffff;
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
  font-weight: 600;
}
.push-toast.error { background: #7f1d1d; }
.push-toast[hidden] { display: none !important; }
.push-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 600;
  color: var(--green);
}
@media (max-width: 700px) {
  .notification-strip {
    align-items: stretch;
    flex-direction: column;
  }
  .notification-strip .button {
    width: 100%;
  }
  .push-toast {
    right: 12px;
    bottom: 82px;
    max-width: calc(100vw - 24px);
  }
}

/* PWFC notification opt in modal, August 2026 */
.push-optin-modal {
  position: fixed;
  inset: 0;
  z-index: 1390;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 18, 12, .76);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.push-optin-modal[hidden] {
  display: none !important;
}

body.push-modal-open {
  overflow: hidden;
}

.push-optin-card {
  position: relative;
  width: min(520px, 100%);
  padding: 34px 32px 30px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: #ffffff;
  color: #16231c;
  box-shadow: 0 26px 80px rgba(0,0,0,.38);
  text-align: center;
}

.push-optin-card .eyebrow {
  margin: 0 0 7px;
  color: #0b6b3a;
}

.push-optin-card h2 {
  margin: 0;
  color: #123522;
  font-size: clamp(1.7rem, 5vw, 2.35rem);
  line-height: 1.08;
}

.push-optin-card > p:not(.eyebrow):not(.push-optin-note) {
  max-width: 430px;
  margin: 14px auto 0;
  color: #536158;
  line-height: 1.6;
}

.push-optin-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 22px;
  background: #e9f5ee;
  font-size: 34px;
  box-shadow: inset 0 0 0 1px rgba(11,107,58,.1);
}

.push-optin-enable {
  width: min(330px, 100%);
  margin-top: 22px;
  min-height: 52px;
  font-size: 1rem;
}

.push-optin-note {
  max-width: 420px;
  margin: 14px auto 0;
  color: #6d776f;
  font-size: .84rem;
  line-height: 1.5;
}

.push-optin-close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef2ef;
  color: #26342c;
  font: inherit;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.push-optin-close:hover,
.push-optin-close:focus-visible {
  background: #dfe8e2;
}

@media (max-width: 600px) {
  .push-optin-modal {
    padding: 18px;
  }

  .push-optin-card {
    padding: 30px 22px 24px;
    border-radius: 21px;
  }

  .push-optin-icon {
    width: 66px;
    height: 66px;
    font-size: 30px;
  }
}
