/*
Theme Name: TeleMIX Actualités
Version: 1.0.6
Requires PHP: 7.4
Text Domain: telemix-news
*/
:root{color-scheme:light;--ink:#172330;--muted:#51606b;--rule:#d6dce0;--accent:#a32432;--navy:#102438}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);background:#fff;font:1rem/1.55 system-ui,sans-serif}
a{color:inherit;text-underline-offset:.2em}
a:hover{color:var(--accent)}
a:focus-visible,input:focus-visible,button:focus-visible{outline:3px solid #2677aa;outline-offset:3px}
img{max-width:100%;height:auto}
.wrap{width:min(74rem,calc(100% - 2rem));margin-inline:auto}
.mast{border-top:.4rem solid var(--navy);border-bottom:1px solid var(--rule)}
.mast .wrap,.menu{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}
.mast .wrap{justify-content:space-between;padding:1.1rem 0 .4rem}
.brand{display:block;width:clamp(8rem,18vw,12rem);max-width:100%}
.brand img{display:block;width:100%;height:auto}
.custom-logo{display:block;width:auto;max-width:min(14rem,100%);max-height:4.75rem}
.menu{list-style:none;margin:0;padding:.7rem 0;border-bottom:1px solid var(--rule)}
.menu a,.story h3 a,.lead h2 a{text-decoration:none}
.menu a{font-weight:650}
.mix-nav{font-weight:800}
.mix-promo{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);align-items:center;margin-top:2rem;background:#101c31;color:#fff;border-radius:.4rem;overflow:hidden}
.mix-poster{display:block;width:100%;height:auto}
.mix-copy{padding:clamp(1.25rem,4vw,2.6rem)}
.mix-copy h2{margin:.25rem 0;font-family:inherit;font-size:clamp(2rem,5vw,3.4rem);letter-spacing:-.05em}
.mix-copy p{margin:.4rem 0 1rem}
.mix-label{color:#c5d8f0;font-size:.875rem;font-weight:650}
.mix-cta{display:inline-block;padding:.6rem .9rem;background:white;color:#101c31;font-weight:750;text-decoration:none;border-radius:.2rem}
.ad-placement{margin:1.5rem auto;padding:.45rem .75rem;border:1px solid var(--rule);text-align:center;color:var(--muted);font: .875rem/1.4 system-ui,sans-serif}
.ad-widget{margin:.4rem auto 0;max-width:100%}
#telemix-ad-home-top{margin:0 0 1rem;padding:.3rem .75rem;background:#f7f8f9;font-size:.75rem}
.search-form{display:flex;gap:.4rem;flex-wrap:wrap}
input,button{font:inherit}
.screen-reader-text,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
main{padding-block:1.5rem 3rem}
h1,h2,h3{font-family:Georgia,serif;line-height:1.13}
h1{font-size:clamp(2rem,6vw,3.7rem)}
h2{font-size:clamp(1.45rem,4vw,2.1rem)}
h3{font-size:1.35rem}
.lead{display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:1.5rem;background:#eef2f5;padding:1rem}
.lead:not(:has(img)){grid-template-columns:1fr}
.lead img,.story img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4rem}
.story{border-top:1px solid var(--rule);padding-top:.8rem;overflow-wrap:anywhere}
.section{margin-top:2.4rem;border-top:3px solid var(--navy)}
.meta{font-size:.875rem;color:var(--muted)}
.article{max-width:48rem;margin:auto}
.article .entry{max-width:68ch;margin:auto;font:1.19rem/1.75 Georgia,serif;overflow-wrap:anywhere}
.article figure{margin-inline:0}
.article iframe{max-width:100%}
footer{background:var(--navy);color:#fff;padding:1.1rem 0}
@media(max-width:46rem){.lead{grid-template-columns:1fr}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:46rem){.mix-promo{grid-template-columns:1fr}}
@media(max-width:30rem){.grid{grid-template-columns:1fr}}
