/*
Theme Name: AI for Ordinary People
Theme URI: https://aiforordinarypeople.com
Author: AI for Ordinary People
Author URI: https://aiforordinarypeople.com
Description: A clean, editorial WordPress theme for AI for Ordinary People — featuring a blog, podcast page, and contact page. Built with a navy/teal/amber design system.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-ordinary-people
Tags: blog, custom-menu, featured-images, footer-widgets, full-width-template, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* ============================================================
   DESIGN SYSTEM
   - Primary: #0F172A (Navy)
   - Accent:  #0D9488 (Teal-600)
   - Warm:    #D97706 (Amber-600)
   - Body bg: #FFFFFF
   - Slate bg: #F8FAFC
   - Fonts: Playfair Display (display) + Source Sans 3 (body)
   ============================================================ */

/* ── Google Fonts are enqueued via functions.php ── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0F172A;
  --navy-mid:   #0D2137;
  --teal:       #0D9488;
  --teal-light: #14B8A6;
  --teal-dark:  #0F766E;
  --amber:      #D97706;
  --amber-light:#F59E0B;
  --white:      #FFFFFF;
  --slate-50:   #F8FAFC;
  --slate-100:  #F1F5F9;
  --slate-200:  #E2E8F0;
  --slate-400:  #94A3B8;
  --slate-500:  #64748B;
  --slate-600:  #475569;
  --slate-700:  #334155;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.font-display { font-family: 'Playfair Display', Georgia, serif; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }

em { font-style: italic; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary   { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-light); color: var(--white); }
.btn-outline   { background: transparent; border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-dark      { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--slate-700); color: var(--white); }
.btn-sm        { padding: .5rem 1.25rem; font-size: .875rem; }

/* ── BADGES ── */
.badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  font-family: 'Source Sans 3', sans-serif;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-teal   { background: rgba(13,148,136,.15); border: 1px solid rgba(13,148,136,.3); color: var(--teal); }
.badge-teal-inv { background: rgba(13,148,136,.2); border: 1px solid rgba(13,148,136,.35); color: #5EEAD4; }
.badge-white  { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: var(--white); }

/* ── EYEBROW ── */
.eyebrow {
  font-family: 'Source Sans 3', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal);
  display: block;
  margin-bottom: .75rem;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15,23,42,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.site-logo .logo-icon {
  width: 36px; height: 36px;
  background: var(--teal);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.site-logo .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.site-logo .logo-text span { color: var(--teal-light); display: block; }

/* Desktop Nav */
#primary-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}
#primary-nav li a {
  font-family: 'Source Sans 3', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  padding: .4rem .85rem;
  border-radius: 6px;
  transition: all var(--transition);
  text-decoration: none;
}
#primary-nav li a:hover,
#primary-nav li.current-menu-item a { color: var(--white); background: rgba(255,255,255,.08); }

.nav-cta { margin-left: .5rem; }

/* Mobile hamburger */
#menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .4rem;
  background: none;
  border: none;
}
#menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Nav */
#mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 0;
}
#mobile-nav.open { display: flex; }
#mobile-nav a {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  padding: .75rem 1.5rem;
  text-decoration: none;
  transition: color var(--transition);
}
#mobile-nav a:hover { color: var(--teal-light); }

