/* Design G: navigation by content type (9 entries) with editorial mega menus */

/* Header: logo | search filling the middle | actions, then the full-width type bar */
body.mt .hd .wr:first-child{gap:24px}
body.mt .sp{flex:1;margin-left:0;gap:10px}
body.mt .sb{flex:1;width:auto;max-width:none;height:48px;border-radius:14px;background:var(--bg2);border-color:transparent;margin-right:14px}
body.mt .sb:focus-within{background:#fff;border-color:var(--ind)}
.hd .mt-row{min-height:0;padding-bottom:12px}
body.mt .mt-row .nv{width:100%}
body.mt .mt-row .nv a{flex:1;justify-content:center;gap:8px;padding:0 10px;white-space:nowrap}
body.mt .nv a .ic{width:19px;height:19px;color:var(--ind);flex:none}
body.mt .nv a.on .ic{color:var(--lem)}
body.mt.mm-open::after{inset:130px 0 0}
@media (max-width:1240px){body.mt .mt-row .nv a{flex-direction:column;height:54px;gap:2px;font-size:13px;padding:0 4px}body.mt .mt-row .nv a .ic{width:20px;height:20px}}
@media (max-width:1100px){body.mt .sb{flex:0 0 44px;width:44px;margin-right:0;background:#fff;border-color:#dddcea}body.mt .sb:focus-within{flex:1}body.mt .sp{justify-content:flex-end}}
@media (max-width:760px){.hd .mt-row{display:none}}
@media (max-width:1000px){.hd .mt-row{padding-bottom:8px}body.mt .mt-row .nv{overflow-x:auto}body.mt .mt-row .nv a{flex:0 0 auto;padding:0 12px}}

/* Mega menu frame */
.mx .wr{padding-top:22px;padding-bottom:24px}
.mx-top{display:flex;align-items:baseline;gap:18px;padding-bottom:16px;margin-bottom:20px;border-bottom:1px solid var(--line)}
.mx-top .H{font-size:30px;font-weight:800;line-height:1}
.mx-top .mut{font-size:15px}
.mx-all{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--ind);white-space:nowrap}
.mx-all .ic{width:16px;height:16px}
.mx-all:hover{color:var(--ind-d)}
.mx-g{display:grid;gap:28px;align-items:start}
.mx-games{grid-template-columns:minmax(0,1.15fr) minmax(0,1.85fr) minmax(0,1fr)}
.mx-jokes{grid-template-columns:minmax(0,1.1fr) minmax(0,1.4fr) minmax(0,1fr)}
.mx-quest{grid-template-columns:minmax(0,1.2fr) minmax(0,1.5fr) minmax(0,.9fr)}
.mx-quotes{grid-template-columns:minmax(0,1.15fr) minmax(0,1.4fr) minmax(0,1fr)}
.mx-pics{grid-template-columns:minmax(0,2.6fr) minmax(0,1fr)}
.mx-vids{grid-template-columns:minmax(0,1.3fr) minmax(0,1.5fr) minmax(0,1fr)}
.mx-news{grid-template-columns:minmax(0,1.3fr) minmax(0,1.6fr) minmax(0,.8fr)}
.mx .mx-h{font-size:12.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--mut);margin:0 0 12px}
.mx .mx-sp{margin-top:22px}

/* Picture cards */
.mx-card{display:flex;flex-direction:column;gap:7px;min-width:0}
.mx-im{position:relative;display:block;aspect-ratio:5/3;border-radius:12px;overflow:hidden;background:var(--bg2)}
.mx-im img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.mx-card:hover img,.mx-row:hover img{transform:scale(1.04)}
.mx-cap{display:flex;flex-direction:column;gap:1px;min-width:0}
.mx-cap b{font-size:14.5px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mx-card:hover b{color:var(--ind)}
.mx-cap small,.mx-row small{color:var(--mut);font-size:13px}
.mx-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px}
.mx-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}
.mx-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.94);color:var(--ink);display:flex;align-items:center;justify-content:center;z-index:1}
.mx-play .ic{width:18px;height:18px;margin-left:2px}
.mx-row{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}
.mx-row:first-of-type{padding-top:0}
.mx-row .mx-im{flex:none;width:96px;border-radius:10px}
.mx-row .mx-play{width:28px;height:28px}
.mx-row .mx-play .ic{width:12px;height:12px}
.mx-row b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14.5px;line-height:1.3}
.mx-row:hover b{color:var(--ind)}
.mx-row>span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.mx-mosaic{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:128px;gap:12px}
.mx-mosaic .mx-card{gap:0}
.mx-mosaic .mx-card .mx-im{position:absolute;inset:0;aspect-ratio:auto}
.mx-mosaic .mx-card{position:relative;border-radius:12px;overflow:hidden}
.mx-mosaic .mx-card .mx-cap{position:absolute;left:0;right:0;bottom:0;padding:26px 12px 10px;background:linear-gradient(transparent,rgba(20,18,40,.78));color:#fff}
.mx-mosaic .mx-card .mx-cap b{font-size:13.5px}
.mx-mosaic .mx-card:hover b{color:#fff}
.mx-mosaic .mx-card.big{grid-column:span 2;grid-row:span 2;min-height:0}
.mx-mosaic .mx-card.big .mx-cap{left:0;right:0;bottom:0;border-radius:0;background:linear-gradient(transparent,rgba(20,18,40,.85));padding:40px 16px 14px}
.mx-mosaic .mx-card.big .kick{color:var(--lem)}

/* Paper cards (text of the day) */
.mx-paper{display:flex;flex-direction:column;gap:12px;border-radius:16px;padding:24px;min-height:300px}
.mx-paper .kick{font-size:12px}
.mx-paper .H{font-size:22px;font-weight:800;line-height:1.2}
.mx-paper .mx-big{font-size:24px;line-height:1.3;font-weight:700}
.mx-txt{font-size:15.5px;line-height:1.55;flex:1}
.mx-paper .btn{align-self:flex-start;margin-top:auto}
.mx-paper.yellow{background:var(--lem);color:var(--ink)}
.mx-paper.yellow .kick{color:var(--ink)}
.mx-paper.ink{background:var(--ink);color:#fff}
.mx-paper.ink .kick{color:var(--lem)}
.mx-paper.ink .mx-txt{color:#d8d6ee}
.mx-paper.soft{background:var(--ind-l);color:var(--ink)}
.mx-paper.ind{background:var(--ind);color:#fff}
.mx-paper.ind .kick{color:var(--lem)}
.mx-paper blockquote{margin:0;font-size:23px;line-height:1.35;font-weight:700;flex:1}
.mx-paper cite{font-style:normal;font-weight:700;color:#dcdaff}
.mx-paper cite::before{content:"";display:inline-block;width:22px;height:2px;background:var(--lem);vertical-align:middle;margin-right:10px}
.mx-ans{margin:0;padding:12px 14px;border-radius:12px;background:#fff;font-weight:600}
.mx-rv{margin-top:auto}

/* Ranked lists, title lists, category lists */
.mx-rank{list-style:none;margin:0;padding:0;counter-reset:none}
.mx-rank li a{display:flex;gap:14px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--line)}
.mx-rank li:first-child a{padding-top:0}
.mx-rank .n{font-family:"Schibsted Grotesk",Inter,sans-serif;font-weight:800;font-size:26px;line-height:1;color:var(--ind);min-width:24px}
.mx-rank b{display:block;font-size:15px;line-height:1.3}
.mx-rank small{display:block;color:var(--mut);font-size:13.5px;line-height:1.45;margin-top:3px}
.mx-rank a:hover b{color:var(--ind)}
.mx-tl{list-style:none;margin:0;padding:0}
.mx-tl a{display:block;padding:8px 0;border-bottom:1px solid var(--line);font-weight:600;font-size:14.5px;line-height:1.3}
.mx-tl li:first-child a{padding-top:0}
.mx-tl a:hover{color:var(--ind)}
.mx-cl{list-style:none;margin:0;padding:0}
.mx-cl a{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid var(--line);font-weight:600;font-size:14.5px}
.mx-cl li:first-child a{padding-top:0}
.mx-cl a span{color:var(--mut);font-weight:500;font-size:13px}
.mx-cl a:hover{color:var(--ind)}
.mx-auth{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}
.mx-auth a{display:flex;flex-direction:column;padding:8px 0;border-bottom:1px solid var(--line)}
.mx-auth b{font-size:15px}
.mx-auth small{color:var(--mut);font-size:12.5px}
.mx-auth a:hover b{color:var(--ind)}
.mx-more{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-weight:700;color:var(--ind)}
.mx-more .ic{width:16px;height:16px}

/* Footer: categories as plain links */
.mx-ft{display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px;margin-top:22px;padding-top:14px;border-top:1px solid var(--line)}
.mx-ft .lab{margin-right:4px}
.mx-ft a{font-weight:500;color:var(--ink2);font-size:14.5px;line-height:2}
.mx-ft a:hover{color:var(--ind)}

@media (max-width:1240px){.mx-games,.mx-jokes,.mx-quest,.mx-quotes,.mx-vids,.mx-news{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,1fr)}.mx-grid3{grid-template-columns:repeat(2,minmax(0,1fr))}.mx-grid3 .mx-card:nth-child(n+5){display:none}}
@media (max-width:1100px){.mx-g:not(.mx-pics)>:first-child{display:none}.mx-games,.mx-jokes,.mx-quest,.mx-quotes,.mx-vids,.mx-news{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.mx-pics{grid-template-columns:1fr}}
body.mt .drw-u ul{padding-left:50px}
.mx-g>.mx-paper{align-self:stretch}
/* Feature card of a panel: landscape picture with the text under it */
.mx-g>.mx-card.big{gap:12px}
.mx-g>.mx-card.big .mx-im{aspect-ratio:16/10;border-radius:16px}
.mx-g>.mx-card.big .mx-cap{gap:4px}
.mx-g>.mx-card.big .kick{font-size:12px}
.mx-g>.mx-card.big .mx-cap b{font-family:"Schibsted Grotesk",Inter,sans-serif;font-size:21px;font-weight:800;letter-spacing:-.02em;line-height:1.2}
.mx-g>.mx-card.big .mx-play{width:60px;height:60px}
.mx-g>.mx-card.big .mx-play .ic{width:24px;height:24px;margin-left:4px}
.mx-ex{color:var(--mut2);font-size:14px;line-height:1.5;margin-top:2px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mx-cta{align-self:flex-start;margin-top:8px;min-height:40px;font-size:14.5px}
.mx-cta .ic{width:16px;height:16px}
.mx .mx-ft2{margin-top:4px;padding-top:0;border-top:0}
.mx-ft a small{color:var(--mut);font-size:13px;font-weight:500}

/* Barre d'onglets mobile : bouton Rubriques (2026-11-22) */
.tabbar .tb-more{flex:1;background:none;border:0;padding:0;margin:0;font:inherit;font-size:11.5px;font-weight:600;color:var(--mut);cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}

/* Mega menu Jeux : rubriques de jeux en tuiles (2026-11-22) */
.mx-types{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 22px}
.mx-type{display:flex;align-items:center;gap:12px;padding:8px 10px 8px 8px;border-radius:14px;background:var(--bg2);min-height:70px;min-width:0}
.mx-type:hover{background:var(--ind-l)}
.mx-type img{width:72px;height:54px;object-fit:cover;border-radius:10px;flex:none;display:block}
.mx-type>span{display:flex;flex-direction:column;gap:2px;min-width:0}
.mx-type b{font-size:15px;line-height:1.2;font-weight:700}
.mx-type b .mx-n{font-size:12px;font-weight:700;color:var(--ind);margin-left:2px}
.mx-type>span>small{font-size:12.5px;line-height:1.3;color:var(--mut)}
@media (max-width:1240px){.mx-type img{width:56px;height:42px}.mx-type>span>small{display:none}}
.mx-ti{width:72px;height:54px;border-radius:10px;flex:none;display:flex;align-items:center;justify-content:center;background:#fff;color:var(--ind)}
.mx-ti .ic{width:26px;height:26px}
@media (max-width:1240px){.mx-ti{width:56px;height:42px}}

/* Author photos in the Citations panel (2026-11-22) */
.mx-auth a{flex-direction:row;align-items:center;gap:10px}
.mx-auth a>span{display:flex;flex-direction:column;min-width:0}
.mx-ph{width:36px;height:36px;border-radius:999px;flex:none;object-fit:cover;background:var(--bg2);display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;color:#fff;background:var(--ind)}
img.mx-ph{background:var(--bg2)}
