/**
 * brand.css — Styles for the PAASL site. Primary type: Plus Jakarta Sans 400.
 */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px; /* leave room for sticky nav when scrolling to anchors */
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  background: #ffffff;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
}

/* Top navbar */
.navbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #3d6b4e;
  text-decoration: none;
}

.navbar-brand:hover {
  color: #345d47;
}

/* Small season badge before Schedules in navbar */
.navbar-season-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2d5a3d;
  background: rgba(61, 107, 78, 0.12);
  border-radius: 999px;
  flex-shrink: 0;
}

.navbar-season-badge--mobile {
  display: block;
  margin: 8px 16px 12px;
  text-align: center;
}

.navbar-brand-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-link {
  padding: 8px 12px;
  font-size: 0.875rem;
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.navbar-link:hover {
  background: #f0f0f0;
  color: #3d6b4e;
}

.navbar-link--cta {
  background: #3d6b4e;
  color: #ffffff;
}

.navbar-link--cta:hover {
  background: #345d47;
  color: #ffffff;
}

.navbar-link--disabled {
  cursor: default;
  color: #666;
}
.navbar-link--disabled:hover {
  background: transparent;
}
.navbar-link--active {
  color: #3d6b4e;
  font-weight: 400;
}

/* Resources dropdown */
.navbar-item--dropdown {
  position: relative;
}

.navbar-dropdown-trigger {
  cursor: default;
}

.navbar-dropdown-trigger::after {
  content: "";
  display: inline-block;
  margin-left: 4px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  vertical-align: middle;
}

.navbar-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  margin: 4px 0 0;
  padding: 6px 0;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  list-style: none;
}

.navbar-item--dropdown:hover .navbar-dropdown {
  display: block;
}

.navbar-dropdown .navbar-link {
  display: block;
  padding: 8px 16px;
  border-radius: 0;
  white-space: nowrap;
}

.navbar-dropdown .navbar-link:hover {
  background: #f0f0f0;
}
.navbar-dropdown .navbar-link--disabled:hover {
  background: transparent;
}

/* Mobile: Resources as inline sub-nav */
.navbar-dropdown-label {
  display: block;
  padding: 12px 16px 4px;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
}

.navbar-dropdown--inline {
  display: block;
  position: static;
  margin: 0;
  padding: 0 0 8px;
  border: none;
  box-shadow: none;
  min-width: 0;
}

.navbar-dropdown--inline .navbar-link {
  padding: 8px 16px 8px 24px;
}

.navbar-item--dropdown-mobile .navbar-dropdown--inline {
  padding-left: 0;
}

.navbar-menu {
  display: none;
}

.navbar-menu-toggle {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3Cline x1='3' y1='18' x2='21' y2='18'/%3E%3C/svg%3E") center / 24px no-repeat;
  cursor: pointer;
  list-style: none;
}

.navbar-menu-toggle::-webkit-details-marker {
  display: none;
}