@media (max-width: 768px) {
  #primary-nav, .nav-cta { display: none; }
  #menu-toggle { display: flex; }
}

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero-home {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0F172A 0%, #0D2137 50%, #0F172A 100%);
  padding-top: 68px;
}
.hero-home .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  opacity: .3;
}
.hero-home .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #0F172A, rgba(15,23,42,.85), transparent);
}
.hero-home .hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 4rem 0;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(13,148,136,.15);
  border: 1px solid rgba(13,148,136,.3);
  border-radius: 50px;
  padding: .4rem 1rem;
  margin-bottom: 2rem;
}
.hero-pill .dot {
  width: 8px; height: 8px;
  background: var(--teal-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-pill span {
  font-family: 'Source Sans 3', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: #5EEAD4;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(.9)} }

.hero-home h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero-home h1 .teal  { color: var(--teal-light); font-style: italic; }
.hero-home h1 .amber { color: var(--amber-light); position: relative; }
.hero-home h1 .amber::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
}
.hero-home p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}
.hero-avatars { display: flex; }
.hero-avatars img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  margin-right: -8px;
  object-fit: cover;
}
.hero-proof-text p:first-child { color: var(--white); font-weight: 700; font-size: .9rem; margin: 0; }
.hero-proof-text p:last-child  { color: var(--slate-400); font-size: .8rem; margin: 0; }
.hero-divider { width: 1px; height: 32px; background: rgba(255,255,255,.2); }
.hero-rating p:first-child { color: var(--white); font-weight: 700; font-size: .9rem; margin: 0; }
.hero-rating p:last-child  { color: var(--slate-400); font-size: .8rem; margin: 0; }

/* ── STATS BAR ── */
.stats-bar { background: var(--teal); padding: 3rem 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}
.stat-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: .9rem;
  color: rgba(255,255,255,.75);
}

/* ── FEATURES ── */
.features-section { padding: 6rem 0; background: var(--white); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { color: var(--slate-500); font-size: 1.1rem; max-width: 520px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: rgba(13,148,136,.25);
  box-shadow: 0 8px 32px rgba(13,148,136,.08);
}
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(13,148,136,.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  transition: background var(--transition);
}
.feature-card:hover .feature-icon { background: rgba(13,148,136,.15); }
.feature-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.feature-card p  { color: var(--slate-500); font-size: .9rem; margin: 0; }

/* ── MISSION SPLIT ── */
.mission-section { padding: 5rem 0; background: var(--slate-50); }
.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .mission-grid { grid-template-columns: 1fr 1fr; } }
.mission-text h2 { margin-bottom: 1.25rem; }
.mission-text p  { color: var(--slate-600); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1rem; }
.mission-image-wrap { position: relative; }
.mission-image-wrap::before {
  content: '';
  position: absolute;
  inset: -1rem;
  background: rgba(13,148,136,.06);
  border-radius: var(--radius-lg);
}
.mission-image-wrap img {
  position: relative;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

/* ── BLOG PREVIEW ── */
.blog-preview { padding: 6rem 0; background: var(--white); }
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.view-all-link {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: .25rem;
  transition: gap var(--transition);
}
.view-all-link:hover { gap: .5rem; color: var(--teal-dark); }

.blog-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) { .blog-preview-grid { grid-template-columns: 2fr 1fr; } }

.post-card-featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
}
.post-card-featured img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .4;
  transition: opacity var(--transition), transform .5s ease;
}
.post-card-featured:hover img { opacity: .5; transform: scale(1.04); }
.post-card-featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0F172A 0%, rgba(15,23,42,.6) 50%, transparent 100%);
}
.post-card-featured .card-body {
  position: relative;
  z-index: 2;
  padding: 2rem;
}
.post-card-featured h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: .75rem;
  transition: color var(--transition);
}
.post-card-featured:hover h3 { color: #99F6E4; }
.post-card-featured p { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 1rem; }
.post-meta-sm {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .8rem;
  color: var(--slate-400);
}
.post-meta-sm img {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.post-meta-sm span { color: rgba(255,255,255,.6); }

.post-cards-side { display: flex; flex-direction: column; gap: 1rem; }
.post-card-sm {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  text-decoration: none;
  transition: all var(--transition);
}
.post-card-sm:hover { border-color: rgba(13,148,136,.25); box-shadow: var(--shadow-md); }
.post-card-sm img {
  width: 80px; height: 80px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.post-card-sm .card-text { min-width: 0; }
.post-card-sm .cat-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--teal);
  display: block;
  margin-bottom: .3rem;
}
.post-card-sm h4 {
  font-size: .95rem;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: .3rem;
  transition: color var(--transition);
}
.post-card-sm:hover h4 { color: var(--teal-dark); }
.post-card-sm .read-time { font-size: .75rem; color: var(--slate-400); }

/* ── TESTIMONIALS ── */
.testimonials-section { padding: 6rem 0; background: var(--slate-50); }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--slate-100);
  transition: all var(--transition);
}
.testimonial-card:hover { border-color: rgba(13,148,136,.2); box-shadow: var(--shadow-md); }
.quote-icon { font-size: 2.5rem; color: rgba(13,148,136,.2); line-height: 1; margin-bottom: 1rem; font-family: Georgia, serif; }
.testimonial-card blockquote {
  font-style: italic;
  color: var(--slate-600);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  border: none;
  padding: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
}
.testimonial-author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author strong { display: block; font-size: .9rem; color: var(--navy); }
.testimonial-author span  { font-size: .8rem; color: var(--slate-400); }

