/* Sable FC 5.18 — actualités lisibles et diaporamas adaptatifs */
body .sfc-interactions, body .sfc-interactions h2, body .sfc-interactions h3, body .sfc-interactions .sfc-comment, body .sfc-interactions .sfc-comment b, body .sfc-interactions .sfc-comment p,body .sfc-interactions .sfc-comment-form label {color:#f6f9ff!important;opacity:1!important;text-shadow:none!important}
body .sfc-interactions .sfc-comment {background:#153a6b!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:12px;padding:16px 18px;margin:12px 0;box-shadow:none!important}
body .sfc-interactions .sfc-comment p{font-size:15px!important;line-height:1.65!important;margin:8px 0 0!important;color:#fff!important;visibility:visible!important}
body .sfc-interactions .sfc-comment b{font-weight:800!important;color:#ffdc50!important;font-size:14px!important}
body .sfc-interactions .sfc-social-stats span{color:#ffdb57!important;font-weight:700}
.sfc-article-carousel{position:relative;margin:18px auto 28px;max-width:1100px;width:100%;overflow:hidden;border-radius:16px;background:#091e3f;aspect-ratio:16/9;border:1px solid #ffffff25;isolation:isolate}
.sfc-article-carousel-track{position:absolute;inset:0}
.sfc-article-carousel .sfc-article-slide{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0;opacity:0;visibility:hidden;transform:translateX(4%);transition:opacity .7s ease,transform .7s ease,visibility .7s;pointer-events:none}
.sfc-article-carousel .sfc-article-slide.current{opacity:1;visibility:visible;transform:translateX(0)}
.sfc-article-carousel .sfc-article-slide img{width:100%;height:100%;object-fit:contain;display:block}
.sfc-article-carousel .sfc-article-slide figcaption{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);padding:5px 12px;border-radius:20px;color:white;background:#071934b9;font-size:12px;font-weight:750}
.sfc-article-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);height:42px;width:42px;border:1px solid #ffffff55;background:#092c58bf;color:white;border-radius:50%;font-size:30px;cursor:pointer}.sfc-article-arrow.prev{left:12px}.sfc-article-arrow.next{right:12px}
.sfc-article-pause{position:absolute;z-index:2;bottom:10px;right:12px;border:0;border-radius:20px;background:#092c58d9;color:white;padding:7px 11px;font-size:12px;cursor:pointer}
.sfc-theme-hero .sfc-hero-studio .sfc-hero-frame{display:flex!important;gap:0}
.sfc-theme-hero .sfc-hero-studio .sfc-hero-tile{position:relative;display:block;flex:1 1 0;min-width:0;overflow:hidden;isolation:isolate}
.sfc-theme-hero .sfc-hero-studio .sfc-hero-tile .sfc-hero-ambient{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;filter:blur(18px) brightness(.42)!important;transform:scale(1.09)!important}
.sfc-theme-hero .sfc-hero-studio .sfc-hero-tile .sfc-hero-complete{position:absolute!important;width:100%!important;height:100%!important;inset:0!important;object-fit:contain!important;object-position:center!important;transform:translate(var(--sfc-photo-x,0px),var(--sfc-photo-y,0px)) scale(var(--sfc-photo-zoom,1))!important}
.sfc-theme-hero .sfc-hero-studio .sfc-hero-photo-layout-triple .sfc-hero-tile:not(:last-child){border-right:2px solid #ffffff30}
.sfc-theme-hero .sfc-hero-studio .sfc-hero-photo-layout-triple .sfc-hero-tile:first-child{flex-grow:1.2}
.sfc-hero-frame.sfc-is-current .sfc-hero-photo-effect-kenburns{animation:sfc-photo-kenburns 8s ease-in-out both}
.sfc-hero-frame.sfc-is-current .sfc-hero-photo-effect-float{animation:sfc-photo-float 5s ease-in-out infinite alternate}
.sfc-hero-frame.sfc-is-current .sfc-hero-photo-effect-reveal{animation:sfc-photo-reveal 1.4s ease-out both}
.sfc-hero-frame.sfc-is-current .sfc-hero-photo-effect-tilt{animation:sfc-photo-tilt 6s ease-in-out infinite alternate}
@keyframes sfc-photo-kenburns{from{filter:brightness(.94);scale:1}to{filter:brightness(1.06);scale:1.055}}
@keyframes sfc-photo-float{from{translate:0 0}to{translate:0 -12px}}
@keyframes sfc-photo-reveal{from{opacity:.05;clip-path:inset(0 100% 0 0)}to{opacity:1;clip-path:inset(0 0 0 0)}}
@keyframes sfc-photo-tilt{from{rotate:-1deg}to{rotate:1deg}}
@media(max-width:680px){.sfc-article-carousel{aspect-ratio:4/5;border-radius:12px}.sfc-article-arrow{height:36px;width:36px;font-size:25px}.sfc-theme-hero .sfc-hero-photo-layout-triple .sfc-hero-tile:not(:first-child){display:none!important}.sfc-theme-hero .sfc-hero-studio .sfc-hero-tile .sfc-hero-complete{transform:translate(var(--sfc-photo-mx,0px),var(--sfc-photo-my,0px)) scale(var(--sfc-photo-mzoom,1))!important}}
@media(prefers-reduced-motion:reduce){.sfc-article-slide,.sfc-hero-tile{animation:none!important;transition:none!important}}

@media(max-width:680px){.sfc-theme-hero .sfc-hero-photo-layout-triple .sfc-hero-tile:not(:first-child){display:block!important}.sfc-theme-hero .sfc-hero-photo-layout-triple .sfc-hero-tile{position:absolute!important;inset:0;opacity:0;visibility:hidden;transition:opacity .55s ease}.sfc-theme-hero .sfc-hero-photo-layout-triple .sfc-hero-tile.sfc-mobile-tile-on{opacity:1;visibility:visible;z-index:1}.sfc-theme-hero .sfc-hero-photo-layout-triple .sfc-hero-tile:first-child:not(.sfc-mobile-tile-on){opacity:0;visibility:hidden}}

/* v5.19 : contraste des commentaires, même avec thèmes et traductions dynamiques */
html body section.sfc-interactions,
html body section.sfc-interactions h2,
html body section.sfc-interactions h3,
html body section.sfc-interactions .sfc-comment,
html body section.sfc-interactions .sfc-comment *,
html body section.sfc-interactions .sfc-comment-form label,
html body section.sfc-interactions .sfc-comment-notice {
 color:#f8fbff!important;-webkit-text-fill-color:#f8fbff!important;opacity:1!important;filter:none!important;text-shadow:none!important;
}
html body section.sfc-interactions .sfc-comment{background:#193b69!important;border:1px solid #5e7eab!important}
html body section.sfc-interactions .sfc-comment b{color:#ffe16b!important;-webkit-text-fill-color:#ffe16b!important}
html body section.sfc-interactions .sfc-comment p{color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:16px!important;font-weight:500!important;line-height:1.65!important;visibility:visible!important;display:block!important}
html body section.sfc-interactions .sfc-comment-form input,
html body section.sfc-interactions .sfc-comment-form textarea{background:#fff!important;color:#0a2145!important;-webkit-text-fill-color:#0a2145!important;opacity:1!important}
html body section.sfc-interactions .sfc-comment-form :is(input,textarea)::placeholder{color:#667a98!important;-webkit-text-fill-color:#667a98!important}

/* v5.48 : actualités : diaporama juste après le titre, avant tout le texte. */
.article .sfc48-article-photos{width:100%;max-width:810px;margin:16px 0 18px;aspect-ratio:16/9;max-height:480px}
@media(max-width:680px){.article .sfc48-article-photos{aspect-ratio:4/3;max-height:380px;margin:12px 0 16px}}
