/*
Theme Name: Oklahoma City Podcast
Theme URI: https://theoklahomacitypodcast.com
Author: The Oklahoma City Podcast
Description: A hyper-local podcast theme for The Oklahoma City Podcast — covering everything happening in OKC each week.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: okc-podcast
Tags: podcast, blog, custom-menu, custom-logo, featured-images, full-width-template, theme-options
*/

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

:root {
  --navy:        #002D62;
  --navy-dark:   #001a3a;
  --navy-light:  #003f8a;
  --orange:      #EF3B24;
  --orange-light:#ff6347;
  --warm:        #FDF6ED;
  --tan:         #F5E8D0;
  --text:        #1a1a1a;
  --mid:         #555555;
  --white:       #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--warm);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ─── NAV ────────────────────────────────────────────── */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.nav-logo a {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.nav-logo span { color: var(--orange); }

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0; padding: 0;
}
.nav-menu li { list-style: none; }
.nav-menu a {
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--orange); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0;
  border-radius: 2px;
  transition: all 0.25s;
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  background: var(--navy);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 5% 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(239,59,36,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(239,59,36,0.08) 0%, transparent 55%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  position: relative;
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0.02em;
  position: relative;
}
.hero h1 .highlight { color: var(--orange); }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 24px auto 42px;
  font-weight: 300;
  position: relative;
}

.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 15px 36px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 15px 36px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.35);
  transition: border-color 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--white); transform: translateY(-2px); color: var(--white); }

/* Mic & soundwave */
.hero-mic { margin-top: 56px; position: relative; }
.mic-circle {
  width: 110px; height: 110px;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.mic-circle svg { width: 52px; height: 52px; fill: var(--orange); }

.soundwave {
  display: flex; align-items: center; justify-content: center;
  gap: 5px; margin-top: 18px;
}
.soundwave span {
  display: block; width: 4px;
  background: rgba(239,59,36,0.6); border-radius: 4px;
  animation: wave 1.2s ease-in-out infinite;
}
.soundwave span:nth-child(1) { height: 14px; animation-delay: 0s; }
.soundwave span:nth-child(2) { height: 28px; animation-delay: 0.1s; }
.soundwave span:nth-child(3) { height: 20px; animation-delay: 0.2s; }
.soundwave span:nth-child(4) { height: 36px; animation-delay: 0.15s; }
.soundwave span:nth-child(5) { height: 22px; animation-delay: 0.3s; }
.soundwave span:nth-child(6) { height: 30px; animation-delay: 0.05s; }
.soundwave span:nth-child(7) { height: 16px; animation-delay: 0.25s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.6); opacity: 0.5; }
  50%       { transform: scaleY(1.3); opacity: 1; }
}

/* ─── SECTION WRAPPERS ───────────────────────────────── */
.site-section { padding: 90px 5%; }

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-divider {
  width: 56px; height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 42px;
}

/* ─── EPISODES ───────────────────────────────────────── */
.section-episodes { background: var(--warm); }

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.episode-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,45,98,0.09);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.episode-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,45,98,0.16);
}

.ep-thumb {
  background: var(--navy);
  height: 170px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.ep-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(239,59,36,0.25), transparent 60%);
  pointer-events: none;
}
.ep-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.45;
}
.ep-thumb-text {
  font-family: 'Oswald', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.12);
  letter-spacing: -0.02em;
  position: absolute;
  bottom: 8px; right: 16px;
  z-index: 1;
}
.ep-play {
  width: 52px; height: 52px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: transform 0.2s;
  text-decoration: none;
}
.episode-card:hover .ep-play { transform: scale(1.1); }
.ep-play svg { width: 20px; height: 20px; fill: white; margin-left: 3px; }

