/* =========================================================
   DeMartini Tour — Royal blue & gold stylesheet
   Palette:
     --blue-deep    #0A2472  Deep royal blue (primary)
     --blue-mid     #1E4A9C  Mid-tone royal
     --blue-soft    #E8EEF8  Pale accent
     --gold         #C8A951  Trophy gold
     --gold-soft    #E8D79A
     --cream        #F6F1E3  Warm off-white
     --ink          #1D1D1B  Rich body text
   ========================================================= */

:root {
  --blue-deep: #0A2472;
  --blue-mid: #1E4A9C;
  --blue-soft: #E8EEF8;
  --gold: #C8A951;
  --gold-soft: #E8D79A;
  --cream: #F6F1E3;
  --ink: #1D1D1B;
  --muted: #5A5A58;
  --shadow: 0 4px 24px rgba(10, 36, 114, 0.1);
  --shadow-strong: 0 8px 32px rgba(10, 36, 114, 0.18);
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--blue-deep);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

a {
  color: var(--blue-mid);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--gold); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.6em;
}

.divider {
  width: 64px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 1.2rem auto 1.8rem;
}
.divider.left { margin-left: 0; margin-right: 0; }

/* ---------- Layout ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--blue-deep);
  color: #fff;
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 40;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}
.brand:hover { color: var(--gold-soft); }

.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-soft);
  border-color: var(--gold);
}

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(10,36,114,0.82), rgba(10,36,114,0.88)),
    radial-gradient(ellipse at top, #1E4A9C 0%, #0A2472 60%);
  color: #fff;
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 10px);
  pointer-events: none;
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--gold-soft); }
.hero p.lead {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,0.92);
}
.hero .divider { background: var(--gold); }

.hero-compact {
  padding: 3.5rem 1.5rem 3rem;
  text-align: left;
}
.hero-compact .container { position: relative; z-index: 1; }

/* Hero variant that uses an event photo as the background. Inline the image on
   the section element: style="background-image: linear-gradient(...), url('images/xxx.jpg');" */
.hero-photo {
  background-color: var(--blue-deep);
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.hero-photo::before { display: none; }

/* Event badge/logo in the hero (e.g. Santa Cruz logo, top-left).
   The <img> sits inside a white square so the crest reads as a framed badge. */
.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(100px, 13vw, 150px);
  height: clamp(100px, 13vw, 150px);
  margin: 0 0 1.25rem;
  padding: 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  overflow: hidden;
}
.hero-logo img {
  display: block;
  width: 106%;
  height: 106%;
  object-fit: contain;
  object-position: center center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 2px;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--blue-deep);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn:hover {
  background: transparent;
  color: var(--gold-soft);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--blue-deep);
}

/* ---------- Event cards (home) ---------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.event-card {
  background: #fff;
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-top: 4px solid var(--blue-deep);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.event-card .event-banner {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: var(--blue-deep);
  background-image: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  background-size: cover;
  background-position: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 1.25rem;
  position: relative;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}
.event-card .event-banner::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}

.event-card .event-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.event-card h3 { margin-bottom: 0.25rem; }
.event-card .meta {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}
.event-card p { color: var(--ink); }

.event-card .event-link {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--serif);
  color: var(--blue-deep);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  font-size: 1.02rem;
}
.event-card .event-link:hover { color: var(--gold); }

/* ---------- Two-column sections ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

.panel {
  background: #fff;
  border: 1px solid rgba(10,36,114,0.08);
  border-left: 4px solid var(--gold);
  padding: 1.75rem;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.fact-list {
  list-style: none;
  margin: 0; padding: 0;
}
.fact-list li {
  padding: 0.7rem 0;
  border-bottom: 1px dashed rgba(10,36,114,0.2);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.fact-list li:last-child { border-bottom: 0; }
.fact-list .label {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 600;
}
.fact-list .value {
  font-family: var(--serif);
  color: var(--blue-deep);
  text-align: right;
}

/* ---------- Standings (FedEx-style) ---------- */
.standings-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--sans);
  margin-top: 1.25rem;
}
.standings-table thead th {
  background: #F4F5F7;
  color: var(--muted);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(10,36,114,0.08);
}
.standings-table thead th.points-col { text-align: right; }
.standings-table tbody td {
  padding: 1.15rem 1.1rem;
  border-bottom: 1px solid rgba(10,36,114,0.06);
  font-size: 1rem;
  vertical-align: middle;
}
.standings-table tbody tr:last-child td { border-bottom: none; }
.standings-table tbody tr:hover { background: rgba(10,36,114,0.03); }
.standings-table .rank {
  width: 64px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--blue-deep);
}
.standings-table tbody tr:nth-child(1) .rank,
.standings-table tbody tr:nth-child(2) .rank,
.standings-table tbody tr:nth-child(3) .rank { color: var(--gold); }
.standings-table .flag {
  width: 52px;
  font-size: 1.6rem;
  line-height: 1;
}
.standings-table .country {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.standings-table .player-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
}
.standings-table .points {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--blue-deep);
  font-size: 1.05rem;
}
@media (max-width: 640px) {
  .standings-table thead th,
  .standings-table tbody td { padding: 0.75rem 0.6rem; }
  .standings-table .rank { width: 44px; font-size: 1.05rem; }
  .standings-table .flag { width: 40px; font-size: 1.35rem; }
  .standings-table .country { display: none; }
}

