/* ========================================
   RAOA MASTER STYLE SYSTEM v6
   Athletic + Professional + Clean Navigation
   ======================================== */


/* ========================================
   1. MASTER CONTROLS / VARIABLES
   ======================================== */

:root {
  --hero-text-width: 100%;

  /* Brand colors */
  --primary: #16395f;
  --primary-dark: #122b47;
  --primary-light: #3f79b6;
  --accent: #f2b632;
  --accent-2: #d94f2b;

  /* Neutrals */
  --text: #111111;
  --muted: #5f6b76;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --white: #ffffff;
  --border: #d5dde6;

  /* Global effects */
  --shadow: 0 14px 40px rgba(7, 20, 39, 0.10);
  --shadow-soft: 0 10px 28px rgba(7, 20, 39, 0.08);
  --radius: 18px;
  --max-width: 1200px;

  /* Easy-edit controls */
  --header-bg: rgba(18, 29, 43, 0.78);
  --header-border: rgba(255, 255, 255, 0.10);

  --section-padding: 4.75rem;
  --hero-padding-top: 4.1rem;
  --hero-padding-bottom: 3rem;
  --page-hero-padding-top: 4.25rem;
  --page-hero-padding-bottom: 4.2rem;

  --hero-grid-gap: 2rem;
  --card-padding: 1.6rem;
  --hero-card-padding: 1.7rem;
  --hero-card-lift: -14px;

  --nav-link-gap: 1.25rem;
  --button-gap: 0.6rem;

  --eyebrow-size: 1.05rem;
  --eyebrow-margin-bottom: 1.15rem;

  --hero-title-size: 2.5rem;
  --hero-title-line-height: 1;

  --hero-description-size: 1.28rem;
  --hero-description-line-height: 1.75;
  --hero-description-margin-top: 2.4rem;
  --hero-description-color: rgba(255, 255, 255, 0.92);

  --hero-card-title-size: 1.55rem;
  --hero-card-title-top-adjust: -2px;

  --section-title-size: clamp(2rem, 3vw, 2.75rem);

  /* Inner pages aligned closer to homepage */
  --page-title-size: 2.5rem;
  --page-description-size: 1.28rem;
  --page-description-line-height: 1.75;
  --page-description-color: rgba(255, 255, 255, 0.92);
  --page-description-margin-top: 1.4rem;

  --footer-text: #d9e3ec;
}


/* ========================================
   2. RESET / BASE
   ======================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  visibility: hidden;
}

body.page-ready {
  visibility: visible;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* ========================================
   3. LAYOUT / CONTAINERS
   ======================================== */

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

.home-section,
.page-section {
  padding: var(--section-padding) 0;
  background: var(--bg);
}

.latest-news-section {
  padding-top: 2rem;
}

.page-hero + .page-section {
  padding-top: 2.5rem;
}

.alt-section {
  background: var(--bg-alt);
}

.inner-page {
  min-height: 60vh;
}


/* ========================================
   4. TYPOGRAPHY
   ======================================== */

.eyebrow,
.section-label,
.card-meta {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  font-size: var(--eyebrow-size);
}

.eyebrow,
.section-label {
  color: var(--accent);
  margin-bottom: var(--eyebrow-margin-bottom);
}

.section-heading {
  margin-bottom: 2.25rem;
  max-width: 740px;
}

.section-heading h2,
.two-column h2 {
  font-size: var(--section-title-size);
  line-height: 1.05;
  margin: 0.3rem 0 0.8rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.section-heading p,
.two-column p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}


/* ========================================
   5. HEADER / NAVIGATION
   ======================================== */

.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-image-link:hover {
  text-decoration: none;
}

.site-logo {
  display: block;
  height: 54px;
  width: auto;
  max-width: 100%;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--nav-link-gap);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 1.75rem;
  cursor: pointer;
}

/* Dropdown Nav */
.site-nav li {
  position: relative;
}

.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-toggle::after {
  content: "▾";
  font-size: 0.75rem;
  line-height: 1;
  transform: translateY(1px);
}

/* Invisible bridge under the parent item so small mouse drift does not close the menu */
.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.1rem);
  left: 0;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0.65rem 0;
  list-style: none;
  background: rgba(15, 33, 58, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1200;
}


.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 0.1rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile Nav */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    background: rgba(15, 33, 58, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }

  .site-nav li {
    width: 100%;
  }

  .site-nav a {
    display: block;
    padding: 0.8rem 0;
  }

  .has-dropdown::after {
    display: none;
  }

  .has-dropdown .dropdown-menu {
    position: static;
    min-width: auto;
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.35rem;
    padding: 0.35rem 0 0.35rem 1rem;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .dropdown-toggle::after {
    content: "";
  }

  .dropdown-menu a {
    padding: 0.45rem 0;
    font-size: 0.95rem;
    white-space: normal;
  }
}

/* Header CTA button */

.nav-cta {
  margin-left: 1rem;
}

.nav-cta {
  margin-left: 1.25rem;
}

.nav-join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ffd36a);
  color: #111111 !important;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 10px 26px rgba(242, 182, 50, 0.32);
}

.nav-join-btn:hover {
  color: #111111 !important;
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(242, 182, 50, 0.42);
}


