/* Ouverture photographique du Journal */
[data-voyage-photos] .voyage-image {
    z-index: 0;
    opacity: 0;
    transform: none;
    pointer-events: none;
}
[data-voyage-photos] .voyage-image.est-sortante { z-index: 1; opacity: 1; }
[data-voyage-photos] .voyage-image.est-active {
    z-index: 2;
    opacity: 1;
    transition: opacity var(--hoja-fondu,1200ms) ease-in-out;
}
[data-voyage-photos] .voyage-image img { object-position: 50% 52%; }
[data-voyage-photos] [data-frame="0"] img { object-position: 52% 56%; }
[data-voyage-photos] [data-frame="3"] img { object-position: 34% 53%; }
[data-voyage-photos] [data-frame="4"] img { object-position: 50% 43%; }
[data-voyage-photos] .voile {
    z-index: 4;
    background: linear-gradient(0deg, rgba(6,19,30,.59), transparent 29%);
}
/* A frame keeps its movement until the incoming photograph is opaque. */
[data-voyage-photos] .voyage-image.suite { will-change: auto; }
[data-voyage-photos] .voyage-image:is(.est-prete,.est-active,.est-sortante) { will-change: opacity; }
@media (min-width: 701px) and (prefers-reduced-motion: no-preference) {
    [data-voyage-photos][data-zoom="1"] .est-prete img { will-change: transform; }
    [data-voyage-photos][data-zoom="1"] .en-traversee img {
        will-change: transform;
        animation: hoja-cadrage var(--hoja-traversee,12s) linear infinite alternate both;
    }
    [data-voyage-photos][data-zoom="1"] .en-traversee:nth-child(even) img { animation-direction: alternate-reverse; }
    [data-voyage-photos][data-zoom="1"].photo-immobile .en-traversee img { animation-play-state: paused; }
}
@keyframes hoja-cadrage {
    from { transform: scale3d(1,1,1); }
    to { transform: scale3d(1.032,1.032,1); }
}

.tirages-ouverture {
    position: absolute;
    z-index: 3;
    inset: 5% -1% 10% 49%;
    display: flex;
    gap: clamp(3px,.5vw,9px);
    visibility: hidden;
    pointer-events: none;
}
.tirages-ouverture.en-mouvement { visibility: visible; }
.tirages-ouverture .tirage {
    --haut: 9%;
    --bas: 4%;
    --retard: 0s;
    --decalage: -14px;
    --angle: -7deg;
    clip-path: inset(var(--haut) 0 var(--bas) 0);
    position: relative;
    flex: 1;
    overflow: hidden;
    transform: skewX(-7deg);
    border-inline: 1px solid rgba(255,255,255,.86);
}
.tirages-ouverture .tirage:nth-child(2) { --haut: 2%; --bas: 11%; --retard: .13s; --decalage: 12px; }
.tirages-ouverture .tirage:nth-child(3) { --haut: 12%; --bas: 3%; --retard: .26s; }
.tirages-ouverture .tirage:nth-child(4) { --haut: 4%; --bas: 8%; --retard: .38s; --decalage: 12px; }
.tirages-ouverture .tirage img {
    left: -58px;
    width: calc(100% + 116px);
    height: 100%;
    object-fit: cover;
    transform: skewX(7deg);
}
.tirages-ouverture .tirage:nth-child(2) img { object-position: 49% 62%; }
.tirages-ouverture .tirage:nth-child(3) img { object-position: 22% 50%; }
.tirages-ouverture.en-mouvement .tirage {
    animation: entree-tirage 2.25s cubic-bezier(.28,.72,.2,1) var(--retard) both;
}
@keyframes entree-tirage {
    0% { opacity: 0; transform: translate3d(var(--decalage),12px,0) skewX(var(--angle)); }
    26%,53% { opacity: .98; transform: translate3d(0,0,0) skewX(var(--angle)); }
    100% { opacity: 0; transform: translate3d(10px,-5px,0) skewX(var(--angle)); }
}