/* ── PODCAST PREVIEW ── */
.podcast-preview {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0F172A 0%, #0D2137 100%);
}
.podcast-preview .bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .2;
}
.podcast-preview .bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #0F172A, rgba(15,23,42,.7), rgba(15,23,42,.4));
}
.podcast-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 1024px) { .podcast-preview-grid { grid-template-columns: 1fr 1fr; } }
.podcast-preview h2 { color: var(--white); margin-bottom: 1rem; }
.podcast-preview h2 em { color: var(--teal-light); }
.podcast-preview p { color: rgba(255,255,255,.7); font-size: 1.05rem; line-height: 1.75; margin-bottom: 2rem; }

.episode-preview-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  text-decoration: none;
  transition: all var(--transition);
  margin-bottom: 1rem;
}
.episode-preview-card:hover { background: rgba(255,255,255,.1); border-color: rgba(13,148,136,.4); }
.ep-play-icon {
  width: 52px; height: 52px;
  background: rgba(13,148,136,.2);
  border: 1px solid rgba(13,148,136,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: background var(--transition);
}
.episode-preview-card:hover .ep-play-icon { background: rgba(13,148,136,.4); }
.ep-meta { font-size: .75rem; color: var(--teal-light); font-weight: 700; margin-bottom: .2rem; }
.ep-title { font-family: 'Playfair Display', serif; font-size: .95rem; color: var(--white); font-weight: 700; line-height: 1.3; margin-bottom: .2rem; }
.ep-guest { font-size: .8rem; color: var(--slate-400); }

/* ── NEWSLETTER CTA ── */
.newsletter-cta { padding: 6rem 0; background: var(--white); text-align: center; }
.newsletter-cta .icon-wrap {
  width: 64px; height: 64px;
  background: rgba(13,148,136,.08);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
}
.newsletter-cta h2 { margin-bottom: 1rem; }
.newsletter-cta p  { color: var(--slate-500); font-size: 1.1rem; max-width: 480px; margin: 0 auto 2rem; }
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 420px;
  margin: 0 auto;
}
@media (min-width: 480px) { .newsletter-form { flex-direction: row; } }
.newsletter-form input {
  flex: 1;
  padding: .75rem 1.25rem;
  border-radius: 50px;
  border: 1.5px solid var(--slate-200);
  font-family: 'Source Sans 3', sans-serif;
  font-size: .95rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input:focus { border-color: var(--teal); }
.newsletter-form button { border: none; }
.newsletter-note { font-size: .8rem; color: var(--slate-400); margin-top: .75rem; }

/* ============================================================
   BLOG INDEX
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 8rem 0 4rem;
}
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero h1 em { color: var(--teal-light); }
.page-hero p  { color: rgba(255,255,255,.65); font-size: 1.1rem; max-width: 520px; }

.blog-controls {
  background: var(--white);
  border-bottom: 1px solid var(--slate-100);
  padding: 1.25rem 0;
  position: sticky;
  top: 68px;
  z-index: 100;
}
.blog-controls-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cat-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.cat-filter-btn {
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  font-family: 'Source Sans 3', sans-serif;
  cursor: pointer;
  border: 1.5px solid var(--slate-200);
  background: transparent;
  color: var(--slate-600);
  transition: all var(--transition);
}
.cat-filter-btn.active,
.cat-filter-btn:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }

.blog-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 1.5px solid var(--slate-200);
  border-radius: 50px;
  padding: .4rem 1rem;
  transition: border-color var(--transition);
}
.blog-search:focus-within { border-color: var(--teal); }
.blog-search input {
  border: none;
  outline: none;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .9rem;
  color: var(--slate-700);
  width: 180px;
}

.blog-main { padding: 4rem 0 6rem; }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--slate-100);
  transition: all var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.post-card:hover { box-shadow: var(--shadow-md); border-color: rgba(13,148,136,.2); transform: translateY(-2px); }
.post-card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-card-body .cat-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--teal);
  margin-bottom: .5rem;
}
.post-card-body h3 { font-size: 1.15rem; margin-bottom: .75rem; color: var(--navy); transition: color var(--transition); }
.post-card:hover .post-card-body h3 { color: var(--teal-dark); }
.post-card-body p { color: var(--slate-500); font-size: .9rem; line-height: 1.6; flex: 1; margin-bottom: 1.25rem; }
.post-card-footer {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
}
.post-card-footer img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.post-card-footer .author-name { font-size: .8rem; font-weight: 600; color: var(--navy); }
.post-card-footer .read-time  { font-size: .75rem; color: var(--slate-400); margin-left: auto; }

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-hero {
  background: var(--navy);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.post-hero .bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .2;
}
.post-hero .bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,23,42,.8), #0F172A);
}
.post-hero .hero-inner { position: relative; z-index: 2; max-width: 800px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal-light);
  margin-bottom: 2rem;
  text-decoration: none;
  transition: color var(--transition);
}
.back-link:hover { color: #99F6E4; }
.post-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1.25rem; }
.post-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}
.post-hero-meta .author-wrap {
  display: flex; align-items: center; gap: .6rem;
}
.post-hero-meta .author-wrap img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.post-hero-meta .author-name { font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.9); }
.post-hero-meta .meta-item { font-size: .85rem; color: var(--slate-400); }

.post-layout { padding: 4rem 0 6rem; }
.post-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .post-layout-grid { grid-template-columns: 2fr 1fr; } }

.post-content { max-width: 720px; }
.post-content h2, .post-content h3 { margin: 2rem 0 1rem; }
.post-content p  { color: var(--slate-600); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; color: var(--slate-600); }
.post-content li { margin-bottom: .5rem; line-height: 1.7; }
.post-content strong { color: var(--navy); }
.post-content a { color: var(--teal); }
.post-content blockquote {
  border-left: 4px solid var(--teal);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(13,148,136,.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--slate-600);
}

.post-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2.5rem 0; padding-top: 2rem; border-top: 1px solid var(--slate-100); }
.post-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .85rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  background: rgba(13,148,136,.06);
  border: 1px solid rgba(13,148,136,.15);
  color: var(--teal-dark);
}

.author-bio {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.author-bio img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-bio .by { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); margin-bottom: .2rem; }
.author-bio h4 { font-size: 1.1rem; margin-bottom: .4rem; }
.author-bio p  { font-size: .9rem; color: var(--slate-500); margin: 0; }

/* Sidebar */
.post-sidebar { display: flex; flex-direction: column; gap: 2rem; }
.sidebar-widget {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sidebar-widget-inner { padding: 1.5rem; }
.sidebar-widget.bg-dark { background: var(--navy); }
.sidebar-widget.bg-light { background: var(--slate-50); border: 1px solid var(--slate-100); }
.sidebar-widget h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.sidebar-widget.bg-dark h3 { color: var(--white); }
.related-post {
  display: flex;
  gap: .75rem;
  margin-bottom: 1rem;
  text-decoration: none;
}
.related-post img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.related-post h4 { font-size: .85rem; color: var(--navy); line-height: 1.35; transition: color var(--transition); }
.related-post:hover h4 { color: var(--teal-dark); }
.related-post .read-time { font-size: .75rem; color: var(--slate-400); }
.sidebar-newsletter input {
  width: 100%;
  padding: .65rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-family: 'Source Sans 3', sans-serif;
  font-size: .9rem;
  margin-bottom: .5rem;
  outline: none;
}
.sidebar-newsletter input::placeholder { color: var(--slate-400); }
.sidebar-newsletter p { color: rgba(255,255,255,.65); font-size: .85rem; margin-bottom: 1rem; }
.sidebar-newsletter button { width: 100%; border: none; }

/* ============================================================
   PODCAST PAGE
   ============================================================ */
.podcast-hero {
  background: linear-gradient(135deg, #0F172A 0%, #0D2137 100%);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.podcast-hero .bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .25;
}
.podcast-hero .bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, #0F172A, rgba(15,23,42,.8), transparent);
}
.podcast-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 1024px) { .podcast-hero-grid { grid-template-columns: 1fr 1fr; } }
.podcast-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.podcast-hero h1 em { color: var(--teal-light); }
.podcast-hero p { color: rgba(255,255,255,.7); font-size: 1.05rem; line-height: 1.75; margin-bottom: 2rem; }
.platform-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.platform-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.25rem;
  border-radius: 50px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}
