/* Page-specific styling, adapted to the provided source-page markup.
   Homepage's original CSS bundle is intentionally not overridden. */
body.archive .site-main{min-height:360px}
body.archive .section-title{margin:24px 0 20px}
.tdh-programme-directory{margin:16px 0 27px;padding:20px 22px;border:1px solid #e7dcc9;background:#fbf8f1;border-radius:6px}
.tdh-programme-directory h2{font-size:21px;line-height:1.4;margin:0 0 12px;font-family:inherit;color:#302c25}
.tdh-programme-directory p{margin:5px 0 12px}
.tdh-programme-directory-links{display:flex;flex-wrap:wrap;gap:9px 12px}
.tdh-programme-directory-link{padding:8px 14px;border:1px solid #ded9ce;border-radius:4px;color:#3c352b;background:#fff;font-size:15px}
.tdh-programme-directory-link:hover{border-color:#c29b6d;color:#000}
.tdh-category-trail{display:flex;align-items:center;gap:9px;margin:7px 0 12px;font-size:15px}
.tdh-category-context{margin:4px 0 13px}
.tdh-empty-message{margin:22px 0;padding:24px 16px;text-align:center;background:#f9f7f1;border:1px dashed #e4dacc}
.tdh-poster-placeholder{display:block;background:#f4f0e8;aspect-ratio:16/9;width:100%}
.tdh-programme-selection{padding:12px 0 28px;max-width:100%}
.tdh-programme-selection-intro{font-size:15px;line-height:1.75;color:#615a4f;margin:10px 0 18px}
.tdh-programme-selection-switcher{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 29px}
.tdh-programme-selection-channel{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;border:1px solid #e7e0d5;border-radius:7px;padding:13px;background:#fff;color:#27241d;transition:box-shadow .15s,border-color .15s}
.tdh-programme-selection-channel.is-current{border-color:#bba476;box-shadow:0 0 0 2px rgba(187,164,118,.16)}
.tdh-programme-selection-channel-logo{object-fit:contain;width:140px;max-width:100%;height:75px}
.tdh-programme-selection-channel-label{font-size:15px;font-weight:600}
.tdh-programme-selection-section h2{font-size:22px;margin:27px 0 15px}
.tdh-programme-selection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:28px}
.tdh-programme-selection-card{display:block;background:#fff;border:1px solid #e9e3d6;border-radius:7px;overflow:hidden;color:#282219;transition:transform .18s,box-shadow .18s}
.tdh-programme-selection-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.10)}
.tdh-programme-selection-media{display:block;overflow:hidden;aspect-ratio:16/9;background:#e9e5dd}
.tdh-programme-selection-image{display:block;width:100%;height:100%;object-fit:cover}
.tdh-programme-selection-name{display:block;padding:11px 12px;font-weight:600;font-size:15px;line-height:1.4}
body.page .site-main>.inner-wrap,body.single .site-main>.inner-wrap{margin:0 auto;max-width:1200px;padding-top:34px;padding-bottom:48px}
body.page .site-main .content-area,body.single .site-main .content-area{width:100%;max-width:930px;margin:0 auto}
body.page .site-main article,body.single .site-main article{background:#fff;padding:25px}
body.page .site-main .entry-title,body.single .site-main .entry-title{font-size:30px;line-height:1.4;letter-spacing:-.02em;margin:0 0 20px;color:#222}
body.page .site-main .entry-content{line-height:1.9;font-size:16px}
body.single .entry-cover{height:min(31vw,345px);min-height:130px;background-position:center;background-size:cover;position:relative;overflow:hidden}
body.single .entry-cover:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(32,23,13,.22),transparent 90%)}
body.single .entry-meta{margin-bottom:20px;color:#777}
body.single .entry-meta a{font-weight:600}
body.single .td-featured-thumb{margin:22px 0;padding:12px;border:1px solid #e5e5e5;border-radius:12px;position:relative;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.05)}
body.single .td-featured-thumb a{display:block}
body.single .td-featured-thumb img{display:block;width:100%;height:auto;max-height:460px;object-fit:contain;border-radius:10px}
body.single .td-source-label{position:absolute;top:-10px;left:12px;color:#fff;background:#000;padding:5px 10px;border-radius:6px;font-size:13px;font-weight:600;z-index:2}
body.single .td-safe-note{background:#f7f7f7;border:1px solid #ddd;border-radius:8px;padding:12px 14px;color:#333;text-align:center;margin-top:12px;font-weight:600}
body.single .td-safe-note:before{content:'☝️  ';font-size:18px}
.tdseo-episode-info{margin:28px 0 20px;padding:22px;background:#fbfaf7;border:1px solid #e7e0d6;border-radius:7px}
.tdseo-episode-info h2{font-size:23px;margin:0 0 16px}
.tdseo-episode-info dl{margin:0}
.tdseo-info-row{display:flex;flex-wrap:wrap;gap:10px;border-bottom:1px solid #e8e5dd;padding:10px 2px}
.tdseo-info-row dt{width:125px;font-weight:600}
.tdseo-info-row dd{margin:0;flex:1}
.tdseo-all-episodes{margin:15px 0 0}
.tdh-episode-navigation{margin:20px 0 28px}
.tdh-episode-navigation-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:stretch}
.tdh-episode-nav-link,.tdh-episode-nav-all{display:flex;flex-direction:column;gap:9px;padding:16px 14px;border:1px solid #e7dacb;border-radius:8px;background:#fff;color:#2e2a25;font-size:14px}
.tdh-episode-nav-label{font-weight:700}
.tdh-episode-nav-title{font-size:13px}
.tdh-episode-nav-all{justify-content:center;text-align:center;background:#f9f6f1;min-width:150px}
.tdh-episode-nav-all strong{display:block;font-size:14px}
.tdh-episode-nav-empty{display:block}
.tdh-episode-copy{font-size:15px;line-height:1.7}
@media(max-width:850px){.tdh-programme-selection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tdh-programme-selection-switcher{grid-template-columns:repeat(2,minmax(0,1fr))}body.page .site-main article,body.single .site-main article{padding:15px}}
@media(max-width:520px){.tdh-programme-selection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tdh-programme-selection-channel-logo{height:55px}.tdh-episode-navigation-grid{grid-template-columns:1fr}.tdh-programme-selection-card{font-size:14px}body.page .site-main .entry-title,body.single .site-main .entry-title{font-size:23px}}

/* v2.1: click-to-load same-page playback; original homepage styling remains unchanged */
body.single .tdh-inline-player{max-width:920px;margin:22px auto;padding:12px}
body.single .tdh-player-surface{position:relative;aspect-ratio:16/9;overflow:hidden;background:#111;border-radius:10px}
body.single .tdh-play-action{display:block;position:relative;width:100%;height:100%;padding:0;border:0;background:#101010;cursor:pointer;color:white}
body.single .tdh-play-action img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;border-radius:10px}
body.single .tdh-play-action .tdh-poster-placeholder{display:block;width:100%;height:100%;background:#202020}
body.single .tdh-player-play-symbol{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;background:rgba(0,0,0,.8);border:2px solid #fff;border-radius:50%;height:72px;width:72px;line-height:1;font-size:28px;box-shadow:0 6px 24px #0008}
body.single .tdh-play-action:hover .tdh-player-play-symbol,body.single .tdh-play-action:focus-visible .tdh-player-play-symbol{background:#b3002b}
body.single .tdh-inline-media{height:100%;width:100%;display:block;position:absolute;inset:0;border:0;background:#111}
body.single .tdh-inline-player .td-safe-note:before{content:''}