.pied-ouverture { position: absolute; z-index: 5; inset: auto 0 0; color: #fff; }
.outils-photo { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; }
.credit-photo { min-width: 0; }
.credit-photo small {
    display: block;
    width: fit-content;
    padding: .25em .55em;
    background: rgba(10,25,38,.72);
    color: #fff;
    font: 500 .72rem/1.35 var(--sans);
}
[data-voyage-photos] [hidden] { display: none !important; }
.outils-photo .choix-photo {
    flex: none;
    gap: 0;
    padding-inline: 5px;
    background: rgba(10,25,38,.68);
    border-radius: 3px;
}
.outils-photo .choix-photo button {
    width: 32px;
    height: 44px;
    padding: 0 4px;
    cursor: pointer;
}
.outils-photo .choix-photo button span { background: #dddcd4bf; }
.outils-photo .choix-photo button[aria-pressed="true"] span { height: 3px; background: #f3d69c; }
.outils-photo .pause-photo { display: grid; place-items: center; }
.pause-photo i { box-sizing: content-box; width: 3px; height: 12px; border-inline: 2px solid currentColor; }
.pause-photo.en-pause i { width: 0; height: 0; border: 6px solid transparent; border-right: 0; border-left: 9px solid currentColor; }
.fil-ouverture { background: rgba(11,31,48,.93); border-top: 1px solid #ede0c59c; }
.hoja-fil-interieur { display:flex; align-items:center; gap:clamp(.75rem,1.7vw,1.6rem); }
.hoja-breves { flex:1; min-width:0; }
.hoja-fil-commandes { display:flex; flex:none; }
.hoja-fil-commandes button {
    display:grid; place-items:center; width:38px; height:44px; padding:0; border:0; border-radius:2px;
    background:transparent; color:#fff4df; cursor:pointer; font:400 1.55rem/1 var(--sans);
}
.hoja-fil-commandes button:is(:hover,:focus-visible) { background:#ffffff20; }
.fil-ouverture .fil-ouverture-lien {
    display: flex;
    align-items: center;
    min-height: 57px;
    gap: clamp(12px,1.9vw,30px);
    padding-block: 10px;
    color: #fffaf3;
    text-decoration: none;
}
.fil-signature {
    flex-shrink: 0;
    padding-left: .68rem;
    border-left: 3px solid #cb7662;
    font: 700 .73rem/1.25 var(--sans);
    letter-spacing: .14em;
    text-transform: uppercase;
}
.fil-titre { min-width: 0; font: 500 clamp(1.04rem,1.55vw,1.44rem)/1.19 var(--serif); }
.fil-recent {
    display: inline-block;
    margin: 0 .58em 0 0;
    padding: .34em .55em .28em;
    vertical-align: .18em;
    background: #943e31;
    color: white;
    font: 650 .61rem/1.1 var(--sans);
    letter-spacing: .07em;
    text-transform: uppercase;
}
.fil-lire {
    flex: none;
    margin-left: auto;
    font: 600 .8rem/1.2 var(--sans);
    color: #f3dfbc;
}
.fil-lire i { margin-left: .3em; font: normal 1.1rem/1 var(--sans); }
.fil-ouverture-lien:is(:hover,:focus-visible) .fil-titre > span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.pied-ouverture :is(button,a):focus-visible { outline: 2px solid #ffe8b2; outline-offset: -2px; }
@media (max-width: 700px) {
    .tirages-ouverture { inset: 10% -1% 20% 51%; gap: 4px; }
    .tirages-ouverture .tirage { --decalage: -5px; --angle: -4deg; transform: skewX(-4deg); }
    .tirages-ouverture .tirage:nth-child(2) { --decalage: 5px; }
    .tirages-ouverture .tirage img { transform: skewX(4deg); left: -25px; width: calc(100% + 50px); }
    .tirages-ouverture.en-mouvement .tirage { animation-duration: 1.75s; }
    .tirages-ouverture .tirage:nth-child(n+3) { display: none; }
    .outils-photo { gap: 5px; min-height: 48px; }
    .credit-photo small { font-size: .64rem; }
    .outils-photo .choix-photo { padding-inline: 2px; }
    .outils-photo .choix-photo button { width: 26px; }
    .fil-ouverture .fil-ouverture-lien { gap: 9px; min-height: 54px; padding-block: 9px; }
    .fil-signature { padding-left: 6px; font-size: .62rem; }
    .fil-titre { font-size: 1.05rem; }
    .hoja-fil-interieur { gap:.5rem; }
    .hoja-fil-commandes button { width:31px; }
    .fil-ouverture .fil-ouverture-lien { display:grid; gap:.25rem; padding-block:7px; }
    .fil-lire { margin-left:0; font-size:.72rem; }
    .fil-signature { max-width:5.7em; }
    .fil-titre { overflow-wrap:anywhere; }
    .fil-recent { margin-right:.28rem; }
    .fil-lire i { font-size:.85rem; }
}
@media (prefers-reduced-motion: reduce) {
    .tirages-ouverture { display: none; }
    [data-voyage-photos] .voyage-image.est-active { transition: none; }
}

/* Older 7.0 headers can set this class before the opening is loaded. */
html.voyage-entree [data-voyage-photos] .voyage-image[data-frame="0"],
[data-voyage-photos][data-zoom="0"] .voyage-image img { animation: none; }
[data-voyage-photos] .hoja-lien-photo { display:inline-block; padding:.3em .55em; background:#102333d9; color:#fff; text-decoration:underline; }
[data-voyage-photos] .credit-photo { overflow-wrap:anywhere; }
[data-voyage-photos] .hoja-legende { font: 500 .98rem/1.3 var(--serif); }
[data-voyage-photos] .choix-photo { max-width:66%; overflow-x:auto; }
[data-voyage-photos] .choix-photo button { flex-shrink:0; }

/* 1.1.2 — Permanent editorial brief panel across all photographic slides.
   This panel belongs to .pied-ouverture, outside individual .voyage-image nodes. */
[data-voyage-photos] .fil-ouverture {
    background: rgba(11,31,48,.88);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
[data-voyage-photos] .hoja-fil-interieur { align-items: flex-start; padding-block: clamp(14px,1.7vw,24px); }
[data-voyage-photos] .fil-signature { margin-top: .38rem; }
[data-voyage-photos] .fil-ouverture .fil-ouverture-lien {
    min-height: 94px;
    padding-block: 0;
    align-items: center;
    gap: clamp(16px,2.5vw,36px);
}
[data-voyage-photos] .fil-titre { display: block; flex: 1; }
[data-voyage-photos] .fil-titre > span:not(.fil-resume) { font-size: clamp(1.18rem,1.8vw,1.65rem); }
[data-voyage-photos] .fil-resume {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-top: .55rem;
    max-width: 78ch;
    font: 400 clamp(.82rem,.95vw,.97rem)/1.5 var(--sans);
    color: #f0eee8;
}
[data-voyage-photos] .fil-lire { align-self: center; white-space: nowrap; }
@media (max-width:700px) {
    [data-voyage-photos] .hoja-fil-interieur { padding-block: 11px 13px; gap: 9px; }
    [data-voyage-photos] .fil-signature { margin-top: .2rem; }
    [data-voyage-photos] .fil-ouverture .fil-ouverture-lien { min-height: 0; gap: 6px; }
    [data-voyage-photos] .fil-titre > span:not(.fil-resume) { font-size: 1.1rem; }
    [data-voyage-photos] .fil-resume { font-size: .78rem; line-height: 1.35; margin-top: .3rem; }
    [data-voyage-photos] .fil-lire { margin-left: 0; }
}
