/* Google Font Import - using Playfair Display + Source Sans 3 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@300;400;600&display=swap');

/* ===== Banner SECTION ===== */
* {
    box-sizing: border-box;
}

img {
    max-width: auto;
    height: auto;
}
.herosection {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.heroimage {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Dark overlay */
.herosection::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* Content wrapper */
.herocontent {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    z-index: 2;
}

    /* Left side heading */
    .herocontent h1 {
        font-size: 60px;
        font-weight: 700;
        margin: 0;
    }

    /* Right side paragraph */
    .herocontent p {
        max-width: 500px;
        font-size: 20px;
        line-height: 1.6;
        text-align: right;
        margin: 0;
    }

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
    .heroimage {
        height: 400px;
    }

    .herocontent {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

        .herocontent p {
            text-align: center;
        }

        .herocontent h1 {
            font-size: 40px;
        }
}

@media (max-width: 600px) {
    .heroimage {
        height: 300px;
    }

    .herocontent h1 {
        font-size: 28px;
    }

    .herocontent p {
        font-size: 14px;
    }

    .archive-card {
        flex-direction: column;
    }
}
/*Podcast Categories*/
/* ===== SECTION ===== */

.podcastcategories {
    background: var(--white);
    padding: 80px 0;
}

.podcastcontainer {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ===== TITLE ===== */

.sectiontitle {
    width: fit-content;
    margin: 0 auto 50px;
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 600;
    padding: 10px 30px;
    border: 1px solid #ccc;
    background: #fff;
}

/* ===== GRID ===== */

.categorieswrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* ===== CARD ===== */

.categorycard {
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Image */

.imagewrapper img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-bottom: 4px solid #c40000;
}

/* Card Content */

.cardcontent {
    padding: 40px 30px;
    position: relative;
}

/* Big number background */
/* Left Big Number */
.numberside {
    flex: 0 0 120px;
}
.bignumber {
    font-size: 140px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
}
/* Right Text */
.textside {
    flex: 1;
}
/* Title */
.textside h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-decoration: underline;
}
/* Paragraph */
.textside p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.cardcontent h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    text-decoration: underline;
}
.contentwrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}
/* Description */

.cardcontent p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

/* Browse Link */

.browselink {
    color: #c40000;
    font-weight: 600;
    text-decoration: none;
}

    .browselink .arrow {
        display: inline-block;
        margin-left: 10px;
        background: #c40000;
        color: #fff;
        width: 30px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        border-radius: 50%;
    }
/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar {
    padding: 10px 32px;
    font-size: 2rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

    .breadcrumb-bar a {
        color: var(--text-light);
        text-decoration: none;
    }

        .breadcrumb-bar a:hover {
            color: var(--red);
            text-decoration: underline;
        }

    .breadcrumb-bar .active-crumb {
        color: var(--red);
    }
/*==========YT Modal==========*/
.yt-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.yt-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    cursor: pointer;
    opacity:0.7;
}

/* ---- Modal box ---- */
.yt-modal-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 880px;
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    animation: ytFadeIn 0.22s ease;
}

@keyframes ytFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ---- Header ---- */
.yt-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: #1a1a1a;
    border-bottom: 1px solid #333;
}

.yt-modal-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ddd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.yt-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.yt-watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: #c0392b;
    color: #fff;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

    .yt-watch-btn:hover {
        background: #962d22;
        color: #fff;
    }

