/*
Theme Name: Data Driven HBCU
Theme URI: https://datadrivenhbcu.com
Author: Urban Belle Media, LLC
Author URI: https://urbanbellemag.com
Description: Official theme for Data Driven HBCU — editorial sports data journalism covering HBCU athletics.
Version: 1.0.0
License: Proprietary
Tags: custom, editorial, sports, magazine
Text Domain: ddhbcu
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --cream:       #F8F5F0;
  --cream-dark:  #EDE8E0;
  --navy:        #0D1B2A;
  --navy-mid:    #1A2E45;
  --gold:        #EAAA00;
  --gold-dark:   #C8900A;
  --text:        #1E1E1E;
  --text-muted:  #5A5A5A;
  --text-light:  #8A8A8A;
  --white:       #FFFFFF;
  --border:      #DDD7CE;
  --card-bg:     #FFFFFF;
  --section-bg:  #F2EDE6;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', 'Helvetica Neue', Arial, sans-serif;

  --radius:      6px;
  --radius-lg:   12px;
  --shadow-sm:   0 1px 4px rgba(13,27,42,0.08);
  --shadow-md:   0 4px 16px rgba(13,27,42,0.12);
  --shadow-lg:   0 8px 32px rgba(13,27,42,0.16);

  --max-width:   1200px;
  --gap:         32px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-dark); }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p { margin-bottom: 1.25rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--text-muted); }

.label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 8px;
}

.section-rule {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 16px 0 32px;
}

.section-rule.centered {
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  text-decoration: none;
}

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

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ============================================================
   CATEGORY BADGE
   ============================================================ */
.cat-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.cat-badge-gold { background: var(--gold); color: var(--navy); }
.cat-badge-navy { background: var(--navy); color: var(--white); }
.cat-badge-outline { border: 1px solid var(--navy); color: var(--navy); background: transparent; }
.cat-badge-muted { background: var(--cream-dark); color: var(--text-muted); }

/* ============================================================
   SITE HEADER
   ============================================================ */
#site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 44px;
  width: auto;
}

.site-logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.site-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-family: var(--font-sans);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
}

/* Primary Nav */
#primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

#primary-nav .nav-link {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
  white-space: nowrap;
}

#primary-nav .nav-link:hover,
#primary-nav .nav-link.current {
  background: var(--cream);
  color: var(--gold-dark);
}

#primary-nav .nav-link.nav-cta {
  background: var(--navy);
  color: var(--white);
  margin-left: 8px;
}

#primary-nav .nav-link.nav-cta:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .25s;
}

/* Mobile nav */
#mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 0;
}

#mobile-nav.open { display: block; }

#mobile-nav a {
  display: block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  padding: 12px 24px;
  border-bottom: 1px solid var(--cream-dark);
}

#mobile-nav a:hover { color: var(--gold-dark); background: var(--cream); }

/* ============================================================
   TICKER / BREAKING BAR
   ============================================================ */
.ticker-bar {
  background: var(--navy);
  color: var(--white);
  padding: 8px 0;
  font-size: 12px;
  font-family: var(--font-sans);
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ticker-label {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.ticker-text { opacity: .85; }

/* ============================================================
   HERO — FEATURED ARTICLE
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.92) 30%, rgba(13,27,42,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 0 56px;
  max-width: 760px;
}

.hero-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-excerpt {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 620px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  font-family: var(--font-sans);
}

.hero-meta .author { color: var(--gold); font-weight: 600; }
.hero-meta .sep { opacity: .4; }

/* ============================================================
   ARTICLE CARDS
   ============================================================ */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--cream-dark);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.card:hover .card-thumb img { transform: scale(1.04); }

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-cat {
  margin-bottom: 10px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
  flex: 1;
}

.card-title a:hover { color: var(--gold-dark); }

.card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  font-size: 11px;
  color: var(--text-light);
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.card-meta .sep { opacity: .4; }

/* Card sizes */
.card-lg .card-title { font-size: 1.5rem; }
.card-lg .card-excerpt { -webkit-line-clamp: 4; }

.card-sm .card-thumb { aspect-ratio: 16/9; }
.card-sm .card-body { padding: 14px 16px; }
.card-sm .card-title { font-size: 1rem; }

/* Horizontal card */
.card-horizontal {
  flex-direction: row;
}

.card-horizontal .card-thumb {
  width: 180px;
  flex-shrink: 0;
  aspect-ratio: auto;
}

.card-horizontal .card-body { padding: 16px 20px; }

/* ============================================================
   ARTICLE GRID LAYOUTS
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

.grid-feature {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--gap);
}

.grid-feature-reverse {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--gap);
}

/* ============================================================
   HOMEPAGE — LATEST ARTICLES SECTION
   ============================================================ */
.section-latest { background: var(--cream); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
}

.section-header-left { flex: 1; }
.section-header .section-rule { margin-bottom: 0; }

/* ============================================================
   DASHBOARDS SPOTLIGHT
   ============================================================ */
.section-dashboards {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-dashboards::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(234,170,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.section-dashboards .section-eyebrow { color: var(--gold); }
.section-dashboards .section-title { color: var(--white); }
.section-dashboards .section-rule { background: var(--gold); }

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.dashboard-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: background .2s, border-color .2s, transform .2s;
  text-decoration: none;
  display: block;
}

.dashboard-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--gold);
  transform: translateY(-2px);
  color: var(--white);
}

