/* sport.html — styles used only on this page (Sports).
   Shared styles: assets/site.css. Bump ?v= on the <link> after editing. */

/* ─── Sport Hero ─────────────────────────────────────────────── */
.sport-hero {
  background: var(--navy);
  position: relative; overflow: hidden;
  padding: 56px 0 48px;
}
.sport-hero::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,.04) 0px, rgba(255,255,255,.04) 2px,
    transparent 2px, transparent 24px
  );
}
.sport-hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.sport-hero-icon {
  width: 104px; height: 104px; flex-shrink: 0;
  border-radius: 10px; background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
}
.breadcrumb {
  font-family: 'Nunito', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: 8px;
}
.breadcrumb a:hover { color: white; }
.sport-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; line-height: 1; color: white;
}
.sport-hero-sub {
  font-family: 'Nunito', sans-serif;
  font-size: 15px; color: rgba(255,255,255,.75);
  margin-top: 10px;
}

/* ─── Sports Banner ──────────────────────────────────────────── */
.sports-banner { background: var(--red); position: relative; overflow: hidden; }
.sports-banner::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -60deg, rgba(0,0,0,.04) 0px, rgba(0,0,0,.04) 1px,
    transparent 1px, transparent 16px
  );
}
/* Same layout as the homepage banner (index.css): wraps on desktop, grid on phones */
.sports-row { position: relative; display: flex; flex-wrap: wrap; justify-content: center; }
.sports-group { display: flex; flex-wrap: wrap; justify-content: center; }
.sports-group[hidden] { display: none; }
/* Social + Happy Hour sit apart from the sports on a darker band */
.sports-group-social { background: rgba(0,0,0,.14); }
.sport-pill {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.85); white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.15);
  cursor: pointer; transition: background .15s, color .15s;
}
.sports-group:first-child .sport-pill:first-child { border-left: 1px solid rgba(255,255,255,.15); }
.sport-pill:hover { background: rgba(255,255,255,.1); color: white; }
.sport-pill.active { background: var(--red-dark); color: white; box-shadow: inset 0 -3px 0 white; }
.sport-pill .sp-icon { font-size: 17px; }
@media (max-width: 760px) {
  .sports-row { display: block; }
  .sports-group { display: grid; grid-template-columns: repeat(3, 1fr); }
  .sports-group-social { grid-template-columns: repeat(2, 1fr); }
  .sports-group[hidden] { display: none; }
  .sport-pill {
    padding: 12px 6px; font-size: 12px; letter-spacing: .08em; gap: 6px;
    border-left: none !important; border-bottom: 1px solid rgba(255,255,255,.15);
  }
  .sports-group .sport-pill:nth-child(3n) { border-right: none; }
  .sports-group-social .sport-pill:nth-child(2n) { border-right: none; }
  .sports-group-social .sport-pill { border-bottom: none; }
  .sport-pill .sp-icon { font-size: 15px; }
}

/* ─── Main Content ───────────────────────────────────────────── */
.main-content { padding: 60px 0; }
.content-grid {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 48px; align-items: start;
}
.sec-label {
  font-family: 'Oswald', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 4px;
}
.sec-title {
  font-family: 'Oswald', sans-serif;
  font-size: 28px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--ink); margin-bottom: 28px;
}
.empty-note {
  font-family: 'Nunito', sans-serif; font-size: 14px;
  color: var(--ink-light); padding: 28px 20px; text-align: center;
  border: 2px dashed rgba(26,35,64,.12); border-radius: var(--radius);
}
.sidebar-card .empty-note { border: none; font-size: 13px; padding: 20px; }
.load-more-wrap { text-align: center; margin-top: 24px; }

