*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0}
a{text-underline-offset:.2em}
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #A3540F;outline-offset:3px}
.wp-site-blocks{padding:0}
.tmh-header{position:relative;padding:24px max(22px,5.5vw) 0;background:#F8F5F2}
.tmh-header-inner{max-width:1140px;margin:auto;position:relative;padding-top:52px}
.tmh-language{position:absolute;right:0;top:0;max-width:260px;z-index:2;font:12px/1.5 Poppins,sans-serif}
.tmh-language label{display:block;margin-bottom:3px;color:#5B2E01}
.tmh-language-controls{display:flex;gap:6px;align-items:stretch}
.tmh-language select,.tmh-language button{font:inherit;color:#5B2E01;background:#fff;border:1px solid #B18659;border-radius:4px;min-height:44px;padding:4px 10px}
.tmh-language select{min-width:102px}
.tmh-language button{cursor:pointer}
.tmh-language-note{font-size:11px;background:#F8F5F2;margin:5px 0 0;max-width:245px}
.tmh-brand{text-align:center;padding:0 12px 20px;margin:0}
.tmh-logo{display:inline-block;line-height:0}
.tmh-logo img{width:210px;max-width:70vw;height:60px;object-fit:contain}
.tmh-slogan{margin:14px auto 0;max-width:760px;font-size:16px;line-height:1.8;color:#5B2E01}
nav.tmh-primary-nav{border-block:1px solid #B1865987;padding:15px 0!important;margin:0!important;font-size:15px;line-height:1.5}
.tmh-primary-nav .wp-block-navigation__container{gap:clamp(25px,5vw,65px);flex-wrap:nowrap;justify-content:center}
.tmh-primary-nav .wp-block-navigation-item__content{text-decoration:none;color:#5B2E01}
.tmh-primary-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:5px 8px}
.tmh-primary-nav a[aria-current],.tmh-primary-nav a:hover{color:#A3540F}
.tmh-main{padding:46px 24px 64px;min-height:45vh}
.tmh-single{max-width:840px;margin:auto}
.tmh-single>.wp-block-post-title{font-size:30px;line-height:1.4;color:#5B2E01;margin:0 0 14px}
.tmh-meta{font-size:13px;color:#B18659;margin:0 0 25px;gap:14px!important}
.tmh-meta a{color:inherit}
.tmh-single>.wp-block-post-featured-image{margin:0 0 34px}
.tmh-single>.wp-block-post-featured-image img{width:100%;height:auto;max-height:580px;object-fit:contain}
.tmh-post-content{font-size:16px;line-height:1.8;color:#5B2E01;overflow-wrap:anywhere}
.tmh-post-content p{margin-block:0 28px}
.tmh-post-content h2{font-size:26px;line-height:1.4;color:#E6852B;margin:36px 0 20px}
.tmh-post-content h3{font-size:22px;color:#DB771A}
.tmh-post-content img{max-width:100%;height:auto}
.tmh-post-content iframe,.tmh-post-content video,.tmh-post-content audio{max-width:100%}
.tmh-post-content blockquote{border-left:2px solid #B18659;margin-inline:0;padding-left:24px}
.tmh-post-content figure{margin-inline:0}
.tmh-post-content figcaption{font-size:13px;color:#787069;text-align:center}
.tmh-post-content .wp-block-footnotes{font-size:13px;border-top:1px solid #B1865987;padding-top:20px;scroll-margin-top:50px}
.tmh-post-content :target{scroll-margin-top:50px}
.tmh-adjacent{display:grid;grid-template-columns:1fr 1fr;gap:30px;border-block:1px solid #B1865987;padding:24px 0;margin:44px 0}
.tmh-adjacent a{font-size:15px;text-decoration:none}.tmh-adjacent a:last-child{text-align:right}
.tmh-adjacent span{display:block;color:#B18659;font-size:12px;margin-bottom:8px}
.tmh-section-heading{color:#DB771A;font-size:26px;margin:28px 0}
.tmh-query .wp-block-post-template{gap:32px}
.tmh-query .wp-block-post-featured-image{margin:0 0 16px}
.tmh-query .wp-block-post-featured-image img{aspect-ratio:16/10;object-fit:cover}
.tmh-query .wp-block-post-title{font-size:18px;line-height:1.5;margin:12px 0;color:#5B2E01}
.tmh-query .wp-block-post-title a{text-decoration:none}
.tmh-query .wp-block-post-date{font-size:12px;color:#B18659}
.tmh-query .wp-block-post-excerpt{font-size:14px;line-height:1.8}
.tmh-query .wp-block-post-excerpt__more-link{color:#DB771A}
.tmh-query .wp-block-query-pagination{margin-top:36px;font-size:14px;gap:18px}
.tmh-podcast{text-align:center;margin:8px 0 46px}
.tmh-podcast h2{font-size:26px;color:#DB771A}
.tmh-player-placeholder{border:1px solid #B1865987;border-radius:4px;padding:20px;display:flex;align-items:center;justify-content:center;gap:18px;min-height:104px;margin:26px auto;max-width:780px}
.tmh-player-placeholder>span{font-size:35px;color:#B18659}.tmh-player-placeholder p{margin:0;font-size:15px}.tmh-player-placeholder small{display:block;color:#8d7660;font-size:12px;margin-top:4px}
.tmh-footer{padding:28px 24px;background:#F8F5F2;border-top:1px solid #B1865938}
.tmh-footer-inner{max-width:1080px;margin:auto;display:grid!important;grid-template-columns:1fr 1.1fr auto;align-items:center;gap:40px}
.tmh-copyright{font:300 13px/1.8 Poppins,sans-serif;color:#54595f;margin:0}
.tmh-footer .wp-block-search{margin:0;width:100%}.tmh-footer .wp-block-search__inside-wrapper{border:1px solid #B18659;border-radius:7px;padding:3px}
.tmh-footer .wp-block-search__input{background:transparent;border:0;min-width:0;min-height:44px;color:#5B2E01;font-size:14px;padding:7px}
.tmh-footer .wp-block-search__button{background:#B18659;color:white;border:0;border-radius:4px;margin-left:3px;min-width:44px;min-height:44px;padding:6px 12px}
.tmh-footer .wp-block-social-links{gap:20px!important;margin:0;justify-content:flex-end}.tmh-footer .wp-block-social-link{background:transparent!important;color:#54595f!important}
.tmh-footer .wp-block-social-link svg{width:18px;height:18px}
.tmh-footer .wp-block-social-link a{display:flex;align-items:center;justify-content:center;width:44px;height:44px}
@media(max-width:600px){
 .tmh-header{padding:14px 20px 0}.tmh-header-inner{padding-top:85px}.tmh-brand{padding:10px 0 20px}.tmh-logo img{width:180px;height:55px}
 .tmh-slogan{font-size:14px;line-height:1.9;max-width:320px;margin-top:14px}.tmh-language{max-width:250px}.tmh-language-note{font-size:10px}
 nav.tmh-primary-nav{font-size:14px;padding:13px 0!important}.tmh-primary-nav .wp-block-navigation__container{gap:30px}
 .tmh-main{padding:30px 20px 42px}.tmh-single>.wp-block-post-title{font-size:25px;line-height:1.5}.tmh-meta{font-size:12px;gap:10px!important}.tmh-post-content h2{font-size:23px}
 .tmh-query .wp-block-post-template{grid-template-columns:1fr!important;gap:30px}.tmh-adjacent{gap:20px}.tmh-adjacent a{font-size:13px}
 .tmh-footer{padding:30px 24px}.tmh-footer-inner{grid-template-columns:1fr;gap:24px;text-align:center}.tmh-footer .wp-block-social-links{justify-content:center}.tmh-footer .tmh-copyright{order:3}
}

/* Gate 8: shared editorial polish. Programme retains its own identity. */
body:not(.tmh-programme-page){--tmh-ink:#5b2e01;--tmh-muted:#795b40;--tmh-line:#b1865955;--tmh-paper:#f8f5f2;--tmh-accent:#93470e}
.tmh-header{padding:16px 32px;background:#f8f5f2;border-bottom:1px solid #b1865945}
.tmh-header-inner{max-width:1140px;padding:0;display:grid!important;grid-template-columns:minmax(150px,1fr) auto auto;gap:28px;align-items:center}
.tmh-header-inner>*{margin:0!important}
.tmh-brand{text-align:left;padding:0;line-height:0}
.tmh-logo img{width:180px;height:50px;max-width:100%}
nav.tmh-primary-nav{padding:0!important;border:0;font-size:14px}
.tmh-primary-nav .wp-block-navigation__container{gap:18px}
.tmh-language{position:relative;right:auto;top:auto;max-width:190px}
.tmh-language label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tmh-language select,.tmh-language button{background:#fffaf5;color:#5b2e01;border-color:#9b7959}
.tmh-language select{min-width:98px}.tmh-language button{min-width:44px}
.tmh-language-note{position:absolute;right:0;top:100%;width:235px;max-width:none;padding:10px;box-shadow:0 3px 12px #5b2e0115;border:1px solid #b1865970;z-index:4}
body:not(.tmh-programme-page) main{--wp--style--block-gap:24px}
body:not(.tmh-programme-page) :is(.tmh-card,.tmh-query) img{border-radius:5px}
body:not(.tmh-programme-page) :is(.tmh-card,.tmh-query) a:hover{text-decoration:underline}
body:not(.tmh-programme-page) .tmh-post-content{font-size:17px;line-height:1.9}
body:not(.tmh-programme-page) .tmh-single{max-width:800px}
.tmh-footer{padding:32px;border-color:#b1865960}
.tmh-footer-inner{max-width:1140px;gap:32px}
.tmh-footer .wp-block-search__button{background:#80512c}
.tmh-footer .wp-block-search__label{font-size:12px;color:#795b40}
@media(max-width:900px){.tmh-header{padding-inline:24px}.tmh-header-inner{gap:16px;grid-template-columns:minmax(120px,1fr) auto auto}.tmh-logo img{width:150px;height:46px}.tmh-primary-nav .wp-block-navigation__container{gap:4px}}
@media(max-width:600px){.tmh-header{padding:12px 20px 4px}.tmh-header-inner{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.tmh-brand{padding:0}.tmh-logo img{width:140px;height:44px}.tmh-language{grid-column:2;grid-row:1}.tmh-language select{min-width:88px;padding-inline:6px}.tmh-language button{padding-inline:7px}nav.tmh-primary-nav{grid-column:1/-1;grid-row:2;justify-content:center!important;font-size:14px}.tmh-primary-nav .wp-block-navigation__container{gap:30px}.tmh-footer{padding:28px 20px}.tmh-footer-inner{gap:20px}body:not(.tmh-programme-page) .tmh-post-content{font-size:16px;line-height:1.9}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Override inherited Elementor button fills on native controls. */
.tmh-header .tmh-language button{background:#5b2e01;color:#fff;border-color:#5b2e01}
.tmh-header .tmh-language button:is(:hover,:focus-visible){background:#794516;color:#fff}

/* Gate 8.1: resulting space, excluding admin/hosting banners. */
.tmh-header{padding-top:50px;padding-bottom:20px}

/* Gate 8.2: center the actual header controls inside the shared grid row. */
.tmh-header .tmh-brand,.tmh-header .tmh-logo{display:flex;align-items:center}
.tmh-header .tmh-logo img{display:block}
.tmh-header .tmh-language-controls,.tmh-header .wp-block-navigation__container{align-items:center}
.tmh-header .tmh-language :is(select,button){margin:0;height:44px;align-self:center}