.platform-link:hover { background: rgba(255,255,255,.2); color: var(--white); }

.featured-episode-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.featured-ep-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-light); margin-bottom: 1rem; }
.featured-ep-top { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.featured-ep-top img { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.featured-ep-info .ep-num { font-size: .75rem; color: var(--slate-400); }
.featured-ep-info h3 { font-size: 1rem; color: var(--white); margin: .3rem 0 .2rem; line-height: 1.35; }
.featured-ep-info .ep-guest { font-size: .85rem; color: var(--slate-400); }
.featured-ep-desc { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.65; margin-bottom: 1.25rem; }
.ep-play-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.25rem;
  border-radius: 50px;
  background: var(--teal);
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.ep-play-btn:hover { background: var(--teal-light); }

.episodes-section { padding: 4rem 0 6rem; background: var(--slate-50); }
.episodes-section h2 { margin-bottom: .5rem; }
.episodes-count { color: var(--slate-500); margin-bottom: 2.5rem; }
.episode-row {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
  overflow: hidden;
  margin-bottom: 1rem;
  display: flex;
  transition: all var(--transition);
}
.episode-row:hover { border-color: rgba(13,148,136,.25); box-shadow: var(--shadow-md); }
.ep-number {
  display: none;
  width: 72px;
  background: var(--slate-50);
  border-right: 1px solid var(--slate-100);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 768px) { .ep-number { display: flex; } }
.ep-number span { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--slate-200); }
.ep-content { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; flex: 1; }
@media (min-width: 640px) { .ep-content { flex-direction: row; align-items: center; } }
.ep-content img { width: 100%; max-width: 80px; height: 80px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.ep-details { flex: 1; min-width: 0; }
.ep-details .ep-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .4rem; font-size: .75rem; color: var(--slate-400); }
.ep-details .ep-badges .ep-cat { color: var(--teal); font-weight: 700; }
.ep-details h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: .25rem; transition: color var(--transition); }
.episode-row:hover .ep-details h3 { color: var(--teal-dark); }
.ep-details .ep-with { font-size: .85rem; color: var(--slate-500); margin-bottom: .4rem; }
.ep-details .ep-desc { font-size: .85rem; color: var(--slate-400); line-height: 1.55; display: none; }
@media (min-width: 768px) { .ep-details .ep-desc { display: block; } }
.ep-play-wrap { flex-shrink: 0; display: flex; align-items: center; }
.ep-play-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--slate-100);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
}
.ep-play-circle:hover { background: var(--teal); color: var(--white); }
.ep-play-circle.playing { background: var(--teal); color: var(--white); }

