/* ============================================================
   Dr. Seth Healing — the all-programmes listing (/programs/).
   The room header comes from 03-programme.css; only the grid and
   language-switcher adaptations are new.
   ============================================================ */

.prog-archive{padding:89px 0 99px}
.prog-archive__lead{
  max-width:760px;margin:27px auto 0;
  font-size:var(--fs-lead);line-height:30.4px;color:var(--ink);
}
.prog-archive__empty{text-align:center;margin:40px 0 0;color:var(--ink)}

.prog-grid{
  margin-top:44px;display:grid;gap:20px;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,408px),1fr));
}

.prog-card{
  display:grid;grid-template-rows:322px auto;
  background:var(--card);border-radius:var(--r-md);overflow:hidden;
  box-shadow:var(--sh-media);
  transition:box-shadow .3s ease,transform .3s ease;
}
.prog-card:hover{box-shadow:var(--sh-hover);transform:translateY(-1px)}

.prog-card__media{position:relative;overflow:hidden}
.prog-card__media img{
  width:100%;height:100%;object-fit:cover;
  object-position:var(--card-pos-desktop,50% 50%);
  transition:transform var(--t-settle);
}
.prog-card:nth-child(1){--card-pos-desktop:50% 30%;--card-pos-mobile:50% 26%}
.prog-card:nth-child(2){--card-pos-desktop:50% 44%;--card-pos-mobile:50% 45%}
.prog-card:nth-child(3){--card-pos-desktop:50% 32%;--card-pos-mobile:50% 30%}
.prog-card:nth-child(4){--card-pos-desktop:50% 42%;--card-pos-mobile:50% 40%}
.prog-card:nth-child(5){--card-pos-desktop:50% 48%;--card-pos-mobile:50% 48%}
.prog-card:nth-child(6){--card-pos-desktop:50% 52%;--card-pos-mobile:50% 54%}
.prog-card:nth-child(7){--card-pos-desktop:50% 70%;--card-pos-mobile:50% 71%}
.prog-card:nth-child(8){--card-pos-desktop:50% 48%;--card-pos-mobile:50% 52%}
.prog-card:nth-child(9){--card-pos-desktop:50% 36%;--card-pos-mobile:50% 34%}
.prog-card:hover .prog-card__media img{transform:scale(1.05)}
.prog-card__media::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(20,13,6,0) 34%,rgba(20,13,6,.55) 68%,rgba(20,13,6,.88) 100%);
}
.prog-card__media h3{
  position:absolute;left:27px;right:20px;bottom:26px;z-index:2;margin:0;
  font-family:var(--serif);font-weight:400;color:var(--lamp-warm);
  font-size:29.7px;line-height:34.9px;text-transform:uppercase;letter-spacing:.012em;
  overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:balance;
}

.prog-card__body{display:flex;flex-direction:column;min-width:0;padding:22px 24px 18px}
.prog-card__body p{margin:0;font-size:var(--fs-body);line-height:var(--lh-body);color:var(--ink)}
.prog-card__more{
  display:inline-flex;align-items:center;gap:9px;
  margin-top:auto;padding-top:18px;color:var(--brass-ink);font-size:var(--fs-label);
}
/* A drawn arrow with a shaft and a head, matching the one on the treatment
   cards and the carousel glyphs: 24 viewBox, 1.4 stroke, round caps. The
   skewed two-border mark that used to sit here read as a stray slash. */
.prog-card__more svg{
  width:18px;height:18px;flex:0 0 auto;
  fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;
  transition:transform var(--t-state);
}
/* Part of the card's existing hover, not a second effect of its own. */
.prog-card:hover .prog-card__more svg{transform:translateX(4px)}
@media (prefers-reduced-motion:reduce){
  .prog-card__more svg{transition:none}
  .prog-card:hover .prog-card__more svg{transform:none}
}

/* --- responsive --------------------------------------------- */
@media (max-width:1120px){
  .prog-archive{padding:72px 0 84px}
  .prog-card{grid-template-rows:285px auto}
  .prog-card__media h3{font-size:25.9px;line-height:30.4px;left:20px;right:16px}
}
@media (max-width:860px){
  .prog-grid{grid-template-columns:1fr;margin-top:32px}
  .prog-card{grid-template-rows:276px auto}
  .prog-card__media img{object-position:var(--card-pos-mobile,var(--card-pos-desktop,50% 50%))}
}