@media (max-width: 768px) {
  .navbar-links:not(.navbar-links--dropdown) {
    display: none;
  }

  .navbar-menu {
    display: block;
  }

  .navbar-menu[open] .navbar-menu-toggle {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  }

  .navbar-links--dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 8px;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .navbar-links--dropdown .navbar-link {
    display: block;
    padding: 12px 16px;
    border-radius: 6px;
    text-align: center;
  }

  .navbar-links--dropdown .navbar-dropdown-label {
    text-align: center;
  }

  .navbar-links--dropdown .navbar-dropdown--inline .navbar-link {
    text-align: center;
    padding-left: 16px;
    padding-right: 16px;
  }

  .navbar-links--dropdown .navbar-item--dropdown-mobile {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar-links--dropdown .navbar-dropdown--inline {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar-item--dropdown:not(.navbar-item--dropdown-mobile) {
    display: none;
  }
}

.progress-wrap {
  flex: 0 0 auto;
  padding: 12px 16px 0;
}

.progress-bar {
  height: 4px;
  background: #e5e5e5;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: #e5e5e5;
  border-radius: 999px;
}

/* Landing page — hero + KPI section */
.landing {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Landing hero — rounded card-style container (inspiration: clean layouts, white space) */
.hero {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 32px;
  overflow: hidden;
}

.hero--rounded {
  margin: 24px 20px 0;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

@media (min-width: 560px) {
  .hero--rounded {
    margin: 32px 32px 0;
    border-radius: 28px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(61, 107, 78, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 80% 50%, rgba(61, 107, 78, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #fafbf9 0%, #ffffff 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 520px;
  text-align: center;
}

/* KPI section — 4 boxes, grid layout (inspiration: data-driven design, key takeaways) */
.kpi-section {
  flex: 0 0 auto;
  padding: 32px 20px 40px;
}

.kpi-inner {
  max-width: 720px;
  margin: 0 auto;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 560px) {
  .kpi-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.kpi-card {
  background: #ffffff;
  border: 1px solid #e8ebe8;
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kpi-card:hover {
  border-color: rgba(61, 107, 78, 0.3);
  box-shadow: 0 4px 16px rgba(61, 107, 78, 0.08);
}

.kpi-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #3d6b4e;
  margin-bottom: 4px;
}

@media (min-width: 560px) {
  .kpi-value {
    font-size: 1.75rem;
  }
}

.kpi-label {
  display: block;
  font-size: 0.8125rem;
  color: #5a6b5e;
  letter-spacing: 0.02em;
}

/* ========== Landing-style landing (index) ========== */
.landing-page {
  padding: 0;
  /* Grow with content so footer appears below landing content (not pushed off). */
  min-height: auto;
  flex: 1 1 auto;
}

.landing-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
  overflow: hidden;
}

.landing-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(30, 60, 42, 0.75) 0%, rgba(45, 90, 61, 0.6) 40%, rgba(52, 93, 71, 0.55) 100%),
    url("/static/images/mfn.jpg") center / cover no-repeat;
  pointer-events: none;
}

.landing-hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Announcements section — strip above hero; dismissible items stored in localStorage */
.landing-announcements {
  background: #1e3c2a;
  padding: 10px 24px 12px;
  text-align: center;
}

.landing-announcements.landing-announcements--empty {
  display: none;
}

.landing-announcements-inner {
  max-width: 720px;
  margin: 0 auto;
}

.landing-announcement {
  position: relative;
  padding: 10px 40px 10px 16px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.landing-announcement.landing-announcement--dismissed {
  display: none;
}

.landing-announcement-dismiss {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.landing-announcement-dismiss:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.landing-announcement-dismiss:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.landing-announcement-badge {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1e3c2a;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
}

.landing-announcement-text {
  margin: 0;
  font-size: clamp(0.8125rem, 1.8vw, 0.9375rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

.landing-announcement-link {
  color: #ffffff;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.landing-announcement-link:hover {
  color: #ffffff;
  text-decoration: none;
}

.landing-hero-title {
  margin: 0 0 24px;
  font-size: clamp(2.75rem, 9vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff;
}

.landing-hero-tagline {
  margin: 0 0 36px;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.landing-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Hero CTAs — Perform-style "Start now" look: pill shape, shadow, hover lift */
.landing-btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 400;
  font-family: inherit;
  text-decoration: none;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-btn--primary {
  background: #ffffff;
  color: #1e3c2a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.landing-btn--primary:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.landing-btn--secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.landing-btn--secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.landing-btn--large {
  padding: 18px 40px;
  font-size: 1.0625rem;
}

/* Stats strip — landing KPIs: large number + label */
.landing-stats {
  padding: 56px 24px 64px;
  background: #f8f9f8;
  border-bottom: 1px solid #e8ebe8;
}

.landing-stats-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.landing-stats-lead {
  margin: 0 0 36px;
  font-size: 1rem;
  line-height: 1.6;
  color: #4a4a4a;
}

.landing-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 560px) {
  .landing-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}

.landing-stat {
  padding: 28px 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e8ebe8;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-stat:hover {
  border-color: rgba(61, 107, 78, 0.25);
  box-shadow: 0 6px 20px rgba(61, 107, 78, 0.06);
}

/* Large display number (e.g. 25+, 15K+, 42, 701) — prominent, bold green */
.landing-stat-value {
  display: block;
  font-size: 2.75rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #2d4a3a;
  margin-bottom: 10px;
}

@media (min-width: 560px) {
  .landing-stat-value {
    font-size: 3.5rem;
    margin-bottom: 12px;
  }
}

.landing-stat-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.4;
  color: #2a2a2a;
  letter-spacing: 0.02em;
}

/* Section block (reusable) */
.landing-section {
  padding: 64px 24px;
}

@media (min-width: 640px) {
  .landing-section {
    padding: 80px 32px;
  }
}

.landing-section--light {
  background: #f8f9f8;
}

.landing-section--dark {
  background: #1e3c2a;
  color: #ffffff;
}

.landing-section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.landing-section-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #1a1a1a;
  text-align: center;
}

.landing-section-title--light {
  color: #ffffff;
}

.landing-section-sub {
  margin: 0 0 40px;
  font-size: 1rem;
  line-height: 1.6;
  color: #4a4a4a;
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.landing-section-sub--light {
  color: rgba(255, 255, 255, 0.85);
}

.landing-section-cta {
  margin: 32px 0 0;
  text-align: center;
}

.landing-section-cta--light {
  margin-top: 40px;
}

.landing-link-light {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 400;
}

.landing-link-light:hover {
  text-decoration: underline;
}

/* Testimonials */
.landing-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .landing-testimonials {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.landing-testimonial {
  margin: 0;
  padding: 28px 20px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e8ebe8;
  text-align: center;
}

.landing-testimonial-quote {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #3d4540;
  font-style: italic;
}

.landing-testimonial-author {
  margin: 0;
  font-size: 0.8125rem;
  color: #5a6b5e;
}

/* Program / league cards */
.landing-programs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}

@media (min-width: 480px) {
  .landing-programs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px) {
  .landing-programs {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.landing-program-card {
  display: block;
  padding: 24px 20px;
  background: #ffffff;
  border: 1px solid #e8ebe8;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.landing-program-card:hover {
  border-color: #3d6b4e;
  box-shadow: 0 8px 24px rgba(61, 107, 78, 0.12);
  transform: translateY(-2px);
}

.landing-program-badge {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 12px;
  font-size: 0.6875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 6px;
  background: rgba(61, 107, 78, 0.12);
  color: #2d5a3d;
}

.landing-program-name {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 400;
  color: #1a1a1a;
}

.landing-program-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #4a4a4a;
}

/* Values grid (About) */
.landing-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 32px;
}

@media (min-width: 560px) {
  .landing-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 800px) {
  .landing-values {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.landing-value {
  text-align: center;
  padding: 0 8px;
}

.landing-value-icon {
  display: block;
  margin-bottom: 12px;
  font-size: 1.5rem;
  color: #3d6b4e;
}

.landing-section--dark .landing-value-icon {
  color: rgba(255, 255, 255, 0.9);
}

.landing-value-name {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 400;
  color: #1a1a1a;
}

.landing-section--dark .landing-value-name {
  color: #ffffff;
}

.landing-value-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #5a6b5e;
}

.landing-section--dark .landing-value-desc {
  color: rgba(255, 255, 255, 0.75);
}

/* CTA strip (bottom) */
.landing-cta-strip {
  padding: 64px 24px;
  background: linear-gradient(165deg, #2d5a3d 0%, #345d47 100%);
  text-align: center;
}

.landing-cta-strip-inner {
  max-width: 520px;
  margin: 0 auto;
}

.landing-cta-badge {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 16px;
  font-size: 0.8125rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1e3c2a;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
}

/* Muted badge for secondary announcements (e.g. coming soon) */
.landing-cta-badge--muted {
  color: #2d5a3d;
  background: rgba(45, 90, 61, 0.12);
}

.landing-cta-title {
  margin: 0 0 12px;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.landing-cta-body {
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 20px;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2d5a3d;
  background: rgba(61, 107, 78, 0.12);
  border-radius: 999px;
}

.hero-title {
  margin: 0 0 8px;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #1a1a1a;
}

.hero-tagline {
  margin: 0 0 4px;
  font-size: 1.125rem;
  color: #3d6b4e;
  letter-spacing: 0.01em;
}

.hero-session {
  margin: 0 0 28px;
  font-size: 0.9375rem;
  color: #5a6b5e;
}

.hero-body {
  margin: 0 0 32px;
  font-size: 1rem;
  line-height: 1.65;
  color: #3d4540;
}

.hero-cta {
  margin-top: 8px;
}

.hero-cta .btn-continue {
  padding: 18px 32px;
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(61, 107, 78, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-cta .btn-continue:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(61, 107, 78, 0.3);
}

.content {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.content-inner {
  max-width: 480px;
  text-align: center;
}

.content--page {
  align-items: flex-start;
  padding-top: 32px;
  /* Allow main to grow with content so footer stays at bottom of page, not viewport. */
  min-height: auto;
  flex: 1 1 auto;
}

.content-inner--text {
  max-width: 560px;
  text-align: left;
}

/* Policy pages: Markdown-rendered body (headings, lists, paragraphs). */
.policy-body {
  line-height: 1.6;
}
.policy-body h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: #1a1a1a;
}
.policy-body h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: #1a1a1a;
}
.policy-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: #333;
}
.policy-body p {
  margin: 0 0 0.75rem;
  color: #333;
}
.policy-body ul, .policy-body ol {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}
.policy-body li {
  margin-bottom: 0.25rem;
}
.policy-body hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 1.25rem 0;
}
.policy-body strong {
  font-weight: 600;
}

.content-inner--wide {
  max-width: 720px;
  text-align: left;
}

.content--fields {
  padding-top: 24px;
}

.fields-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0 32px;
}

@media (min-width: 480px) {
  .fields-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px) {
  .fields-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.field-card {
  position: relative;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field-card:hover {
  border-color: #3d6b4e;
  box-shadow: 0 4px 12px rgba(61, 107, 78, 0.08);
}

.field-card__type {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 12px;
  font-size: 0.6875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 6px;
}

.field-card__type--grass {
  background: #e8f5e9;
  color: #2e7d32;
}

.field-card__type--turf {
  background: #e3f2fd;
  color: #1565c0;
}

.field-card__type--sunday {
  background: #e8f5e9;
  color: #2e7d32;
}

.field-card__type--evening {
  background: #e3f2fd;
  color: #1565c0;
}

.field-card__name {
  margin: 0 0 6px;
  font-size: 1.0625rem;
  font-weight: 400;
  color: #1a1a1a;
}

.field-card__address {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #4a4a4a;
}

.field-card__map-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  color: #3d6b4e;
  text-decoration: none;
}

.field-card__map-link:hover {
  color: #345d47;
}

.field-card__map-link .material-symbols-outlined {
  font-size: 24px;
}

.field-card__note {
  margin: 10px 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #666;
}

/* Season filter above field grid (e.g. All, Spring 2026). */
.fields-season-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.fields-season-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.875rem;
  color: #1a1a1a;
  text-decoration: none;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.fields-season-link:hover {
  background: #ebebeb;
  border-color: #d0d0d0;
}

.fields-season-link--active {
  background: #3d6b4e;
  color: #fff;
  border-color: #3d6b4e;
}

.fields-season-link--active:hover {
  background: #345d47;
  border-color: #345d47;
  color: #fff;
}

/* Permit badges on field cards (links to PDFs). Styled distinctly from field type (turf/grass). */
.field-card__permits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.field-card__permit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #5d4037;
  text-decoration: none;
  background: #fff;
  border: 1px solid #8d6e63;
  border-radius: 6px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.field-card__permit:hover {
  background: #efebe9;
  border-color: #5d4037;
  color: #3e2723;
}

/* Teams page (e.g. Men's B): team cards with coordinator and action icons */
.content--teams {
  padding-top: 24px;
}

.teams-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0 32px;
}

@media (min-width: 480px) {
  .teams-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px) {
  .teams-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.team-card {
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.team-card:hover {
  border-color: #3d6b4e;
  box-shadow: 0 4px 12px rgba(61, 107, 78, 0.08);
}

.team-card--disabled {
  opacity: 0.75;
}

.team-card--disabled:hover {
  border-color: #e5e5e5;
  box-shadow: none;
}

.team-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.team-card__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
}

.team-card__score-badge {
  flex-shrink: 0;
  padding: 4px 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #3d6b4e;
  background: rgba(61, 107, 78, 0.12);
  border-radius: 20px;
}

.team-card__coordinator {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #4a4a4a;
}

.team-card__coordinator-icon {
  font-size: 20px;
  color: #3d6b4e;
  flex-shrink: 0;
}

.team-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.team-card__icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #3d6b4e;
  text-decoration: none;
  background: rgba(61, 107, 78, 0.08);
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.team-card__icon-link:hover {
  background: rgba(61, 107, 78, 0.14);
  color: #345d47;
}

.team-card__icon-link .material-symbols-outlined {
  font-size: 22px;
}

.team-card__icon-link--disabled {
  cursor: default;
  color: #999;
  pointer-events: none;
}

.team-card__icon-link--disabled:hover {
  background: rgba(61, 107, 78, 0.08);
  color: #999;
}

/* Team roster page: back link and table */
.content--roster {
  padding-top: 24px;
}

.roster-back {
  margin: 0 0 16px;
}

.roster-back__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: #3d6b4e;
  text-decoration: none;
}

.roster-back__link:hover {
  color: #345d47;
  text-decoration: underline;
}

.roster-back__link .material-symbols-outlined {
  font-size: 20px;
}

/* Current season badge on roster page (e.g. Spring 2026) */
.roster-season {
  margin: -8px 0 16px;
}

.roster-season-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2d5a3d;
  background: rgba(61, 107, 78, 0.12);
  border-radius: 999px;
}

.roster-actions {
  margin: 20px 0 24px;
}

/* Match Hero section pill-style buttons (landing-btn) */
.roster-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.9375rem;
  font-family: inherit;
  font-weight: 500;
  color: #fff;
  background: #3d6b4e;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.roster-print-btn:hover {
  background: #345d47;
}

.roster-print-btn .material-symbols-outlined {
  font-size: 20px;
}

.roster-table-wrap {
  overflow-x: auto;
  margin: 24px 0 32px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
}

.roster-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.roster-table th,
.roster-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
}

.roster-table th {
  font-weight: 600;
  color: #1a1a1a;
  background: #f9f9f9;
}

.roster-table th:first-child {
  border-radius: 12px 0 0 0;
}

.roster-table th:last-child {
  border-radius: 0 12px 0 0;
}

.roster-table tbody tr:hover {
  background: #fafafa;
}

.roster-table tbody tr:last-child td {
  border-bottom: none;
}

.roster-table__jersey {
  font-variant-numeric: tabular-nums;
  text-align: center;
  width: 2.5em;
}

.roster-table__name {
  font-weight: 500;
  color: #1a1a1a;
}

.roster-table__player-link {
  color: #1a1a1a;
  text-decoration: none;
}

.roster-table__player-link:hover {
  color: #3d6b4e;
  text-decoration: underline;
}

.roster-table__score {
  font-variant-numeric: tabular-nums;
}

.roster-table__flags {
  white-space: nowrap;
}

.roster-table__no-flag {
  color: #999;
}

.roster-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 6px;
}

.roster-flag--gk {
  background: #e3f2fd;
  color: #1565c0;
}

.roster-flag--gk .material-symbols-outlined {
  font-size: 16px;
}

.roster-flag--coord {
  background: rgba(61, 107, 78, 0.12);
  color: #2d5a3d;
}

.roster-flag--coord .material-symbols-outlined {
  font-size: 16px;
}

/* Roster table: mobile card layout for proper visibility on small screens */
@media (max-width: 640px) {
  .roster-table-wrap {
    overflow-x: visible;
    margin: 20px 0 28px;
    border: none;
    border-radius: 0;
  }

  .roster-table {
    font-size: 0.875rem;
  }

  .roster-table thead {
    display: none;
  }

  .roster-table tbody tr {
    display: block;
    padding: 14px 16px;
    margin-bottom: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
  }

  .roster-table tbody tr:hover {
    background: #fafafa;
  }

  .roster-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .roster-table tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border: none;
  }

  .roster-table tbody td:first-child {
    padding-top: 0;
  }

  .roster-table tbody td:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .roster-table tbody tr td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #4a4a4a;
    flex-shrink: 0;
    min-width: 72px;
  }

  .roster-table__jersey {
    width: auto;
    text-align: left;
  }

  .roster-table__flags {
    white-space: normal;
    flex-wrap: wrap;
  }

  .roster-table__flags::before {
    align-self: flex-start;
  }

  .roster-flag {
    margin-right: 6px;
    margin-bottom: 2px;
  }
}

.page-title {
  margin: 0 0 24px;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #1a1a1a;
}

/* About page: General / Board of Directors tabs */
.about-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
}

.about-tab {
  padding: 10px 16px;
  font-size: 0.9375rem;
  color: #4a4a4a;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.about-tab:hover {
  color: #1a1a1a;
}

.about-tab--active {
  color: #3d6b4e;
  border-bottom-color: #3d6b4e;
  font-weight: 500;
}

.about-panel {
  margin-top: 0;
}

.about-board-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.about-board-item {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.about-board-item:last-child {
  border-bottom: none;
}

.about-board-title {
  margin: 0 0 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3d6b4e;
}

.about-board-name {
  margin: 0;
  font-size: 1rem;
  color: #1a1a1a;
  line-height: 1.4;
}

@media (min-width: 720px) {
  .about-board-list {
    grid-template-columns: 1fr 1fr;
  }
}

.seasons-section {
  margin-bottom: 36px;
}

.seasons-section:last-child {
  margin-bottom: 0;
}

.seasons-heading {
  margin: 0 0 14px;
  font-size: 1.125rem;
  font-weight: 400;
  color: #3d6b4e;
}

.seasons-subheading {
  margin: 20px 0 8px;
  font-size: 1rem;
  font-weight: 400;
  color: #1a1a1a;
}

.seasons-list {
  margin: 0 0 12px;
  padding-left: 1.25rem;
  line-height: 1.6;
  color: #4a4a4a;
}

.seasons-section--current {
  padding: 20px 0;
  margin-bottom: 32px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fafafa;
  padding: 24px;
}

.seasons-current-dates {
  margin-bottom: 20px !important;
  font-size: 1rem;
  color: #3d6b4e;
  font-weight: 400;
}

.division-buttons .seasons-subheading {
  margin-top: 16px;
  margin-bottom: 10px;
}

.division-buttons .seasons-subheading:first-child {
  margin-top: 0;
}

.division-buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.division-btn {
  display: inline-block;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 400;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #ffffff;
  background: #3d6b4e;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.division-btn:hover {
  background: #345d47;
}

.content-body--small {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 0.8125rem;
  color: #666;
}

.content-title {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.content-tagline {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #3d6b4e;
}

.content-session {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: #666;
}

.content-body {
  margin: 0 0 1.25em;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #4a4a4a;
}

.content-body:last-of-type {
  margin-bottom: 0;
}

.content-body--lead {
  margin-bottom: 48px;
}

/* Extra spacing between lead and first section on About General */
.about-panel--general .content-body--lead + .seasons-section {
  margin-top: 1.5rem;
}

.about-panel--board .content-body--lead + .seasons-section {
  padding-top: 1.25rem;
}

/* FAQ — Landing-style accordion with chevron (accordion with chevron) */
.faq-list {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.faq-item {
  margin-bottom: 0;
  padding: 0;
  border-bottom: 1px solid #e5e5e5;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-details {
  display: block;
}

/* Summary row: question text + chevron on the right */
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 400;
  color: #1a1a1a;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-q::-webkit-details-marker,
.faq-q::marker {
  display: none;
}

.faq-q-text {
  flex: 1;
  padding-right: 8px;
}

/* Chevron: down when closed, rotates up when open */
.faq-chevron {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #1a1a1a;
  transition: transform 0.2s ease;
}

.faq-details[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-a {
  margin: 0 0 16px;
  padding: 0 0 20px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #4a4a4a;
}

.faq-a .content-link {
  font-size: inherit;
}

/* Blog page — Landing-style: hero + card grid (hero + card grid) */
.blog-page {
  flex: 1;
  padding: 0;
}

.blog-hero {
  padding: 64px 24px 56px;
  text-align: center;
  background: linear-gradient(180deg, #f8f9f8 0%, #ffffff 100%);
  border-bottom: 1px solid #e8ebe8;
}

@media (min-width: 640px) {
  .blog-hero {
    padding: 80px 32px 72px;
  }
}

.blog-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.blog-hero-title {
  margin: 0 0 16px;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #1a1a1a;
}

.blog-hero-tagline {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #4a4a4a;
}

.blog-posts {
  padding: 48px 24px 56px;
}

@media (min-width: 640px) {
  .blog-posts {
    padding: 64px 32px 72px;
  }
}

.blog-posts-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 560px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }
}

.blog-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e8ebe8;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  border-color: rgba(61, 107, 78, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.blog-card-thumb {
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: #e8ebe8;
}

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

.blog-card-content {
  padding: 20px 20px 24px;
}

.blog-card-date {
  display: block;
  margin-bottom: 10px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #5a6b5e;
  letter-spacing: 0.02em;
}

.blog-card-title {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #1a1a1a;
}

.blog-card-excerpt {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #4a4a4a;
}

.blog-card-body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #4a4a4a;
}

.blog-card-body .content-link {
  font-size: inherit;
}

.content-more {
  margin: 24px 0 0;
}

.content-link {
  font-size: 0.875rem;
  color: #3d6b4e;
  text-decoration: none;
}

.content-link:hover {
  text-decoration: underline;
}

.content-link-sep {
  display: inline-block;
  margin: 0 0.35em;
  font-size: 1rem;
  vertical-align: middle;
  color: #3d6b4e;
}

/* Site footer — multi-column links and league info */
.footer {
  flex: 0 0 auto;
  padding: 32px 24px 24px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  background: #f5f6f5;
  border-top: 1px solid #e5e5e5;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 32px;
  margin-bottom: 28px;
}

@media (min-width: 480px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 40px;
  }
}

.footer-col {
  margin: 0;
}

.footer-heading {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #3d6b4e;
}

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

.footer-links li {
  margin-bottom: 6px;
}

.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-link {
  font-size: 0.875rem;
  color: #4a4a4a;
  text-decoration: none;
}

.footer-link:hover {
  color: #3d6b4e;
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
  font-size: 0.8125rem;
  color: #666;
  text-align: center;
}

.footer-copy .footer-link {
  font-size: inherit;
}

.footer-version {
  color: #999;
  font-weight: 400;
}

.btn-continue {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 17px;
  font-weight: 400;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #ffffff;
  background: #3d6b4e;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}

.btn-continue:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

.btn-continue:not(:disabled):hover {
  background: #345d47;
}

/* Players page: full-width results; intro and search constrained for readability */
.content-inner--players {
  max-width: 100%;
  width: 100%;
  text-align: left;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* Referees page: same layout as players — left-aligned, full width */
.content-inner--referees {
  max-width: 100%;
  width: 100%;
  text-align: left;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.players-intro {
  max-width: 720px;
  margin-bottom: 24px;
}

.players-intro-subhead {
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 500;
  color: #1a1a1a;
}

.players-intro-lead {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.5;
  color: #3d4540;
}

.players-search {
  margin-bottom: 28px;
}

.players-search-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: #3d4540;
  margin-bottom: 8px;
}

.players-search-form {
  display: block;
}

.players-search-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.players-search-input {
  flex: 1;
  min-width: 180px;
  padding: 10px 14px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #1a1a1a;
}

.players-search-input:focus {
  outline: none;
  border-color: #3d6b4e;
  box-shadow: 0 0 0 2px rgba(61, 107, 78, 0.2);
}

.players-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 0.9375rem;
  font-weight: 400;
  font-family: inherit;
  color: #ffffff;
  background: #3d6b4e;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.players-search-btn:hover {
  background: #345d47;
}

.players-search-btn .material-symbols-outlined {
  font-size: 20px;
}

.players-results-heading {
  font-size: 1.125rem;
  font-weight: 400;
  color: #3d4540;
  margin: 0 0 16px;
}

.players-results {
  width: 100%;
  max-width: 100%;
}

.players-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 560px) {
  .players-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 900px) {
  .players-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1200px) {
  .players-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.player-card {
  display: block;
  padding: 20px;
  border: 1px solid #e8ebe8;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.player-card:hover {
  border-color: #3d6b4e;
  box-shadow: 0 4px 12px rgba(61, 107, 78, 0.08);
}

.player-card--red-card {
  border-left: 4px solid #c62828;
}

.player-card__red-card {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: #c62828;
  color: #fff;
  border-radius: 6px;
}

.player-card__red-card .material-symbols-outlined {
  font-size: 1rem;
}

.player-card__league {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  background: rgba(61, 107, 78, 0.12);
  color: #2d5a3d;
  border-radius: 6px;
  margin-bottom: 10px;
}

.player-card__teams {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.player-card__badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  background: rgba(61, 107, 78, 0.12);
  color: #2d5a3d;
  border-radius: 6px;
}

.player-card__name {
  margin: 0 0 4px;
  font-size: 1.0625rem;
  font-weight: 400;
  color: #1a1a1a;
}

.player-card__position {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #5a6b5e;
}

.player-card__team,
.player-card__rating {
  margin: 0;
  font-size: 0.875rem;
  color: #5a6b5e;
}

.player-card__rating-value {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-weight: 500;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #d0d9d2;
  border-radius: 4px;
}

.player-card__rating-icon {
  font-size: 0.875rem;
  color: #3d6b4e;
}

/* Referees list page */
.referees-intro {
  max-width: 720px;
  margin-bottom: 24px;
}

.referees-intro-subhead {
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 500;
  color: #1a1a1a;
}

.referees-intro-lead {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.5;
  color: #1a1a1a;
}

.referees-search {
  margin-top: 24px;
  margin-bottom: 28px;
}

.referees-search-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: #3d4540;
  margin-bottom: 8px;
}

.referees-search-form {
  display: block;
}

.referees-search-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.referees-search-input {
  flex: 1;
  min-width: 180px;
  padding: 10px 14px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #1a1a1a;
}

.referees-search-input:focus {
  outline: none;
  border-color: #3d6b4e;
  box-shadow: 0 0 0 2px rgba(61, 107, 78, 0.2);
}

.referees-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 0.9375rem;
  font-weight: 400;
  font-family: inherit;
  color: #ffffff;
  background: #3d6b4e;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.referees-search-btn:hover {
  background: #345d47;
}

.referees-search-btn .material-symbols-outlined {
  font-size: 20px;
}

.referees-results-heading {
  font-size: 1.125rem;
  font-weight: 400;
  color: #3d4540;
  margin: 0 0 16px;
}

.referees-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 560px) {
  .referees-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.referee-card {
  display: block;
  padding: 20px;
  border: 1px solid #e8ebe8;
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.referee-card:hover {
  border-color: #3d6b4e;
  box-shadow: 0 4px 12px rgba(61, 107, 78, 0.08);
}

.referee-card__league {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  background: rgba(61, 107, 78, 0.12);
  color: #2d5a3d;
  border-radius: 6px;
  margin-bottom: 10px;
}

.referee-card__name {
  margin: 0 0 6px;
  font-size: 1.0625rem;
  font-weight: 400;
  color: #1a1a1a;
}

.referee-card__level {
  margin: 0;
  font-size: 0.875rem;
  color: #5a6b5e;
}

/* Player profile page */
.player-profile-back {
  margin: 0 0 20px;
}

.player-profile-back .content-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
}

.player-profile-back .material-symbols-outlined {
  font-size: 20px;
}

.player-profile__header {
  margin-bottom: 24px;
}

.player-profile__league {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  background: rgba(61, 107, 78, 0.12);
  color: #2d5a3d;
  border-radius: 6px;
  margin-bottom: 10px;
}

.player-profile__teams {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.player-profile__badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  background: rgba(61, 107, 78, 0.12);
  color: #2d5a3d;
  border-radius: 6px;
}

.player-profile__red-card {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: #c62828;
  color: #fff;
  border-radius: 6px;
}

.player-profile__red-card .material-symbols-outlined {
  font-size: 1rem;
}

.player-profile__name {
  margin: 0 0 6px;
}

.player-profile__team,
.player-profile__rating {
  margin: 0;
  font-size: 1rem;
  color: #5a6b5e;
}

.player-profile__rating-value {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-weight: 500;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #d0d9d2;
  border-radius: 4px;
}

.player-profile__rating-icon {
  font-size: 1rem;
  color: #3d6b4e;
}

.player-profile__leagues {
  margin: 0 0 6px;
  font-size: 0.875rem;
  color: #5a6b5e;
}

.player-profile__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  margin: 0;
  font-size: 0.9375rem;
}

.player-profile__meta dt {
  color: #5a6b5e;
  font-weight: 400;
}

.player-profile__meta dd {
  margin: 0;
  color: #1a1a1a;
}

.player-profile__meta a {
  color: #3d6b4e;
  text-decoration: none;
}

.player-profile__meta a:hover {
  text-decoration: underline;
}

/* Player profile — golazo-style layout (hero, info boxes, bio, seasons, skills) */
.content--player-profile {
  align-items: flex-start;
}

.content-inner--player-profile {
  max-width: 960px;
  width: 100%;
  text-align: left;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.player-profile-hero {
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(61, 107, 78, 0.08), rgba(45, 90, 61, 0.06));
  border: 1px solid rgba(61, 107, 78, 0.2);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}

.player-profile-hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.player-profile-hero__main {
  flex: 1 1 280px;
}

.player-profile-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.player-profile-hero__title {
  margin: 0;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.player-profile-hero__avatar-row {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-start;
}

.player-profile-hero__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3d6b4e, #2d5a3d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.player-profile-hero__pills {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.player-profile-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #d0d9d2;
  background: #fff;
  color: #3d4540;
  font-size: 0.875rem;
}

.player-profile-hero__pill .material-symbols-outlined {
  font-size: 1.1rem;
}

.player-profile-hero__score {
  flex: 0 0 auto;
}

.player-profile-hero__score-card {
  min-width: 120px;
  text-align: center;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(61, 107, 78, 0.25);
  background: rgba(61, 107, 78, 0.1);
  box-shadow: 0 4px 12px rgba(61, 107, 78, 0.08);
}

.player-profile-hero__score-label {
  color: #5a6b5e;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.player-profile-hero__score-value {
  margin-top: 0.25rem;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #2d5a3d;
  font-variant-numeric: tabular-nums;
}

.player-profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 680px) {
  .player-profile-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.player-profile-card {
  background: #fff;
  border: 1px solid #e8ebe8;
  border-radius: 14px;
  padding: 1.25rem;
}

.player-profile-card--span-2 {
  grid-column: 1 / -1;
}

.player-profile-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #1a1a1a;
}

.player-profile-card__subtitle {
  font-size: 0.9rem;
  color: #5a6b5e;
  margin: 0 0 0.5rem;
}

.player-profile-info-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

@media (min-width: 560px) {
  .player-profile-info-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.player-profile-info-box {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.player-profile-info-box__label {
  color: #5a6b5e;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.player-profile-info-box__value {
  font-weight: 600;
  font-size: 1.1rem;
  color: #1a1a1a;
}

.player-profile-bio {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid rgba(61, 107, 78, 0.4);
  color: #3d4540;
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
}

.player-profile-leagues {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  color: #3d4540;
  font-size: 0.95rem;
  line-height: 1.6;
}

.player-profile-leagues:not(.player-profile-leagues--empty) {
  list-style: disc;
}

.player-profile-leagues--empty {
  list-style: none;
  padding-left: 0;
  color: #8a9a8e;
}

/* Seasons History table: Year, Season, League (latest first) */
.player-profile-seasons-table-wrap {
  margin-top: 0.75rem;
  overflow-x: auto;
}

.player-profile-seasons-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.player-profile-seasons-table th,
.player-profile-seasons-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e8ebe8;
}

.player-profile-seasons-table th {
  font-weight: 600;
  color: #3d4540;
  background: #f5f7f5;
}

.player-profile-seasons-table td {
  color: #1a1a1a;
}

.player-profile-seasons-empty {
  margin: 0.75rem 0 0;
  color: #8a9a8e;
}

/* Skills spider/radar chart (golazo-style) */
.player-profile-radar-wrap {
  position: relative;
  width: 100%;
  margin: 1rem 0 1.25rem;
  padding: 0.5rem;
}

.player-profile-radar {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: #f5f7f5;
  border: 1px solid #e0e5e0;
  display: block;
}

.player-profile-radar-tooltip {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  display: none;
  max-width: 260px;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #d0d9d2;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
}

.player-profile-radar-tooltip__title {
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.2rem;
}

.player-profile-radar-tooltip__score {
  color: #2d5a3d;
  font-weight: 800;
}

.player-profile-radar-tooltip__sub {
  color: #5a6b5e;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.player-profile-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 560px) {
  .player-profile-pillars {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .player-profile-pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.player-profile-pillar {
  background: #fafafa;
  border: 1px solid #e8ebe8;
  border-radius: 12px;
  padding: 1rem;
}

.player-profile-pillar__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.player-profile-pillar__name {
  font-weight: 700;
  font-size: 1rem;
  color: #1a1a1a;
}

.player-profile-pillar__score {
  font-size: 1.75rem;
  font-weight: 800;
  color: #2d5a3d;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.player-profile-pillar__note {
  margin: 0;
  color: #5a6b5e;
  font-size: 0.85rem;
  line-height: 1.4;
}

.player-profile-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  margin: 1.5rem 0 0;
  font-size: 0.9375rem;
}

.player-profile-meta dt {
  color: #5a6b5e;
  font-weight: 400;
}

.player-profile-meta dd {
  margin: 0;
  color: #1a1a1a;
}

.player-profile-meta a {
  color: #3d6b4e;
  text-decoration: none;
}

.player-profile-meta a:hover {
  text-decoration: underline;
}

/* Print: hide nav, footer, back link and print button */
@media print {
  .navbar,
  .roster-back,
  .roster-actions,
  footer {
    display: none !important;
  }
}
