@font-face {
  font-family: "ValBiro-Regular 2";
  src: url("../../fonts/ValBiro-Regular 2.ttf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.valbiro {
  background: #4c8ca8;
}

.valbiro-page-two {
  background: #7da567;
}

.valbiro-page-three {
  background: #f2d335;
}

.valbiro-page-four {
  background: #f2a20c;
}

.valbiro-page-five {
  background: #f3522e;
}

.valbiro h2,
.valbiro h3 {
  font-family: "ValBiro-Regular 2", sans-serif;
  font-size: var(--fs-800);
}

.valbiro p {
  font-family: Lora, sans-serif;
  font-size: 1.3rem !important;
}

/* ─── Exhibition Parallax ───────────────────────────── */

:root {
  --content-max-width: 780px;
  --section-padding: clamp(3rem, 8vw, 7rem);
  --parallax-offset: 350px;
}

/* ─── Section base (all types) ─────────────────────── */
.exhibition-section {
  position: relative;
  padding: var(--section-padding) 1.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ─── Image background — parallax ───────────────────── */
.exhibition-section.bg-type--image {
  background-attachment: fixed;
  background-position: center calc(50% + var(--parallax-offset, 80px));
  min-height: 100vh;
}

@supports (-webkit-touch-callout: none) {
  .exhibition-section.bg-type--image {
    background-attachment: scroll;
  }
}

/* ─── Colour background ─────────────────────────────── */
.exhibition-section.bg-type--colour {
  color: #000;
}

/* ─── No background ─────────────────────────────────── */
.exhibition-section.bg-type--none {
  background-color: #fff;
}

/* ─── Overlay (image sections only) ─────────────────── */
.section-overlay {
  position: absolute;
  inset: 0;
  background-color: #000;
  opacity: var(--overlay-opacity, 0.4);
  pointer-events: none;
}

/* ─── Content always sits above overlay ─────────────── */
.section-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-max-width);
  margin-inline: auto;
}

.block-wrapper.has-content-bg {
  background-color: color-mix(
    in srgb,
    var(--content-bg-colour, #000) calc(var(--content-bg-opacity, 0.7) * 100%),
    transparent
  );
  padding: 2rem;
  border-radius: 2px;
}

.exhibition-parallax h1,
.exhibition-parallax h2,
.exhibition-parallax h3,
.exhibition-parallax h4,
.exhibition-parallax h5,
.exhibition-parallax h6 {
  font-family: "ValBiro-Regular 2", cursive;
}

.exhibition-parallax h1 {
  font-size: var(--fs-800);
}

.exhibition-parallax h2 {
  font-size: var(--fs-800);
}

.exhibition-parallax h3 {
  font-size: var(--fs-700);
}

.exhibition-parallax h4,
.exhibition-parallax h5,
.exhibition-parallax h6 {
  font-size: var(--fs-600);
}

.exhibition-parallax .block--text p,
.exhibition-parallax .block--text li {
  font-size: var(--fs-600);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-block-end: 2rem;
}

.block-wrapper {
  margin-block-end: var(--block-spacing, 0px);
}

.block {
  margin-block: 2.5rem;
}

.block--text {
  line-height: 1.7;
}

.exhibition-parallax .block--text,
.exhibition-parallax .block--text p,
.exhibition-parallax .block--text li,
.exhibition-parallax .block--text td {
  font-family: "ValBiro-Regular 2", cursive !important;
}

.block--blockquote blockquote {
  font-family: "ValBiro-Regular 2", cursive;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.4;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
}

.block--blockquote figcaption {
  margin-block-start: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.75;
}

.block--image-single img {
  width: 100%;
  height: auto;
  display: block;
}

.block--image-single figcaption {
  margin-block-start: 0.5rem;
  font-size: 0.85rem;
  display: flex;
  gap: 1rem;
}

.block--image-single .credit {
  opacity: 0.65;
}

.image-pair__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.image-pair__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.block--image-pair figcaption {
  margin-block-start: 0.5rem;
  font-size: 0.85rem;
  display: flex;
  gap: 1rem;
}

.block--image-pair .credit {
  opacity: 0.65;
}

.block--download .download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 2px;
}

.block--download .download-link:hover {
  opacity: 0.8;
}

.block--external-link a {
  font-weight: 600;
  text-underline-offset: 3px;
}

/* ─── Mobile ─────────────────────────────────────────── */
@media (max-width: 640px) {
  .image-pair__grid {
    grid-template-columns: 1fr;
  }

  .exhibition-section.bg-type--image {
    background-attachment: scroll;
  }
}