/* ========================================
   6. HERO / PAGE HERO
   ======================================== */

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.hero {
  background:
    linear-gradient(135deg, rgba(71, 105, 182, 0.96), rgba(87, 119, 198, 0.95)),
    radial-gradient(circle at top right, rgba(242, 182, 50, 0.22), transparent 42%);
  padding: var(--hero-padding-top) 0 var(--hero-padding-bottom);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(57, 110, 168, 0.95), rgba(95, 149, 208, 0.95)),
    linear-gradient(45deg, rgba(217, 79, 43, 0.10), transparent 52%);
  padding: var(--page-hero-padding-top) 0 var(--page-hero-padding-bottom);
}

/* Stripe texture */
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.05) 6px,
      transparent 6px,
      transparent 22px
    );
  opacity: 0.24;
  z-index: 0;
}

/* White fade at bottom */
.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 135px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 42%,
    rgba(255, 255, 255, 0.72) 72%,
    #ffffff 100%
  );
  pointer-events: none;
  z-index: 1;
}

.page-hero::after {
  height: 70px;
}

.hero .container,
.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .container {
  max-width: 1200px;
}

.page-hero .container > * {
  max-width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.92fr;
  gap: var(--hero-grid-gap);
  align-items: start;
}

.hero-text {
  padding-top: 0.1rem;
}

/* Homepage eyebrow */
.hero .eyebrow {
  margin-top: -20px;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

/* Hide inner-page yellow label */
.page-hero .eyebrow,
.page-hero .section-label {
  display: none !important;
}

.hero h1,
.page-hero h1 {
  position: relative;
  z-index: 2;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero h1 {
  font-size: var(--hero-title-size);
  line-height: var(--hero-title-line-height);
  max-width: var(--hero-text-width);
}

.page-hero h1 {
  font-size: var(--page-title-size);
  line-height: 1;
  max-width: var(--hero-text-width);
  margin: 0 0 1rem;
}

/* Glow behind hero/page hero headings */
.hero h1::before,
.page-hero h1::before {
  content: "";
  position: absolute;
  inset: 12% -4% 8% -4%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.08) 35%,
    rgba(255, 255, 255, 0) 75%
  );
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
}

.hero-description,
.page-hero p:last-child {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-description {
  font-size: var(--hero-description-size);
  line-height: var(--hero-description-line-height);
  margin-top: var(--hero-description-margin-top);
  margin-right: 1.5rem;
}

.page-hero p:last-child {
  font-size: var(--page-description-size);
  line-height: var(--page-description-line-height);
  margin-top: var(--page-description-margin-top);
  margin-bottom: 0;
}

/* Optional hero image overlay support */
.hero-image-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42%;
  background:
    linear-gradient(to left, rgba(36, 79, 127, 0.10), rgba(36, 79, 127, 0)),
    url("../images/hero-officials-overlay.png") center right / contain no-repeat;
  opacity: 0.22;
  pointer-events: none;
  z-index: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--button-gap);
  margin-top: 1.6rem;
}


/* ========================================
   7. BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffd36a);
  color: #1f1a10;
  box-shadow: 0 10px 24px rgba(242, 182, 50, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(6px);
}

.info-card .btn-secondary,
.sport-card .btn-secondary {
  background: var(--primary);
  color: var(--white);
  border: none;
}

/* ========================================
   NEWS BUILDER BUTTON OVERRIDES
   ======================================== */

.builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.news-builder-page .btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 1px solid rgba(15, 23, 42, 0.16);
  backdrop-filter: none;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.news-builder-page .btn-secondary:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--primary);
}

/* ========================================
   8. CARDS / PANELS / QUICK LINKS
   ======================================== */

.hero-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
  padding: var(--hero-card-padding);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(16, 36, 60, 0.14);
  margin-top: 0;
  align-self: start;
  transform: translateY(var(--hero-card-lift));
}

.hero-card h2 {
  font-size: var(--hero-card-title-size);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: var(--hero-card-title-top-adjust);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.6rem;
  color: var(--white);
}

.hero-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

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

.quick-links li + li {
  margin-top: 0.7rem;
}

.quick-links a {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  opacity: 0.94;
  transition: all 0.2s ease;
}

.quick-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
  opacity: 1;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.info-card,
.feature-panel,
.resource-block,
.sport-card {
  background: var(--bg);
  padding: var(--card-padding);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 31, 58, 0.05);
}

.info-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(7, 20, 39, 0.14);
}

.card-meta {
  color: var(--accent-2);
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
}

.info-card h3,
.feature-panel h3,
.resource-block h3,
.sport-card h3 {
  margin-top: 0.2rem;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--primary);
}

.info-card p,
.feature-panel p,
.resource-block p,
.sport-card p {
  color: var(--muted);
  line-height: 1.75;
}

.text-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 800;
  color: var(--primary);
}

/* ========================================
   HOME RECRUITMENT + EVENTS
   ======================================== */

.recruitment-events-section {
  background: #f7f8fb;
}

