/* Transformaties-page-only sections (v3) */
/* The shared before/after slider (.compare and its parts) lives in assets/styles.css. */

/* ---------- 3-column feature grid (shared responsive rhythm) ---------- */
.features--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .features--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .features--3 { grid-template-columns: 1fr; } }

/* ---------- transformatiemuur: every before/after collage, filterable by route ---------- */
.tx-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: clamp(24px, 3vw, 36px); }
.tx-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 14px;
}
.tx-filter__btn span { font-weight: 400; opacity: 0.7; }
.tx-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); margin: 0; padding: 0; list-style: none; }
.tx-wall__link { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: var(--surface); }
.tx-wall__img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.tx-wall__link:hover .tx-wall__img { transform: scale(1.04); }
.tx-wall__badges { position: absolute; left: 10px; top: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.tx-wall__mh { font-size: 12px; padding: 5px 10px; }
.tx-wall__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 10px; line-height: 1.3; }
.tx-wall__cap b { font-family: var(--f-head); font-weight: 800; font-size: 15.5px; color: var(--text); }
.tx-wall__cap span { font-size: 13px; color: var(--faint); }

/* ---------- fotoshoots: masonry of the finishing shoots ---------- */
.shoot-grid { columns: 4 220px; column-gap: clamp(10px, 1.4vw, 18px); margin: 0; padding: 0; list-style: none; }
.shoot-grid__item { break-inside: avoid; margin-bottom: clamp(10px, 1.4vw, 18px); }
.shoot-grid__link { display: block; overflow: hidden; border-radius: 16px; background: var(--surface); }
.shoot-grid__img { display: block; width: 100%; height: auto; transition: transform 600ms var(--ease); }
.shoot-grid__link:hover .shoot-grid__img { transform: scale(1.03); }
.tx-wall__link:focus-visible, .shoot-grid__link:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

@media (max-width: 1000px) { .tx-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .tx-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shoot-grid { columns: 2; }
  /* one swipeable row of filters instead of three wrapped lines */
  .tx-filter { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 18px; scrollbar-width: none; }
  .tx-filter::-webkit-scrollbar { display: none; }
  .tx-filter__btn { flex: none; }
}

/* the wall opens the page: its heading is the h1, sized like the other section headings */
.tx-wall__title { font-size: clamp(32px, 3.6vw, 52px); }