/* ---------- Leaderboard ---------- */
.leaderboard {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 2px;
  overflow: hidden;
}
.leaderboard th,
.leaderboard td {
  padding: 0.85rem 1rem;
  text-align: left;
}
.leaderboard thead {
  background: var(--blue-deep);
  color: #fff;
}
.leaderboard th {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.leaderboard tbody tr { border-bottom: 1px solid rgba(10,36,114,0.08); }
.leaderboard tbody tr:nth-child(odd) { background: var(--blue-soft); }
.leaderboard tbody tr:first-child td {
  font-weight: 700;
  color: var(--blue-deep);
}
.leaderboard .pos {
  width: 2.5rem;
  font-family: var(--serif);
  color: var(--gold);
  font-weight: 700;
}
.leaderboard .score {
  text-align: right;
  white-space: nowrap;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
}
/* Winning team — gold border + subtle highlight */
.leaderboard tbody tr.winner {
  background: linear-gradient(90deg, rgba(200,169,81,0.20), rgba(200,169,81,0.06)) !important;
  outline: 2px solid var(--gold);
  outline-offset: -2px;
  position: relative;
}
.leaderboard tbody tr.winner td {
  color: var(--blue-deep);
  font-weight: 700;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.leaderboard tbody tr.winner .pos {
  color: var(--gold);
  font-size: 1.2rem;
}
.leaderboard tbody tr.winner .score {
  color: var(--gold);
  font-size: 1.15rem;
}

/* ---------- Champions list (Hall of Champions) ---------- */
.champions-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(10,36,114,0.12);
}
.champions-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(10,36,114,0.12);
  align-items: baseline;
}
.champions-list .year {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.champions-list .winners {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--blue-deep);
  line-height: 1.45;
}
@media (max-width: 600px) {
  .champions-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .champions-list .year { font-size: 1.3rem; }
  .champions-list .winners { font-size: 0.98rem; }
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}
.gallery .photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-deep));
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200,169,81,0.3);
}
.gallery .photo::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 4px, transparent 4px 12px);
}

/* ---------- Schedule timeline ---------- */
.schedule {
  position: relative;
  list-style: none;
  margin: 0; padding: 0;
}
.schedule::before {
  content: "";
  position: absolute;
  left: 1rem; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  opacity: 0.4;
}
.schedule li {
  position: relative;
  padding: 0.75rem 0 0.75rem 2.6rem;
}
.schedule li::before {
  content: "";
  position: absolute;
  left: 0.55rem; top: 1.1rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--blue-deep);
}
.schedule .time {
  font-family: var(--serif);
  color: var(--blue-deep);
  font-weight: 700;
  display: block;
}

