/* /AudioPlayer.razor.rz.scp.css */
body[b-gentlraijc] {
}

.audio-player[b-gentlraijc] {
    width: 100%;
    /* ensure audio player sits above surrounding elements if needed */
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.audio-scrubber[b-gentlraijc] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
    cursor: pointer;
    pointer-events: auto; /* make sure the input accepts pointer events */
    touch-action: pan-x; /* allow horizontal dragging on touch devices */
}

/* track styles */
.audio-scrubber[b-gentlraijc]::-webkit-slider-runnable-track {
    height: 6px;
    background: linear-gradient(
        to right,
        orange 0%,
        orange var(--progress),
        #ddd var(--progress),
        #ddd 100%
    );
    border-radius: 3px;
}

.audio-scrubber[b-gentlraijc]::-moz-range-track {
    height: 6px;
    background: linear-gradient(
        to right,
        orange 0%,
        orange var(--progress),
        #ddd var(--progress),
        #ddd 100%
    );
    border-radius: 3px;
}

/* thumb */
.audio-scrubber[b-gentlraijc]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: orange;
    border-radius: 50%;
    margin-top: -4px; /* centers thumb on 6px track */
    pointer-events: auto;
}

.audio-scrubber[b-gentlraijc]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: orange;
    border-radius: 50%;
    border: none;
    pointer-events: auto;
}

/* Play/pause icon button */
.play-pause[b-gentlraijc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 6px;
    border: none;
    background: transparent;
    cursor: pointer;

    /* keep this so flex centering is enforced explicitly */
    align-self: center;
}

.play-pause .icon[b-gentlraijc] {
    width: 24px;
    height: 24px;
    display: block;
    pointer-events: none; /* clicks should hit the button, not the image */

    /* small vertical nudge — tweak the px value (positive moves down, negative moves up) */
    transform: translateY(2px);
    /* If you prefer margin-based nudging instead:
       margin-top: 1px;
    */
}