.dashboard-card-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.dashboard-card-icon svg { width: 22px; height: 22px; color: var(--navy); }

.dashboard-card-season {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-family: var(--font-sans);
}

.dashboard-card h3 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.dashboard-card p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
  line-height: 1.6;
}

.dashboard-card-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
}

.dashboard-card-link::after { content: '→'; }

/* ============================================================
   RANKINGS SECTION
   ============================================================ */
.section-rankings { background: var(--section-bg); }

.rankings-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
}

.rankings-table th {
  text-align: left;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 10px 16px;
  border-bottom: 2px solid var(--border);
}

.rankings-table th.num { text-align: right; }

.rankings-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: middle;
}

.rankings-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.rankings-table tr:hover td { background: rgba(234,170,0,.05); }
.rankings-table tr:last-child td { border-bottom: none; }

.rank-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-dark);
  width: 40px;
}

.rank-school-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.rank-conf {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--white);
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 8px;
}

/* ============================================================
   STATS PREVIEW
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.stat-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.stat-card-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card-num span { color: var(--gold-dark); font-size: 1.5rem; }

.stat-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  font-family: var(--font-sans);
}

.stat-card-school {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   NEWSLETTER / CTA BAND
   ============================================================ */
.section-cta {
  background: var(--gold);
  padding: 56px 0;
  text-align: center;
}

.section-cta h2 {
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}

.section-cta p {
  color: var(--navy);
  opacity: .75;
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 28px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 2px solid rgba(13,27,42,.25);
  font-family: var(--font-sans);
  font-size: 14px;
  background: rgba(255,255,255,.9);
  color: var(--navy);
  outline: none;
}

.newsletter-form input:focus { border-color: var(--navy); }
.newsletter-form input::placeholder { color: var(--text-light); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.sidebar-widget {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.widget-title {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 20px;
}

.sidebar-post {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cream-dark);
}

.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }

.sidebar-post-thumb {
  width: 72px;
  height: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream-dark);
}

.sidebar-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-post-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 4px;
}

.sidebar-post-title a:hover { color: var(--gold-dark); }
.sidebar-post-date { font-size: 11px; color: var(--text-light); }

/* ============================================================
   SINGLE ARTICLE
   ============================================================ */
.article-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.article-header .cat-badge { margin-bottom: 16px; }

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.article-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-light);
  font-family: var(--font-sans);
}

.article-meta-bar .author {
  font-weight: 700;
  color: var(--navy);
}

.article-featured-image {
  margin: 0 0 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.article-body h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
}

.article-body h3 {
  font-size: 1.4rem;
  margin: 2rem 0 .75rem;
}

.article-body img {
  border-radius: var(--radius);
  margin: 2rem 0;
}

.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 12px 24px;
  margin: 2rem 0;
  background: var(--section-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-body blockquote p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
  font-style: italic;
}

.article-body a { color: var(--gold-dark); text-decoration: underline; }
.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-body li { margin-bottom: .5rem; }

/* Article tags */
.article-tags { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.article-tags .tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 6px 6px 0;
  transition: all .15s;
}
.article-tags .tag:hover { border-color: var(--navy); color: var(--navy); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-sans);
  margin-bottom: 12px;
  display: block;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-intro-text h2 { margin-bottom: 20px; }
