/*
Theme Name: Faith Lab
Theme URI: https://faithlabshow.com
Author: Faith Lab
Author URI: https://faithlabshow.com
Description: A custom theme for the Faith Lab podcast. Honest conversations about the deepest questions of faith.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: faithlab
*/

/* ============================================
   FAITH LAB THEME STYLES
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 17px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    line-height: 1.65;
    color: #44464C;
    background-color: #FDF8E3;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #44464C;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #B8960C;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #44464C;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: #FDF8E3;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
}

.site-branding a,
.site-title-link {
    font-size: 1.35rem;
    font-weight: 700;
    color: #44464C;
    text-decoration: none;
    letter-spacing: -0.02em;
}

/* Nav */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu li a {
    display: block;
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #44464C;
    text-decoration: none;
    letter-spacing: 0.01em;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
    color: #B8960C;
}

/* Nav extras */
.nav-extras {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 12px;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-social a {
    color: #44464C;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.nav-social a:hover {
    color: #B8960C;
}

.btn-subscribe {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #44464C;
    background: #F0DA54;
    border: 2px solid #F0DA54;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-subscribe:hover {
    background: #e8d04a;
    border-color: #e8d04a;
    color: #44464C;
}

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

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #44464C;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    background: #FDF8E3;
    padding: 80px 0 100px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1 1 55%;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.12;
    color: #44464C;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #44464C;
    opacity: 0.8;
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-premium-link {
    display: inline-block;
    font-style: italic;
    color: #B8960C;
    text-decoration: underline;
    margin-bottom: 28px;
    font-size: 1rem;
}

.hero-premium-link:hover {
    color: #9a7d0a;
}

.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #44464C;
    border: 2px solid #44464C;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-outline:hover {
    background: #44464C;
    color: #FDF8E3;
}

.btn-outline.btn-small {
    padding: 8px 18px;
    font-size: 0.75rem;
}

.hero-proof {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

.proof-listen {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.proof-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(68, 70, 76, 0.45);
}

.proof-platforms {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #44464C;
    color: #FDF8E3;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
}

.platform-badge:hover {
    background: #555760;
    color: #FDF8E3;
    transform: translateY(-1px);
}

.platform-badge svg {
    flex-shrink: 0;
}

.proof-stats {
    display: flex;
    align-items: flex-end;
    gap: 32px;
}

.proof-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-stars {
    color: #F0DA54;
    font-size: 1rem;
    letter-spacing: 2px;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: #44464C;
}

.stat-text {
    font-size: 0.78rem;
    color: rgba(68, 70, 76, 0.5);
}

.placeholder-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 8px;
}

.placeholder-text {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ============================================
   FEATURED EPISODES
   ============================================ */
.featured-episodes {
    background: #FDF8E3;
    padding: 0 0 80px;
}

.featured-episodes-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.featured-card {
    background: #44464C;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(68, 70, 76, 0.22);
}

.featured-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #3a3c42;
    position: relative;
}

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

.featured-card-placeholder {
    width: 100%;
    height: 100%;
}

.card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(68, 70, 76, 0.7);
    color: #FDF8E3;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 3px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.featured-card-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.featured-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FDF8E3;
    line-height: 1.3;
}

.featured-card-excerpt {
    font-size: 0.85rem;
    color: rgba(253, 248, 227, 0.55);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   LATEST EPISODES
   ============================================ */
.latest-episodes {
    background: #FDF8E3;
    padding: 60px 0 80px;
}

.latest-episodes-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.section-heading {
    display: flex;
    align-items: center;
    gap: 16px;
}

.heading-accent {
    display: block;
    width: 32px;
    height: 3px;
    background: #44464C;
    border-radius: 2px;
}

.section-heading h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #44464C;
}

/* Episode Grid */
.episodes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.episode-card {
    background: #44464C;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.episode-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(68, 70, 76, 0.2);
}

.episode-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #3a3c42;
}

.episode-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.episode-card-placeholder {
    width: 100%;
    height: 100%;
    background: #5a5c62;
}

.episode-card-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.episode-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(253, 248, 227, 0.6);
    flex-wrap: wrap;
}

.episode-duration {
    background: #F0DA54;
    color: #44464C;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.play-icon {
    font-size: 0.55rem;
}

.episode-number {
    color: rgba(253, 248, 227, 0.5);
}