.yt-close-btn {
    background: none;
    border: 1px solid #444;
    color: #aaa;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

    .yt-close-btn:hover {
        background: #c0392b;
        color: #fff;
        border-color: #c0392b;
    }

/* ---- Iframe wrapper — 16:9 ---- */
.yt-frame-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

    .yt-frame-wrap iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

/* ---- Error overlay ---- */
.yt-error-overlay {
    position: absolute;
    inset: 0;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.yt-error-box {
    text-align: center;
    padding: 32px 24px;
}

.yt-error-icon {
    font-size: 2.5rem;
    color: #c0392b;
    display: block;
    margin-bottom: 12px;
}

.yt-error-box p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.yt-error-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #c0392b;
    color: #fff;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

    .yt-error-btn:hover {
        background: #962d22;
        color: #fff;
    }

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {

    .categorieswrapper {
        grid-template-columns: 1fr;
    }

    .imagewrapper img {
        height: 280px;
    }

    .bignumber {
        font-size: 100px;
    }
}

@media (max-width: 600px) {

    .cardcontent {
        padding: 25px;
    }

        .cardcontent h3 {
            font-size: 20px;
        }

    .bignumber {
        font-size: 80px;
    }
    .yt-modal {
        padding: 0;
        align-items: flex-end;
    }

    .yt-modal-inner {
        border-radius: 8px 8px 0 0;
        max-width: 100%;
    }

    .yt-modal-title {
        display: none;
    }
}
@media (max-width: 768px) {

    .contentwrapper {
        flex-direction: column;
        gap: 10px;
    }

   
    .bignumber {
        font-size: 80px;
    }
/*    .archive-body {
        grid-template-columns: 1fr;
    }
*/
    .archive-sidebar {
        position: static;
    }

    .archive-card {
        flex-direction: column;
        align-items: flex-start;
    }
}
:root {
    --red: #c0392b;
    --red-dark: #962d22;
    --text-dark: #1a1a1a;
    --text-mid: #444;
    --text-light: #888;
    --border: #e0e0e0;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --radius: 4px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    font-size: 15px;
    line-height: 1.6;
}

/* ---- Top Section: Recent + Upcoming ---- */
.broadcasts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    max-width: 1600px;
    margin: 40px auto;
    padding: 0 14px;
}
.recent-broadcasts {
    background-color: rgba(0, 0, 0, 0.05);
}
/* Section Titles */
.section-title {
    font-family: 'Playfair Display', serif;
/*    font-size: 1.5rem;*/
    font-weight:bold;
    
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
    font-size: 32px;

}

/* ---- Tab Bar ---- */
.tab-bar {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    width: fit-content;
}

.tab {
    padding: 7px 18px;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 2.2rem;
    color: var(--text-mid);
    transition: background 0.2s, color 0.2s;
    border-right: 1px solid var(--border);
    
}

    .tab:last-child {
        border-right: none;
    }

    .tab.active,
    .tab:hover {
        background: var(--red);
        color: var(--white);
    }

/* ---- Broadcast Cards ---- */
.broadcast-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.broadcast-card {
    display: flex;
    align-items: center;
    gap: 54px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.broadcast-thumb {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: #ccc;
}

    .broadcast-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.broadcast-meta {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.broadcast-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 36px;
}

    .broadcast-date .day {
        font-family: 'Playfair Display', serif;
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--text-dark);
        line-height: 1;
    }

    .broadcast-date .month {
        font-size: 1.75rem;
        color: var(--text-light);
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

.broadcast-info h3 {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    padding-right: 60px;
}

.broadcast-info .posted {
    font-size: 1.0rem;
    color: var(--text-light);
    margin-top: 5px;
}

.badge {
    position: absolute;
    top: 14px;
    right: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

    .badge.now {
        background: var(--red);
        color: var(--white);
    }

    .badge.audio {
        background: #e8f5e9;
        color: #2e7d32;
    }

.arrow-link {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--red);
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 700;
    transition: transform 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    align-items:center;
}


    .arrowlink:hover {
        transform: translateY(-50%) translateX(3px);
    }

/* ---- Upcoming Programmes ---- */
.upcoming-list {
    display: flex;
    flex-direction: column;
}

.upcoming-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.upcoming-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 48px;
    justify-content: center;
    width: 70px;
    border-left: 2px solid #ccc; /* left vertical line */
    border-right: 2px solid #ccc; /* right vertical line */

    padding: 8px 0;
}

.up-month {
    font-size: 1.8rem;
    color: var(--red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.up-day {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.upcoming-info h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.upcoming-info p {
    font-size: 1.75rem;
    color: var(--text-light);
}

.cat-link {
    color: var(--red);
    font-weight: 600;
    cursor: pointer;
}

    .cat-link:hover {
        text-decoration: underline;
    }

/* ============================================================
   Programme Archive Section
   ============================================================ */
.programme-archive {
    max-width: 1800px;
    margin: 50px auto 60px;
    padding: 20px 24px;
    align-content: center;
}

.archive-header {
    text-align: center;
    margin-bottom: 36px;
    padding-bottom: 20px;
    position: relative;
   
}

    .archive-header::before {
        content: '';
        position: absolute;
        width: 130px;
        height: 1px;
        background: var(--border);
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%); /* centers perfectly */
    }
    .archive-header h2 {
        display: inline-block;
        background: var(--white);
        padding: 0 20px;
        font-family: 'Source Sans 3', sans-serif;
        font-size: 2.75rem;
        font-weight: 600;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: var(--text-mid);
        position: relative;
        z-index: 1;
    }

    .archive-header p {
        margin-top: 16px;
        font-size: 1.5rem;
        color: var(--text-light);
    }

.archive-body {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: start;
    margin-top: 24px;
}
/* ---- Sidebar ---- */

.archive-sidebar {
    position: sticky;
    top: 20px;
    width: 250px;
    border-right: 1px solid #ddd;
    padding-right: 20px;
    color: var(--red);
}
/* Calendar */

.calendar-widget {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
    font-size: 2.5rem;
}

.cal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f6f6f6;
    padding: 8px 12px;
    font-weight: 600;
    font-size: 1.5rem;
}


    .cal-nav button {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 2.75rem;
        color: #555;
        padding: 0 4px;
        transition: color 0.2s;
    }

        .cal-nav button:hover {
            color: #c0392b;
        }

.cal-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

    .cal-table th {
        padding: 6px 2px;
        color: #888;
        font-weight: 600;
        font-size: 1rem;
        border-bottom: 1px solid #ddd;
    }

    .cal-table td {
        padding: 6px 2px;
        cursor: pointer;
        color: #333;
        font-size: 1.75rem;
        transition: background 0.15s;
    }

        .cal-table td:hover:not(.other-month) {
            background: #fdf3f3;
            color: #c0392b;
        }

    .cal-table .other-month {
        color: #ccc;
        cursor: default;
    }

    .cal-table .active-day {
        background: #c0392b !important;
        color: #fff !important;
        border-radius: 50%;
        font-weight: 700;
    }

    .cal-table .has-content {
        position: relative;
    }

        .cal-table .has-content::after {
            content: '';
            display: block;
            width: 4px;
            height: 4px;
            background: #c0392b;
            border-radius: 50%;
            margin: 1px auto 0;
        }

    .cal-table .active-day.has-content::after {
        background: rgba(255,255,255,0.7);
    }
.selected-date-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    background: #fdf3f3;
    font-size: 1rem;
    color: #c0392b;
    font-weight: 600;
    border-top: 1px solid #f0d0d0;
}

    .selected-date-label button {
        background: none;
        border: none;
        cursor: pointer;
        color: #c0392b;
        font-size: 1rem;
        padding: 0 4px;
    }


/* Filter Groups */

.filtergroup {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f6f6f6;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.75rem;
    user-select: none;
    transition: background 0.15s;
}
    .filter-header:hover {
        background: #efefef;
    }

.fchevron {
    font-size: 1.5rem;
    color: #888;
    transition: transform 0.25s;
    display: inline-block;
}

    .fchevron.collapsed {
        transform: rotate(180deg);
    }
.filter-body {
    padding: 8px 14px 12px;
}

    .filter-body.hidden {
        display: none;
    }

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 1.5rem;
    color: #555;
    cursor: pointer;
    font-weight: 400;
    margin: 0;
}

    .filter-option:hover {
        background: var(--bg-light);
    }

    .filter-option input[type="checkbox"] {
        accent-color: #c0392b;
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        cursor: pointer;
    }