.podcast-subscribe { padding: 5rem 0; background: var(--white); text-align: center; }
.podcast-subscribe h2 { margin-bottom: 1rem; }
.podcast-subscribe p  { color: var(--slate-500); max-width: 480px; margin: 0 auto 2rem; }
.platform-links-center { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero { background: var(--navy); padding: 8rem 0 4rem; }
.contact-hero h1 { color: var(--white); margin-bottom: .75rem; }
.contact-hero h1 em { color: var(--teal-light); }
.contact-hero p { color: rgba(255,255,255,.65); font-size: 1.1rem; max-width: 520px; }

.contact-section { padding: 5rem 0; background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 1fr; } }

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-bottom: 2rem;
}
@media (min-width: 480px) { .reason-grid { grid-template-columns: repeat(4, 1fr); } }
.reason-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--slate-200);
  background: transparent;
  cursor: pointer;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: var(--slate-500);
  text-align: center;
  transition: all var(--transition);
}
.reason-btn .icon { font-size: 1.2rem; }
.reason-btn.active,
.reason-btn:hover { border-color: var(--teal); background: rgba(13,148,136,.06); color: var(--teal-dark); }

.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.form-group label .req { color: #EF4444; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--slate-200);
  font-family: 'Source Sans 3', sans-serif;
  font-size: .95rem;
  color: var(--slate-700);
  outline: none;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,.1); }