/* ---------- Roster ---------- */
.roster-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
}
.roster-toolbar .count {
  font-family: var(--serif);
  color: var(--blue-deep);
  font-size: 1.1rem;
}
.roster-toolbar input {
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(10,36,114,0.2);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.95rem;
  min-width: 240px;
  background: var(--cream);
}
.roster-toolbar input:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}

.player {
  background: #fff;
  border: 1px solid rgba(10,36,114,0.08);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(10,36,114,0.06);
  transition: box-shadow 0.2s ease;
}
.player[open] { box-shadow: var(--shadow-strong); }

.player summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 4px solid var(--blue-deep);
  transition: background 0.2s ease;
}
.player summary::-webkit-details-marker { display: none; }
.player[open] summary {
  background: var(--blue-soft);
  border-left-color: var(--gold);
}
.player summary:hover { background: var(--blue-soft); }

.player .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}

.player .who {
  flex: 1;
  min-width: 0;
}
.player .who .name {
  display: block;
  font-family: var(--serif);
  color: var(--blue-deep);
  font-size: 1.15rem;
  font-weight: 700;
}
.player .who .role {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.player .chev {
  width: 10px; height: 10px;
  border-right: 2px solid var(--blue-deep);
  border-bottom: 2px solid var(--blue-deep);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 0.4rem;
}
.player[open] .chev { transform: rotate(-135deg); }

.player-detail {
  padding: 0.25rem 1.25rem 1.4rem 1.25rem;
  border-top: 1px solid rgba(10,36,114,0.08);
  background: #fff;
}
.player-detail .stats {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0.5rem;
  margin: 1rem 0;
}
.player-detail .stat {
  text-align: center;
  padding: 0.6rem 0.25rem;
  background: var(--blue-soft);
  border-top: 2px solid var(--gold);
  border-radius: 2px;
}
.player-detail .stat .n {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-deep);
}
.player-detail .stat .l {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 2px;
}
.player-detail .bio {
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.player-detail .tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.player-detail .tag {
  background: var(--blue-deep);
  color: var(--gold-soft);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ---------- News / Articles ---------- */
.featured-article {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: #fff;
  box-shadow: var(--shadow-strong);
  border-left: 5px solid var(--gold);
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 3rem;
}
@media (max-width: 820px) {
  .featured-article { grid-template-columns: 1fr; }
}
.featured-article .featured-image {
  min-height: 360px;
  background-color: var(--blue-deep);
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.25rem;
  position: relative;
}
.featured-article .featured-image .image-label {
  color: rgba(255,255,255,0.7);
  font-family: var(--serif);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  background: rgba(10,36,114,0.55);
  border-left: 2px solid var(--gold);
}
.featured-article .featured-body {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
}
.featured-article .category {
  display: inline-block;
  background: var(--blue-deep);
  color: var(--gold-soft);
  padding: 0.25rem 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
  align-self: flex-start;
}
.featured-article h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin-bottom: 0.6rem;
}
.featured-article .dek {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.featured-article .byline {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(10,36,114,0.12);
  margin-bottom: 1rem;
}
.featured-article .body-copy {
  color: var(--ink);
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
}
.featured-article .read-more {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--serif);
  color: var(--blue-deep);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  font-size: 1rem;
}
.featured-article .read-more:hover { color: var(--gold); }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.article-card {
  background: #fff;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--blue-deep);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}
.article-card .article-image {
  aspect-ratio: 16 / 9;
  background-color: var(--blue-deep);
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(135deg, var(--blue-mid), var(--blue-deep));
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  position: relative;
}
.article-card .article-image::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}
.article-card .article-body {
  padding: 1.25rem 1.25rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card .meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.article-card .category {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--gold);
}
.article-card .date {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.article-card p {
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.9rem;
  flex: 1;
}
.article-card .read-more {
  align-self: flex-start;
  font-family: var(--serif);
  color: var(--blue-deep);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  font-size: 0.92rem;
}
.article-card .read-more:hover { color: var(--gold); }

/* ---------- Ad slots (placeholders — edit copy later) ---------- */
.ad-slot {
  margin: 2rem 0;
  padding: 1.5rem 1.25rem;
  border: 2px dashed var(--gold);
  background: #FBF8EE;
  text-align: center;
  color: var(--muted);
  font-family: var(--serif);
  position: relative;
  border-radius: 2px;
}
.ad-slot .ad-label {
  position: absolute;
  top: -10px;
  left: 1rem;
  background: var(--cream);
  padding: 0 0.5rem;
  font-family: var(--sans);
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.22em;
}
.ad-slot .ad-headline {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--blue-deep);
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}
.ad-slot .ad-subline {
  font-size: 0.92rem;
  color: var(--ink);
  font-family: var(--sans);
  font-style: italic;
}
.ad-slot .ad-cta {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.ad-slot.ad-leaderboard {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ad-slot.ad-rectangle {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.ad-slot.ad-banner {
  background:
    linear-gradient(135deg, rgba(10,36,114,0.95), rgba(30,74,156,0.95));
  color: #fff;
  border-color: var(--gold);
}
.ad-slot.ad-banner .ad-label { background: var(--blue-deep); color: var(--gold-soft); }
.ad-slot.ad-banner .ad-headline { color: #fff; }
.ad-slot.ad-banner .ad-subline { color: rgba(255,255,255,0.85); }
.ad-slot.ad-banner .ad-cta { color: var(--gold-soft); border-color: var(--gold-soft); }

/* Image-based ad unit (whole artwork is the creative). Google-style
   corner label so readers know it's sponsored content. */
.ad-image-slot {
  position: relative;
  display: block;
  max-width: 320px;
  margin: 1.5rem auto;
  line-height: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ad-image-slot img {
  display: block;
  width: 100%;
  height: auto;
}
.ad-image-slot .ad-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.95);
  color: #333;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  padding: 5px 8px 5px 7px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 3px;
  z-index: 2;
}
.ad-image-slot .ad-badge::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: radial-gradient(currentColor 1.5px, transparent 1.6px) center/100% no-repeat;
  margin-right: 2px;
  opacity: 0.7;
}
/* Sidebar ad (right of the featured article) — small, not a focal point */
.featured-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 215px;
  gap: 1.5rem;
  align-items: start;
}
.featured-sidebar { width: 215px; }
.featured-sidebar .ad-image-slot {
  max-width: 215px;
  margin: 0;
  box-shadow: 0 2px 10px rgba(10,36,114,0.12);
}
.featured-sidebar .ad-image-slot + .ad-image-slot {
  margin-top: 1rem;
}
.featured-sidebar .ad-badge {
  font-size: 0.7rem;
  padding: 4px 8px;
  letter-spacing: 0.12em;
}
@media (max-width: 820px) {
  .featured-with-sidebar { grid-template-columns: 1fr; }
  .featured-sidebar { width: auto; }
  .featured-sidebar .ad-image-slot {
    max-width: 298px;
    margin: 1rem auto 0;
  }
}
/* Full-width image banner ad (e.g. top of news page) */
.ad-image-slot.ad-banner-image {
  max-width: 75%;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .ad-image-slot.ad-banner-image { max-width: 100%; }
}

/* Expandable long-form article (hidden until Read More is clicked) */
.featured-expanded {
  display: none;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(10,36,114,0.12);
}
.featured-article.is-expanded .featured-expanded { display: block; }
.featured-expanded h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--blue-deep);
  margin: 0 0 0.35rem;
}
.featured-expanded .dek-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--muted);
  margin: 0 0 1.1rem;
}
.featured-expanded h4 {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--blue-deep);
  margin: 1.6rem 0 0.55rem;
}
.featured-expanded .body-copy { margin: 0 0 0.9rem; }
.featured-expanded .article-list {
  margin: 0 0 1rem 0;
  padding-left: 1.25rem;
  color: var(--ink);
}
.featured-expanded .article-list li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.featured-expanded .inline-figure { margin: 1.4rem 0; }
.featured-expanded .inline-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  box-shadow: 0 4px 16px rgba(10,36,114,0.14);
}
.featured-expanded .inline-figure figcaption {
  font-family: var(--serif);
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 0.55rem;
}
.featured-article .read-more[data-expand] {
  cursor: pointer;
  user-select: none;
}