/* ---- Buttons ---- */
.filter-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.btn-clear-filter {
    flex: 1;
    padding: 9px 12px;
    background: #fff;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

    .btn-clear-filter:hover {
        background: #fdf3f3;
        color: #c0392b;
        border-color: #c0392b;
    }
/* ---- Results bar ---- */
.archive-results-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    min-height: 28px;
}

#resultsCount {
    font-size: 1.8rem;
    color: #888;
    font-style: italic;
}

#activeFilterTags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: #fdf3f3;
    border: 1px solid #f0d0d0;
    border-radius: 20px;
    font-size: 1.72rem;
    color: #c0392b;
    font-weight: 600;
}

    .filter-tag button {
        background: none;
        border: none;
        cursor: pointer;
        color: #c0392b;
        font-size: 1.65rem;
        padding: 0 2px;
    }

/* ---- Spinner ---- */
.archive-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 32px 0;
    color: #888;
    font-size: 0.88rem;
}

.archive-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid #f0d0d0;
    border-top-color: #c0392b;
    border-radius: 50%;
    animation: archiveSpin 0.7s linear infinite;
    flex-shrink: 0;
}

@@keyframes archiveSpin {
    to {
        transform: rotate(360deg);
    }
}


/* ---- Archive Cards ---- */
.archive-cards-wrap {
    min-height: 200px;
}
/*.archive-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    min-width: 300px;
}*/
.archive-cards {
    display: flex;
    flex-direction: column;
}