.ep-body {
  padding: 22px 24px 26px;
  flex: 1; display: flex; flex-direction: column;
}
.ep-meta {
  font-size: 0.78rem; font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ep-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem; font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.ep-title a {
  text-decoration: none; color: var(--navy);
  transition: color 0.2s;
}
.ep-title a:hover { color: var(--orange); }
.ep-desc {
  font-size: 0.9rem; color: var(--mid);
  flex: 1; margin-bottom: 18px;
}
.ep-duration {
  font-size: 0.8rem; font-weight: 700;
  color: var(--mid);
  display: flex; align-items: center; gap: 6px;
}
.ep-duration svg { width: 14px; height: 14px; fill: var(--mid); }

/* View All Episodes link */
.episodes-footer {
  text-align: center;
  margin-top: 48px;
}

/* ─── LISTEN ─────────────────────────────────────────── */
.section-listen { background: var(--tan); }

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.platform-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,45,98,0.08);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
}
.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,45,98,0.15);
}
.platform-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.platform-icon svg { width: 34px; height: 34px; }
.platform-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem; font-weight: 600;
  color: var(--navy);
}
.platform-cta {
  font-size: 0.78rem; font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── ABOUT ──────────────────────────────────────────── */
.section-about { background: var(--navy); }
.section-about .section-title { color: var(--white); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  margin-bottom: 18px;
  line-height: 1.75;
}
.about-text strong { color: var(--orange); }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stat-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
}
.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.4rem; font-weight: 700;
  color: var(--orange);
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── SINGLE POST / EPISODE ──────────────────────────── */
.single-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 70px 5%;
}
.single-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--orange); text-decoration: none;
  margin-bottom: 32px;
  transition: gap 0.2s;
}
.single-back:hover { gap: 12px; color: var(--orange); }
.single-meta {
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
}
.single-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 24px;
}
.single-thumb {
  border-radius: 14px; overflow: hidden;
  margin-bottom: 36px;
}
.single-thumb img { width: 100%; }

.single-audio {
  background: var(--tan);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 40px;
  display: flex; align-items: center; gap: 20px;
}
.single-audio-play {
  width: 60px; height: 60px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; flex-shrink: 0;
  transition: transform 0.2s;
}
.single-audio-play:hover { transform: scale(1.08); }
.single-audio-play svg { width: 24px; height: 24px; fill: white; margin-left: 3px; }
.single-audio-info strong {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem; color: var(--navy); display: block;
}
.single-audio-info span { font-size: 0.85rem; color: var(--mid); }

.single-content {
  font-size: 1.05rem; line-height: 1.82;
  color: var(--text);
}
.single-content p { margin-bottom: 1.5em; }
.single-content h2, .single-content h3 {
  font-family: 'Oswald', sans-serif;
  color: var(--navy); margin: 1.8em 0 0.6em;
}
.single-content a { color: var(--orange); }
.single-content a:hover { text-decoration: underline; }

/* ─── ARCHIVE ────────────────────────────────────────── */
.archive-header {
  background: var(--navy);
  padding: 70px 5% 50px;
  text-align: center;
}
.archive-header h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white); font-weight: 700;
}
.archive-header p { color: rgba(255,255,255,0.65); margin-top: 12px; font-size: 1.05rem; }
.archive-grid-wrap { padding: 70px 5%; }

/* ─── PAGE ───────────────────────────────────────────── */
.page-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 70px 5%;
}
.page-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; color: var(--navy);
  margin-bottom: 8px;
}
.page-divider {
  width: 56px; height: 4px;
  background: var(--orange);
  border-radius: 2px; margin: 20px 0 36px;
}
.page-content { font-size: 1.05rem; line-height: 1.82; color: var(--text); }
.page-content p { margin-bottom: 1.5em; }
.page-content h2, .page-content h3 {
  font-family: 'Oswald', sans-serif; color: var(--navy);
  margin: 1.8em 0 0.6em;
}
.page-content a { color: var(--orange); }

/* ─── FOOTER ─────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.55);
  padding: 48px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--white);
}
.footer-logo a { text-decoration: none; color: inherit; }
.footer-logo span { color: var(--orange); }
.footer-copy { font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange); }

/* ─── PAGINATION ─────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center;
  gap: 8px; margin-top: 60px;
}
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 8px;
  font-weight: 700; font-size: 0.9rem;
  text-decoration: none;
}
.pagination a {
  background: var(--white); color: var(--navy);
  border: 2px solid rgba(0,45,98,0.15);
  transition: all 0.2s;
}
.pagination a:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }
.pagination .current {
  background: var(--orange); color: var(--white);
  border: 2px solid var(--orange);
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .nav-menu { display: none; flex-direction: column; gap: 0; }
  .nav-menu.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); padding: 16px 5%; }
  .nav-menu.open li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 3rem; }
  .site-footer { flex-direction: column; text-align: center; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