/* ---------- Expandable article card (in-grid) ---------- */
.article-card-expandable .card-expanded {
  display: none;
  grid-column: 1 / -1;
}
.article-card-expandable.is-expanded {
  grid-column: 1 / -1;
}
.article-card-expandable.is-expanded .card-expanded {
  display: block;
  border-top: 1px solid rgba(10,36,114,0.08);
  background: #fff;
}
.article-card-expandable .card-expanded-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2rem;
}
.article-card-expandable .card-expanded-ad {
  margin: 0 0 1.75rem;
  padding: 1.25rem 1.25rem;
  text-align: center;
}
.article-card-expandable .card-expanded-inner .dek {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0 0 0.35rem;
  line-height: 1.45;
}
.article-card-expandable .card-expanded-inner .byline {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(10,36,114,0.12);
  margin: 0 0 1.25rem;
}
.article-card-expandable .card-expanded-inner h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--blue-deep);
  margin: 1.7rem 0 0.55rem;
  line-height: 1.25;
}
.article-card-expandable .card-expanded-inner .body-copy {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1rem;
}
.article-card-expandable .card-expanded-inner .article-list {
  margin: 0 0 1.1rem 0;
  padding-left: 1.25rem;
  color: var(--ink);
}
.article-card-expandable .card-expanded-inner .article-list li {
  margin-bottom: 0.6rem;
  line-height: 1.65;
}
.article-card-expandable .read-more[data-card-expand] {
  cursor: pointer;
  user-select: none;
}