.episode-date {
    color: rgba(253, 248, 227, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.episode-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #FDF8E3;
    line-height: 1.3;
}

.episode-excerpt {
    font-size: 0.78rem;
    color: rgba(253, 248, 227, 0.55);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: #44464C;
    padding: 80px 0;
}

.about-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.about-inner p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #FDF8E3;
    font-weight: 400;
}

/* ============================================
   CONTENT PAGE (reusable template)
   ============================================ */
.page-content-section {
    padding: 60px 0 80px;
}

.page-content-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-content-inner h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.page-content-inner h2,
.page-content-inner h2.wp-block-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: #44464C;
    margin-top: 32px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.page-content-inner h3,
.page-content-inner h3.wp-block-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #44464C;
    margin-top: 28px;
    margin-bottom: 10px;
    line-height: 1.35;
}

.page-content-inner h4,
.page-content-inner h4.wp-block-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #44464C;
    margin-top: 24px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.page-content-inner h5,
.page-content-inner h5.wp-block-heading {
    font-size: 0.92rem;
    font-weight: 700;
    color: #44464C;
    margin-top: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.page-content-inner h6,
.page-content-inner h6.wp-block-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(68, 70, 76, 0.7);
    margin-top: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.page-content-inner h2:first-child,
.page-content-inner h3:first-child,
.page-content-inner h4:first-child,
.page-content-inner h5:first-child,
.page-content-inner h6:first-child {
    margin-top: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: #FDF8E3;
    padding: 80px 0;
}

.cta-inner {
    max-width: 540px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.cta-accent {
    display: block;
    width: 40px;
    height: 3px;
    background: #F0DA54;
    border-radius: 2px;
    margin: 0 auto 24px;
}

.cta-inner h2 {
    font-size: 1.6rem;
    color: #44464C;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.cta-inner p {
    font-size: 0.95rem;
    color: rgba(68, 70, 76, 0.6);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cta-inner p em {
    font-style: italic;
}

.cta-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.cta-proof-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: #44464C;
}

.cta-proof-text {
    font-size: 0.82rem;
    color: rgba(68, 70, 76, 0.5);
}

.btn-cta {
    display: inline-block;
    padding: 14px 36px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: #F0DA54;
    color: #44464C;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn-cta:hover {
    background: #e8d04a;
    color: #44464C;
    transform: translateY(-1px);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #FDF8E3;
}

.footer-main {
    border-top: 1px solid rgba(68, 70, 76, 0.12);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 48px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #44464C;
    display: block;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 0.88rem;
    color: rgba(68, 70, 76, 0.6);
    line-height: 1.5;
}

.footer-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #44464C;
    margin-bottom: 16px;
}

.footer-nav-menu {
    list-style: none;
}

.footer-nav-menu li {
    margin-bottom: 8px;
}

.footer-nav-menu a {
    font-size: 0.88rem;
    color: rgba(68, 70, 76, 0.7);
    text-decoration: none;
}

.footer-nav-menu a:hover {
    color: #B8960C;
}

.subscribe-links {
    list-style: none;
}

.subscribe-links li {
    margin-bottom: 8px;
}

.subscribe-links a {
    font-size: 0.88rem;
    color: rgba(68, 70, 76, 0.7);
    text-decoration: none;
}

.subscribe-links a:hover {
    color: #B8960C;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(68, 70, 76, 0.08);
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copyright {
    font-size: 0.78rem;
    color: rgba(68, 70, 76, 0.45);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-social a {
    color: rgba(68, 70, 76, 0.45);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.footer-social a:hover {
    color: #B8960C;
}

/* ============================================
   PAGE HEADER (archive pages)
   ============================================ */
.page-header-section {
    padding: 60px 0 40px;
}

.page-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-header-inner h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-header-desc {
    font-size: 1rem;
    color: rgba(68, 70, 76, 0.55);
}

/* ============================================
   EPISODES ARCHIVE
   ============================================ */
.episodes-archive {
    padding: 0 0 80px;
}

.episodes-archive-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.episodes-archive-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.episodes-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination-current,
.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
}

.pagination-current {
    background: #44464C;
    color: #FDF8E3;
}

.pagination-link {
    background: transparent;
    color: #44464C;
    border: 1.5px solid rgba(68, 70, 76, 0.15);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-link:hover {
    border-color: #44464C;
    color: #44464C;
}

.pagination-next {
    font-size: 1rem;
}

/* Active nav link */
.nav-menu a.current {
    color: #B8960C;
}

/* --- Episodes Search --- */
.episodes-search-section {
    padding: 0 0 32px;
}

.episodes-search-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.search-bar {
    position: relative;
    max-width: 480px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(68, 70, 76, 0.4);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    color: #44464C;
    background: rgba(68, 70, 76, 0.05);
    border: 1.5px solid rgba(68, 70, 76, 0.12);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.search-input::placeholder {
    color: rgba(68, 70, 76, 0.4);
}

.search-input:focus {
    border-color: rgba(68, 70, 76, 0.3);
    background: rgba(68, 70, 76, 0.02);
}

/* ============================================
   EPISODE PAGE
   ============================================ */

/* Episode Hero */
.episode-hero {
    padding: 60px 0 0;
}

.episode-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.episode-back-link {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(68, 70, 76, 0.5);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.episode-back-link:hover {
    color: #B8960C;
}

.episode-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.15;
    color: #44464C;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.episode-hero .episode-meta {
    color: rgba(68, 70, 76, 0.5);
    margin-bottom: 16px;
}

.episode-meta-sep {
    color: rgba(68, 70, 76, 0.3);
}

.episode-hero-excerpt {
    font-size: 1.05rem;
    color: rgba(68, 70, 76, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
}

.episode-listen-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.listen-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #FDF8E3;
    background: #44464C;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
}

.listen-link:hover {
    background: #555760;
    color: #FDF8E3;
    transform: translateY(-1px);
}

.listen-link svg {
    flex-shrink: 0;
}

.episode-hero-image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #3a3c42;
}

.episode-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Audio Player */
.episode-player-section {
    padding: 32px 0;
}

.episode-player-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.episode-player-inner iframe {
    border-radius: 12px;
    display: block;
}

/* Episode Content + Sidebar */
.episode-content-section {
    padding: 0 0 60px;
}

.episode-content-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

.episode-body h1,
.episode-body h1.wp-block-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #44464C;
    margin-top: 40px;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.episode-body h2,
.episode-body h2.wp-block-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: #44464C;
    margin-top: 32px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.episode-body h3,
.episode-body h3.wp-block-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #44464C;
    margin-top: 28px;
    margin-bottom: 10px;
    line-height: 1.35;
}

.episode-body h4,
.episode-body h4.wp-block-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #44464C;
    margin-top: 24px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.episode-body h5,
.episode-body h5.wp-block-heading {
    font-size: 0.92rem;
    font-weight: 700;
    color: #44464C;
    margin-top: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.episode-body h6,
.episode-body h6.wp-block-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(68, 70, 76, 0.7);
    margin-top: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.episode-body h1:first-child,
.episode-body h2:first-child,
.episode-body h3:first-child,
.episode-body h4:first-child,
.episode-body h5:first-child,
.episode-body h6:first-child {
    margin-top: 0;
}

.episode-body p {
    font-size: 0.95rem;
    color: rgba(68, 70, 76, 0.8);
    line-height: 1.7;
    margin-bottom: 16px;
}

.episode-body ul {
    list-style: none;
    margin-bottom: 16px;
    padding-left: 0;
}

.episode-body ul li {
    font-size: 0.92rem;
    color: rgba(68, 70, 76, 0.75);
    line-height: 1.6;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.episode-body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: #F0DA54;
    border-radius: 50%;
}

.episode-body ol {
    margin-bottom: 16px;
    padding-left: 20px;
}

.episode-body ol li {
    font-size: 0.92rem;
    color: rgba(68, 70, 76, 0.75);
    line-height: 1.6;
    padding: 6px 0;
}

.episode-body ol li::marker {
    color: #F0DA54;
    font-weight: 700;
}

.episode-body a {
    color: #B8960C;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.episode-body a:hover {
    color: #44464C;
}

/* WordPress Button Blocks (match .btn-cta style) */
.wp-block-button__link,
.wp-element-button,
.episode-body .wp-block-button__link,
.episode-body .wp-element-button,
.page-content-inner .wp-block-button__link,
.page-content-inner .wp-element-button {
    display: inline-block !important;
    padding: 14px 36px !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    background: #F0DA54 !important;
    color: #44464C !important;
    border: none !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.wp-block-button__link:hover,
.wp-element-button:hover,
.episode-body .wp-block-button__link:hover,
.episode-body .wp-element-button:hover,
.page-content-inner .wp-block-button__link:hover,
.page-content-inner .wp-element-button:hover {
    background: #e8d04a !important;
    color: #44464C !important;
    transform: translateY(-1px);
    text-decoration: none !important;
}

/* Outline button variant */
.wp-block-button.is-style-outline .wp-block-button__link,
.episode-body .wp-block-button.is-style-outline .wp-block-button__link,
.page-content-inner .wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent !important;
    border: 2px solid #44464C !important;
    color: #44464C !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.episode-body .wp-block-button.is-style-outline .wp-block-button__link:hover,
.page-content-inner .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: #44464C !important;
    color: #FDF8E3 !important;
    transform: translateY(-1px);
}

/* Button block container */
.episode-body .wp-block-button,
.page-content-inner .wp-block-button {
    margin-bottom: 1.2em;
}

.episode-body .wp-block-buttons,
.page-content-inner .wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.5em;
}

.episode-body em {
    font-style: italic;
}

.episode-body strong {
    font-weight: 600;
    color: #44464C;
}

.episode-body blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 3px solid #F0DA54;
    background: rgba(240, 218, 84, 0.08);
    border-radius: 0 8px 8px 0;
}

.episode-body blockquote p {
    font-size: 1.05rem;
    font-style: italic;
    color: #44464C;
    line-height: 1.7;
    margin-bottom: 0;
}

.episode-body blockquote p:not(:last-child) {
    margin-bottom: 12px;
}

.episode-body blockquote cite,
.episode-body blockquote footer {
    display: block;
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 600;
    color: rgba(68, 70, 76, 0.55);
    margin-top: 10px;
}

/* Sidebar */
.episode-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 80px;
}

.sidebar-card {
    background: rgba(68, 70, 76, 0.04);
    border: 1px solid rgba(68, 70, 76, 0.08);
    border-radius: 12px;
    padding: 24px;
}

.sidebar-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #44464C;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.share-links {
    display: flex;
    gap: 10px;
}

