@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* Editorial Light Design System & Variables */
:root {
    --bg-dark: #fbfbfa; /* Warm off-white page background */
    --bg-card: #ffffff; /* Pure white card background */
    --bg-card-hover: #ffffff;
    --border-color: #e7e5e4; /* Stone-200 border */
    --border-hover: #a8a29e; /* Stone-400 border */
    
    --primary: #1c1917; /* Stone-900 (Main text & headings) */
    --secondary: #57534e; /* Stone-700 (Subheadings) */
    --accent: #c2410c; /* Warm terracotta/rust orange (Links & badges) */
    --accent-glow: rgba(194, 65, 12, 0.08);
    
    --text-primary: #1c1917;
    --text-secondary: #44403c; /* Stone-700 body text */
    --text-muted: #78716c; /* Stone-500 helper/metadata */
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.625;
    min-height: 100vh;
    padding-bottom: 5rem;
    overflow-x: hidden;
}

/* Header & Editorial Intro */
header {
    text-align: center;
    max-width: 800px;
    margin: 4.5rem auto 3rem auto;
    padding: 0 1.5rem;
    animation: fadeInDown 0.8s ease-out;
}

header h1 {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

header p {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 1.25rem auto 0 auto;
    line-height: 1.5;
}

@media (max-width: 767px) {
    header {
        margin: 2.25rem auto 1.75rem auto;
        padding: 0 1rem;
    }

    header h1 {
        font-size: 2.15rem;
        line-height: 1.15;
        margin-bottom: 0.8rem;
        padding-bottom: 0.4rem;
    }

    header h1::after {
        left: 20%;
        width: 60%;
        height: 2px;
    }

    header p {
        font-size: 1rem;
        line-height: 1.5;
        margin-top: 0.85rem;
        padding: 0 0.2rem;
    }

    #main-logo {
        max-width: 280px;
        margin-bottom: 1rem;
    }

    .slider-outer-wrapper {
        padding: 0 0.85rem;
    }

    .episodes-slider {
        gap: 0.9rem;
        padding: 1.4rem 0.2rem;
    }

    .episode-card {
        flex: 0 0 92%;
        min-height: auto;
    }

    .episode-image-wrapper {
        height: 220px;
    }

    .episode-details {
        padding: 1.1rem 1rem 1.15rem;
    }

    .episode-title {
        font-size: 1.35rem;
        text-align: left;
        width: 100%;
        display: block;
    }

    .episode-brief {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .episode-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }

    .slider-control-btn {
        display: none;
    }

    .pagination-container {
        gap: 0.5rem;
        margin-top: 2rem;
        padding: 0 0.75rem;
    }

    .nav-tile,
    .nav-arrow-text {
        height: 34px;
        padding: 0 0.8rem;
        font-size: 0.8rem;
    }
}

/* Main logo: centered and responsive */
#main-logo {
    display: block;
    margin: 0 auto 1.25rem auto;
    width: 100%;
    max-width: 800px; /* keeps the intended max display size */
    height: auto;
}

/* Portrait Traditional Cards Slider Layout */
.slider-outer-wrapper {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.slider-container-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.episodes-slider {
    display: flex;
    gap: 1.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2.25rem 0.5rem;
    scroll-behavior: smooth;
}

.episodes-slider::-webkit-scrollbar {
    display: none;
}

/* Traditional Portrait Episode Card */
.episode-card {
    flex: 0 0 88%; /* Fits almost the whole screen, leaving exactly 12% peek of the next tile */
    max-width: 1000px;
    min-height: 380px; /* Generous height for reading content */
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column; /* Vertical Portrait alignment */
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px -2px rgba(28, 25, 23, 0.06);
    position: relative;
}

@media (min-width: 768px) {
    .episode-card {
        min-height: 480px; /* Taller on desktop to fill screen space nicely */
    }
}

.episode-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 35px -6px rgba(28, 25, 23, 0.12);
    transform: translateY(-6px);
}

.episode-card.active-slide {
    border-color: var(--primary);
    box-shadow: 0 20px 40px -6px rgba(28, 25, 23, 0.15);
}

