.opening-photo{width:100%;justify-self:stretch;align-self:center}
.opening .opening-photo>img,.opening .opening-photo>img.portrait-source{width:100%;height:auto;aspect-ratio:3/2;max-height:none;object-fit:cover;object-position:var(--focus,50% 50%)}
.opening-photo figcaption{justify-self:start;line-height:1.5}
.card .imgbox,.case .case-img,.case-index .case-img{width:100%;aspect-ratio:3/2;position:relative;overflow:hidden}
.case-related-list .case-img{display:block;width:100%;aspect-ratio:3/2}
.card .imgbox img,.case .case-img img,.case-related-list .case-img img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--focus,50% 50%)}
.case .tag{margin-top:.65rem}.extra>img{aspect-ratio:4/3;object-fit:cover;object-position:var(--focus,50% 50%);flex-shrink:0}
.case-related-list{align-items:start}.case-related-list .case{display:block;border-top:0;padding:0}.case-related-list .case h3{margin:.25rem 0 .5rem}
.gallery .zoom-photo{aspect-ratio:4/3}
.opening .opening-photo > .image-v6-agence-equipe-2026-serree { aspect-ratio: auto; object-fit: contain; }
@media(max-width:570px){.gallery{grid-template-columns:1fr}}
@media(min-width:761px){.opening-layout,.opening-story .opening-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}}
@media(max-width:600px){.opening .opening-photo>img{aspect-ratio:3/2}.case-related-list{gap:1.2rem}.case .tag{margin-top:.5rem}}

/* Le comptoir, les gestes et les personnes occupent une image distincte de sa légende. */
.hero .scene {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  aspect-ratio: auto;
  border-radius: 1.5rem .4rem .8rem .4rem;
  background: #183d2b;
}
.hero .scene::before, .hero .scene::after { display: none; }
.hero .scene-img { position: relative; grid-area: 1 / 1; min-height: 0; }
.hero .scene-img img { object-fit: contain; background: #183d2b; }
.hero .scene-bar {
  position: static; grid-area: 2 / 1; align-items: center;
  padding: .55rem clamp(.8rem, 2vw, 1.6rem); background: #183d2b;
}
.hero .scene-bar figcaption { text-shadow: none; }
.hero .scene-bar small { margin-bottom: .12rem; }
@media (max-width: 820px) {
  .hero .scene { grid-template-rows: auto auto; }
  .hero .scene-img { aspect-ratio: 4/3; }
}
.opening .opening-photo > .image-v4-diplomatico-massy-flair-zoom { aspect-ratio: 8/5; object-fit: contain; }
.opening .opening-photo > .image-v5-location-modules-soiree { aspect-ratio: 1672/941; object-fit: contain; }
.opening .opening-photo > .image-v6-concours-abf-2024-vue-balcon { aspect-ratio: 1780/1577; object-fit: contain; }
.opening .opening-photo > .image-v5-angostura-stand-design-retouche { aspect-ratio: 1671/941; object-fit: contain; }
.gallery .zoom-photo img { object-fit: contain; background: #eff0e9; }
.pressure-equipment figure img, .pressure-home figure img { object-fit: contain; height: auto; aspect-ratio: auto; }
.opening .opening-photo > .image-v5-formation-aviation.portrait-source {
  width: auto; max-width: 100%; height: auto; max-height: clamp(23rem, 42vw, 33rem);
  aspect-ratio: auto; object-fit: contain;
}
.opening-photo:has(> .image-v5-formation-aviation) { width: fit-content; justify-self: center; }
.opening .opening-photo > .image-v5-barn-porsche-explication-groupe,
.opening .opening-photo > .image-v5-cointreau-2025-candidate,
.opening .opening-photo > .image-v5-aot-2022-dressage-finaliste {
  aspect-ratio: auto; max-height: 32rem; object-fit: contain;
}

.contest-library h2 { margin: 0 0 1.25rem; }
.contest-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.6rem; }
.contest-nav a { text-decoration: none; }
.contest-nav a:hover, .contest-nav a:focus-visible { background: var(--forest); color: white; }
.contest-collection { border-top: 1px solid var(--line); padding-top: clamp(1.6rem, 3.8vw, 3rem); }
.contest-collection + .contest-collection { margin-top: clamp(3rem, 6vw, 6rem); }
.contest-collection > header { max-width: 52rem; margin-bottom: 1.65rem; }
.contest-collection > header h3 { color: var(--forest); font: 400 clamp(1.9rem, 3.4vw, 3rem)/1.08 var(--serif); margin: 0 0 .65rem; }
.contest-collection > header p { margin: 0; line-height: 1.6; }
.contest-editions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1.4rem,3vw,2.7rem); }
.contest-entry { min-width: 0; display: flex; flex-direction: column; align-items: start; }
.contest-cover { width: 100%; color: var(--forest); text-decoration: none; }
.contest-cover .case-img { width: 100%; aspect-ratio: 3/2; background: var(--blush); overflow: hidden; }
.contest-cover .case-img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus,50% 50%); }
.contest-cover h4 { font: 400 clamp(1.45rem,2.3vw,2rem)/1.14 var(--serif); margin: .85rem 0 .4rem; }
.contest-cover:hover h4, .contest-cover:focus-visible h4 { text-decoration: underline; text-decoration-thickness: 1px; }
.contest-entry > p { margin: 0 0 .8rem; line-height: 1.55; }
.contest-entry .contest-medium { margin-top: auto; margin-bottom: .4rem; font-size: .81rem; font-weight: 700; color: var(--mid); }
.contest-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.contest-actions .btn { font-size: .9rem; padding: .7rem 1rem; text-align: center; }
.contest-actions .textlink { font-size: .88rem; }
.contest-editions.editions-1 { max-width: 45rem; grid-template-columns: minmax(0,1fr); }
@media (min-width:1050px) { .contest-editions.editions-3 { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width:700px) { .contest-editions { grid-template-columns: minmax(0,1fr); gap: 2.5rem; } }
.case-films video[width="648"][height="1152"] { width: auto; max-width: 100%; max-height: min(78vh,44rem); }

.dugas-archives { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.25rem; }
.dugas-archives .actions { margin: 0; flex-wrap: wrap; }
.dugas-archives .chip { text-decoration: none; }

.dugas-organizer { margin-block: 0 1.75rem; }
.case .case-img img.image-v7-dugas-2026-fernet-stand-tournage,
.case .case-img img.image-dugas-2022-centenario { object-fit: contain; background: #eff0e9; }
