/* Every selector is scoped: legacy Jssor, Bootstrap and client content keep their styles. */
.ds { --ds-height:560px; --ds-mobile-height:480px; --ds-duration:800ms; --ds-interval:6000ms; --ds-overlay:.35; --ds-fit:cover; position:relative; width:100%; isolation:isolate; background:#fff; color:#fff; overflow:hidden; font-family:inherit; }
.ds *, .ds *::before, .ds *::after { box-sizing:border-box; }
.ds .ds-stage { position:relative; height:var(--ds-height); overflow:hidden; touch-action:pan-y; }
.ds .ds-slide { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:1; visibility:hidden; pointer-events:none; overflow:hidden; }
.ds .ds-slide.is-active { opacity:1; visibility:visible; pointer-events:auto; z-index:1; }
.ds .ds-media, .ds .ds-media picture, .ds .ds-media img, .ds .ds-media video { position:absolute; inset:0; width:100%; height:100%; margin:0; max-width:none; }
.ds .ds-media img, .ds .ds-media video { object-fit:var(--ds-fit); object-position:var(--ds-x,50%) var(--ds-y,50%); }
.ds .ds-motion { position:absolute; inset:0; width:100%; height:100%; }
.ds:not(.ds-ready) .ds-motion { animation:none !important; }
.ds .ds-slide > .ds-media { opacity:0; transition:opacity var(--ds-duration) ease; }
.ds .ds-slide.is-active > .ds-media, .ds .ds-slide.is-leaving > .ds-media { opacity:1; }
.ds:not(.ds-ready) .ds-slide.is-active > .ds-media { animation:none !important; transition:none !important; }
.ds .ds-slide.is-leaving > .ds-content { visibility:hidden; }
.ds .ds-media video { z-index:1; min-height:0; transition:opacity .3s; }
.ds:not(.ds--video) .ds-media video { display:none; }
.ds .ds-image-link { position:absolute; inset:0; z-index:2; }
.ds .ds-shade { position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,var(--ds-overlay)),rgba(0,0,0,.08)); pointer-events:none; }
.ds .ds-content { position:relative; z-index:2; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; height:100%; width:min(1200px,100%); margin:0 auto; padding:clamp(24px,6vw,92px) clamp(24px,6vw,92px) 90px; pointer-events:none; }
.ds .ds-editor-content { display:block; width:100%; margin:0; padding:0; text-align:inherit; }
/* Editor entrance classes must start when their image appears, not while hidden. */
.ds .ds-slide:not(.is-active) .slider-gauche,
.ds .ds-slide:not(.is-active) .slider-droite,
.ds .ds-slide:not(.is-active) .slider-bas { animation-name:none !important; -webkit-animation-name:none !important; }
.ds .ds-content:not(.ds-editor-content) > * { max-width:760px; width:100%; }
.ds .ds-content a, .ds .ds-content button, .ds .ds-content input { pointer-events:auto; }
.ds .ds-content:not(.ds-editor-content) h1, .ds .ds-content:not(.ds-editor-content) h2 { font-size:clamp(28px,4.2vw,64px); line-height:1.08; margin:0 0 18px; color:inherit; }
.ds .ds-content:not(.ds-editor-content) p { font-size:clamp(15px,1.6vw,21px); line-height:1.6; }
.ds .ds-content .ds-cta { display:inline-flex; align-items:center; gap:24px; width:auto; max-width:100%; margin-top:18px; padding:12px 22px; border-radius:6px; background:#fff; color:#142238; text-decoration:none; font-size:14px; font-weight:600; }
.ds .ds-controls { display:none; position:absolute; bottom:20px; left:clamp(20px,5vw,72px); right:clamp(20px,5vw,72px); z-index:5; align-items:center; justify-content:flex-end; gap:10px; }
.ds.ds-ready .ds-controls { display:flex; }
.ds .ds-controls > button, .ds .ds-arrow-layer > .ds-prev, .ds .ds-arrow-layer > .ds-next { display:inline-flex; align-items:center; justify-content:center; min-width:42px; height:42px; padding:8px 12px; border:1px solid rgba(255,255,255,.55); background:rgba(12,23,37,.6); color:#fff; border-radius:6px; font:500 14px/1.2 Arial,sans-serif; cursor:pointer; }
.ds .ds-controls > button:hover, .ds .ds-arrow-layer > .ds-prev:hover, .ds .ds-arrow-layer > .ds-next:hover { background:#fff; color:#142238; }
.ds .ds-arrow-layer { position:absolute; left:0; right:0; z-index:6; pointer-events:none; }
.ds .ds-arrow-layer > .ds-prev, .ds .ds-arrow-layer > .ds-next { pointer-events:auto; position:absolute; top:50%; transform:translateY(-50%); z-index:6; }
.ds .ds-arrow-layer > .ds-prev { left:clamp(12px,2vw,32px); }
.ds .ds-arrow-layer > .ds-next { right:clamp(12px,2vw,32px); }
/* Circular navigation, independent of the theme's generic button styles. */
.ds .ds-arrow-layer > .ds-prev, .ds .ds-arrow-layer > .ds-next, .ds .ds-controls > .ds-prev, .ds .ds-controls > .ds-next { width:54px; min-width:54px; height:54px; padding:0; border-radius:50%; border:1px solid rgba(255,255,255,.55); background:rgba(17,24,39,.28); color:#fff; font-size:0; line-height:1; box-shadow:0 4px 18px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.12); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); transition:background .18s ease,box-shadow .18s ease,border-color .18s ease; }
.ds .ds-controls > .ds-prev, .ds .ds-controls > .ds-next { position:relative; }
.ds .ds-prev::before, .ds .ds-next::before { content:''; position:absolute; display:block; left:50%; top:50%; right:auto; bottom:auto; width:12px; height:12px; padding:0; margin:0; border:0; border-top:2px solid currentColor; border-right:2px solid currentColor; border-radius:1px; }
.ds .ds-prev::before { transform:translate(-35%,-50%) rotate(-135deg); }
.ds .ds-next::before { transform:translate(-65%,-50%) rotate(45deg); }
.ds .ds-prev::after, .ds .ds-next::after { content:none; }
.ds .ds-arrow-layer > .ds-prev:hover, .ds .ds-arrow-layer > .ds-next:hover, .ds .ds-controls > .ds-prev:hover, .ds .ds-controls > .ds-next:hover { background:rgba(17,24,39,.6); color:#fff; border-color:rgba(255,255,255,.9); box-shadow:0 6px 24px rgba(0,0,0,.24); }
.ds .ds-prev:focus-visible, .ds .ds-next:focus-visible { outline:3px solid #fff; outline-offset:4px; }
.ds .ds-count { font:500 12px/1 Arial,sans-serif; white-space:nowrap; }
.ds .ds-dots { display:flex; gap:8px; margin-right:auto; padding:8px 0; }
.ds .ds-dot { display:block; width:24px; height:24px; position:relative; padding:0; border:0; background:transparent; box-shadow:none; transform:none !important; cursor:pointer; }
.ds .ds-dot::before { content:none !important; }
.ds .ds-dot::after { content:''; display:block; position:absolute; top:7px; left:7px; width:10px; height:10px; border-radius:50%; transform:none !important; background:rgba(255,255,255,.45); }
.ds .ds-dot.is-active::after { background:#fff; }
.ds .ds-thumbs { display:none; }
.ds.ds--thumbs.ds-ready .ds-thumbs { display:flex; position:absolute; left:0; right:0; bottom:24px; z-index:5; overflow-x:auto; padding:12px; gap:10px; background:var(--ds-thumbs-background,transparent); }
.ds .ds-thumbs > .ds-thumb:first-child { margin-left:0; }
.ds .ds-thumbs > .ds-thumb:last-child { margin-right:0; }
.ds.ds--thumbs { background:transparent; }
.ds.ds--thumbs .ds-stage { background:#fff; }
.ds .ds-thumb { flex:0 0 90px; height:58px; padding:0; border:2px solid transparent; border-radius:5px; background:var(--ds-background,#16283e); color:#fff; opacity:.6; cursor:pointer; overflow:hidden; }
.ds .ds-thumb img { width:100%; height:100%; object-fit:cover; }
.ds .ds-thumb.is-active { opacity:1; border-color:#fff; }
.ds [hidden] { display:none !important; }
.ds a:focus-visible, .ds button:focus-visible, .ds:focus-visible { outline:3px solid #a9c9ff; outline-offset:-3px; }
.ds .ds-announcement { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
/* Slow image motion, restarted for each newly selected slide. */
.ds[data-image-effect="pan"] .ds-slide.is-active .ds-motion { animation:ds-pan calc(var(--ds-interval) + var(--ds-duration)) linear both; }
.ds[data-image-effect="zoom-in"] .ds-slide.is-active .ds-motion { animation:ds-photo-zoom-in calc(var(--ds-interval) + var(--ds-duration)) linear both; }
.ds[data-image-effect="zoom-out"] .ds-slide.is-active .ds-motion { animation:ds-photo-zoom-out calc(var(--ds-interval) + var(--ds-duration)) linear both; }
.ds[data-image-effect="pan-left"] .ds-slide.is-active .ds-motion { animation:ds-photo-left calc(var(--ds-interval) + var(--ds-duration)) linear both; }
.ds[data-image-effect="pan-right"] .ds-slide.is-active .ds-motion { animation:ds-photo-right calc(var(--ds-interval) + var(--ds-duration)) linear both; }
.ds[data-image-effect="pan-up"] .ds-slide.is-active .ds-motion { animation:ds-photo-up calc(var(--ds-interval) + var(--ds-duration)) linear both; }
.ds[data-image-effect="pan-down"] .ds-slide.is-active .ds-motion { animation:ds-photo-down calc(var(--ds-interval) + var(--ds-duration)) linear both; }
.ds[data-image-effect="diagonal"] .ds-slide.is-active .ds-motion { animation:ds-photo-diagonal calc(var(--ds-interval) + var(--ds-duration)) linear both; }
.ds[data-image-effect="orbit"] .ds-slide.is-active .ds-motion { animation:ds-photo-orbit calc(var(--ds-interval) + var(--ds-duration)) linear both; }
.ds[data-image-effect="breathing"] .ds-slide.is-active .ds-motion { animation:ds-photo-breathing calc(var(--ds-interval) + var(--ds-duration)) ease-in-out both; }
.ds[data-image-effect="tilt"] .ds-slide.is-active .ds-motion { animation:ds-photo-tilt calc(var(--ds-interval) + var(--ds-duration)) linear both; }
.ds[data-image-effect="mask-horizontal"] .ds-slide.is-active .ds-motion { animation:ds-photo-mask-h max(1200ms,calc(var(--ds-duration) * 2)) cubic-bezier(.22,.7,.2,1) both; }
.ds[data-image-effect="mask-vertical"] .ds-slide.is-active .ds-motion { animation:ds-photo-mask-v max(1200ms,calc(var(--ds-duration) * 2)) cubic-bezier(.22,.7,.2,1) both; }
.ds[data-image-effect="mask-iris"] .ds-slide.is-active .ds-motion { animation:ds-photo-mask-iris max(1200ms,calc(var(--ds-duration) * 2)) cubic-bezier(.22,.7,.2,1) both; }
.ds.ds-image-paused .ds-motion { animation-play-state:paused !important; }
@keyframes ds-photo-zoom-in { from { transform:scale(1); } to { transform:scale(1.2); } }
@keyframes ds-photo-zoom-out { from { transform:scale(1.2); } to { transform:scale(1); } }
@keyframes ds-photo-left { from { transform:scale(1.16) translateX(4%); } to { transform:scale(1.16) translateX(-4%); } }
@keyframes ds-photo-right { from { transform:scale(1.16) translateX(-4%); } to { transform:scale(1.16) translateX(4%); } }
@keyframes ds-photo-up { from { transform:scale(1.16) translateY(4%); } to { transform:scale(1.16) translateY(-4%); } }
@keyframes ds-photo-down { from { transform:scale(1.16) translateY(-4%); } to { transform:scale(1.16) translateY(4%); } }
@keyframes ds-photo-diagonal { from { transform:scale(1.2) translate(-4%,3%); } to { transform:scale(1.2) translate(4%,-3%); } }
@keyframes ds-photo-orbit { 0% { transform:scale(1.16) translate(-3%,0); } 25% { transform:scale(1.16) translate(0,-3%); } 50% { transform:scale(1.16) translate(3%,0); } 75% { transform:scale(1.16) translate(0,3%); } 100% { transform:scale(1.16) translate(-3%,0); } }
@keyframes ds-photo-breathing { 0%,100% { transform:scale(1.03); } 50% { transform:scale(1.15); } }
@keyframes ds-photo-tilt { from { transform:scale(1.16) rotate(-2deg); } to { transform:scale(1.16) rotate(2deg); } }
@keyframes ds-photo-mask-h { from { clip-path:inset(0 100% 0 0); } to { clip-path:inset(0); } }
@keyframes ds-photo-mask-v { from { clip-path:inset(100% 0 0); } to { clip-path:inset(0); } }
@keyframes ds-photo-mask-iris { from { clip-path:circle(0% at 50% 50%); } to { clip-path:circle(150% at 50% 50%); } }
@keyframes ds-pan { from { transform:scale(1.04) translateX(-1%); } to { transform:scale(1.14) translateX(1%); } }
.ds-effect-reveal .ds-slide .ds-media { clip-path:inset(0 100% 0 0); transition:clip-path var(--ds-duration) cubic-bezier(.22,.7,.2,1),visibility var(--ds-duration); }
.ds-effect-reveal .ds-slide.is-active .ds-media { clip-path:inset(0); }
.ds-effect-reveal .ds-slide.is-leaving .ds-media { clip-path:inset(0); }
.ds-effect-stagger .ds-slide.is-active .ds-media { animation:ds-media-in var(--ds-duration) ease both; }
.ds-effect-stagger .ds-slide.is-active .ds-content:not(.ds-editor-content) > * { animation:ds-text-in var(--ds-duration) ease both; animation-delay:150ms; }
.ds-effect-stagger .ds-slide.is-active .ds-content:not(.ds-editor-content) > :nth-child(2) { animation-delay:280ms; }
.ds-effect-stagger .ds-slide.is-active .ds-content:not(.ds-editor-content) > :nth-child(n+3) { animation-delay:380ms; }
.ds .ds-tiles { display:none; position:absolute; inset:0; pointer-events:none; }
.ds-effect-cascade .ds-tiles { display:block; z-index:2; }
.ds-effect-cascade .ds-slide.is-active .ds-motion > picture { opacity:0; }
.ds-effect-cascade .ds-slide.is-active .ds-motion > picture { animation:ds-cascade-original var(--ds-duration) steps(1,end) both; }
.ds-effect-cascade .ds-slide.is-active .ds-tiles { animation:ds-cascade-overlay var(--ds-duration) steps(1,end) both; }
@keyframes ds-cascade-original { from { opacity:0; } to { opacity:1; } }
@keyframes ds-cascade-overlay { from { opacity:1; } to { opacity:0; } }
.ds .ds-tile { position:absolute; width:calc(100% / 6 + .5px); height:calc(25% + .5px); overflow:hidden; }
.ds .ds-tile img { max-width:none; object-fit:var(--ds-fit); object-position:var(--ds-x,50%) var(--ds-y,50%); }
.ds-effect-cascade .ds-slide.is-active .ds-tile { animation:ds-cascade calc(var(--ds-duration) * .6) cubic-bezier(.2,.7,.25,1) both; }
.ds-effect-slide .ds-slide.is-active .ds-media { animation:ds-image-slide var(--ds-duration) cubic-bezier(.22,.7,.2,1) both; }
.ds-effect-zoom .ds-slide.is-active .ds-media { animation:ds-image-zoom var(--ds-duration) ease both; }
@keyframes ds-image-slide { from { transform:translateX(100%); } to { transform:translateX(0); } }
@keyframes ds-image-zoom { from { transform:scale(1.16); opacity:0; } to { transform:scale(1); opacity:1; } }
.ds .ds-slide.is-leaving { opacity:1; visibility:visible; pointer-events:none; z-index:0; clip-path:inset(0); transform:none; }
@keyframes ds-cascade { from { opacity:0; transform:translateY(24px) scale(.94); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes ds-media-in { from { transform:scale(1.08); } to { transform:scale(1); } }
@keyframes ds-text-in { from { transform:translateY(28px); opacity:0; } to { transform:translateY(0); opacity:1; } }
.ds--split .ds-slide { background:var(--ds-background,#16283e); }
.ds--split .ds-media { left:50%; width:50%; }
.ds--split .ds-shade { display:none; }
.ds--split .ds-content { width:50%; margin:0; padding:40px 5% 90px; }
.ds--split .ds-editor-content { padding:0; }
/* Theme containers can have a desktop minimum wider than the half-slide.
   Constrain only the generated frame; keep container/content padding intact. */
.ds--split .ds-editor-frame { min-width:0; max-width:100%; }
.ds--split .ds-content:not(.ds-editor-content) h1, .ds--split .ds-content:not(.ds-editor-content) h2 { font-size:clamp(26px,3vw,48px); }
.ds--split .ds-slide.is-active .ds-content:not(.ds-editor-content) > * { animation:ds-text-in var(--ds-duration) ease both; }
.ds--cards { padding:24px 0 80px; background:var(--ds-background,#16283e); }
.ds--cards .ds-stage { display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x mandatory; touch-action:pan-x pan-y; scrollbar-width:none; padding:0 24px; }
.ds--cards .ds-stage::-webkit-scrollbar { display:none; }
.ds--cards .ds-slide { position:relative; inset:auto; flex:0 0 calc((100% - 40px)/3); height:100%; opacity:1; visibility:visible; pointer-events:auto; border-radius:14px; scroll-snap-align:start; }
.ds--cards .ds-slide > .ds-media { opacity:1; }
.ds--cards .ds-content { padding:24px; justify-content:flex-end; }
.ds--cards .ds-editor-content { padding:0; }
.ds--cards .ds-content:not(.ds-editor-content) h1, .ds--cards .ds-content:not(.ds-editor-content) h2 { font-size:clamp(23px,2vw,34px); }
.ds--cards .ds-content:not(.ds-editor-content) p { font-size:15px; }
.ds--cards .ds-shade { background:linear-gradient(0deg,rgba(0,0,0,.85),rgba(0,0,0,var(--ds-overlay))); }
@media (max-width: 1000px) { .ds--cards .ds-slide { flex-basis:calc((100% - 20px)/2); } }
@media (min-width: 768px) {
    .ds.ds-desktop-fullheight { box-sizing:border-box; display:flex; flex-direction:column; height:100vh; height:100dvh; }
    .ds.ds-desktop-fullheight .ds-stage { flex:1 1 0; min-height:0; height:auto; }
    .ds.ds-desktop-fullheight .ds-thumbs { flex:0 0 auto; }
    .ds.ds--thumbs.ds-desktop-fullheight { height:calc(100vh - var(--ds-screen-offset,0px)); height:calc(100dvh - var(--ds-screen-offset,0px)); }
}
@media (max-width: 767px) {
    .ds .ds-controls > .ds-prev, .ds .ds-controls > .ds-next { width:40px; min-width:40px; height:40px; padding:0; font-size:0; }
    .ds .ds-editor-content { display:none !important; }
    .ds .ds-stage { height:var(--ds-mobile-height); }
    .ds .ds-content:not(.ds-editor-content) { padding:28px 24px 90px; }
    .ds .ds-content:not(.ds-editor-content) p { font-size:16px; }
    .ds .ds-controls { left:16px; right:16px; bottom:16px; gap:7px; }
    .ds .ds-controls > button { min-width:36px; height:38px; padding:8px; }
    .ds .ds-dots { gap:0; max-width:40%; overflow-x:auto; }
    .ds .ds-dot { flex:0 0 22px; }
    .ds--split .ds-media { left:0; width:100%; height:100%; }
    .ds--split .ds-content { position:absolute; top:44%; height:56%; width:100%; padding:18px 24px 68px; overflow:auto; justify-content:flex-start; }
    .ds--split .ds-editor-content { padding:0; }
    .ds--split .ds-content:not(.ds-editor-content) h1, .ds--split .ds-content:not(.ds-editor-content) h2 { font-size:24px; margin-bottom:8px; }
    .ds--split .ds-content:not(.ds-editor-content) p { font-size:14px; margin:0; }
    .ds--cards .ds-slide { flex-basis:86%; }
}
@media (prefers-reduced-motion: reduce) {
    .ds .ds-slide, .ds .ds-media, .ds .ds-motion, .ds .ds-content:not(.ds-editor-content) > *, .ds .ds-tile { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

/* Additional transitions are confined to the background-media layer. */
.ds .ds-image-fragments { position:absolute; inset:0; z-index:2; pointer-events:none; overflow:hidden; }
.ds .ds-image-fragment { position:absolute; overflow:hidden; }
.ds .ds-image-fragment img { max-width:none; object-fit:var(--ds-fit); object-position:var(--ds-x,50%) var(--ds-y,50%); }
.ds.ds--thumbs .ds-controls { bottom:calc(var(--ds-thumbs-height,82px) + 40px); }