/* Portrait Thumbnail Image Section */
.episode-image-wrapper {
    position: relative;
    width: 100%;
    height: 260px; /* Portrait card top header height */
    overflow: hidden;
    background-color: #f5f5f4;
}

@media (min-width: 768px) {
    .episode-image-wrapper {
        height: 380px; /* Taller height on larger viewports */
    }
}

.episode-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.episode-card:hover .episode-image {
    transform: scale(1.03);
}

/* Soft shade overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(28, 25, 23, 0.15) 0%, rgba(28, 25, 23, 0) 40%);
}

/* Episode Text Content */
.episode-details {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center; /* Center content vertically */
}

/* Inline images inserted into episode content */
.article-content img,
.episode-article img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
    box-shadow: 0 6px 20px rgba(28,25,23,0.06);
    border-radius: 6px;
}

.inline-img.align-left {
    float: left;
    margin: 0 1rem 1rem 0;
    display: inline-block;
}
.inline-img.align-right {
    float: right;
    margin: 0 0 1rem 1rem;
    display: inline-block;
}
.inline-img.align-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.inline-img.size-small { max-width: 30%; }
.inline-img.size-medium { max-width: 60%; }
.inline-img.size-large { max-width: 90%; }
.inline-img.size-full { max-width: 100%; }

/* Clear floats after article content */
.episode-article::after { content: ''; display: table; clear: both; }

@media (min-width: 768px) {
    .episode-details {
        padding: 3.5rem 4rem;
    }
}

.episode-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--accent);
    margin-bottom: 1rem;
}

.episode-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    color: var(--primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .episode-title {
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
    }
}

.episode-brief {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 800px;
}

@media (min-width: 768px) {
    .episode-brief {
        font-size: 1.075rem;
        margin-bottom: 2rem;
    }
}

.episode-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.episode-date {
    font-size: 0.775rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Action Arrow Button */
.episode-action-btn {
    background: transparent;
    border: none;
    color: var(--accent);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition-smooth);
}

.episode-action-btn svg {
    transition: var(--transition-smooth);
}

.episode-action-btn:hover {
    color: var(--primary);
}

.episode-action-btn:hover svg {
    transform: translateX(4px);
}

/* Circular Minimalist Navigation Buttons */
.slider-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(28, 25, 23, 0.08);
}

.slider-control-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.slider-control-btn.prev-btn {
    left: -8px;
}

.slider-control-btn.next-btn {
    right: -8px;
}

@media (min-width: 1300px) {
    .slider-control-btn.prev-btn {
        left: -32px;
    }
    .slider-control-btn.next-btn {
        right: -32px;
    }
}

/* Bottom Pagination/Episode Pills (Episode 1, Episode 2...) */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
    flex-wrap: wrap; /* Wraps cleanly on mobile */
    animation: fadeInUp 0.8s ease-out;
}

.nav-tile {
    width: auto;
    height: 38px;
    padding: 0 1.15rem;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 4px rgba(28, 25, 23, 0.03);
    text-decoration: none;
    white-space: nowrap;
}

.nav-tile:hover {
    border-color: var(--border-hover);
    color: var(--primary);
    transform: translateY(-1px);
}

.nav-tile.active-tile {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(28, 25, 23, 0.1);
}

.nav-arrow-text {
    padding: 0 1rem;
    height: 38px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 4px rgba(28, 25, 23, 0.03);
    text-decoration: none;
    white-space: nowrap;
}

.nav-arrow-text:hover:not(.disabled) {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.nav-arrow-text.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Modal Popup Overlay */
.episode-details-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(28, 25, 23, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    padding: 1.5rem;
}

.episode-details-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.overlay-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    max-width: 760px;
    width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    overflow-y: auto;
    box-shadow: 0 30px 60px -15px rgba(28, 25, 23, 0.25);
    position: relative;
    animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.overlay-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.overlay-close-btn:hover {
    background: #f5f5f4;
    transform: rotate(90deg);
}

.overlay-hero-image {
    width: 100%;
    height: 340px;
    object-fit: cover;
    background-color: #f5f5f4;
}

.overlay-body {
    padding: 2.5rem 3rem 3rem 3rem;
}

.overlay-body h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
}