.share-link {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #44464C;
    background: rgba(68, 70, 76, 0.06);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.share-link:hover {
    background: rgba(68, 70, 76, 0.12);
    color: #44464C;
}

.sidebar-premium {
    background: #44464C;
    border-color: #44464C;
}

.sidebar-premium h4 {
    color: #FDF8E3;
}

.sidebar-premium p {
    font-size: 0.85rem;
    color: rgba(253, 248, 227, 0.6);
    line-height: 1.5;
    margin-bottom: 16px;
}

.btn-cta.btn-small {
    padding: 10px 22px;
    font-size: 0.75rem;
}

/* Sidebar Episode Recommendation (Articles) */
.sidebar-episode-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.sidebar-episode-card:hover {
    transform: translateY(-2px);
}

.sidebar-episode-card .sidebar-ep-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 14px;
}

.sidebar-episode-card .sidebar-ep-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #B8960C;
    margin-bottom: 6px;
}

.sidebar-episode-card .sidebar-ep-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #44464C;
    line-height: 1.35;
    margin-bottom: 8px;
}

.sidebar-episode-card .sidebar-ep-teaser {
    font-size: 0.82rem;
    color: rgba(68, 70, 76, 0.6);
    line-height: 1.5;
    margin-bottom: 12px;
}

.sidebar-episode-card .sidebar-ep-listen {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #B8960C;
}