.recruitment-events-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.recruitment-card,
.calendar-card {
  background: var(--white);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.recruitment-poster {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 18px;
  height: auto;
}

.recruitment-actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

.calendar-card iframe {
  display: block;
  width: 100%;
  border-radius: 16px;
  background: var(--white);
}

@media (max-width: 980px) {
  .recruitment-events-grid {
    grid-template-columns: 1fr;
  }

  .recruitment-poster {
    max-width: 460px;
  }
}

/* ========================================
   9. PAGE / CONTENT LAYOUTS
   ======================================== */

.two-column {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.page-section ul {
  margin: 0;
  padding-left: 1.2rem;
}

.minutes-content {
  margin-top: -2.5rem;
}

.minutes-content h1 {
  margin-top: 0;
}

.minutes-list {
  padding-left: 1.4rem;
  margin-top: 1rem;
}

.minutes-list li {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 0.35rem;
}

.minutes-list a {
  font-weight: 600;
}


/* News */
.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.news-card {
  min-height: 100%;
}

/* Member Resources */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.resource-card {
  min-height: 100%;
}

.resource-sections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.resource-block h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

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

.resource-list li + li {
  margin-top: 0.75rem;
}

.resource-list a {
  font-weight: 600;
}

/* Sports */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.sport-card {
  min-height: 100%;
}

.sport-card .btn {
  margin-top: 1rem;
}


/* ========================================
   10. HOMEPAGE ASSOCIATION INFO SECTION
   ======================================== */

.association-info {
  padding: 5.25rem 0 5.5rem;
  background: linear-gradient(180deg, #edf2fb 0%, #f8fafd 100%);
}

.association-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.info-column {
  position: relative;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(22, 57, 95, 0.08);
  border-radius: 22px;
  padding: 2rem 1.85rem 2.1rem;
  box-shadow: 0 16px 38px rgba(16, 38, 63, 0.07);
}

.info-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.info-column .section-label {
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
}

.info-column h2 {
  font-size: clamp(2rem, 2.8vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin: 0 0 1.15rem;
  max-width: 14ch;
}

.info-column h3 {
  font-size: 1.22rem;
  line-height: 1.25;
  color: var(--primary);
  margin-top: 1.7rem;
  margin-bottom: 0.8rem;
}

.info-column p {
  font-size: 1.02rem;
  line-height: 1.82;
  color: var(--muted);
  margin-bottom: 1.05rem;
}

.info-list,
.board-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.info-list li,
.board-list li {
  font-size: 1rem;
  line-height: 1.75;
  color: #24384d;
  margin-bottom: 0.35rem;
}

.board-list strong,
.contact-block strong {
  color: var(--primary);
}

.leadership-block,
.contact-block {
  margin-top: 1.25rem;
}

.contact-email a {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-block a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.contact-block a:hover {
  text-decoration: underline;
}



.association-info .section-label {
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}


/* ========================================
   11. NEWS ARCHIVE + ARTICLE PAGES
   ======================================== */

.page-hero-compact {
  padding-top: 4.25rem;
  padding-bottom: 3.35rem;
}

/* Archive page */
.news-archive {
  padding: 4.5rem 0 5rem;
}

.news-archive-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-archive-card {
  display: block;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(22, 57, 95, 0.12);
}

.news-archive-card:first-child {
  padding-top: 1rem;
}

.news-archive-card:last-child {
  border-bottom: none;
}

.news-archive-content {
  max-width: 860px;
}

.news-archive-content .card-meta {
  margin-bottom: 0.8rem;
}

.news-archive-content h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.news-archive-content h2 a {
  color: var(--primary);
  text-decoration: none;
}

.news-archive-content h2 a:hover {
  text-decoration: underline;
}

.news-archive-date {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.news-archive-content p {
  color: var(--muted);
  line-height: 1.8;
}

.news-archive-excerpt {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: 1.08rem;
}

.news-archive-image-link {
  display: inline-block;
  margin-top: 0.6rem;
}

.news-archive-image {
  width: 100%;
  max-width: 460px;
  height: auto;
  min-height: 0;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(22, 57, 95, 0.08);
}

/* Article page */
.news-article {
  padding: 3rem 0 4.5rem;
}

.news-article-container {
  max-width: 960px;
}

.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-weight: 700;
}

.news-pill {
  display: inline-block;
  background: rgba(22, 57, 95, 0.08);
  color: var(--primary);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.news-article-header {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 2rem;
}

.news-article-intro {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.85;
}

.news-article-image-wrap {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.news-article-image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.news-article-body {
  max-width: 780px;
}

.news-article-body h2,
.news-article-body h3 {
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  line-height: 1.15;
}

.news-article-body p,
.news-article-body li {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
}

.news-article-body ul,
.news-article-body ol {
  padding-left: 1.25rem;
}

.news-article-body a {
  word-break: break-word;
}

.news-article-back {
  margin-top: 2rem;
}


/* ========================================
   12. FOOTER
   ======================================== */

.site-footer {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--footer-text);
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding: 3.5rem 0;
}

.footer-brand h3,
.footer-col h4 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand h3 {
  font-size: 1.4rem;
}

.footer-brand p {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  line-height: 1.7;
}

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

.footer-col li + li {
  margin-top: 0.5rem;
}

.footer-col a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  padding-top: 1.25rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0.2rem 0;
}

.site-credit {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.site-credit a {
  color: var(--footer-text);
  font-weight: 700;
  text-decoration: none;
}

.site-credit a:hover {
  color: var(--accent);
  text-decoration: underline;
}


/* ========================================
   13. DUES PAGES
   Clean utility-style payment layout
   ======================================== */

.dues-page {
  padding: 2.5rem 0 4rem;
  background: var(--bg);
}

.dues-wrap {
  width: min(100% - 2rem, 1100px);
  margin: 0 auto;
}

.dues-header {
  margin-bottom: 2rem;
}

.dues-header h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--primary);
  font-weight: 800;
  padding-bottom: 1rem;
  border-bottom: 4px solid var(--primary-dark);
}

.dues-payment-area {
  margin-top: 1.5rem;
  margin-bottom: 2.75rem;
}

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

.dues-table td {
  vertical-align: middle;
  padding: 10px 6px;
  border-bottom: 1px solid #d6d6d6;
}

.dues-qty-cell {
  width: 86px;
  white-space: nowrap;
}

.dues-label-cell {
  font-size: 1rem;
  color: #1d1d1d;
}

.dues-price-cell {
  width: 190px;
  text-align: right;
  white-space: nowrap;
  font-size: 1rem;
  color: #1d1d1d;
}

.dues-qty-input {
  width: 46px;
  padding: 6px 8px;
  font-size: 0.95rem;
  border: 1px solid #9d9d9d;
  border-radius: 3px;
  background: #fff;
}

.dues-pay-button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 22px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  background: #ff6600;
  border: 1px solid #ff6600;
  border-radius: 4px;
  cursor: pointer;
}

.dues-pay-button:hover {
  background: #e65c00;
  border-color: #e65c00;
}

.dues-support-note {
  margin-top: 2.5rem;
  max-width: 1000px;
}

.dues-support-note p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--primary-dark);
  font-weight: 800;
}

.dues-support-note a {
  color: var(--primary-dark);
  text-decoration: none;
}

.dues-support-note a:hover {
  text-decoration: underline;
}

.dues-back-link {
  margin-top: 1.75rem;
}

/* ========================================
   14. HISTORY PAGE (Timeline)
   ======================================== */

.history-section {
  padding-top: 4rem;
}

.history-intro {
  max-width: 820px;
  margin-bottom: 3rem;
}

.history-timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding-left: 2rem;
}