.episode-full-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-top: 1.5rem;
}

/* Custom Scrollbar for Modal */
.overlay-card::-webkit-scrollbar {
    width: 8px;
}
.overlay-card::-webkit-scrollbar-track {
    background: transparent;
}
.overlay-card::-webkit-scrollbar-thumb {
    background: #d6d3d1;
    border-radius: 4px;
}
.overlay-card::-webkit-scrollbar-thumb:hover {
    background: #a8a29e;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.96);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Guest Comments */
.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.comments-header {
    margin-bottom: 1.15rem;
}

.comments-header h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
    color: var(--primary);
}

.comments-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.comment-feedback {
    padding: 0.8rem 0.95rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.comment-feedback.success {
    background: rgba(22, 163, 74, 0.08);
    color: #166534;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.comment-feedback.error {
    background: rgba(220, 38, 38, 0.08);
    color: #991b1b;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.comment-form {
    background: #fcfcfb;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1.25rem;
}

.comment-form-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .comment-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.comments-list {
    display: grid;
    gap: 0.85rem;
}

.comment-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 1.1rem;
    background: #ffffff;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.comment-item p {
    color: var(--text-primary);
    white-space: pre-wrap;
}

.comment-empty {
    padding: 1rem;
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    color: var(--text-muted);
    text-align: center;
}

/* Admin Dashboard (Sharing light-theme elements) */
.admin-body {
    background-color: #f5f5f4;
    padding-top: 1rem;
}

.admin-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 2.5rem auto;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
}

.admin-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.admin-logout {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    transition: var(--transition-smooth);
}

.admin-logout:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .admin-container {
        grid-template-columns: 360px 1fr;
    }
}

.admin-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(28, 25, 23, 0.04);
}

.admin-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Admin Dashboard Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.form-control {
    width: 100%;
    background: #fcfcfb;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.65rem 0.85rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.925rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: #ffffff;
    box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: #3c3633;
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #f5f5f4;
}

.image-preview-box {
    width: 100%;
    height: 140px;
    border: 2px dashed var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0.5rem;
    background: #f5f5f4;
}

.image-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-placeholder {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Admin lists table */
.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th, .admin-table td {
    padding: 0.85rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table td {
    font-size: 0.9rem;
    vertical-align: middle;
}

.admin-thumb {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.admin-actions {
    display: flex;
    gap: 0.35rem;
}

.admin-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.admin-action-btn:hover {
    color: var(--text-primary);
    background: #f5f5f4;
}

.admin-action-btn.edit-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.admin-action-btn.delete-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.order-btn-group {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.order-btn {
    padding: 0.05rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.order-btn:hover {
    color: var(--text-primary);
}

.alert {
    padding: 0.65rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
}

.alert-success {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.alert-danger {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Admin login specific spacing */
.login-container {
    max-width: 380px;
    margin: 12% auto;
}
.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.login-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
}

/* View Website Link */
.home-link {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 100;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.home-link:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* Episode Detail Page Layout Styles */
.episode-page-container {
    max-width: 800px;
    margin: 2rem auto 5rem auto;
    padding: 0 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.episode-page-navigation {
    margin-bottom: 1.75rem;
}

.episode-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.episode-back-link svg {
    transition: var(--transition-smooth);
}

.episode-back-link:hover {
    color: var(--primary);
}

.episode-back-link:hover svg {
    transform: translateX(-4px);
}

.episode-article {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.25rem;
    box-shadow: 0 4px 20px -2px rgba(28, 25, 23, 0.04);
}

@media (min-width: 768px) {
    .episode-article {
        padding: 3.5rem 4rem;
    }
}

.article-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

@media (min-width: 768px) {
    .article-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 767px) {
    .article-title {
        font-size: 1.7rem;
        line-height: 1.25;
        text-align: left;
        width: 100%;
        margin-top: 0.6rem;
        margin-bottom: 0.6rem;
    }
}

.article-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

@media (min-width: 768px) {
    .article-content {
        font-size: 1.125rem;
    }
}