/* ─── Article cards ──────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.news-card {
  border: 2px solid rgba(26,35,64,.1);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, transform .2s; background: white;
  cursor: pointer;
}
.news-card:hover { border-color: var(--red); transform: translateY(-2px); }
.news-card-img { height: 160px; position: relative; overflow: hidden; }
.news-card-img-bg { width: 100%; height: 100%; object-fit: cover; }
.nc-sport-gradient {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.nc-sport-text {
  font-family: 'Oswald', sans-serif;
  font-size: 22px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.25);
}
.news-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
.news-card.featured .news-card-img { height: auto; min-height: 200px; }
.news-card-body { padding: 18px; }
.news-card-date {
  font-family: 'Nunito', sans-serif;
  font-size: 11px; color: var(--ink-light); margin-bottom: 8px;
}
.news-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 18px; font-weight: 600; line-height: 1.3;
  color: var(--ink); margin-bottom: 8px;
  letter-spacing: .02em; text-transform: uppercase;
  transition: color .2s;
}
.news-card:hover h3 { color: var(--red); }
.news-card.featured h3 { font-size: 24px; }
.news-card p {
  font-size: 13px; line-height: 1.65;
  color: var(--ink-mid); margin-bottom: 14px;
}
.news-cta {
  font-family: 'Oswald', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); display: inline-flex;
  align-items: center; gap: 6px; transition: gap .2s;
}
.news-card:hover .news-cta { gap: 10px; }
.news-cta::after { content: '→'; }
.skeleton-line {
  height: 12px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(26,35,64,.08) 25%, rgba(26,35,64,.14) 50%, rgba(26,35,64,.08) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
@keyframes shimmer { 0%{background-position:100% 50%} 100%{background-position:0% 50%} }

/* ─── Sidebar ─────────────────────────────────────────────────── */
.sidebar-card {
  background: white; border: 2px solid rgba(26,35,64,.1);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 28px;
}
.sidebar-card-header {
  background: var(--navy); padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
}
.sch-title {
  font-family: 'Oswald', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: white;
}
.sch-link {
  font-family: 'Nunito', sans-serif;
  font-size: 11px; font-weight: 600;
  color: var(--tan); letter-spacing: .08em;
  text-transform: uppercase; transition: color .2s;
}
.sch-link:hover { color: white; }
.se-item {
  display: flex; gap: 0;
  border-bottom: 1px solid rgba(26,35,64,.06); cursor: pointer;
  transition: background .15s;
}
.se-item:last-child { border-bottom: none; }
.se-item:hover { background: rgba(191,30,46,.03); }
.se-date {
  width: 54px; flex-shrink: 0; background: var(--cream);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 14px 6px;
  border-right: 1px solid rgba(26,35,64,.08);
}
.se-date .mo {
  font-family: 'Oswald', sans-serif;
  font-size: 9px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red);
}
.se-date .dy {
  font-family: 'Oswald', sans-serif;
  font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1;
}
.se-item.past .se-date .mo, .se-item.past .se-date .dy { color: var(--ink-light); }
.se-body { flex: 1; padding: 12px 14px; }
.se-name {
  font-family: 'Oswald', sans-serif;
  font-size: 14px; font-weight: 600;
  text-transform: uppercase; color: var(--ink); margin-bottom: 4px; line-height: 1.2;
}
.se-meta {
  font-family: 'Nunito', sans-serif;
  font-size: 11px; color: var(--ink-light); display: flex; gap: 8px; flex-wrap: wrap;
}
.se-tag {
  font-family: 'Nunito', sans-serif;
  font-size: 9px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); background: rgba(191,30,46,.1);
  padding: 2px 7px; border-radius: 20px; display: inline-block;
  margin-bottom: 4px;
}
.sidebar-more {
  display: block; width: 100%;
  background: var(--cream-dark); border: none; cursor: pointer;
  padding: 12px; text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); transition: color .2s;
}
.sidebar-more:hover { color: var(--red); }

/* ─── Unknown sport ──────────────────────────────────────────── */
.not-found { text-align: center; padding: 40px 0; }
.not-found h2 {
  font-family: 'Oswald', sans-serif; font-size: 28px;
  text-transform: uppercase; margin-bottom: 10px;
}
.not-found p { font-family: 'Nunito', sans-serif; color: var(--ink-light); }

