/*
Theme Name: MI24M
Description: Tèm pou mi24m.com (paj d'akèy ak aktyalite)
Version: 1.0
Text Domain: mi24m
*/
:root{--bg:#fff;--fg:#111;--muted:#666;--line:#e6e6e6;--orange:#ff6200;--ph1:#d6d6d6;--ph2:#bdbdbd;--phtxt:#777}
@media (prefers-color-scheme:dark){:root{--bg:#121212;--fg:#f2f2f2;--muted:#a0a0a0;--line:#2c2c2c;--ph1:#2e2e2e;--ph2:#222;--phtxt:#888;color-scheme:dark}}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--fg);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.wrap{max-width:1080px;margin:0 auto;padding:0 28px}
header.top{display:flex;align-items:center;gap:28px;height:56px}
.logo{font-weight:800;font-size:25px;letter-spacing:-1px;color:var(--orange);white-space:nowrap}
.logo span{color:var(--fg)}
.topnav ul,.tabs ul{list-style:none;margin:0;padding:0;display:flex;gap:26px}
.topnav{overflow-x:auto;scrollbar-width:none;font-size:14px;font-weight:600}
.topnav a{white-space:nowrap}
.search{margin-left:auto;font-size:13px;color:var(--muted)}
.search form{display:flex}
.search input{border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--fg);font:inherit;padding:4px 0;width:110px}
.band{background:var(--orange);color:#fff}
.band h2{margin:0;padding:10px 0 12px;font:700 30px Georgia,"Times New Roman",serif}
.tabs{overflow-x:auto;scrollbar-width:none;font-size:14px;font-weight:600}
.tabs ul{gap:22px}
.tabs a{display:block;white-space:nowrap;padding:0 0 11px;border-bottom:3px solid transparent}
.tabs .current-menu-item a,.tabs .current-cat a,.tabs a:hover{border-color:#fff}
.hero{display:grid;grid-template-columns:1fr 1.55fr .78fr;gap:20px;padding-top:20px}
.ph{background:linear-gradient(135deg,var(--ph1),var(--ph2));display:flex;align-items:center;justify-content:center;color:var(--phtxt);overflow:hidden}
.ph img{width:100%;height:100%;object-fit:cover}
.lead h1{font:700 29px/1.2 Georgia,"Times New Roman",serif;margin:0 0 14px}
.lead p{margin:0 0 10px;color:var(--muted);font-size:14px;line-height:1.55}
.meta{font-size:12px;color:var(--muted)}
.meta .cat{color:var(--orange);font-weight:700}
.more{display:inline-block;margin-top:14px;font:700 14px Georgia,serif}
.main-photo{height:297px;align-self:start}
.side{display:flex;flex-direction:column;gap:16px}
.side article{padding-bottom:16px;border-bottom:1px solid var(--line)}
.side .ph{height:90px;margin-bottom:12px}
.side h3,.grid h3{font:700 14px/1.4 Georgia,serif;margin:0 0 8px}
.rule{border:0;border-top:1px solid var(--line);margin:34px 0 20px}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding-bottom:40px}
.grid .ph{height:117px;margin-bottom:12px}
.grid h3{font-size:15px;line-height:1.35}
.grid p{margin:0 0 8px;color:var(--muted);font-size:13px;line-height:1.5}
a:hover h1,a:hover h3{text-decoration:underline}
a:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.single{max-width:720px;margin:30px auto 60px}
.single h1{font:700 34px/1.2 Georgia,serif}
.single .content{font:18px/1.7 Georgia,serif}
.pagination{padding:0 0 40px}
@media (max-width:900px){
.hero{grid-template-columns:1fr 1fr}
.lead{grid-column:1/-1}
.main-photo{height:220px;grid-column:1/-1;order:2}
.side{grid-column:1/-1;order:3;flex-direction:row}
.side article{flex:1}
.grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:560px){
.wrap{padding:0 16px}
.topnav{display:none}
.lead h1{font-size:25px}
.side{flex-direction:column}
.grid{grid-template-columns:1fr}
.band h2{font-size:26px}
}