.history-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.22), rgba(15, 23, 42, 0.08));
}

.history-entry {
  position: relative;
  margin-bottom: 2.5rem;
}

.history-card {
  position: relative; /* IMPORTANT */
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.history-card::before {
  content: "";
  position: absolute;

  left: -220px; /* KEY: positions dot near the line */
  top: 10px;

  width: 14px;
  height: 14px;
  border-radius: 50%;

  background: #fff;
  border: 3px solid rgba(33, 48, 78, 0.9);
  box-shadow: 0 0 0 5px rgba(33, 48, 78, 0.08);
}

.history-year {
  position: absolute;
  left: 0;
  top: 10px;

  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(33, 48, 78, 0.75);
}

.history-card {
  position: relative;
  margin-left: 180px; /* KEY LINE */

  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  padding: .4rem 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.history-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

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

.history-note {
  max-width: none;
  margin-top: 2.5rem;
  margin-left: 130px;
  padding: 1.25rem 1.4rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.96));
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
}

.history-note a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.history-note a:hover {
  text-decoration: underline;
}
/* ========================================
   14. ABOUT PAGE
   ======================================== */

.about-grid {
  align-items: stretch;
}

.about-grid .info-card {
  min-height: 100%;
}

.about-list,
.about-links-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.about-list li,
.about-links-list li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: var(--text);
}

.about-detail-grid {
  align-items: start;
}

.about-detail-grid .feature-panel {
  min-height: 100%;
}

.about-detail-grid a,
.about-links-list a {
  font-weight: 700;
}

/* ========================================
   15. STATE TOURNAMENT PAGE
   ======================================== */

.state-tournament-intro {
  max-width: 900px;
}

.state-sport-grid {
  align-items: start;
}

.state-sport-card {
  min-height: 100%;
}

.state-list {
  margin: 0.9rem 0 0;
  padding-left: 1.2rem;
}

.state-list li {
  margin-bottom: 0.42rem;
  line-height: 1.65;
  color: var(--text);
}

.state-subgroup + .state-subgroup {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(22, 57, 95, 0.1);
}

.state-subgroup h4 {
  margin: 0 0 0.65rem;
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.3;
}

.state-note {
  max-width: 880px;
}

.state-image-wrap {
  position: relative;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(22, 57, 95, 0.08);
  width: 100%;
  background: #000;
}

.state-image {
  display: block;
  width: 100%;
  height: auto;
}

.state-image-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.25rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  background: linear-gradient(
    to top,
    rgba(10, 18, 30, 0.78) 0%,
    rgba(10, 18, 30, 0.42) 45%,
    rgba(10, 18, 30, 0) 100%
  );
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* ========================================
   16. JOIN RAOA PAGE
   ======================================== */

.join-steps {
  text-align: center;
}

