/*
Theme Name: FullCourtCoverage
Theme URI: https://yoursite.com
Author: FullCourtCoverage
Description: A clean, editorial sports blog theme with API publishing support and optional advertising placements.
Version: 1.0.0
License: GNU General Public License v2 or later
Tags: sports, blog, editorial, responsive
*/

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Tokens ── */
:root {
  --red:        #E24B4A;
  --red-dark:   #A32D2D;
  --blue:       #185FA5;
  --amber:      #BA7517;
  --green-tag:  #3B6D11;

  --bg:         #ffffff;
  --bg-2:       #F7F6F3;
  --border:     rgba(0,0,0,0.12);
  --border-md:  rgba(0,0,0,0.22);

  --text:       #1a1a1a;
  --text-2:     #666660;
  --text-3:     #999994;

  --radius:     10px;
  --radius-sm:  6px;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Source Serif 4', serif;
  --font-ui:      'DM Sans', sans-serif;

  --max-w: 1100px;
  --col-gap: 1.25rem;
}

/* ── Base ── */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Site header ── */
.site-header {
  border-bottom: 0.5px solid var(--border);
  padding: 1.1rem 0;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.site-logo span { color: var(--red); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
}
.main-nav a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--text); }

/* ── Ad banner ── */
.ad-leaderboard {
  padding: 0.75rem 0;
  border-bottom: 0.5px solid var(--border);
}
.ad-slot {
  border: 1.5px dashed var(--border-md);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ad-slot--leaderboard { height: 90px; max-width: 728px; margin: 0 auto; }
.ad-slot--mrec       { height: 250px; width: 300px; }

/* ── Hero ── */
.hero { padding: 2rem 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--col-gap);
}
.hero-feature {
  background: #1a1a1a;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.hero-feature .feat-thumb {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.hero-feature .feat-overlay {
  position: absolute;
  inset: 0;
  /*background: linear-gradient(to top, rgba(0,0,0,0.88) 40%, transparent 100%);*/
}
.hero-feature .feat-body { position: relative; z-index: 1; }
.hero-feature .feat-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}
.hero-feature .feat-meta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.sidebar-card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.15s;
}
.sidebar-card:hover { border-color: var(--border-md); }
.sidebar-card .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--border-md);
  line-height: 1;
  min-width: 32px;
}
.sidebar-card .card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
  color: var(--text);
}
.sidebar-card .card-meta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-3);
}

/* ── Category tag ── */
.cat-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  background: var(--red);
  color: #fff;
}
.cat-tag--blue   { background: var(--blue); }
.cat-tag--amber  { background: var(--amber); }
.cat-tag--green  { background: var(--green-tag); }

/* ── Divider ── */
.section-divider {
  height: 0.5px;
  background: var(--border);
  margin: 1.5rem 0 1rem;
}
.section-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1rem;
}

/* ── Article grid ── */
.article-grid-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  gap: var(--col-gap);
  align-items: start;
  margin-bottom: 3rem;
}
.article-cols { display: flex; flex-direction: column; gap: var(--col-gap); }
.article-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s;
}
.article-card:hover { border-color: var(--border-md); }
.article-card .thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
}
.article-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-card .card-body { padding: 1rem; }
.article-card .card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.article-card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-3);
}

/* ── Sidebar ad column ── */
.ad-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 80px;
}

/* ── Single post ── */
.post-header { padding: 2.5rem 0 1.5rem; max-width: 720px; margin: 0 auto; }
.post-header .post-title {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.post-header .post-meta {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-2);
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.post-thumbnail {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.post-content {
  max-width: 720px;
  margin: 0 auto 3rem;
}
.post-content p  { margin-bottom: 1.25em; }
.post-content h2 { font-size: 1.6rem; margin: 2rem 0 0.75rem; }
.post-content h3 { font-size: 1.3rem; margin: 1.5rem 0 0.5rem; }
.post-content ul,
.post-content ol { padding-left: 1.5rem; margin-bottom: 1.25em; }
.post-content blockquote {
  border-left: 3px solid var(--red);
  padding-left: 1rem;
  color: var(--text-2);
  font-style: italic;
  margin: 1.5rem 0;
}

/* ── Footer ── */
.site-footer {
  border-top: 0.5px solid var(--border);
  padding: 2rem 0;
  margin-top: 3rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-3);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid,
  .article-grid-wrap { grid-template-columns: 1fr; }
  .ad-sidebar-col { position: static; }
  .article-cols + .article-cols { display: none; }
}
@media (max-width: 600px) {
  .main-nav { display: none; }
  .hero-feature { min-height: 260px; }
}
