:root {
    --td-theme-color: #00aef1;
    --td-theme-hover: #0095d1;
    --td-theme-dark: #007eb3;
    --td-dark: #1a1a1a;
    --td-text: #1a1a1a;
    --td-border: #e0e0e4;
    --td-meta-bg: #f4f4f6;
    --td-white: #fff;

    --surface: #fff;
    --surface-muted: #f8f8fa;
    --surface-subtle: #f3f4f6;
    --surface-highlight: #f0f7ff;
    --surface-footer: #1a1a1a;
    --text-body: #1a1a1a;
    --text-muted: #63636e;
    --text-light: #a1a1aa;

    --font-body: 'Open Sans', system-ui, -apple-system, sans-serif;
    --font-heading: 'Roboto', system-ui, -apple-system, sans-serif;

    --fs-base: 16px;
    --fs-small: 0.8125rem;
    --fs-body: 1rem;
    --fs-lead: 1.125rem;
    --fs-h1: 2.125rem;
    --fs-h2: 1.625rem;
    --fs-h3: 1.25rem;
    --fs-h4: 1.125rem;
    --fs-h5: 1rem;
    --fs-h6: 0.875rem;

    --lh-tight: 1.3;
    --lh-body: 1.6;
    --lh-relaxed: 1.7;

    --space-05: 0.125rem;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-7: 1.75rem;
    --space-8: 2rem;
    --space-9: 2.25rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;

    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.07);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.09);

    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --glass-blur: blur(12px);
    --glass-blur-strong: blur(16px);

    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0s !important;
        animation-duration: 0s !important;
    }
}

:focus-visible {
    outline: 2px solid var(--td-theme-color);
    outline-offset: 2px;
}

::selection {
    background: var(--td-theme-color);
    color: #fff;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: var(--lh-body);
    color: var(--td-text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--td-dark);
    line-height: var(--lh-tight);
    font-weight: 700;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }

a {
    color: var(--td-theme-color);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--td-theme-hover);
}

/* ===== Search dropdown ===== */
.search-wrapper {
    position: relative;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid var(--td-border);
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

.search-result {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--td-border);
    text-decoration: none;
}

.search-result:hover {
    background: var(--surface-highlight);
}

.search-result:last-child {
    border-bottom: none;
}

.search-result-img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

.search-result-img-placeholder {
    background: #eee;
}

.search-result-text {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--td-text);
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: break-word;
}

.search-result-category {
    font-size: 11px;
    color: var(--td-theme-color);
}

.search-empty {
    padding: 12px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* ===== Header / Banner ===== */
.site-header {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.site-header {
    padding: var(--space-8) 0;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--td-dark);
}

.site-title a {
    color: var(--td-dark);
    text-decoration: none;
}

.site-title a:hover {
    color: var(--td-theme-color);
}

.site-tagline {
    font-size: var(--fs-small);
    color: var(--text-muted);
}

.site-logo {
    max-height: 150px;
    width: auto;
    display: block;
}



.admin-banner-preview {
    max-height: 120px;
    border: 1px solid var(--td-border);
    border-radius: var(--radius-md);
}

/* ===== Navigation ===== */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 3px solid var(--td-theme-color);
    box-shadow: var(--shadow-sm);
}

@supports not (backdrop-filter: blur(1px)) {
    .main-nav {
        background: rgba(255, 255, 255, 0.97) !important;
    }
}

.main-nav .navbar-nav {
    gap: var(--space-1);
}

.main-nav .navbar-nav .nav-link {
    color: #000;
    font-size: 13px;
    font-weight: 700;
    padding: 0 12px;
    line-height: 48px;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 0.03em;
}

.main-nav .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background var(--transition-base);
}

.main-nav .navbar-nav .nav-link:hover::after,
.main-nav .navbar-nav .nav-link.active::after {
    background: var(--td-theme-color);
}

.main-nav .navbar-nav .nav-link:hover,
.main-nav .navbar-nav .nav-link:focus-visible {
    color: var(--td-theme-color);
}

.main-nav .navbar-nav .nav-link.dropdown-toggle::after {
    border: none;
    margin: 0;
    vertical-align: baseline;
}

.main-nav .nav-link:focus-visible {
    outline: 2px solid var(--td-theme-color);
    outline-offset: -2px;
}