/* Ensure the slider is also aligned consistently */
.audio-scrubber[b-gentlraijc] {
    align-self: center;
}
/* /ImageCarousel.razor.rz.scp.css */
.carousel[b-tzjrabdxbb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

/* IMAGE */
.carousel-image-wrapper[b-tzjrabdxbb] {
    width: 100%;
    display: flex;
    justify-content: center;
}

    .carousel-image-wrapper img[b-tzjrabdxbb] {
        width: 100%;
        max-width: 800px;
        max-height: 70vh;
        object-fit: contain;
    }

/* TEXT */
.carousel-meta[b-tzjrabdxbb] {
    text-align: center;
    margin-top: 0.75rem;
}

.carousel-description[b-tzjrabdxbb] {
    font-size: 0.95rem;
    margin: 0.25rem 0;
}

.carousel-credit[b-tzjrabdxbb] {
    font-size: 0.85rem;
    color: #666;
    margin: 0.25rem 0;
}

.carousel-counter[b-tzjrabdxbb] {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.25rem;
}

/* CONTROLS */
.carousel-controls button[b-tzjrabdxbb] {
    background: none; /* remove gray background */
    border: none; /* remove border */
    padding: 0; /* remove default padding */
    margin: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.carousel-controls .icon[b-tzjrabdxbb] {
    width: 16px; /* try 12px, 14px, or 16px */
    height: 16px;
    display: block; /* removes inline-img baseline spacing */
}
/* /Pages/EpisodePage.razor.rz.scp.css */
.episode-page[b-hket3ssrsm] {
    display: flex;
    justify-content: center;
    padding: 20px 12px;
}

.episode-inner[b-hket3ssrsm] {
    max-width: 980px;
    width: 100%;
    display: block;
    gap: 16px;
}

/* Card that holds meta, title, description */
.episode-card[b-hket3ssrsm] {
    padding: 18px 20px;
    border-left: 3px solid #f0f0f0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.02);
    margin-bottom: 18px;
}

/* Meta line: smaller font and bold (similar to index) */
.episode-meta[b-hket3ssrsm] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #666;
    margin-bottom: 8px;
}

/* Title */
.episode-title[b-hket3ssrsm] {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #111;
}

/* Description */
.episode-description[b-hket3ssrsm] {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

/* Section headings (Images / References) centered */
.section-heading[b-hket3ssrsm] {
    text-align: center;
    font-weight: 600;
    margin: 18px 0 10px 0;
}

/* Center the image carousel and constrain width to match card */
.images-center[b-hket3ssrsm] {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

/* Make sure the carousel itself can grow but not exceed the inner width */
.images-center > *[b-hket3ssrsm] {
    width: 100%;
    max-width: 920px;
}

/* Small screen adjustments */
@media (max-width: 700px) {
    .episode-card[b-hket3ssrsm] {
        padding: 14px;
    }

    .episode-title[b-hket3ssrsm] {
        font-size: 1.25rem;
    }

    .images-center > *[b-hket3ssrsm] {
        max-width: 100%;
    }
}
/* /Pages/Home.razor.rz.scp.css */
/* Episode list layout */
.episode-list[b-u4p0x58hlf] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Card wrapper (keeps full-width spacing) */
.episode-item[b-u4p0x58hlf] {
    padding: 8px 12px;
}

/* Inner centered container — highlight will be constrained here */
.episode-inner[b-u4p0x58hlf] {
    max-width: 980px; /* control how far the highlight can extend */
    margin: 0 auto; /* center the content */
    display: block;
    padding: 10px 12px;
}

/* The main body for each episode; chevron will live here so audio can stretch to it */
.episode-body[b-u4p0x58hlf] {
    position: relative;
    padding: 12px;
    border-left: 3px solid #f0f0f0; /* thin vertical line */
    background: #fff;
    border-radius: 6px;
    transition: box-shadow 160ms ease, transform 120ms ease;
    overflow: visible;
}

/* Make the meta/title/description a block-level card that is clickable */
.episode-card[b-u4p0x58hlf] {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 4px 8px 8px 8px;
    border-radius: 6px;
    position: relative;
    transition: background 160ms ease, box-shadow 160ms ease, transform 120ms ease;
    padding-right: 40px; /* space reserved for the chevron */
}

/* The audio area sits directly beneath the description and stretches the full content width */
.episode-audio[b-u4p0x58hlf] {
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
    /* Ensure the audio area is above other elements and accepts pointer events */
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

/* Hover/focus only affects the inner card area (not the whole page) */
.episode-body:hover[b-u4p0x58hlf],
.episode-card:hover[b-u4p0x58hlf],
.episode-card:focus[b-u4p0x58hlf] {
    background: #fff8f0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transform: translateY(-2px);
    cursor: pointer;
}

/* Focus ring for keyboard users */
.episode-card:focus[b-u4p0x58hlf] {
    outline: 3px solid rgba(255,140,0,0.18);
    outline-offset: 2px;
}

/* Chevron placed on the right of the episode-body (avoids glyph issues) */
.episode-body[b-u4p0x58hlf]::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 16px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 10'><path d='M1 1 L5 5 L1 9' stroke='%23c0a07a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.65;
    pointer-events: none;
}

/* Meta line: smaller font and bold */
.episode-meta[b-u4p0x58hlf] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #666;
    margin-bottom: 6px;
}

/* Title */
.episode-title[b-u4p0x58hlf] {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
}

/* Description */
.episode-description[b-u4p0x58hlf] {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
}

/* Responsive: stack on small screens and make audio full width below text */
@media (max-width: 820px) {
    .episode-inner[b-u4p0x58hlf] {
        padding: 8px;
    }

    .episode-body[b-u4p0x58hlf]::after {
        display: none; /* hide chevron on small screens */
    }
}
/* /TranscriptDrawer.razor.rz.scp.css */
.transcript-drawer[b-ibrfnkqd82] {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin: 1rem 0;
    background-color: #f9f9f9;
}

.transcript-header[b-ibrfnkqd82] {
    cursor: pointer;
    padding: 0.75rem 1rem;
    background-color: #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    user-select: none;
}

.transcript-header:hover[b-ibrfnkqd82] {
    background-color: #dcdcdc;
}

.arrow[b-ibrfnkqd82] {
    transition: transform 0.25s ease;
}

.arrow.open[b-ibrfnkqd82] {
    transform: rotate(180deg);
}

.transcript-content[b-ibrfnkqd82] {
    max-height: 300px; /* drawer height */
    overflow-y: auto; /* internal scrolling */
    padding: 1rem;
    background-color: white;
    border-top: 1px solid #ddd;
}

.transcript-paragraph[b-ibrfnkqd82] {
    margin-bottom: 1rem;
}

.transcript-meta[b-ibrfnkqd82] {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.25rem;
}

.transcript-text[b-ibrfnkqd82] {
    line-height: 1.5;
}
