/* TELE PAM 2.0 — final responsive layer, loaded after theme and core. */
:root{--tpm-gutter:clamp(14px,2.6vw,32px)}
.tpm-container{width:min(1280px,calc(100% - var(--tpm-gutter)*2))}
.tpm-main,.tpm-reading-main,.tpm-reading-layout,.tpm-air-desk,.tpm-broadcast-tv,.tpm-news-card,.tpm-news-body,.tpm-home-show,.tpm-show-card,.tpm-topic-column,.tpm-content-card,.tpm-footer-top>*,.tpm-header-inner>*{min-width:0}
h1,h2,h3,h4,.tpm-article-deck,.tpm-program-intro,.tpm-prose,.tpm-content-card{overflow-wrap:anywhere}
.tpm-reading-prose,.tpm-prose,.tpm-content-card{word-break:normal}
.tpm-prose pre,.tpm-content-card pre{max-width:100%;overflow-x:auto;white-space:pre}
.tpm-reading-prose .alignfull,.tpm-reading-prose .alignwide,.tpm-content-card .alignfull,.tpm-content-card .alignwide{width:100%;max-width:100%;margin-left:0;margin-right:0}
.tpm-prose figure,.tpm-content-card figure,.tpm-prose img,.tpm-content-card img,.tpm-content-card video{max-width:100%}
.tpm-prose img,.tpm-content-card img{height:auto}
.tpm-prose iframe,.tpm-content-card iframe{max-width:100%;min-width:0}
.tpm-fluid-embed{display:block;width:100%!important;height:auto!important;border:0}
.tpm-table-scroll,.wp-block-table{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
.tpm-table-scroll:focus-visible{outline-offset:2px}
.tpm-content-card form,.tpm-content-card fieldset,.tpm-prose form{max-width:100%;min-width:0}
.tpm-content-card fieldset{margin-left:0;margin-right:0}
.tpm-content-card input,.tpm-content-card select,.tpm-content-card textarea,.tpm-search input{max-width:100%;min-width:0}
.tpm-content-card input[type=text],.tpm-content-card input[type=email],.tpm-content-card input[type=tel],.tpm-content-card input[type=url],.tpm-content-card input[type=search],.tpm-content-card textarea{width:100%}
.tpm-content-card .wp-block-columns{flex-wrap:wrap!important}.tpm-content-card .wp-block-column{min-width:0}
.tpm-news-category{max-width:100%;line-height:1.5}.tpm-news-meta{overflow-wrap:anywhere}.tpm-news-grid,.tpm-news-lead,.tpm-topic-columns,.tpm-home-programrail,.tpm-show-grid{min-width:0}
.tpm-category-tiles>a,.tpm-category-filter a,.tpm-language a{overflow-wrap:anywhere}
.tpm-home-sectionhead>div{min-width:0}.tpm-home-sectionhead>a{white-space:normal;text-align:right;line-height:1.5;flex-shrink:0;max-width:40%}
.tpm-share-links{max-width:100%}.tpm-share-links>a,.tpm-share-links>button{min-width:44px!important;min-height:44px!important}.tpm-share-links>button>span{white-space:normal}.tpm-manual-copy{min-width:0;max-width:100%}
.tpm-news-search>div{min-width:0}.tpm-news-search button{flex-shrink:0}
.tpm-tv-shell{width:100%;max-width:100%;margin:0}
.tpm-tv-experience__stage{width:min(1280px,calc(100% - var(--tpm-gutter)*2))}
.tpm-native-player{width:100%;max-width:100%!important;min-width:0;overflow:hidden}
.tpm-native-player .tpm-tv-player__screen{width:100%!important;max-width:100%!important;aspect-ratio:16/9!important;min-height:0!important;height:auto!important}
.tpm-native-player .tpm-tv-player__screen video{width:100%!important;height:100%!important;object-fit:contain}
.tpm-native-player .tpm-tv-player__bar{max-width:100%;flex-wrap:wrap;gap:12px}
.tpm-native-player .tpm-tv-player__actions{display:flex;max-width:100%;flex-wrap:wrap;gap:7px}
.tpm-native-player .tpm-player-action{min-height:44px!important;min-width:44px!important;width:auto!important;font-size:11px;padding:9px 11px!important;white-space:normal}
.tpm-native-player .tpm-tv-player__identity{min-width:0}.tpm-native-player .tpm-tv-player__identity>div{min-width:0}.tpm-native-player .tpm-tv-player__identity>div>span{white-space:normal;overflow-wrap:anywhere}
.tpm-native-player .tpm-quality{flex-wrap:wrap;min-width:0}.tpm-native-player .tpm-quality select{max-width:100%}
body .tpm-native-player .tpm-tv-player__screen:fullscreen,body .tpm-native-player .tpm-tv-player__screen:-webkit-full-screen{width:100vw!important;max-width:none!important;height:100vh!important;height:100dvh!important;aspect-ratio:auto!important;border-radius:0!important}
.tpm-radio-page__inner{grid-template-columns:minmax(180px,300px) minmax(0,1fr);gap:clamp(24px,5vw,64px)}
.tpm-radio-page__art{width:100%;max-width:300px;min-width:0}
.tpm-radio-page__content{min-width:0}.tpm-radio-page__content h1{overflow-wrap:anywhere}.tpm-radio-main-button{max-width:100%;min-height:48px}
.tpm-fixed-radio{left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));max-width:940px}
.tpm-fixed-radio__inner,.tpm-fixed-radio__station,.tpm-fixed-radio__transport,.tpm-fixed-radio__tools{min-width:0}
.tpm-fixed-radio__station>div{min-width:0}.tpm-fixed-radio__station>div>span{display:block;max-width:360px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.tpm-footer-bottom{padding-bottom:max(20px,env(safe-area-inset-bottom))}.tpm-footer-social{min-width:0}.tpm-footer-social a{min-height:40px}
.admin-bar .tpm-header{top:32px}.tpm-news-heading,.tpm-reading-header,.tpm-topic-column{scroll-margin-top:120px}
/* Use the drawer early enough to fit custom or translated navigation labels. */
@media(max-width:1120px){
 .tpm-header-inner{height:78px;grid-template-columns:minmax(0,1fr) auto;gap:16px}
 .tpm-header-actions{justify-self:end}.tpm-mobile-menu{display:block;min-width:44px;min-height:44px}
 .tpm-brand>span{display:grid}.tpm-brand img{width:62px;height:48px}.tpm-brand strong{font-size:29px}
 .tpm-nav{display:none;position:fixed;top:0;bottom:0;left:auto;right:0;justify-self:auto;width:min(390px,92vw);height:100dvh;max-height:100dvh;padding:24px;padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom));background:#151515;border:0;border-left:1px solid #444;z-index:1005;overflow-y:auto;overscroll-behavior:contain;box-shadow:-20px 0 50px #0006}
 .tpm-nav.open{display:block}.tpm-mobile-menu-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:22px;margin-bottom:12px;border-bottom:1px solid #444}
 .tpm-mobile-menu-head button{width:44px;height:44px}.tpm-menu-backdrop{display:block;position:fixed;inset:0;background:#000a;z-index:998}.tpm-menu-backdrop[hidden]{display:none!important}
 .tpm-menu{display:block}.tpm-menu>li>a{font-size:17px;gap:15px;padding:17px 8px;min-height:52px;border-bottom:1px solid #393939}.tpm-menu>li>a>i{font-size:16px;width:20px;color:var(--accent)}
 .tpm-menu .menu-item-has-children{margin-right:0;padding-right:44px}.tpm-menu .sub-menu,.tpm-menu li:hover>.sub-menu{display:none;position:static;min-width:0;max-width:100%;box-shadow:none;border:0;border-left:1px solid #555;padding:2px 0 2px 18px;margin:10px 0}.tpm-menu li.is-open>.sub-menu{display:block}.tpm-menu .sub-menu a{padding:12px 0;font-size:14px;line-height:1.5}
 .tpm-submenu-toggle{right:0!important;top:8px;width:42px;height:42px;border:1px solid #444;border-radius:3px;font-size:11px;background:#202020}.tpm-menu .sub-menu .sub-menu{position:static}
 .admin-bar .tpm-nav{top:32px;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}
}
@media(min-width:1121px){.tpm-mobile-menu,.tpm-mobile-menu-head,.tpm-menu-backdrop{display:none!important}.tpm-nav{max-width:100%}.tpm-menu{flex-wrap:wrap;gap:0 18px}.tpm-header-inner{height:auto;min-height:88px;padding:10px 0}.tpm-menu>li>a{max-width:200px;white-space:normal}.tpm-menu>li>a>span{overflow-wrap:anywhere}}
@media(min-width:1440px){.tpm-broadcast-grid{grid-template-columns:minmax(0,2.7fr) minmax(280px,1fr)}.tpm-reading-layout{grid-template-columns:minmax(0,1fr) 310px;gap:56px}}
@media(min-width:601px) and (max-width:900px){.tpm-news-lead{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.tpm-topic-columns,.tpm-home-programrail,.tpm-show-grid,.tpm-category-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.tpm-home-programrail{display:grid;overflow:visible}.tpm-home-show{width:auto}.tpm-reading-article .tpm-reading-header h1{font-size:clamp(34px,5vw,42px)}}
@media(max-width:782px){.admin-bar .tpm-header{top:46px}.admin-bar .tpm-nav{top:46px;height:calc(100dvh - 46px);max-height:calc(100dvh - 46px)}}
@media(max-width:720px){
 input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select{font-size:16px!important}
 .tpm-prose .alignleft,.tpm-prose .alignright,.tpm-content-card .alignleft,.tpm-content-card .alignright{float:none;display:block;max-width:100%;margin:24px auto}
 .tpm-content-card .wp-block-columns{display:block}.tpm-content-card .wp-block-column+.wp-block-column{margin-top:20px}
 .tpm-native-player .tpm-tv-player__bar{padding:10px!important}.tpm-native-player .tpm-tv-player__actions{justify-content:flex-start;flex:1 1 100%}.tpm-native-player .tpm-tv-player__identity{width:100%}
 .tpm-native-player .tpm-player-action span{display:inline!important}.tpm-native-player .tpm-quality select{font-size:14px!important}
 .tpm-share-links,.tpm-reader-tools>div{gap:8px}.tpm-reader-tools button{min-width:44px;min-height:44px}.tpm-pagination a,.tpm-pagination span,.nav-links .page-numbers{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
}
@media(max-width:600px){
 .tpm-header-inner{height:68px;gap:10px}.tpm-brand{gap:8px}.tpm-brand img{width:48px;height:40px}.tpm-brand strong{font-size:26px}.tpm-brand small{font-size:9px}.tpm-mobile-menu,.tpm-watch-button{min-height:44px}.tpm-watch-button{padding:0 11px;font-size:11px}
 .admin-bar .tpm-header{top:0}.admin-bar .tpm-nav{top:0;height:100dvh;max-height:100dvh}
 .tpm-utility>.tpm-container{gap:8px;flex-wrap:wrap;padding:7px 0;min-height:30px}.tpm-utility>div>span{min-width:0;font-size:9px}.tpm-utility>div>div{gap:8px;font-size:9px}
 .tpm-broadcast-grid,.tpm-news-lead,.tpm-news-grid,.tpm-show-grid,.tpm-topic-columns,.tpm-contact-grid{grid-template-columns:1fr}
 .tpm-broadcast-topline,.tpm-broadcast-cardhead{flex-wrap:wrap;gap:10px}.tpm-broadcast-meta{font-size:10px}.tpm-broadcast-cardhead h1{font-size:34px}.tpm-broadcast-cardhead>a{font-size:10px;min-height:32px;display:flex;align-items:center}
 .tpm-tv-shell{width:100%;max-width:100%;margin:0}.tpm-tv-experience__stage{width:100%}.tpm-tv-experience__top{padding:0 var(--tpm-gutter);flex-wrap:wrap;gap:8px}.tpm-tv-experience__identity{min-width:0;flex-wrap:wrap}
 .tpm-news-lead>.tpm-news-card:first-child{padding-right:0;border-right:0}.tpm-news-lead>.tpm-news-card:not(:first-child){grid-template-columns:88px minmax(0,1fr);gap:14px}.tpm-news-lead>.tpm-news-card:not(:first-child) .tpm-news-art{width:88px;height:106px}.tpm-news-lead>.tpm-news-card:not(:first-child) h2{font-size:24px}.tpm-news-lead>.tpm-news-card:not(:first-child) .tpm-news-meta{font-size:10px}
 .tpm-home-sectionhead h2{font-size:32px}.tpm-home-sectionhead>a{font-size:10px;max-width:36%}.tpm-news-heading h1{font-size:clamp(38px,10vw,54px)}.tpm-page-hero h1{font-size:clamp(35px,10vw,48px)}
 .tpm-language a,.tpm-category-filter a{min-height:44px}.tpm-category-filter{scroll-padding-inline:4px}.tpm-news-search>div{display:grid;grid-template-columns:minmax(0,1fr) auto}.tpm-search button{font-size:12px;min-height:44px}.tpm-news-search label{font-size:12px}.tpm-search input{width:100%}
 .tpm-news-results-heading{align-items:flex-start;flex-wrap:wrap;gap:8px}.tpm-news-results-heading h2{font-size:15px}.tpm-news-results-heading>span{font-size:11px}
 .tpm-reading-article .tpm-reading-header h1{font-size:clamp(29px,8vw,34px);line-height:1.15}.tpm-reading-prose.tpm-prose{max-width:100%;line-height:1.75}.tpm-reader-tools{gap:10px;justify-content:space-between}.tpm-article-byline>div{min-width:0}.tpm-article-byline>div>div{overflow-wrap:anywhere}
 .tpm-article-sidebar{display:block}.tpm-sidebar-story>div{min-width:0}.tpm-sidebar-thumb{flex-basis:68px;width:68px}.tpm-sidebar-story h3{overflow-wrap:anywhere}
 .tpm-radio-page__inner{grid-template-columns:1fr;gap:26px}.tpm-radio-page__art{max-width:230px;margin:auto}.tpm-radio-page__content h1{font-size:clamp(32px,9vw,44px)}.tpm-radio-page__content{text-align:center}
 .tpm-fixed-radio__inner{display:flex;justify-content:space-between;gap:8px;padding:9px}.tpm-fixed-radio__transport{min-width:0;gap:8px}.tpm-fixed-radio__status strong{font-size:11px;max-width:50vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tpm-fixed-radio__play,.tpm-fixed-radio__mute{width:44px;height:44px;min-width:44px}.tpm-fixed-radio__station{display:none}.tpm-fixed-radio__tools{flex-shrink:0}
 .tpm-footer-top{grid-template-columns:1fr 1fr;gap:28px 22px}.tpm-footer h2{line-height:1.5}.tpm-footer nav a,.tpm-footer-social a{min-height:36px;display:flex;align-items:center;line-height:1.5}.tpm-footer-bottom{flex-wrap:wrap;gap:10px}.tpm-content-card{padding:18px}
}
@media(max-width:380px){.tpm-brand>span{display:none}.tpm-header-actions{gap:7px}.tpm-category-tiles{grid-template-columns:1fr}.tpm-news-search>div{grid-template-columns:1fr}.tpm-news-search button{width:100%}.tpm-footer-top{column-gap:16px}.tpm-footer-brand>strong{font-size:35px}.tpm-reader-tools{align-items:flex-start}.tpm-reader-tools>span:first-child{flex-basis:100%}.tpm-share-links{gap:6px}}
@media(max-width:1120px) and (max-height:500px){.tpm-nav{padding-top:12px;padding-bottom:12px}.tpm-mobile-menu-head{padding-bottom:12px;margin-bottom:6px}.tpm-menu>li>a{padding-top:12px;padding-bottom:12px}.tpm-menu .sub-menu a{padding-top:10px;padding-bottom:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.tpm-news-art img{transition:none}.tpm-news-art:hover img{transform:none}}

/* Reading and device finishing touches. */
.tpm-prose :target,.tpm-content-card :target{scroll-margin-top:110px}
.tpm-share-links>a,.tpm-share-links>button,.tpm-mobile-menu,.tpm-submenu-toggle,.tpm-reader-tools button,.tpm-watch-button{touch-action:manipulation}
@media(pointer:coarse){.tpm-footer nav a,.tpm-footer-social a,.tpm-sidebar-categories nav>a{min-height:44px}.tpm-category-filter a,.tpm-language a{padding-top:11px;padding-bottom:11px}}
@media(prefers-reduced-motion:reduce){.tpm-news-enhanced.is-loading>[data-tpm-news-results]{opacity:1}}
@media print{
 :root{color-scheme:light}.tpm-utility,.tpm-header,.tpm-footer,.tpm-article-sidebar,.tpm-share,.tpm-reader-tools,.tpm-related,.tpm-post-nav,.tpm-fixed-radio,.tpm-article-breadcrumb,.tpm-menu-backdrop{display:none!important}
 body,.tpm-main,.tpm-article-page{background:#fff!important;color:#000!important;padding:0!important;margin:0!important}.tpm-container,.tpm-reading-main,.tpm-reading-article.tpm-article{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.tpm-reading-layout{display:block}.tpm-reading-article .tpm-reading-header h1{font-size:28pt;line-height:1.12;color:#000}.tpm-reading-prose.tpm-prose{font-size:11pt;line-height:1.6;color:#000;max-width:none}.tpm-article-deck,.tpm-article-byline>div>div,.tpm-article-byline small{color:#333!important}.tpm-reading-cover{break-inside:avoid}.tpm-reading-cover img{max-height:90mm;object-fit:contain}.tpm-reading-prose h2,.tpm-reading-prose h3{color:#000;break-after:avoid}.tpm-reading-prose p{orphans:3;widows:3}.tpm-reading-prose a{color:#000;text-decoration:underline}.tpm-article-tags{border-color:#aaa}
}

/* Core owns video and overlays; retain tappable Shaka controls. */
.tpm-shaka-player .shaka-controls-container{z-index:3}.tpm-shaka-player .shaka-controls-button-panel{pointer-events:auto}.tpm-shaka-player .tpm-play-action{min-width:98px!important}.tpm-shaka-player .tpm-play-action span{display:inline!important}

/* AirPlay uses Safari's native controls without a theme overlay. */
.tpm-native-airplay .tpm-tv-player__screen video{z-index:2;pointer-events:auto!important;object-fit:contain}.tpm-native-airplay .tpm-shaka-bug{display:none!important}.tpm-casting-feedback{max-width:100%;overflow-wrap:anywhere}.tpm-native-player [data-tpm-cast],.tpm-native-player [data-tpm-airplay]{min-height:44px!important}

/* Matched TV transfer row — Core 1.6.3 */
.tpm-tv-shell .tpm-native-player .tpm-tv-transfer{width:100%;max-width:100%;box-sizing:border-box}.tpm-native-player .tpm-tv-transfer__buttons .tpm-player-action span{display:inline!important}.tpm-native-player .tpm-tv-transfer__buttons{min-width:0}.tpm-native-player .tpm-tv-transfer__buttons button{max-width:100%}
@media(max-width:820px){.tpm-native-player .tpm-tv-player__actions{flex:1 1 100%;width:100%}.tpm-native-player .tpm-tv-transfer{gap:14px}.tpm-native-player .tpm-tv-player__bar{padding:12px!important}}
@media(max-width:600px){.tpm-tv-shell{width:100%;margin-left:0;margin-right:0}.tpm-native-player .tpm-tv-transfer__heading strong{font-size:14px}.tpm-native-player .tpm-tv-transfer__buttons .tpm-player-action{min-height:48px!important}.tpm-casting-feedback{font-size:11px;line-height:1.6}}
@media(max-width:400px){.tpm-native-player .tpm-tv-player__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tpm-native-player .tpm-tv-player__actions>.tpm-player-action{min-width:0!important;max-width:100%;width:100%!important}.tpm-native-player .tpm-tv-transfer{grid-column:1/-1}.tpm-native-player .tpm-tv-player__actions>[hidden]{display:none!important}}