.main-nav .dropdown-menu {
    border: 1px solid var(--td-border);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-strong);
    -webkit-backdrop-filter: var(--glass-blur-strong);
    box-shadow: var(--glass-shadow);
    padding: var(--space-3) 0;
    margin-top: 0;
}

.main-nav .dropdown-menu .dropdown-item {
    font-size: 13px;
    padding: var(--space-2) var(--space-5);
    line-height: 1.5;
    color: var(--td-text);
}

.main-nav .dropdown-menu .dropdown-item:hover {
    background: var(--surface-subtle);
    color: var(--td-theme-color);
}

.main-nav .navbar-toggler {
    border: none;
    padding: var(--space-2);
}

.main-nav .navbar-toggler:focus-visible {
    outline: 2px solid var(--td-theme-color);
    outline-offset: 2px;
}

/* ===== Main Content Layout ===== */
.main-content-inner > section + section {
    margin-top: var(--space-10);
}

/* ===== Sidebar ===== */
.sidebar .card {
    border: 1px solid var(--td-border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.sidebar .card:hover {
    border-color: #d0d0d6;
    box-shadow: var(--shadow-md);
}

.sidebar .card-title {
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid var(--td-border);
    padding-bottom: var(--space-2);
    margin-bottom: var(--space-3);
}

.sidebar .card-body {
    padding: var(--space-5);
}

/* ===== News Modules (Newspaper-style cards) ===== */
.td-module {
    background: var(--surface);
    border: 1px solid var(--td-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    height: 100%;
}

.td-module:hover {
    border-color: #d0d0d6;
    box-shadow: var(--shadow-md);
}

.td-module-image {
    position: relative;
    overflow: hidden;
}

.td-module-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    min-height: 160px;
    background: var(--surface-muted);
    transition: transform var(--transition-base);
}

div.td-module-thumb {
    background: linear-gradient(135deg, #e2e4e9 0%, #edeef2 50%, #e0e2e8 100%) !important;
    position: relative;
    overflow: hidden;
}

div.td-module-thumb::before {
    content: '\F4E2';
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.5);
    opacity: 0.5;
    pointer-events: none;
}

div.td-module-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.td-featured-module div.td-module-thumb::before,
.td-featured-module div.td-module-thumb::after {
    display: none;
}

.td-module:hover .td-module-thumb {
    transform: scale(1.03);
}

.td-post-category {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: inline-block;
    background-color: var(--td-theme-hover);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 11px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    pointer-events: auto;
    border-radius: 0 var(--radius-md) 0 0;
    transition: background-color var(--transition-base);
}

.td-post-category:hover {
    background-color: var(--td-dark);
    color: #fff;
}

.td-module-meta {
    padding: var(--space-5);
}

.td-module-title {
    font-size: 17px;
    font-weight: 700;
    line-height: var(--lh-tight);
    margin: 0 0 var(--space-1);
    font-family: var(--font-heading);
}

.td-module-title a {
    color: #000;
    text-decoration: none;
}

.td-module-title a:hover {
    color: var(--td-theme-color);
}

.td-post-date {
    font-size: var(--fs-small);
    color: var(--text-muted);
    font-family: var(--font-body);
}

/* Excerpt in card meta */
.td-module-meta p.small {
    margin-top: var(--space-1);
    line-height: 1.5;
    color: var(--text-muted);
}

.td-module-meta p.small:last-child {
    margin-bottom: 0;
}

/* ===== Featured (hero) Modules ===== */
.td-featured-module {
    position: relative;
    overflow: hidden;
    background: #000;
    border-radius: var(--radius-xl);
}

.td-featured-module .td-module-thumb {
    aspect-ratio: 16 / 9;
    opacity: 0.85;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.td-featured-module:hover .td-module-thumb {
    opacity: 1;
    transform: scale(1.03);
}

.td-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 50px var(--space-6) var(--space-5);
    background: linear-gradient(transparent 20%, rgba(0,0,0,0.9) 75%);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.td-featured-overlay .td-post-category {
    position: relative;
    display: inline-block;
    bottom: auto;
    left: auto;
    margin-bottom: var(--space-2);
}

.td-featured-overlay .td-module-title {
    font-size: 22px;
    margin-bottom: var(--space-1);
}

.td-featured-overlay .td-module-title a {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.td-featured-overlay .td-module-title a:hover {
    color: var(--td-theme-color);
}

.td-featured-overlay .td-post-date {
    color: rgba(255,255,255,0.75);
    font-size: var(--fs-small);
}

/* ===== General Card Styling ===== */
.card {
    border-radius: var(--radius-lg);
}

.card:not(.td-module) {
    border: 1px solid var(--td-border);
    background: var(--surface);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.card:not(.td-module):hover {
    border-color: #d0d0d6;
    box-shadow: var(--shadow-md);
}

.card-body {
    padding: var(--space-5);
}

/* ===== Badges ===== */
.badge {
    font-weight: 600;
    border-radius: var(--radius-md);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.35em 0.65em;
}

.badge.bg-primary {
    background-color: var(--td-theme-hover) !important;
}

.badge.bg-info {
    background-color: var(--td-theme-hover) !important;
}

/* ===== Buttons ===== */
.btn {
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    transition: background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.btn-sm {
    padding: 0.35rem 0.85rem;
    font-size: 0.8125rem;
    border-radius: var(--radius-sm);
}

.btn-primary {
    background-color: var(--td-theme-color);
    border-color: var(--td-theme-color);
}

.btn-primary:hover {
    background-color: var(--td-theme-hover);
    border-color: var(--td-theme-hover);
}

.btn-primary:active,
.btn-primary:focus-visible {
    background-color: var(--td-theme-dark) !important;
    border-color: var(--td-theme-dark) !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

.btn-outline-primary {
    color: var(--td-theme-color);
    border-color: var(--td-theme-color);
}

.btn-outline-primary:hover {
    background-color: var(--td-theme-color);
    border-color: var(--td-theme-color);
    color: #fff;
}

.btn-outline-primary:active,
.btn-outline-primary:focus-visible {
    background-color: var(--td-theme-dark) !important;
    border-color: var(--td-theme-dark) !important;
    color: #fff !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: #f0f0f2;
    border-color: #f0f0f2;
    color: var(--td-text);
}

.btn-secondary:hover {
    background-color: #e0e0e4;
    border-color: #e0e0e4;
    color: var(--td-dark);
}

/* Sidebar CTA buttons */
.sidebar .card .btn-primary,
.sidebar .card .btn-outline-primary {
    width: 100%;
}

.sidebar .card .btn + .btn {
    margin-top: var(--space-2);
}

/* Live radio card emphasis */
.sidebar .card:first-child {
    background: var(--surface-highlight);
    border-color: rgba(0, 174, 241, 0.2);
}

.sidebar .card:first-child .card-title {
    color: var(--td-theme-color);
    font-size: 15px;
}

.sidebar .card:first-child .btn-primary {
    font-weight: 700;
}

/* ===== Section Headings ===== */
.border-bottom {
    border-color: var(--td-border) !important;
}

h2.border-bottom,
.h4.border-bottom {
    padding-bottom: var(--space-3) !important;
    margin-bottom: var(--space-5) !important;
    font-weight: 700;
    color: var(--td-dark);
}

/* ===== Single Article Page ===== */
.single-article h1 {
    font-size: var(--fs-h1);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.single-article .badge {
    display: inline-block;
    margin-bottom: var(--space-3);
}

.single-article .text-muted.small {
    font-size: var(--fs-small);
}

.single-article > img,
.single-article > .mb-4 > img {
    border-radius: var(--radius-lg);
    width: 100%;
}

.article-content {
    font-size: 1.0625rem;
    line-height: var(--lh-relaxed);
    color: #2a2a2a;
    max-width: 720px;
}

.article-content p {
    margin-bottom: var(--space-5);
}

.article-content img {
    border-radius: var(--radius-lg);
    max-width: 100%;
    height: auto;
    margin: var(--space-4) 0;
}

.article-content iframe {
    border-radius: var(--radius-lg);
    margin: var(--space-4) 0;
}

.article-content blockquote {
    border-left: 4px solid var(--td-theme-color);
    padding-left: var(--space-5);
    margin: var(--space-6) 0;
    font-style: italic;
    color: var(--text-muted);
}

.article-content ul,
.article-content ol {
    padding-left: var(--space-6);
    margin-bottom: var(--space-5);
}

.article-content li {
    margin-bottom: var(--space-2);
}

.lead {
    font-size: var(--fs-lead);
    font-weight: 400;
    line-height: var(--lh-relaxed);
    color: var(--text-muted);
}

/* ===== Page Content ===== */
.page-content {
    font-size: 1.0625rem;
    line-height: var(--lh-relaxed);
    color: #2a2a2a;
    max-width: 720px;
}

.page-content p {
    margin-bottom: var(--space-5);
}

.page-content img {
    border-radius: var(--radius-lg);
    max-width: 100%;
    height: auto;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--surface-footer) !important;
    color: var(--text-light) !important;
    border-top: 4px solid var(--td-theme-color);
}

.site-footer a {
    color: var(--text-light) !important;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--td-theme-color) !important;
}

.site-footer h5 {
    font-size: var(--fs-h5);
    font-weight: 700;
    color: var(--surface);
    margin-bottom: var(--space-4);
}

.site-footer .border-top {
    border-color: #2a2a2a !important;
}

.site-footer .list-unstyled li {
    margin-bottom: var(--space-1);
}

.site-footer .list-unstyled a {
    display: inline-block;
    padding: var(--space-1) 0;
}

/* ===== Radio Schedule ===== */
.radio-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
}

.schedule-day {
    background: var(--surface);
    border: 1px solid var(--td-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.schedule-day-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--td-theme-color);
    color: #fff;
    margin: 0;
    padding: var(--space-3) var(--space-4);
}

.schedule-entries {
    padding: var(--space-1) 0;
}

.schedule-entry {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: 13px;
    border-bottom: 1px solid var(--td-border);
    transition: background var(--transition-fast);
}

.schedule-entry:last-child {
    border-bottom: none;
}

.schedule-entry:hover {
    background: var(--surface-muted);
}

.schedule-time {
    color: var(--text-muted);
    font-weight: 600;
    min-width: 80px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.schedule-program {
    color: var(--td-dark);
}

/* ===== Radio / TV Program Cards (border-0 override) ===== */
main .card.border-0 {
    border: 1px solid var(--td-border) !important;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

main .card.border-0:hover {
    border-color: #d0d0d6 !important;
    box-shadow: var(--shadow-md);
}

/* ===== Latest / Radio & TV News sections ===== */
.latest-news,
.radio-news {
    padding: var(--space-6) 0;
}

.latest-news > .h4,
.radio-news > .h4 {
    padding-left: var(--space-05);
    margin-bottom: var(--space-5);
}

/* ===== Plyr Overrides ===== */
.plyr {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.plyr--audio .plyr__controls {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ===== Form Controls ===== */
.form-control,
.form-select {
    border-radius: var(--radius-md);
    border-color: var(--td-border);
    font-size: var(--fs-body);
    padding: 0.55rem 0.85rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus,
.form-select:focus-visible {
    border-color: var(--td-theme-color);
    box-shadow: 0 0 0 3px rgba(0, 174, 241, 0.15);
    outline: none;
}

.form-label {
    font-weight: 600;
    font-size: var(--fs-small);
    color: var(--td-dark);
    margin-bottom: var(--space-1);
}

/* Search input group */
.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* ===== Tables ===== */
.table {
    font-size: var(--fs-small);
}

.table > :not(caption) > * > * {
    padding: var(--space-3) var(--space-4);
    vertical-align: middle;
}

.table thead th {
    font-weight: 700;
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    border-bottom: 2px solid var(--td-border);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: var(--surface-muted);
}

.table-hover > tbody > tr:hover > * {
    background-color: var(--surface-highlight);
}

/* ===== Alerts ===== */
.alert {
    border-radius: var(--radius-md);
    border: none;
    box-shadow: var(--shadow-sm);
}

.alert-dismissible .btn-close {
    padding: var(--space-4);
}

/* ===== Admin Dashboard Cards ===== */
.card.text-bg-primary,
.card.text-bg-info,
.card.text-bg-warning,
.card.text-bg-success {
    border: none;
    border-radius: var(--radius-lg);
}

/* ===== Live Radio / TV Page ===== */
main .card.text-center.p-4 {
    border: 1px solid var(--td-border) !important;
    border-radius: var(--radius-xl);
    background: var(--surface-muted);
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .main-nav .navbar-nav .nav-link {
        line-height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
    .main-nav .navbar-nav .nav-link::after {
        display: none;
    }
    .main-content-inner > section + section {
        margin-top: var(--space-8);
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 15px;
    }

    .main-nav .navbar-nav {
        gap: 0;
    }

    .main-nav .navbar-nav .nav-link {
        line-height: 32px;
        font-size: 13px;
        text-transform: none;
        padding: 0 8px;
    }

    .main-nav .dropdown-menu {
        box-shadow: none;
        padding: 0 0 0 12px;
        border-left: 2px solid var(--td-theme-color);
        margin-bottom: var(--space-1);
        background: transparent;
        backdrop-filter: none;
    }

    .main-nav .dropdown-menu .dropdown-item {
        font-size: 12px;
        padding: var(--space-1) 12px;
    }

    .sidebar {
        margin-top: var(--space-8);
    }

    .card:hover,
    .td-module:hover,
    .sidebar .card:hover {
        box-shadow: var(--shadow-sm);
    }


    .td-module-title {
        font-size: 15px;
    }

    .td-featured-overlay .td-module-title {
        font-size: 18px;
    }

    .container.main-content {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }
}

@media (max-width: 575.98px) {
    body {
        font-size: 14px;
    }

    .main-content .row > div {
        padding-left: 0;
        padding-right: 0;
    }

    .td-module-meta {
        padding: var(--space-4);
    }

    .td-module-thumb {
        min-height: 120px;
    }

    .td-featured-overlay {
        padding: 30px 16px 16px;
    }

    .td-featured-overlay .td-module-title {
        font-size: 16px;
    }

    .td-module-title {
        font-size: 14px;
    }

    .container.main-content {
        padding-left: var(--space-3);
        padding-right: var(--space-3);
    }

    .single-article h1 {
        font-size: 1.5rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .radio-schedule {
        grid-template-columns: 1fr;
    }

    .ug-show-header {
        flex-wrap: wrap;
        gap: var(--space-3);
    }

    .ug-show-img, .ug-show-avatar {
        width: 44px;
        height: 44px;
    }

    .ug-recording-time {
        min-width: 52px;
    }

    .ug-recording-duration {
        display: none;
    }
}

/* ===== Uitzending Gemist ===== */
.ug-show-card {
    border: 1px solid var(--td-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-5);
    background: var(--td-white);
}

.ug-show-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    cursor: pointer;
    transition: background-color 0.15s;
    -webkit-user-select: none;
    user-select: none;
}

.ug-show-header:hover {
    background-color: var(--surface-subtle);
}

.ug-show-header[aria-expanded="true"] .ug-chevron {
    transform: rotate(180deg);
}

.ug-chevron {
    transition: transform 0.2s;
    font-size: 1.25rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.ug-show-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.ug-show-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
}

.ug-show-body {
    border-top: 1px solid var(--td-border);
    background: var(--surface-subtle);
}

.ug-recording-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--td-border);
    transition: background-color 0.12s;
}

.ug-recording-row:last-child {
    border-bottom: none;
}

.ug-recording-row:hover {
    background-color: var(--td-white);
}

.ug-recording-time {
    text-align: center;
    min-width: 60px;
    flex-shrink: 0;
    font-size: 0.875rem;
    line-height: 1.2;
}

.ug-recording-time > div {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--td-theme-color);
}

.ug-recording-time > small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.ug-recording-duration {
    font-size: 0.8125rem;
    color: var(--text-muted);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.ug-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    text-decoration: none;
    flex-shrink: 0;
    transition: background-color 0.12s, color 0.12s;
}

.ug-download-btn:hover {
    background-color: var(--td-theme-color);
    color: var(--td-white);
}

.ug-show-body .plyr {
    --plyr-color-main: var(--td-theme-color);
}

.ug-show-body .plyr--audio .plyr__controls {
    background: transparent;
    padding: 0;
}

.ug-show-body audio {
    width: 100%;
}

.ug-recording-row .plyr--audio .plyr__controls {
    box-shadow: none;
}

.min-width-0 {
    min-width: 0;
}

/* ===== Print ===== */
@media print {
    .main-nav, .sidebar, .site-footer, .btn, .plyr {
        display: none !important;
    }
    .container.main-content {
        max-width: 100%;
        margin: 0;
    }
    .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