.about-intro-text p { color: var(--text-muted); margin-bottom: 1.25rem; }

.about-intro-visual {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  text-align: center;
}

.value-icon {
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.value-card h4 { color: var(--navy); margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
}

.contact-info h3 { margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 24px; }

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 36px;
  height: 36px;
  background: var(--cream-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg { width: 16px; height: 16px; color: var(--navy); }

.contact-label { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.contact-value { font-weight: 600; color: var(--navy); }

/* Contact Form */
.contact-form { background: var(--card-bg); border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--border); }

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

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--navy);
  margin-bottom: 6px;
  font-family: var(--font-sans);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s;
  outline: none;
}

.form-control:focus { border-color: var(--navy); }
textarea.form-control { min-height: 140px; resize: vertical; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.page-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--border);
  transition: all .15s;
}

.page-num:hover, .page-num.current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.page-num.current { cursor: default; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .site-logo-text {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: color .15s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin: 0;
}

.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--white); }

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.social-link:hover { background: var(--gold); }
.social-link svg { width: 16px; height: 16px; color: var(--white); }
.social-link:hover svg { color: var(--navy); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-values { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --gap: 20px; }

  .grid-3, .grid-2, .grid-feature, .grid-feature-reverse {
    grid-template-columns: 1fr;
  }

  .dashboard-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  #primary-nav { display: none; }
  .nav-toggle { display: flex; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .newsletter-form { flex-direction: column; }

  .hero { min-height: 420px; }
  .hero-content { padding: 48px 0 40px; }

  .card-horizontal { flex-direction: column; }
  .card-horizontal .card-thumb { width: 100%; aspect-ratio: 16/10; }

  .section { padding: 48px 0; }
  .section-sm { padding: 32px 0; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   WORDPRESS CORE COMPATIBILITY
   ============================================================ */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--text-light); margin-top: 6px; text-align: center; }

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  #site-header, #site-footer, .sidebar, .section-cta { display: none; }
  body { background: white; color: black; }
  .article-body { font-size: 12pt; }
}

/* ============================================================
   ARTICLE LIST (homepage text-forward section)
   ============================================================ */
.article-list { }

.article-list-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.article-list-item:last-child { border-bottom: none; }

.article-list-cat {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
  font-family: var(--font-sans);
}

.article-list-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 8px;
}
.article-list-title a:hover { color: var(--gold-dark); }

.article-list-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-list-meta {
  font-size: 11px;
  color: var(--text-light);
  font-family: var(--font-sans);
  display: flex;
  gap: 8px;
}
.article-list-meta .sep { opacity: .4; }

/* ============================================================
   SIDEBAR — NUMBERED (Urban Belle style)
   ============================================================ */
.sidebar-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  min-width: 32px;
  flex-shrink: 0;
}

.sidebar-post {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-dark);
  align-items: flex-start;
}
.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }

.sidebar-post-content { flex: 1; }

.sidebar-post-cat {
  margin-bottom: 4px;
}

.sidebar-post-title {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 4px;
}
.sidebar-post-title a:hover { color: var(--gold-dark); }

.sidebar-post-date {
  font-size: 11px;
  color: var(--text-light);
  font-family: var(--font-sans);
}

/* Sidebar CTA widget */
.sidebar-dashboard-cta {
  background: var(--navy);
  border-color: var(--navy);
}
.sidebar-dashboard-cta .widget-title {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.sidebar-dashboard-cta p { color: rgba(255,255,255,.65); }

/* ============================================================
   HEADER SCROLLED STATE
   ============================================================ */
#site-header.scrolled {
  box-shadow: 0 2px 16px rgba(13,27,42,0.12);
}

/* ============================================================
   TOPIC LINKS (archive sidebar)
   ============================================================ */
.topic-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 14px;
  color: var(--navy);
  transition: color .15s;
}
.topic-link:last-child { border-bottom: none; }
.topic-link:hover { color: var(--gold-dark); }
.topic-link span { font-size: 11px; color: var(--text-light); }

/* ============================================================
   FOOTER LOGO
   ============================================================ */
.footer-logo {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-decoration: none;
}

/* ============================================================
   WP PAGINATION OVERRIDE
   ============================================================ */
.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-links .page-numbers {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--border);
  transition: all .15s;
}
.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.nav-links .prev, .nav-links .next {
  width: auto;
  padding: 0 16px;
}