/* Drop cap on the first paragraph of an expanded article */
.card-expanded-inner p.dropcap::first-letter {
  font-family: var(--serif);
  font-size: 4.4rem;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  margin: 0.1em 0.12em 0 0;
  color: var(--blue-deep);
}

/* Pull quote */
.card-expanded-inner .article-pullquote {
  border-left: 4px solid var(--gold);
  background: var(--blue-soft);
  margin: 2.25rem 0;
  padding: 1.4rem 1.75rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--blue-deep);
}
.card-expanded-inner .article-pullquote cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.75rem;
}

/* Signature-stretch (Amen-corner-style) callout */
.card-expanded-inner .signature-stretch {
  background: var(--blue-deep);
  color: var(--cream);
  border: 2px solid var(--gold);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  border-radius: 2px;
}
.card-expanded-inner .signature-stretch .box-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.45rem;
}
.card-expanded-inner .signature-stretch h5 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 1.1rem;
}
.card-expanded-inner .signature-stretch p {
  color: rgba(246, 241, 227, 0.92);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}
.card-expanded-inner .signature-stretch .hole-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.25rem 0;
}
@media (max-width: 720px) {
  .card-expanded-inner .signature-stretch .hole-grid {
    grid-template-columns: 1fr;
  }
}
.card-expanded-inner .signature-stretch .hole-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(200, 169, 81, 0.6);
  padding: 0.95rem 0.9rem;
  text-align: center;
  border-radius: 2px;
}
.card-expanded-inner .signature-stretch .hole-num {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.card-expanded-inner .signature-stretch .hole-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: #fff;
  margin: 0.3rem 0 0.35rem;
  line-height: 1.2;
}
.card-expanded-inner .signature-stretch .hole-par {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.04em;
}
.card-expanded-inner .signature-stretch .hole-desc {
  font-family: var(--serif);
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(246, 241, 227, 0.78);
  margin-top: 0.55rem;
  text-align: left;
}

/* Power-rankings entry block */
.card-expanded-inner .ranking-entry {
  position: relative;
  margin: 2.25rem 0;
  padding: 1.4rem 1.5rem 1.25rem 1.75rem;
  background: var(--blue-soft);
  border-left: 4px solid var(--gold);
  border-radius: 2px;
}
.card-expanded-inner .ranking-entry .entry-rank {
  position: absolute;
  top: 0.85rem;
  right: 1.25rem;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--blue-deep);
  opacity: 0.16;
  letter-spacing: -0.02em;
  pointer-events: none;
}
.card-expanded-inner .ranking-entry h4 {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--blue-deep);
  margin: 0 0 0.15rem;
  line-height: 1.2;
  padding-right: 3rem;
}
.card-expanded-inner .ranking-entry .entry-meta {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.95rem;
  margin-left: 0.4rem;
}
.card-expanded-inner .ranking-entry .entry-subtitle {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
  letter-spacing: 0.01em;
}
.card-expanded-inner .ranking-entry .body-copy {
  margin: 0 0 0.85rem;
}
.card-expanded-inner .ranking-entry .body-copy:last-of-type {
  margin-bottom: 0.85rem;
}
.card-expanded-inner .ranking-entry .entry-final {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(10,36,114,0.1);
}