.next-steps {
  padding-top: .1rem;
  padding-bottom: .5rem;
}

.next-steps .container {
  margin-top: -1rem;
}
.join-steps .section-heading {
  max-width: 820px;
  margin: 0 auto 4.25rem;
  text-align: center;
}

.join-steps .section-heading .eyebrow {
  color: var(--accent-2);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.4rem;
}

.join-steps .section-heading h2 {
  color: #111111;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.join-steps .section-heading p {
  max-width: 760px;
  margin: 0 auto;
  color: #4b5563;
  font-size: 1.1rem;
  line-height: 1.7;
}

.join-steps .card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4.75rem;
  align-items: start;
}

.join-steps .resource-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  text-align: left;
}

.join-steps .card-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f5f8fc 0%, #e4ebf5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.45rem;
}

.join-steps .card-icon svg {
  width: 31px;
  height: 31px;
  stroke: #244c8f;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.join-steps .resource-card h3 {
  margin: 0 0 1rem;
  color: #111111;
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 800;
}

.join-steps .resource-card p {
  margin: 0 0 1.35rem;
  color: #333333;
  font-size: 1rem;
  line-height: 1.7;
}

.join-steps .text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0;
  font-weight: 800;
  color: #143d70;
  text-decoration: none;
}

.join-steps .text-link::after {
  content: "→";
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.join-steps .text-link:hover {
  text-decoration: none;
}

.join-steps .text-link:hover::after {
  transform: translateX(4px);
}



@media (max-width: 900px) {
  .join-steps .card-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
}
/* ========================================
   16A. NASO MEMBERSHIP PAGE
   ======================================== */

.page-section-tight {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.utility-block {
  max-width: 1200px;
}

.utility-block h1 {
  margin-top: 0;
  margin-bottom: 2rem;
  color: var(--primary);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.utility-content {
  margin-top: 0;
}

.naso-page-layout {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 3rem;
  align-items: start;
}

.naso-flyer-column {
  width: 100%;
}

.naso-flyer-link {
  display: block;
  text-decoration: none;
}

.naso-flyer-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(22, 57, 95, 0.08);
}

.naso-content {
  max-width: 720px;
}

.naso-content p {
  margin-top: 0;
  margin-bottom: 1.4rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
}

.naso-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  color: var(--primary);
  font-size: 2rem;
  line-height: 1.1;
}

.naso-content h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.3;
}

.naso-list {
  margin: 0 0 1.4rem;
  padding-left: 1.4rem;
}

.naso-list li {
  margin-bottom: 0.4rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
}

.naso-note {
  margin-top: 2rem;
  font-weight: 600;
}

.naso-content a.pay-dues-link {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.naso-content a.pay-dues-link:hover {
  color: var(--accent-2);
  border-bottom-color: var(--accent-2);
  text-decoration: none;
}

/* ========================================
   16B. OPERATING INTENT PAGE
   ======================================== */

.operating-intent-page {
  max-width: 1180px;
}

.operating-intent-page h1 {
  margin-top: 0;
  margin-bottom: 3.25rem;
  color: var(--primary);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.operating-intent-content.formal-document {
  max-width: 980px;
}

.operating-intent-heading {
  text-align: center;
  margin: 0 auto 2.75rem;
}

.operating-intent-heading p {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.5;
  color: var(--text);
}

.operating-intent-content > p {
  margin: 0 0 1.9rem;
  font-size: 1.08rem;
  line-height: 1.68;
  color: var(--text);
}

.operating-intent-content > p:first-of-type {
  margin-bottom: 1.6rem;
}

/* ==========================================
   ASSIGNOR LOGIN PAGE
========================================== */

.assignor-page {
  max-width: 980px;
  margin: 0 auto;
}

.assignor-page h1 {
  margin-bottom: 2rem;
}

.assignor-content {
  max-width: 620px;
}

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

.assignor-links li {
  margin-bottom: 1.25rem;
}

.assignor-links a {
  color: #163a63;
  text-decoration: underline;
  font-weight: 500;
  line-height: 1.4;
}

.assignor-links a:hover {
  color: #2f6ea3;
}

.assignor-subsection {
  margin-top: 2.5rem;
}

.assignor-subsection h2 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1d2f4f;
}

.assignor-links-indented {
  padding-left: 2rem;
}

@media (max-width: 640px) {
  .assignor-content {
    max-width: 100%;
  }

  .assignor-links-indented {
    padding-left: 1rem;
  }
}
/* ========================================
   MENTORS PAGE
   ======================================== */

.mentor-slideshow {
  margin-bottom: 2.5rem;
}
.mentor-slideshow {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 2.5rem;
}

.mentor-slideshow .slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.mentor-slideshow .slideshow-arrow-prev {
  left: 1rem;
}

.mentor-slideshow .slideshow-arrow-next {
  right: 1rem;
}

.mentor-slideshow {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 2.5rem;
}

.mentor-slideshow .slideshow-track {
  position: relative;
  height: 320px;
  border-radius: 28px;
  overflow: hidden;
}

.mentor-slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.mentor-slideshow .slide.active {
  opacity: 1;
}

.mentor-slideshow .slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.mentor-slideshow .slideshow-arrow-prev {
  left: 1rem;
}

.mentor-slideshow .slideshow-arrow-next {
  right: 1rem;
}

.mentors-content-block {
  padding: 2.5rem 2.5rem 2.75rem;
}

.mentors-content-block h2 {
  margin-bottom: 1rem;
}

.mentors-lead {
  max-width: 900px;
  margin-bottom: 2rem;
}

.mentor-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.mentor-section h3 {
  margin-bottom: 0.85rem;
}

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

.mentor-callout {
  background: linear-gradient(135deg, rgba(36, 79, 131, 0.08), rgba(230, 126, 34, 0.08));
  border-left: 5px solid var(--accent);
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
}

.mentor-callout h3 {
  margin-top: 0;
}

.mentor-activity-list {
  columns: 2;
  column-gap: 2rem;
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.mentor-activity-list li {
  break-inside: avoid;
  margin-bottom: 0.85rem;
}

.mentor-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.mentor-contact-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
  border-top: 4px solid var(--accent);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.mentor-contact-card h4 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--primary);
}