.form-group textarea { resize: vertical; min-height: 140px; }

.contact-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.info-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
  background: var(--slate-50);
}
.info-card h3 { font-size: 1rem; margin-bottom: 1rem; }
.info-item { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; }
.info-icon {
  width: 36px; height: 36px;
  background: rgba(13,148,136,.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.info-item .label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-400); margin-bottom: .2rem; }
.info-item a { font-size: .9rem; color: var(--navy); }
.info-item a:hover { color: var(--teal); }
.response-card { background: var(--navy); color: var(--white); padding: 1.5rem; border-radius: var(--radius-lg); }
.response-card h3 { color: var(--white); font-size: 1rem; margin-bottom: .5rem; }
.response-card p { color: rgba(255,255,255,.65); font-size: .9rem; margin: 0; }
.response-card strong { color: var(--teal-light); }
.podcast-pitch-card { background: #FFFBEB; border: 1px solid #FDE68A; padding: 1.5rem; border-radius: var(--radius-lg); }
.podcast-pitch-card h3 { color: #92400E; font-size: .95rem; margin-bottom: .4rem; }
.podcast-pitch-card p { color: #B45309; font-size: .85rem; margin: 0; }

.success-message { text-align: center; padding: 4rem 2rem; }
.success-icon {
  width: 80px; height: 80px;
  background: rgba(13,148,136,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
}
.success-message h2 { margin-bottom: .75rem; }
.success-message p { color: var(--slate-500); max-width: 360px; margin: 0 auto 1.5rem; }

/* FAQ */
.faq-section { padding: 5rem 0; background: var(--slate-50); }
.faq-section .section-header { max-width: 560px; margin: 0 auto 3rem; }
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-100);
  overflow: hidden;
  margin-bottom: .75rem;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}
.faq-question span {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}
.faq-chevron { font-size: 1rem; color: var(--slate-400); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--teal); }
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--slate-100);
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p { color: var(--slate-500); font-size: .9rem; line-height: 1.7; margin: 1rem 0 0; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin: 1rem 0 1.5rem; max-width: 280px; }
.footer-social { display: flex; gap: .75rem; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  text-decoration: none;
  transition: all var(--transition);
}
.social-link:hover { background: var(--teal); color: var(--white); }
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-bottom p { font-size: .8rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: .8rem; color: rgba(255,255,255,.4); text-decoration: none; transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--teal-light); }

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-teal { color: var(--teal); }
.text-white { color: var(--white); }
.mt-1 { margin-top: .5rem; }
.mb-0 { margin-bottom: 0; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .7s ease forwards; }
.delay-1 { animation-delay: .1s; opacity: 0; }
.delay-2 { animation-delay: .2s; opacity: 0; }
.delay-3 { animation-delay: .3s; opacity: 0; }
.delay-4 { animation-delay: .4s; opacity: 0; }

/* Waveform animation */
.waveform { display: flex; align-items: center; gap: 2px; }
.wave-bar {
  width: 3px;
  border-radius: 2px;
  background: var(--teal-light);
  animation: wave 1.2s ease-in-out infinite;
}
@keyframes wave { 0%,100%{transform:scaleY(.4)} 50%{transform:scaleY(1)} }

/* Responsive padding for page content */
.pt-header { padding-top: 68px; }