/* Format callout (light variant) */
.card-expanded-inner .format-callout {
  background: var(--cream);
  border: 1px solid rgba(10, 36, 114, 0.08);
  border-left: 5px solid var(--blue-deep);
  padding: 1.4rem 1.75rem;
  margin: 2rem 0;
  border-radius: 2px;
}
.card-expanded-inner .format-callout .box-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.card-expanded-inner .format-callout h5 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 0 0 0.85rem;
  line-height: 1.2;
}
.card-expanded-inner .format-callout p {
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0 0 0.7rem;
  color: var(--ink);
}
.card-expanded-inner .format-callout p:last-child { margin-bottom: 0; }

/* ---------- Classifieds (back of the book) ---------- */
.classifieds-section {
  padding: 3rem 0 2.5rem;
  background: var(--cream);
  border-top: 3px solid var(--blue-deep);
  border-bottom: 1px solid rgba(10, 36, 114, 0.1);
}
.classifieds-section .classifieds-blurb {
  color: var(--muted);
  max-width: 640px;
  margin: -0.25rem 0 1.75rem;
  font-style: italic;
  font-size: 0.95rem;
}
.classifieds-content {
  column-count: 3;
  column-gap: 2.25rem;
  column-rule: 1px dashed rgba(10, 36, 114, 0.18);
}
@media (max-width: 900px) {
  .classifieds-content { column-count: 2; }
}
@media (max-width: 600px) {
  .classifieds-content { column-count: 1; }
}
.classifieds-heading {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-deep);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 0.65rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--gold);
  break-inside: avoid;
  -webkit-column-break-after: avoid;
  break-after: avoid;
}
.classifieds-heading:not(:first-child) {
  margin-top: 1.5rem;
}
.classifieds-entry {
  font-family: var(--serif);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 0.85rem;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
.classifieds-entry strong {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-deep);
  margin-right: 0.25rem;
}
.classifieds-disclaimer {
  color: var(--muted);
  margin-top: 2rem;
  font-size: 0.82rem;
  text-align: center;
  font-style: italic;
}

/* ---------- Long-form standalone article ---------- */
.longform {
  max-width: 760px;
  margin: 0 auto;
}
.longform .dek {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 0.35rem;
  line-height: 1.4;
}
.longform .byline {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 1.25rem;
}
.longform .longform-figure {
  margin: 1.5rem 0 1.75rem;
}
.longform .longform-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  box-shadow: 0 6px 20px rgba(10,36,114,0.18);
}
.longform .longform-figure figcaption {
  font-family: var(--serif);
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 0.55rem;
}
.longform h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--blue-deep);
  margin: 1.8rem 0 0.6rem;
  line-height: 1.25;
}
.longform .body-copy {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1rem;
}
.longform .article-list {
  margin: 0 0 1.1rem 0;
  padding-left: 1.25rem;
  color: var(--ink);
}
.longform .article-list li {
  margin-bottom: 0.6rem;
  line-height: 1.65;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.8);
  padding: 2.5rem 0 1.5rem;
  margin-top: 4rem;
  border-top: 3px solid var(--gold);
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer .brand { color: #fff; }
.site-footer small {
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
}

/* ---------- Responsive nav ---------- */
@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    cursor: pointer;
    border-radius: 2px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--blue-deep);
    padding: 0.5rem 1.5rem 1rem;
    border-bottom: 3px solid var(--gold);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 0.75rem 0; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.section-alt { background: #fff; }
.section-dark {
  background: var(--blue-deep);
  color: #fff;
}
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--gold-soft); }