.sidebar-episode-card .sidebar-ep-listen svg {
    flex-shrink: 0;
}

/* More Episodes */
.more-episodes-section {
    padding: 60px 0;
    border-top: 1px solid rgba(68, 70, 76, 0.08);
}

.more-episodes-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.more-episodes-inner .episodes-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .featured-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .episodes-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .episodes-archive-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 14px 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #FDF8E3;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 150;
    }

    .main-navigation.is-open {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        gap: 8px;
    }

    .nav-menu li a {
        font-size: 1.2rem;
        padding: 12px 20px;
    }

    .nav-extras {
        flex-direction: column;
        margin-left: 0;
        gap: 20px;
    }

    .menu-toggle.is-active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.is-active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 40px 0 60px;
    }

    .hero-inner {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-proof {
        display: none;
    }

    .latest-episodes {
        padding: 40px 0 60px;
    }

    .latest-episodes-inner {
        padding: 0 20px;
    }

    .section-header {
        gap: 8px;
        align-items: center;
    }

    .section-heading h2 {
        font-size: 1.3rem;
    }

    .heading-accent {
        width: 24px;
    }

    .section-heading {
        gap: 10px;
    }

    .section-header .btn-outline.btn-small {
        padding: 5px 12px;
        font-size: 0.65rem;
        letter-spacing: 0.08em;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .featured-episodes {
        padding: 0 0 60px;
    }

    .featured-episodes-inner {
        padding: 0 20px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .featured-card {
        display: grid;
        grid-template-columns: 110px 1fr;
        border-radius: 10px;
    }

    .featured-card-image {
        aspect-ratio: 1 / 1;
        border-radius: 10px 0 0 10px;
    }

    .featured-card-image img {
        border-radius: 10px 0 0 10px;
    }

    .featured-card-body {
        padding: 12px 14px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .featured-card-title {
        font-size: 0.82rem;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .featured-card-excerpt {
        font-size: 0.7rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .episodes-grid,
    .episodes-archive-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .episodes-grid .episode-card,
    .episodes-archive-grid .episode-card {
        display: grid;
        grid-template-columns: 110px 1fr;
        border-radius: 10px;
    }

    .episodes-grid .episode-card-image,
    .episodes-archive-grid .episode-card-image {
        aspect-ratio: 1 / 1;
        border-radius: 10px 0 0 10px;
    }

    .episodes-grid .episode-card-image img,
    .episodes-archive-grid .episode-card-image img {
        border-radius: 10px 0 0 10px;
    }

    .episodes-grid .episode-card-body,
    .episodes-archive-grid .episode-card-body {
        padding: 12px 14px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .episodes-grid .episode-title,
    .episodes-archive-grid .episode-title {
        font-size: 0.82rem;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .episodes-grid .episode-excerpt,
    .episodes-archive-grid .episode-excerpt {
        font-size: 0.7rem;
        line-height: 1.4;
        -webkit-line-clamp: 2;
    }

    .episodes-archive-inner {
        padding: 0 20px;
    }

    .episodes-search-inner {
        padding: 0 20px;
    }

    .search-bar {
        max-width: 100%;
    }

    .page-header-inner {
        padding: 0 20px;
    }

    .page-header-inner h1 {
        font-size: 1.8rem;
    }

    .page-content-inner {
        padding: 0 20px;
    }

    .page-content-inner h1 {
        font-size: 1.6rem;
    }

    .about-section {
        padding: 60px 0;
    }

    .about-inner {
        padding: 0 20px;
    }

    .about-inner p {
        font-size: 1.1rem;
    }

    .cta-section {
        padding: 40px 0 60px;
    }

    .cta-inner {
        margin: 0 20px;
        padding: 36px 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 20px 32px;
    }

    .footer-bottom-inner {
        padding: 16px 20px;
    }

    /* Episode Page */
    .episode-hero {
        padding: 32px 0 0;
    }

    .episode-hero-inner {
        padding: 0 20px;
    }

    .episode-hero-title {
        font-size: 1.6rem;
    }

    .episode-listen-links {
        gap: 8px;
    }

    .listen-link {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .episode-player-inner {
        padding: 0 20px;
    }

    .episode-content-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 20px;
    }

    .episode-sidebar {
        position: static;
    }

    .more-episodes-inner {
        padding: 0 20px;
    }

    .more-episodes-inner .episodes-grid {
        grid-template-columns: 1fr;
    }

    .more-episodes-inner .episode-card {
        display: grid;
        grid-template-columns: 110px 1fr;
        border-radius: 10px;
    }

    .more-episodes-inner .episode-card-image {
        aspect-ratio: 1 / 1;
        border-radius: 10px 0 0 10px;
    }

    .more-episodes-inner .episode-card-image img {
        border-radius: 10px 0 0 10px;
    }

    .more-episodes-inner .episode-card-body {
        padding: 12px 14px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .more-episodes-inner .episode-title {
        font-size: 0.82rem;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .more-episodes-inner .episode-excerpt {
        font-size: 0.7rem;
        line-height: 1.4;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.65rem;
    }
}