/*.archive-card {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}*/
.archive-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.15s, padding-left 0.15s;
}
.archive-meta {
    /*margin-top: auto;*/ /* THIS pushes it to bottom */
    font-size: 1.5rem;
    color: var(--text-light);
    flex: 1;
    padding: 45px;
}
/*    .archive-card:hover {
        background: var(--bg-light);
        padding-left: 8px;
        border-radius: var(--radius);
    }*/
.archive-card:hover {
    background: #fdf9f9;
    padding-left: 6px;
}

.archive-card-info {
    flex: 1;
    min-width: 0;
}

/*.archive-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    line-height: 1.3;
}*/
.archive-card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 6px;
    line-height: 1;
    cursor: pointer;
}

    .archive-card-title:hover {
        color: var(--red-dark);
        text-decoration: underline;
    }
.archive-card-desc {
    font-size: 0.82rem;
    color: #888;
    line-height: 1;
    margin-bottom: 4px;
}
.archive-card-info p {
    font-size: 2rem;
    color: var(--text-light);
    line-height: 1.5;
}

/*.archive-meta {
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--text-light);
}*/
/*.archive-meta {
    margin-top: 8px;*/ /* THIS pushes it to bottom */
    /*font-size: 0.85rem;
    color: var(--text-light);
}*/
.archive-meta {
    font-size: 1.76rem;
    color: #aaa;
}
.meta-sep {
    margin: 0 2px;
}

.meta-cat {
    color: #666;
}

.meta-type {
    font-weight: 600;
}

.meta-type--audio {
    color: #2e7d32;
}

.meta-type--video {
    color: #c0392b;
}

.archive-card-thumb {
    width: 170px;
    height: 110px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background: #ddd;
}

    .archive-card-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.3s ease;
    }

.archive-card:hover .archive-card-thumb img {
    transform: scale(1.05);
}
/* Play button */
.archive-card-action {
    flex-shrink: 0;
}
/* Wrapper that holds image + overlaid button */
.archive-thumb-wrap {
    position: relative;
    width: 170px;
    height: 110px;
    border-radius: 6px;
    overflow: hidden;
    background: #e8e8e8;
    flex-shrink: 0;
}
/* Thumbnail image */
.archive-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.archive-card:hover .archive-thumb-img {
    transform: scale(1.05);
}
/* Placeholder shown when no image */
.archive-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0d0d0, #e8e8e8);
    font-size: 2rem;
}
/* Play button — centred overlay on the image */
/*.archive-thumb-wrap */
.media-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    padding-left: 3px; /* optical centre for ▶ glyph */
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
    transition: transform 0.2s, opacity 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.archive-thumb-wrap .media-btn--video {
    background: #c0392b;
}

/*.archive-thumb-wrap */
.media-btn--audio {
    background: #2e7d32;
}
/*.archive-thumb-wrap*/
.media-btn:hover {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
}
.media-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.85rem;
    padding-left: 3px;
    transition: transform 0.2s, opacity 0.2s;
}


.media-btn--video {
    background: #c0392b;
}

/* ---- No results ---- */
.archive-no-results {
    text-align: center;
    padding: 48px 20px;
    color: #888;
    font-size: 2rem;
}

    .archive-no-results p {
        margin-bottom: 14px;
    }

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(192, 57, 43, 0.88);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    padding-left: 3px;
}

    .play-icon:hover {
        background: var(--red-dark);
        transform: translate(-50%, -50%) scale(1.1);
    }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 800px) {
    .broadcasts-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

/*    .archive-body {
        grid-template-columns: 1fr;
    }*/

    .archive-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .archive-card-thumb {
        width: 100%;
        height: 180px;
    }
}
@media (max-width: 1000px) {
    body {
        overflow-x: auto;
        overflow-y: auto;
    }
/*    .archive-body {
        flex-direction: column;
    }*/

    .archive-sidebar {
        width: 100%;
        /*        border-right: none;
        border-bottom: 1px solid var(--border);*/
        color: var(--red);
        border-right: 1px solid #ddd;
        padding-right: 20px;
    }

    .archive-cards {
        width: 100%;
    }
}
@media (max-width: 500px) {
    .broadcasts-wrapper,
    .programme-archive {
        padding: 0 14px;
    }
}