.yt-section{padding:40px 0;color:var(--tone-003)}.yt-section h2{font-size:var(--fs-xl);line-height:1.18;letter-spacing:-.025em;margin:0 0 12px}.yt-intro{font-size:var(--fs-sm);line-height:1.6;max-width:650px;margin:0 0 22px}.yt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.yt-card{min-width:0;border:1px solid var(--tone-102);border-radius:var(--radius-md);background:var(--paper);overflow:hidden}.yt-watch{display:block;color:inherit;text-decoration:none}.yt-picture{display:block;position:relative;background:var(--tone-003)}.yt-picture img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.yt-play{position:absolute;left:12px;bottom:12px;display:flex;align-items:center;justify-content:center;width:42px;height:30px;color:var(--paper);background:var(--tone-103);border-radius:var(--radius-md)}.yt-play svg{width:17px;height:17px}.yt-label{display:block;padding:15px 16px 0}.yt-label strong{display:block;font-size:var(--fs-base);line-height:1.4}.yt-label small{display:block;font-size:var(--fs-xs);margin-top:6px;color:var(--tone-104)}.yt-card p{padding:0 16px;margin:10px 0 13px;font-size:var(--fs-base);line-height:1.55}.yt-guide{display:inline-block;color:var(--tone-003);padding:0 16px 18px;font-size:var(--fs-xs);text-decoration:underline;text-underline-offset:3px}.yt-channel{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:inherit}.yt-channel svg{flex:0 0 21px;width:21px;height:21px}.yt-channel-line{margin:20px 0 0}.site-footer .yt-channel{font-size:inherit}.yt-related{margin:36px 0;padding:26px 0;border-top:1px solid var(--tone-102);border-bottom:1px solid var(--tone-102)}.yt-related .yt-grid{gap:12px}.yt-related .yt-label strong{font-size:var(--fs-base)}.yt-profile{margin:25px 0}.yt-watch:focus-visible,.yt-guide:focus-visible,.yt-channel:focus-visible{outline:3px solid var(--tone-103);outline-offset:4px}.yt-home{background:var(--tone-105)}.yt-home>.yt-wrap{max-width:1160px;margin:auto;padding:0 38px}.yt-home .yt-card{background:var(--tone-001)}.yt-home h2{font-size:var(--fs-xl)}
@media(max-width:720px){.yt-section{padding:30px 0}.yt-home>.yt-wrap{padding:0 22px}.yt-grid{grid-template-columns:1fr;gap:16px}.yt-card{display:grid;grid-template-columns:1fr}.yt-watch{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:12px}.yt-picture img{aspect-ratio:4/3}.yt-label{padding:10px 12px 10px 0}.yt-label strong{font-size:var(--fs-sm)}.yt-play{width:30px;height:24px;left:8px;bottom:8px}.yt-card p{margin-top:0;padding:0 14px}.yt-guide{padding:0 14px 14px}.yt-related{padding:24px 0}}
@media(prefers-reduced-motion:no-preference){.yt-card{transition:box-shadow 180ms ease,transform 180ms ease}.yt-card:has(.yt-watch:hover),.yt-card:focus-within{box-shadow:0 5px 16px var(--tone-106);transform:translateY(-2px)}}
@media print{.yt-play{display:none}.yt-section{break-inside:avoid}.yt-grid{display:block}.yt-card{margin-bottom:12px}.yt-picture{display:none}}

.yt-section,.yt-guide{color:var(--ink)}.yt-home{background:var(--blue)}.yt-card,.yt-home .yt-card{background:var(--paper);border-color:var(--line);border-radius:var(--radius-md)}.yt-label small{color:var(--muted)}.yt-related{border-color:var(--line)}.yt-play{background:var(--ink);color:var(--paper)}
.yt-home>.yt-wrap{padding:0 36px}.yt-card p{font-size:var(--fs-base)}
@media(max-width:720px){.yt-home>.yt-wrap{padding:0 22px}.yt-watch{display:block}.yt-picture img{aspect-ratio:16/9}.yt-label{padding:var(--space-4)}.yt-label strong{font-size:var(--fs-md)}}