.mentor-contact-card p {
  margin: 0 0 0.45rem;
}

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

@media (max-width: 900px) {
  .mentor-slideshow .slideshow-track {
    height: 260px;
  }
}

@media (max-width: 640px) {
  .mentor-slideshow .slideshow-track {
    height: 220px;
    border-radius: 20px;
  }
}

  .mentor-activity-list {
    columns: 1;
  }

  .mentor-contact-grid {
    grid-template-columns: 1fr;
  }

@media (max-width: 640px) {
  .mentor-slideshow {
    margin-bottom: 2rem;
  }

  .mentor-slideshow .slideshow-track {
    height: 220px;
    border-radius: 20px;
  }

  .mentors-content-block {
    padding: 1.5rem;
  }

  .mentor-content {
    gap: 1.5rem;
  }
}


/* =========================================================
   SPORT PAGES
========================================================= */

.sport-page .page-section {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.sport-hero {
  position: relative;
  overflow: hidden;
}
.sport-hero .hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.sport-hero .hero-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sport-hero .hero-actions .button:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-1px);
}

.sport-hero .hero-actions .button-secondary {
  background: transparent;
}

.sport-hero .hero-actions .button-primary {
  background: rgba(255, 255, 255, 0.14);
}

.sport-hero-football {
  background:
    linear-gradient(135deg, rgba(7, 24, 44, 0.88), rgba(17, 70, 122, 0.72)),
    url("../images/football-banner.jpg") center center / cover no-repeat;
  color: #fff;
}
.sport-hero-basketball {
  background:
    linear-gradient(135deg, rgba(7, 24, 44, 0.88), rgba(17, 70, 122, 0.72)),
    url("../assets/images/basketball-banner.jpg") center center / cover no-repeat;
  color: #fff;
}


.sport-hero-volleyball {
  background:
    linear-gradient(135deg, rgba(7, 24, 44, 0.88), rgba(17, 70, 122, 0.72)),
    url("../assets/images/volleyball-banner.jpg") center center / cover no-repeat;
  color: #fff;
}
.sport-hero-baseball-softball {
  background:
    linear-gradient(135deg, rgba(7, 24, 44, 0.88), rgba(17, 70, 122, 0.72)),
    url("../assets/images/baseball-softball-banner.jpg") center center / cover no-repeat;
  color: #fff;
}

.resource-columns-single {
  grid-template-columns: 1fr;
  max-width: 900px;
}
.sport-hero .container {
  position: relative;
  z-index: 2;
}

.sport-page .section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.sport-page .section-kicker {
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2f6ea3;
}

.sport-intro {
  padding-top: 2.5rem;
}

