.history-ateliers {padding-block:clamp(1.3rem,4vw,3rem)}
.history-ateliers-head {display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:.65rem 1.5rem;margin-bottom:1rem}
.history-ateliers-head h2 {margin:0}
.history-ateliers-head p {margin:.4rem 0 0}
.history-ateliers-head > a {font-weight:900;text-underline-offset:.25em}
.history-ateliers-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem}
.history-ateliers-card {display:grid;grid-template-rows:auto 1fr;overflow:hidden;border-radius:18px;color:#fff5e0;background:#213e34;text-decoration:none;box-shadow:0 12px 22px #27221a1a;transition:transform .2s}
.history-ateliers-card:nth-child(2) {background:#583821}
.history-ateliers-card:nth-child(3) {background:#512b3d}
.history-ateliers-card:nth-child(4) {background:#314936}
.history-ateliers-card:nth-child(5) {background:#1e5359}
.history-ateliers-card:hover {transform:translateY(-4px);color:#fff5e0}
.history-ateliers-card:focus-visible {outline:3px solid #1280a4;outline-offset:3px}
.history-ateliers-card img {width:100%;height:auto;aspect-ratio:2.35;object-fit:cover;object-position:center 54%;display:block}
.history-ateliers-card div {padding:.85rem 1rem 1rem;display:grid;grid-template-rows:auto 1fr;gap:.45rem}
.history-ateliers-card h3 {font-size:clamp(1.15rem,2.25vw,1.55rem);color:inherit;margin:0}
.history-ateliers-card span {color:#ffe1a8;font-weight:850;font-size:.91rem}
@media (max-width:920px) {
  .history-ateliers-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px) {
  .history-ateliers-grid {grid-template-columns:1fr;gap:.65rem}
  .history-ateliers-card {grid-template-columns:118px 1fr;grid-template-rows:auto}
  .history-ateliers-card img {height:100%;aspect-ratio:auto}
}
@media (prefers-reduced-motion:reduce) {.history-ateliers-card {transition:none}}