/* Les miniatures restent entières, y compris dans les cartes latérales. */
.yt-section .yt-picture,.ci-accueil .yt-section .yt-card .yt-watch .yt-picture{aspect-ratio:16/9;align-self:start}
.yt-section .yt-picture img{aspect-ratio:16/9;object-fit:contain;background:var(--ink)}
.yt-label h3{font:inherit;font-weight:650;font-size:var(--fs-base);line-height:1.35;margin:0;color:inherit}
.yt-section .yt-grid--trio{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.yt-grid--trio>.yt-card:first-child{grid-row:span 2}
.yt-grid--trio>.yt-card:not(:first-child) .yt-watch,.ci-accueil .yt-section .yt-grid--trio>.yt-card:not(:first-child) .yt-watch{display:grid;grid-template-columns:160px minmax(0,1fr);gap:16px;align-items:start}
.yt-grid--trio>.yt-card:not(:first-child) .yt-label{padding:12px 14px 0 0}
.yt-section .yt-grid--single{grid-template-columns:minmax(0,1fr)}
.yt-grid--single .yt-watch{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center}
.yt-section .yt-grid--pair,.ci-accueil .yt-section .yt-grid--archive{grid-template-columns:repeat(2,minmax(0,1fr))}
.yt-related .yt-grid--single .yt-label{padding:16px}
.yt-more{margin-top:24px;border-top:1px solid var(--line);padding-top:10px}
.yt-more>summary{cursor:pointer;padding:12px 8px;min-height:44px;font-weight:650;line-height:1.5}
.yt-more>summary:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.yt-more[open]>.yt-grid{margin-top:18px}
.ci-accueil .yt-section .yt-more .yt-grid .yt-card{grid-row:auto}
.yt-grid--archive .yt-watch,.ci-accueil .yt-section .yt-more .yt-grid .yt-card .yt-watch{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px;align-items:start}
.yt-grid--archive .yt-label,.ci-accueil .yt-section .yt-more .yt-card .yt-label{padding:12px 12px 0 0}
.yt-note{font-size:var(--fs-xs);line-height:1.55;color:var(--muted);margin:20px 0 0;max-width:65ch}
.yt-section .yt-watch:hover h3{text-decoration:underline;text-underline-offset:3px}
.yt-section .yt-play{width:42px;height:32px;background:var(--ink);color:#fff;border:1px solid #fff}
@media(max-width:1000px) and (min-width:721px){
 .yt-grid--trio>.yt-card:not(:first-child) .yt-watch,.ci-accueil .yt-section .yt-grid--trio>.yt-card:not(:first-child) .yt-watch{grid-template-columns:130px minmax(0,1fr);gap:12px}
 .yt-grid--archive .yt-watch,.ci-accueil .yt-section .yt-more .yt-grid .yt-card .yt-watch{display:block}
 .yt-grid--archive .yt-label,.ci-accueil .yt-section .yt-more .yt-card .yt-label{padding:14px}
}
@media(max-width:720px){
 .yt-section .yt-grid,.ci-accueil .yt-section .yt-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
 .yt-section .yt-card,.ci-accueil .yt-section .yt-grid .yt-card{grid-row:auto;margin:0;padding:0}
 .yt-section .yt-grid .yt-card .yt-watch,.ci-accueil .yt-section .yt-grid .yt-card .yt-watch{display:block}
 .ci-accueil .yt-section .yt-grid--trio>.yt-card:not(:first-child) .yt-watch,.ci-accueil .yt-section .yt-more .yt-grid .yt-card .yt-watch{display:block}
 .yt-section .yt-label,.ci-accueil .yt-section .yt-grid .yt-card .yt-label{padding:16px 16px 0}
 .yt-section .yt-label h3{font-size:var(--fs-md)}
 .yt-section .yt-more>summary{padding-inline:0}
}
@media print{.yt-more{display:block}.yt-more>.yt-grid{display:block!important}.yt-note{font-size:10pt}}

/* Même place avant et après le clic, légendes et lien de secours en HTML. */
.yt-card--inline{min-width:0}
.yt-card--inline .yt-media{position:relative;width:100%;min-width:0;aspect-ratio:16/9;min-height:200px;background:#173d50}
.yt-card--inline .yt-load{display:block;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background:#173d50;color:#fff;cursor:pointer;text-decoration:none}
.yt-card--inline .yt-load:focus-visible,.yt-card--inline .yt-close:focus-visible{outline:3px solid #d49b29;outline-offset:-4px}
.yt-card--inline .yt-picture,.yt-card--inline .yt-picture img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain}
.yt-card--inline .yt-player{position:absolute;inset:0}
.yt-card--inline iframe{display:block;border:0;width:100%;height:100%}
.yt-card--inline [hidden]{display:none!important}
.yt-card--inline .yt-player-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:10px;font-size:14px}
.yt-card--inline .yt-external{color:inherit;text-underline-offset:3px}
.yt-card--inline .yt-close{font:inherit;font-size:13px;min-height:44px;padding:8px 12px;color:#173d50;background:#eff5f7;border:1px solid #b7cbd4;border-radius:4px;cursor:pointer}
@media(min-width:721px){.yt-grid--single:has(.yt-card--inline){max-width:760px;margin-inline:auto}}
@media print{.yt-card--inline .yt-media,.yt-card--inline .yt-close{display:none}}