/* ─── Modals ─────────────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(10,14,28,.75); z-index: 500;
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--cream); border-radius: 10px;
  max-width: 560px; width: 100%;
  box-shadow: 0 32px 80px rgba(0,0,0,.5); overflow: hidden;
}
.modal-header {
  background: var(--navy); padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.modal-header h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; color: white;
}
.modal-close {
  background: none; border: none; color: rgba(255,255,255,.5);
  font-size: 22px; cursor: pointer; line-height: 1;
  transition: color .2s; padding: 0;
}
.modal-close:hover { color: white; }
.modal-body { padding: 24px; }
.modal-detail {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-family: 'Nunito', sans-serif; font-size: 14px; color: var(--ink-mid);
}
.modal-detail:last-child { border-bottom: none; }
.modal-detail strong { color: var(--ink); min-width: 90px; font-weight: 700; }
.em-signup:not(:empty) { padding-top: 18px; }
.modal-desc { padding: 16px 0 0; font-size: 14px; line-height: 1.7; color: var(--ink-mid); }
.modal-actions { padding: 0 24px 24px; display: flex; gap: 10px; }
.article-modal .modal { max-width: 720px; }
.article-modal .modal-body { max-height: 70vh; overflow-y: auto; }
.article-body-content { font-size: 15px; line-height: 1.8; color: var(--ink-mid); }
.article-body-content h1, .article-body-content h2, .article-body-content h3 {
  font-family: 'Oswald', sans-serif; text-transform: uppercase;
  color: var(--ink); margin: 20px 0 10px;
}
.article-body-content p { margin-bottom: 14px; }
.article-body-content ul, .article-body-content ol { margin: 0 0 14px 20px; }
/* Imported WordPress posts: photos, captions, tables, PDF links */
.article-body-content img { display: block; max-width: 100%; height: auto; border-radius: 6px; margin: 6px 0; }
.article-body-content img[width] { margin: 6px auto; }   /* sized in the editor: centered */
.article-body-content figure { margin: 0 0 16px; }
.article-body-content figcaption { font-size: 13px; color: var(--ink-light); margin-top: 4px; }
.article-body-content a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.article-body-content table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; display: block; overflow-x: auto; }
.article-body-content td, .article-body-content th { border: 1px solid var(--rule); padding: 6px 10px; text-align: left; vertical-align: top; }
.article-body-content blockquote { border-left: 3px solid var(--red); padding-left: 14px; margin: 0 0 14px; font-style: italic; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
  .sport-hero { padding: 40px 0 36px; }
  .sport-hero-icon { width: 76px; height: 76px; font-size: 40px; }
  .main-content { padding: 40px 0; }
}

/* ─── League description + rules/documents (admin → Sport Pages) ── */
.sport-intro { padding: 44px 0 4px; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.sport-intro.docs-only .intro-grid { grid-template-columns: minmax(0, 360px); }
.intro-text { font-size: 17px; line-height: 1.75; color: var(--ink-mid); max-width: 760px; }
.intro-text p { margin: 0 0 1em; }
.intro-text p:last-child { margin-bottom: 0; }
.intro-text h2, .intro-text h3 {
  font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .04em;
  color: var(--ink); margin: 1.2em 0 .4em; line-height: 1.2;
}
.intro-text h2 { font-size: 24px; }
.intro-text h3 { font-size: 19px; }
.intro-text ul, .intro-text ol { margin: 0 0 1em 1.4em; }
.intro-text li { margin: .2em 0; }
.intro-text a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.intro-text strong { color: var(--ink); }
.intro-text blockquote { border-left: 4px solid var(--red); padding-left: 16px; font-style: italic; margin: 0 0 1em; }
.intro-docs { background: white; border: 2px solid rgba(26,35,64,.1); border-radius: var(--radius); padding: 16px; }
.intro-docs-title {
  font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 10px;
}
.intro-doc {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 6px;
  border: 1.5px solid rgba(26,35,64,.1); margin-top: 8px; transition: border-color .2s, background .2s;
  font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 700; color: var(--ink);
}
.intro-doc:hover { border-color: var(--red); background: var(--cream); }
.intro-doc-icon { font-size: 20px; }
.intro-doc-name { flex: 1; min-width: 0; }
.intro-doc-kind { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--ink-light); }
@media (max-width: 800px) {
  .intro-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .intro-text { font-size: 16px; }
}

/* Articles without a picture: a slim colored band instead of a big block */
.news-card.no-img .news-card-img { height: 54px; min-height: 0; }
.news-card.no-img { align-self: start; }
.news-card.featured.no-img { display: block; }
.news-card.no-img .nc-sport-gradient { justify-content: flex-end; padding-right: 16px; }
.news-card.no-img .nc-sport-text { font-size: 24px; letter-spacing: 0; color: white; }
.news-card.no-img .news-card-img-sport { bottom: auto; top: 50%; transform: translateY(-50%); }