.sport-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.content-card {
  background: #ffffff;
  border: 1px solid rgba(11, 31, 53, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
  padding: 1.5rem;
}

.sport-staff-card h2,
.resource-card h3,
.note-card h3 {
  margin-top: 0;
}

.info-list,
.resource-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-list li,
.resource-list li {
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.resource-list li:last-child,
.info-list li:last-child {
  margin-bottom: 0;
}

.resource-list a,
.info-list a {
  color: #163a63;
  text-decoration: none;
  font-weight: 500;
}

.resource-list a:hover,
.info-list a:hover {
  color: #2f6ea3;
  text-decoration: underline;
}

.resource-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.good-stuff-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
}

.subsection-title {
  margin-top: 2rem;
}

.note-list {
  display: grid;
  gap: 1rem;
}

.note-list p {
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(11, 31, 53, 0.08);
  line-height: 1.6;
  color: #24374d;
}

.note-list p:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sport-image-card {
  padding: 0;
  overflow: hidden;
  min-height: 260px;
}

.sport-feature-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.two-column-links {
  columns: 2;
  column-gap: 2rem;
}

.two-column-links li {
  break-inside: avoid;
}
.training-feature-link {
  display: block;
  text-decoration: none;
}

.training-feature-image {
  display: block;
  width: 100%;
  max-width: 700px;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

.timing-rules-page {
  max-width: 860px;
  margin: 0 auto;
}

.timing-rules-page h1 {
  margin-bottom: 2rem;
  line-height: 1.2;
}

.timing-rules-content {
  background: #fff;
  border: 1px solid rgba(11, 31, 53, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
  padding: 2rem;
}

.timing-section + .timing-section {
  margin-top: 2rem;
}

.timing-section h2 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
}

.timing-section h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
}

.timing-section ul {
  margin: 0 0 1rem 1.25rem;
  padding-left: 1rem;
}

.timing-section li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.timing-rules-content hr {
  border: 0;
  border-top: 1px solid rgba(11, 31, 53, 0.15);
  margin: 2rem 0;
}

@media (max-width: 640px) {
  .timing-rules-content {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .timing-rules-page h1 {
    font-size: 1.8rem;
  }
}

/* ========================================
   GEAR PAGE
   ======================================== */

.gear-page .utility-content {
  margin-top: 2rem;
}

.gear-intro {
  font-weight: 700;
  color: var(--primary);
}

.gear-vendor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.gear-vendor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 1.25rem;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gear-vendor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.gear-vendor-card img {
  max-width: 100%;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}



@media (max-width: 900px) {
  .gear-vendor-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }


}

@media (max-width: 640px) {
  .gear-vendor-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .gear-vendor-card {
    min-height: 150px;
  }
}

/* ==========================================
   OFFICIALS SLIDESHOW
========================================== */

.sport-image-card {
  padding: 0;
  overflow: hidden;
  min-height: 320px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.officials-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  background: #dfe7f2;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

.slideshow-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center 25%;
}

.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(11, 31, 53, 0.55);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slideshow-arrow:hover {
  background: rgba(11, 31, 53, 0.8);
}

.slideshow-arrow-prev {
  left: 14px;
}

.slideshow-arrow-next {
  right: 14px;
}

.slideshow-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slideshow-dots .dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.slideshow-dots .dot.active {
  background: #ffffff;
  transform: scale(1.15);
}

@media (max-width: 980px) {
  .sport-image-card,
  .officials-slideshow,
  .slideshow-track,
  .slide img {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .sport-image-card,
  .officials-slideshow,
  .slideshow-track,
  .slide img {
    min-height: 220px;
  }

  .slideshow-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}
/* ========================================
   NEWS BUILDER PAGE
   ======================================== */

.news-builder-page .news-builder-intro {
  margin-bottom: 2rem;
  max-width: 760px;
}

.news-builder-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: start;
}

.news-builder-form-wrap,
.news-builder-output-wrap {
  min-width: 0;
}

.news-builder-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-row label {
  font-weight: 700;
  color: var(--primary);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  background: var(--white);
  font: inherit;
}

.form-row textarea {
  resize: vertical;
}

.builder-actions {
  margin-top: 0.5rem;
}

.text-link-btn {
  border: none;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
}

.builder-output-block {
  background: var(--white);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  margin-bottom: 1.5rem;
}

.builder-output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.builder-output-block textarea {
  width: 100%;
  min-height: 140px;
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  font-family: monospace;
  font-size: 0.92rem;
  line-height: 1.5;
  resize: vertical;
}

/* ========================================
   NEWS ARTICLE PAGE
   ======================================== */

.news-article {
  max-width: 900px;
  margin: 0 auto;
}

.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.news-article-type {
  font-weight: 700;
  color: var(--primary);
}

.news-article-date {
  color: var(--text-muted);
}

.news-article-hero-media {
  margin: 0 0 2rem;
}

.news-article-hero-image,
.news-article-inline-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.news-article-body {
  font-size: 1.05rem;
  line-height: 1.8;
}

.news-article-body p {
  margin-bottom: 1.35rem;
}

.news-article-inline-media {
  margin: 0 0 1.5rem;
}

.news-article-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

@media (max-width: 900px) {
  .news-builder-grid {
    grid-template-columns: 1fr;
  }
}
.page-section-alt {
  background: linear-gradient(to bottom, #f7fafd 0%, #f3f7fb 100%);
}

@media (max-width: 980px) {
  .sport-intro-grid,
  .resource-columns,
  .good-stuff-grid {
    grid-template-columns: 1fr;
  }

  .two-column-links {
    columns: 1;
  }
}

@media (max-width: 640px) {
  .content-card {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .sport-feature-image {
    min-height: 220px;
  }
}

/* ========================================
   NEWS FILTER BAR
   ======================================== */

.news-filter-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.news-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border: 2px solid rgba(28, 58, 99, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.news-filter-btn:hover {
  background: rgba(28, 58, 99, 0.08);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.news-filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .news-filter-bar {
    gap: 0.75rem;
  }

  .news-filter-btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* ========================================
   NEWS ARCHIVE CONTROLS
   ======================================== */

.news-archive-controls {
  margin-bottom: 2rem;
}

.news-search-wrap {
  margin-bottom: 1.25rem;
}

.news-search-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--primary);
}

.news-search-input {
  width: 100%;
  max-width: 520px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  background: var(--white);
  font: inherit;
}

.news-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

/* ========================================
   NEWS FILTER BAR
   ======================================== */

.news-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.news-filter-btn {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--white);
  color: var(--primary);
  font: inherit;
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.news-filter-btn:hover,
.news-filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ========================================
   RICH TEXT EDITOR
   ======================================== */

.rich-editor-wrap {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.rich-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.03);
}

.editor-btn {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--white);
  color: var(--primary);
  font: inherit;
  font-weight: 700;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.editor-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.rich-editor {
  min-height: 320px;
  padding: 1rem;
  line-height: 1.7;
  outline: none;
}

.rich-editor:empty:before {
  content: "Write or paste your article here...";
  color: rgba(15, 23, 42, 0.45);
}

.rich-editor h2,
.rich-editor h3 {
  color: var(--primary);
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

.rich-editor p {
  margin-bottom: 1rem;
}

.rich-editor ul {
  margin: 0 0 1rem 1.25rem;
}

.rich-editor a {
  color: var(--primary);
  text-decoration: underline;
}
.news-article-back {
  margin-bottom: 1.25rem;
}

/* ========================================
   17. RESPONSIVE
   ======================================== */

@media (max-width: 1100px) {
  .association-info-grid {
    grid-template-columns: 1fr;
  }

  .info-column h2 {
    max-width: none;
  }
}

@media (max-width: 980px) {
  .sport-intro-grid,
  .resource-columns,
  .good-stuff-grid {
    grid-template-columns: 1fr;
  }

  .two-column-links {
    columns: 1;
  }

  .sport-image-card,
  .officials-slideshow,
  .slideshow-track,
  .slide img {
    min-height: 280px;
  }
}

@media (max-width: 900px) {
  .hero-card {
    margin-top: 1.5rem;
    transform: none;
  }

  .hero .eyebrow {
    margin-top: 0;
    font-size: 0.95rem;
  }

  .hero-card h2 {
    margin-top: 0;
  }

  .card-grid,
  .two-column,
  .footer-grid,
  .resource-grid,
  .resource-sections,
  .sports-grid,
  .news-grid,
  .hero-grid,
  .naso-page-layout {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
  }

  .header-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-toggle {
    display: block;
  }

  .page-hero {
    padding: 3.8rem 0 3.6rem;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
  }

  .hero-description,
  .page-hero p:last-child {
    max-width: 100%;
    margin-right: 0;
  }

  .hero-image-overlay {
    display: none;
  }

  .association-info {
    padding: 4.25rem 0 4.5rem;
  }

  .info-column {
    padding: 1.7rem 1.4rem 1.9rem;
  }

  .news-article-header {
    grid-template-columns: 1fr;
  }

  .news-archive-image {
    max-width: 100%;
  }

  .dues-header h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .dues-price-cell {
    width: 150px;
    font-size: 0.95rem;
  }

  .dues-label-cell {
    font-size: 0.96rem;
  }

  .join-steps .card-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .content-card {
    padding: 1.25rem;
    border-radius: 16px;
  }
}

@media (max-width: 800px) {
  .history-year {
    position: static;
    margin-bottom: 0.5rem;
  }

  .history-card {
    margin-left: 0;
  }

  .history-card::before {
    left: -22px;
  }
}

@media (max-width: 700px) {
  .dues-page {
    padding: 2rem 0 3rem;
  }

  .dues-header {
    margin-bottom: 1.4rem;
  }

  .dues-header h1 {
    padding-bottom: 0.9rem;
    border-bottom-width: 3px;
  }

  .dues-table,
  .dues-table tbody,
  .dues-table tr,
  .dues-table td {
    display: block;
    width: 100%;
  }

  .dues-table tr {
    padding: 0.5rem 0;
  }

  .dues-table td {
    border-bottom: none;
    padding: 4px 0;
  }

  .payment-item {
    border-bottom: 1px solid #d6d6d6;
  }

  .dues-qty-cell,
  .dues-price-cell {
    width: 100%;
    text-align: left;
  }

  .dues-price-cell {
    padding-bottom: 10px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 4rem;
    --hero-padding-top: 4.8rem;
    --hero-padding-bottom: 4.25rem;
  }

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

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
    line-height: 1.02;
  }

  .hero-description,
  .page-hero p:last-child {
    font-size: 1.02rem;
    line-height: 1.72;
  }

  .page-hero p:last-child {
    margin-top: 2rem;
  }

  .hero-card {
    padding: 1.4rem;
  }

  .hero-card h2 {
    font-size: 1.35rem;
  }

  .quick-links a {
    font-size: 0.98rem;
  }

  .section-heading h2,
  .two-column h2,
  .info-column h2 {
    line-height: 1.1;
  }

  .news-archive-content h2 {
    font-size: clamp(1.6rem, 8vw, 2.1rem);
  }

  .news-archive-excerpt,
  .news-article-intro,
  .news-article-body p,
  .news-article-body li {
    font-size: 1rem;
  }

  .dues-support-note p {
    font-size: 0.98rem;
  }

  .assignor-content {
    max-width: 100%;
  }

  .assignor-links-indented {
    padding-left: 1rem;
  }

  .timing-rules-content {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .timing-rules-page h1 {
    font-size: 1.8rem;
  }

  .sport-image-card,
  .officials-slideshow,
  .slideshow-track,
  .slide img,
  .sport-feature-image {
    min-height: 220px;
  }

  .slideshow-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}