/* Nieuwe onderdelen van de Nederlandse site (november 2026), in de huisstijl van de WordPress-site:
   Instagram in de footer, paginering van de blog, Hello Stories, de woningmatch (homepage-blok + /nl/woningmatch/) en de blogartikelen. */

:root {
  --hc-primary: var(--wp--preset--color--primary, #F2BA26);
  --hc-dark: var(--wp--preset--color--dark-neutral, #161616);
  --hc-light: var(--wp--preset--color--light-neutral, #F8F4EB);
  --hc-gothic: var(--wp--preset--font-family--alternate-gothic, "Alternate Gothic No1 D", sans-serif);
  --hc-naville: var(--wp--preset--font-family--naville, "Naville", serif);
  --hc-poppins: var(--wp--preset--font-family--poppins, "Poppins", sans-serif);
}

/* ---------------------------------------------------------------- Instagram in de footer (gele achtergrond) */
.hc-instagram-wrap { margin-top: 1.5rem; text-align: right; }
.hc-instagram {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 24px 8px 8px;
  border-radius: 50px;
  background: var(--hc-light);
  color: var(--hc-dark);
  text-decoration: none;
  font-family: var(--hc-poppins);
  box-shadow: 0 6px 18px rgba(22, 22, 22, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hc-instagram__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--hc-primary);
  color: var(--hc-light);
  flex-shrink: 0;
}
.hc-instagram__icon svg { fill: currentColor; }
.hc-instagram__text { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.hc-instagram__label { font-size: 15px; font-weight: 600; }
.hc-instagram__handle { font-size: 14px; color: #666; }
.hc-instagram:hover,
.hc-instagram:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22, 22, 22, .18); color: var(--hc-dark); }
@media (max-width: 781px) { .hc-instagram-wrap { text-align: center; } }

/* ---------------------------------------------------------------- blog: kaartjes even hoog
   Foto's met een andere verhouding dan 3:2 (zoals 4:3 of 16:9) maakten een kaartje hoger of lager dan de rest. */
.wp-block-post-template .wp-block-post-featured-image img { aspect-ratio: 3 / 2; height: auto; object-fit: cover; }

/* ---------------------------------------------------------------- blog: paginering */
.hc-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 4rem;
  font-family: var(--hc-poppins);
  font-size: 16px;
}
.hc-pagination .wp-block-query-pagination-numbers { display: flex; gap: .5rem; }
.hc-pagination a,
.hc-pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 .75rem;
  border-radius: 50px;
  color: var(--hc-dark);
  text-decoration: none;
}
.hc-pagination .page-numbers { border: 1px solid rgba(22, 22, 22, .2); }
.hc-pagination .current { background: var(--hc-primary); border-color: var(--hc-primary); font-weight: 600; }
.hc-pagination a:hover { border-color: var(--hc-primary); color: var(--hc-dark); }

/* ---------------------------------------------------------------- Hello Stories */
.hc-stories-soon { max-width: 760px; margin: 0 auto; }


/* ---------------------------------------------------------------- knoppen (zelfde maat en letter als de site-knoppen) */
.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: 10px 26px;
  border: 1.5px solid var(--hc-primary);
  border-radius: 9999px;
  background: var(--hc-primary);
  color: var(--hc-light);
  font: 600 16px/1.2 var(--hc-naville);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.hc-btn:hover, .hc-btn:focus-visible { background: #E3A91A; border-color: #E3A91A; color: var(--hc-light); }
.hc-btn:focus-visible { outline: 2px solid var(--hc-primary); outline-offset: 3px; }
.hc-btn--ghost { background: transparent; border-color: rgba(22, 22, 22, .28); color: var(--hc-dark); }
.hc-btn--ghost:hover, .hc-btn--ghost:focus-visible { background: transparent; border-color: var(--hc-dark); color: var(--hc-dark); }
/* op een geel vlak: lichte omlijning, of helemaal licht met gele tekst (zoals de knop "Ontdek" op de site) */
.hc-btn--light { background: transparent; border-color: rgba(248, 244, 235, .8); color: var(--hc-light); font-family: var(--hc-poppins); font-size: 15px; }
.hc-btn--light:hover, .hc-btn--light:focus-visible { background: var(--hc-light); border-color: var(--hc-light); color: var(--hc-primary); }
.hc-btn--cream { background: var(--hc-light); border-color: var(--hc-light); color: var(--hc-primary); }
.hc-btn--cream:hover, .hc-btn--cream:focus-visible { background: #fff; border-color: #fff; color: var(--hc-primary); }
.hc-btn--cream:focus-visible, .hc-btn--light:focus-visible { outline-color: var(--hc-light); }
.hc-btn__arrow { display: inline-block; transition: transform .2s ease; }
.hc-btn:hover .hc-btn__arrow { transform: translateX(3px); }
.hc-btn--ghost:hover .hc-btn__arrow { transform: translateX(-3px); }
.hc-btn__icon { width: 18px; height: 18px; flex-shrink: 0; }
.hc-btn[hidden] { display: none; }

/* ---------------------------------------------------------------- homepage: blok naar de woningmatch */
.hc-teaser { padding: 0 20px; color: var(--hc-dark); font-family: var(--hc-poppins); scroll-margin-top: 90px; }
.hc-teaser__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}
.hc-teaser__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.hc-teaser__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
/* zelfde stijl als het label "Hello Casita" op de homepage: Naville 16px, gewicht 500, zwart */
.hc-teaser__eyebrow { margin: 0 0 .5rem; font: 500 16px/1 var(--hc-naville); color: var(--hc-dark); }
.hc-teaser__title {
  margin: 0 0 1.75rem;
  font-family: var(--hc-gothic);
  font-size: clamp(56px, 6.6vw, 100px);
  font-weight: 400;
  line-height: .95;
  text-transform: uppercase;
  color: var(--hc-primary);
}
.hc-teaser__text > p:not(.hc-teaser__eyebrow) { max-width: 560px; margin: 0; font-size: 17px; line-height: 1.8; }
.hc-teaser__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.hc-teaser__free { display: inline-flex; align-items: center; gap: .5rem; font-size: 15px; }
.hc-teaser__check { width: 20px; height: 20px; color: var(--hc-primary); stroke-width: 2; }
@media (max-width: 900px) {
  .hc-teaser__inner { grid-template-columns: 1fr; }
  /* staande foto: bij 4:3 vielen de gezichten half weg */
  .hc-teaser__photo { aspect-ratio: 4 / 5; }
  .hc-teaser__photo img { object-position: 50% 30%; }
}

/* homepage: blok Hello Magazine (tekst links, omslag rechts) */
.hc-teaser--magazine .hc-teaser__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hc-teaser--magazine .hc-teaser__photo { aspect-ratio: auto; overflow: visible; width: 100%; max-width: 420px; justify-self: center; }
.hc-teaser--magazine .hc-teaser__photo a { display: block; transform: rotate(2deg); transition: transform .4s ease; box-shadow: 0 22px 50px rgba(42, 39, 35, .22); }
.hc-teaser--magazine .hc-teaser__photo a:hover { transform: rotate(0deg) translateY(-4px); }
.hc-teaser--magazine .hc-teaser__photo img { height: auto; object-fit: contain; }
@media (max-width: 900px) {
  .hc-teaser--magazine .hc-teaser__inner { grid-template-columns: 1fr; }
  .hc-teaser--magazine .hc-teaser__photo { order: -1; max-width: 280px; aspect-ratio: auto; }
}

/* ---------------------------------------------------------------- woningmatch-pagina: hero */
.hc-page-woningmatch .fixed-form-popup-wrapper { display: none; }
/* ruimte op de binnenkant: het thema zet padding van blokken direct op de pagina met !important op 0 */
.hc-hero .wp-block-cover__inner-container { padding-top: clamp(185px, 15vw, 220px); padding-bottom: clamp(48px, 6vw, 80px); text-align: center; }
.hc-hero__eyebrow { margin: 0 0 .5rem; font: 700 20px var(--hc-naville); color: var(--hc-primary); }
.hc-hero__eyebrow span { color: var(--hc-light); }
.hc-hero__title {
  margin: 0 auto;
  max-width: 1000px;
  font-family: var(--hc-gothic);
  font-size: clamp(56px, 8.4vw, 120px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: var(--hc-light);
}
.hc-hero__usps { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; margin: 1.5rem 0 0; font: 500 16px var(--hc-poppins); color: var(--hc-light); }
.hc-hero__usps span { display: inline-flex; align-items: center; gap: .45rem; }
.hc-hero__check { width: 20px; height: 20px; color: var(--hc-primary); stroke-width: 2.2; }

/* ---------------------------------------------------------------- woningmatch-pagina: de vijf stappen */
.hc-match {
  --hc-line: rgba(22, 22, 22, .12);
  --hc-line-strong: rgba(22, 22, 22, .3);
  --hc-muted: #666;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 20px clamp(3rem, 6vw, 4.5rem);
  color: var(--hc-dark);
  font-family: var(--hc-poppins);
  scroll-margin-top: 105px; /* hoogte van de bovenbalk na scrollen */
}
.hc-match [hidden] { display: none !important; }

/* stappenbalk */
.hc-match__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; margin: 0 0 clamp(2.5rem, 5vw, 4rem); padding: 0; }
.hc-match__steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .6rem; font-size: 14px; color: var(--hc-muted); text-align: center; outline: none; }
.hc-match__steps li + li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: calc(-50% + 28px);
  right: calc(50% + 28px);
  height: 2px;
  border-radius: 2px;
  background: var(--hc-line);
  transition: background-color .3s ease;
}
.hc-match__steps li.is-done::before, .hc-match__steps li.is-current::before { background: var(--hc-primary); }
.hc-match__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--hc-line-strong);
  border-radius: 50%;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.hc-match__steps .is-current { color: var(--hc-dark); font-weight: 600; }
.hc-match__steps .is-current .hc-match__dot { border-color: var(--hc-primary); background: var(--hc-primary); color: var(--hc-dark); box-shadow: 0 0 0 5px rgba(242, 186, 38, .22); }
.hc-match__steps .is-done { color: var(--hc-dark); cursor: pointer; }
.hc-match__steps .is-done .hc-match__dot { border-color: var(--hc-primary); background: #fff center / 16px no-repeat; color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2BA26' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.hc-match__steps .is-done:hover .hc-match__dot, .hc-match__steps .is-done:focus-visible .hc-match__dot { background-color: rgba(242, 186, 38, .18); }
.hc-match__steps .is-done:focus-visible .hc-match__steplabel { text-decoration: underline; }

/* vraag */
.hc-match__step { min-width: 0; margin: 0; padding: 0; border: 0; }
.hc-match__legend { display: flex; flex-direction: column; gap: .4rem; margin: 0 0 .75rem; padding: 0; outline: none; }
.hc-match__count { font-size: 14px; color: var(--hc-muted); }
.hc-match__q {
  font-family: var(--hc-gothic);
  font-size: clamp(44px, 5.2vw, 72px);
  font-weight: 400;
  line-height: .95;
  text-transform: uppercase;
  color: var(--hc-primary);
  outline: none;
}
.hc-match__hint { max-width: 640px; margin: 0 0 2rem; font-size: 16px; line-height: 1.7; }

/* keuzes: foto-, icoon- en lijsttegels delen dezelfde kaart */
.hc-match__places, .hc-match__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hc-match__checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.hc-match__opt { position: relative; display: block; min-width: 0; cursor: pointer; }
.hc-match__opt input { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.hc-match__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--hc-line);
  border-radius: 18px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.hc-match__name {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}
.hc-match__name::after {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--hc-line-strong);
  border-radius: 50%;
  background: #fff center / 13px no-repeat;
  transition: background-color .2s ease, border-color .2s ease;
}
.hc-match__icon { flex-shrink: 0; width: 30px; height: 30px; color: var(--hc-primary); }
.hc-match__opt--photo img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; transition: transform .6s ease; }
.hc-match__opt--photo:hover img { transform: scale(1.04); }
.hc-match__opt--row .hc-match__card { flex-direction: row; align-items: center; padding-left: 16px; }
.hc-match__opt--row .hc-match__icon { width: 26px; height: 26px; }
.hc-match__opt--row .hc-match__name { padding: 15px 16px 15px 12px; }
.hc-match__opt--wide { grid-column: span 2; }
.hc-match__opt--tile .hc-match__card { justify-content: space-between; min-height: 132px; padding: 20px 0 0 18px; }
.hc-match__opt--tile .hc-match__icon { width: 36px; height: 36px; }
.hc-match__opt--tile .hc-match__name { flex: 0 0 auto; padding: 14px 16px 16px 0; }

.hc-match__opt:hover .hc-match__card { border-color: var(--hc-primary); }
.hc-match__opt input:checked + .hc-match__card { border-color: var(--hc-primary); background-color: #FEF8E9; box-shadow: 0 0 0 1.5px var(--hc-primary); }
.hc-match__opt input:checked + .hc-match__card .hc-match__name::after,
.hc-match__consent input:checked + span::before {
  border-color: var(--hc-primary);
  background-color: var(--hc-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.hc-match__opt input:focus-visible + .hc-match__card { outline: 2px solid var(--hc-dark); outline-offset: 2px; }

/* invoervelden */
.hc-match__field { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.hc-match__fieldlabel { font-size: 15px; font-weight: 600; }
.hc-match__fieldlabel abbr { color: var(--hc-primary); text-decoration: none; }
.hc-match__field input, .hc-match__field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--hc-line-strong);
  border-radius: 18px;
  background: #fff;
  font: 400 16px var(--hc-poppins);
  color: var(--hc-dark);
  box-sizing: border-box;
}
.hc-match__field textarea { min-height: 110px; padding: 14px 18px; line-height: 1.6; resize: vertical; }
.hc-match__field input:focus, .hc-match__field textarea:focus { border-color: var(--hc-primary); outline: 2px solid var(--hc-primary); outline-offset: 0; }
.hc-match__other { max-width: 520px; margin-top: 1.25rem; }
.hc-match__budget, .hc-match__contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 760px; }
.hc-match__field--full { grid-column: 1 / -1; }
.hc-match__money { position: relative; display: block; }
.hc-match__money::before { content: "€"; position: absolute; top: 50%; left: 18px; transform: translateY(-50%); font-size: 16px; color: var(--hc-muted); pointer-events: none; }
.hc-match__money input { padding-left: 38px; }
.hc-match__note { display: flex; align-items: flex-start; gap: .65rem; max-width: 760px; margin: 1.5rem 0 0; font-size: 15px; line-height: 1.6; color: var(--hc-muted); }
.hc-match__note .hc-match__icon { width: 22px; height: 22px; }

/* stap 5 */
.hc-match__group { margin-bottom: 2rem; }
.hc-match__label { margin: 0 0 .9rem; font-size: 16px; font-weight: 600; }
.hc-match__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hc-match__chip { position: relative; cursor: pointer; }
.hc-match__chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.hc-match__chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--hc-line-strong);
  border-radius: 9999px;
  background: #fff;
  font-size: 15px;
  transition: background-color .2s ease, border-color .2s ease;
}
.hc-match__chip:hover span { border-color: var(--hc-primary); }
.hc-match__chip input:checked + span { border-color: var(--hc-primary); background: var(--hc-primary); font-weight: 600; }
.hc-match__chip input:focus-visible + span { outline: 2px solid var(--hc-dark); outline-offset: 2px; }
.hc-match__consent { position: relative; display: flex; align-items: center; margin-top: 1.5rem; font-size: 15px; cursor: pointer; }
.hc-match__consent input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hc-match__consent span { display: inline-flex; align-items: center; gap: .75rem; }
.hc-match__consent span::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; border: 1.5px solid var(--hc-line-strong); border-radius: 7px; background: #fff center / 13px no-repeat; }
.hc-match__consent input:focus-visible + span::before { outline: 2px solid var(--hc-dark); outline-offset: 2px; }
.hc-match__consent a { color: var(--hc-dark); text-decoration: underline; text-decoration-color: var(--hc-primary); text-underline-offset: 3px; }

/* knoppen onder de vraag */
.hc-match__error { min-height: 1.6em; margin: 1.5rem 0 0; font-size: 15px; font-weight: 600; color: #8a1c1c; }
.hc-match__nav { display: flex; gap: 1rem; margin-top: 1rem; padding-top: 2rem; border-top: 1px solid var(--hc-line); }
.hc-match__next, .hc-match__submit { margin-left: auto; }

/* na versturen */
.hc-match__done { max-width: 680px; margin: 0 auto; padding: 1rem 0 2rem; text-align: center; font-size: 17px; line-height: 1.7; }
.hc-match__done-icon { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin-bottom: 1.5rem; border-radius: 50%; background: var(--hc-primary); }
.hc-match__done-svg { width: 38px; height: 38px; color: var(--hc-light); stroke-width: 2.4; }
.hc-match__eyebrow { margin: 0 0 .5rem; font: 500 16px/1 var(--hc-naville); color: var(--hc-dark); }
.hc-match__done .hc-match__q { display: block; margin: 0 0 1rem; }
.hc-match__after { display: grid; gap: 1rem; margin: 2rem 0 2.5rem; padding: 0; list-style: none; counter-reset: hc-after; text-align: left; }
.hc-match__after li { position: relative; display: flex; flex-direction: column; padding: 18px 20px 18px 72px; border: 1px solid var(--hc-line); border-radius: 18px; background: #fff; counter-increment: hc-after; font-size: 15px; line-height: 1.5; }
.hc-match__after li::before { content: counter(hc-after); position: absolute; top: 50%; left: 20px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(242, 186, 38, .2); font-weight: 600; transform: translateY(-50%); }
.hc-match__after strong { font-size: 16px; }
.hc-match__after span { color: var(--hc-muted); }
.hc-match__done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* contactblok onder de stappen */
.hc-help {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  padding: 28px 32px;
  border-radius: 24px;
  background: var(--hc-primary);
  color: var(--hc-dark);
  font-family: var(--hc-poppins);
}
.hc-help__photo { width: 88px; height: 88px; border: 3px solid var(--hc-light); border-radius: 50%; object-fit: cover; }
.hc-help__title { margin: 0 0 .25rem; font: 700 20px var(--hc-naville); color: var(--hc-light); }
.hc-help__text p:last-child { margin: 0; font-size: 15px; line-height: 1.6; opacity: .9; }
.hc-help__links { display: flex; flex-direction: column; gap: .6rem; }

@media (max-width: 1000px) {
  .hc-match__places, .hc-match__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hc-match__opt--wide { grid-column: span 3; }
  .hc-help { grid-template-columns: auto minmax(0, 1fr); margin-left: 20px; margin-right: 20px; }
  .hc-help__links { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .hc-match__places, .hc-match__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hc-match__opt--wide { grid-column: 1 / -1; }
  .hc-match__checks, .hc-match__budget, .hc-match__contact { grid-template-columns: 1fr; }
  .hc-match__name { padding: 12px; font-size: 14px; }
  .hc-match__opt--tile .hc-match__card { min-height: 112px; padding: 16px 0 0 14px; }
  .hc-match__opt--tile .hc-match__name { padding: 12px 12px 14px 0; }
  .hc-match__steps li { font-size: 0; }
  .hc-match__steps .is-current { font-size: 12px; }
  .hc-match__steps .is-current .hc-match__steplabel { position: absolute; top: 50px; white-space: nowrap; }
  .hc-match__steps { margin-bottom: 3.5rem; }
  .hc-match__nav { flex-wrap: wrap; }
  .hc-match__nav .hc-btn { flex: 1 1 100%; }
  .hc-match__next, .hc-match__submit { order: -1; margin-left: 0; }
  .hc-help { grid-template-columns: 1fr; justify-items: start; padding: 24px; }
  .hc-help__links { flex-direction: column; width: 100%; }
}

/* ---------------------------------------------------------------- blogartikel (src/wp/post.nl.html) */
.hc-post { --hc-line: rgba(22, 22, 22, .1); color: var(--hc-dark); font-family: var(--hc-poppins); }
.hc-post__head { box-sizing: border-box; max-width: 1180px; margin: 0 auto; padding: clamp(170px, 13vw, 220px) 20px clamp(2.5rem, 4vw, 3.5rem); }
.hc-post__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 1.25rem; font: 700 15px var(--hc-naville); }
.hc-post__crumbs a { color: var(--hc-primary); text-decoration: none; }
.hc-post__crumbs a:hover { text-decoration: underline; }
.hc-post__crumbs .wp-block-post-terms a { color: var(--hc-dark); }
/* categorielabel: één nette pil, ook als de naam lang is (de themaversie is inline en brak lelijk af op mobiel) */
.hc-post__crumbs .taxonomy-category > a { display: inline-block; margin: 0; line-height: 1.25; }
.hc-post__sep { color: rgba(22, 22, 22, .3); }
.hc-post__title {
  max-width: 980px;
  margin: 0;
  font-family: var(--hc-gothic);
  font-size: clamp(48px, 6.4vw, 96px);
  font-weight: 400;
  line-height: .95;
  text-transform: uppercase;
  color: var(--hc-primary);
}
.hc-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 1.5rem 0 0; font-size: 15px; color: #666; }
.hc-post__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--hc-primary); }

.hc-post__layout {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 720px) 300px;
  justify-content: space-between;
  gap: clamp(3rem, 6vw, 6rem);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* de tekst */
.hc-post__body { min-width: 0; counter-reset: hc-sec; font-size: 18px; line-height: 1.8; color: #2b2b2b; }
.hc-post__body p { margin: 0 0 1.25em; }
.hc-post__body strong { font-weight: 600; color: var(--hc-dark); }
.hc-post__body a { color: var(--hc-dark); text-decoration: underline; text-decoration-color: var(--hc-primary); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color .2s ease; }
.hc-post__body a:hover { color: #b98a0e; }
.hc-post__intro { padding-top: 2.25rem; border-top: 1px solid var(--hc-line); }
.hc-post__intro > p { font-size: 21px; line-height: 1.7; color: var(--hc-dark); }
.hc-post__body .wp-block-image { margin: 2.5rem 0 1rem !important; }
.hc-post__body .wp-block-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; }

/* genummerde secties */
.hc-post__section { margin-top: 3.25rem; padding-top: 3rem; border-top: 1px solid var(--hc-line); counter-increment: hc-sec; }
.hc-post__intro + .hc-post__section { margin-top: 2.5rem; padding-top: 0; border-top: 0; }
.hc-post__body h2.wp-block-heading {
  margin: 0 0 1.25rem;
  font-family: var(--hc-gothic);
  font-size: clamp(36px, 3.4vw, 50px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: var(--hc-dark);
  scroll-margin-top: 110px;
}
.hc-post__body h2.wp-block-heading::before { content: counter(hc-sec, decimal-leading-zero); display: block; margin-bottom: .7rem; font: 700 16px var(--hc-naville); color: var(--hc-primary); }
.hc-post__body h3.wp-block-heading { margin: 2rem 0 .6rem; font: 600 21px/1.4 var(--hc-poppins); text-transform: none; color: var(--hc-dark); }

/* alinea's die met een vetgedrukt woord beginnen */
.hc-post__body p.hc-callout { position: relative; margin: 1rem 0; padding: 20px 24px 20px 28px; border: 1px solid var(--hc-line); border-radius: 16px; background: #fff; }
.hc-post__body p.hc-callout::before { content: ""; position: absolute; top: 18px; bottom: 18px; left: 0; width: 4px; border-radius: 0 4px 4px 0; background: var(--hc-primary); }
.hc-post__body p.hc-callout > strong:first-child { display: block; margin-bottom: .3rem; font-size: 17px; }
.hc-post__body p.hc-callout + p:not(.hc-callout) { margin-top: 1.5rem; }

/* lijsten */
.hc-post__body ul.wp-block-list, .hc-post__body ol.wp-block-list { display: grid; gap: .75rem; margin: 1.5rem 0 1.75rem; padding: 0; list-style: none; }
.hc-post__body ol.wp-block-list { counter-reset: hc-li; }
.hc-post__body .wp-block-list > li { position: relative; padding-left: 2.4rem; }
.hc-post__body ul.wp-block-list > li::before {
  content: "";
  position: absolute;
  top: .32em;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--hc-primary) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.hc-post__body ol.wp-block-list > li { counter-increment: hc-li; }
.hc-post__body ol.wp-block-list > li::before { content: counter(hc-li); position: absolute; top: .2em; left: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(242, 186, 38, .22); font: 600 14px/26px var(--hc-poppins); text-align: center; color: var(--hc-dark); }

/* naast de tekst: inhoudsopgave en woningmatch */
.hc-post__aside { position: sticky; top: 120px; align-self: start; display: grid; gap: 1.25rem; }
.hc-post__toc { padding: 24px; border: 1px solid var(--hc-line); border-radius: 18px; background: #fff; }
.hc-post__toc-title { margin: 0 0 .9rem; font: 700 15px var(--hc-naville); color: var(--hc-dark); }
.hc-post__toc ol { display: grid; gap: .15rem; margin: 0; padding: 0; list-style: none; counter-reset: hc-toc; }
.hc-post__toc li { counter-increment: hc-toc; }
.hc-post__toc a { display: flex; gap: .75rem; margin: 0 -10px; padding: 7px 10px; border-radius: 10px; font-size: 14px; line-height: 1.4; color: #555; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.hc-post__toc a::before { content: counter(hc-toc, decimal-leading-zero); flex-shrink: 0; font: 700 13px/1.6 var(--hc-naville); color: rgba(22, 22, 22, .35); }
.hc-post__toc a:hover { background: rgba(242, 186, 38, .12); color: var(--hc-dark); }
.hc-post__toc a.is-active { background: rgba(242, 186, 38, .2); font-weight: 600; color: var(--hc-dark); }
.hc-post__toc a.is-active::before { color: var(--hc-primary); }
.hc-post__mini { padding: 24px; border-radius: 18px; background: var(--hc-primary); color: var(--hc-dark); }
.hc-post__mini .hc-btn { width: 100%; padding-right: 18px; padding-left: 18px; white-space: nowrap; }
.hc-post__eyebrow { margin: 0 0 .5rem; font: 500 16px/1 var(--hc-naville); color: var(--hc-dark); }
.hc-post__mini-title { margin: 0 0 1.25rem; font-family: var(--hc-gothic); font-size: 34px; line-height: 1; text-transform: uppercase; color: var(--hc-light); }

/* onder het artikel */
.hc-post__cta {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.5rem 2.5rem;
  align-items: center;
  width: calc(100% - 40px);
  max-width: 1140px;
  margin: clamp(4rem, 8vw, 6rem) auto 0;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 28px;
  background: var(--hc-primary);
  color: var(--hc-dark);
}
.hc-post__cta-photo { width: 110px; height: 110px; border: 3px solid var(--hc-light); border-radius: 50%; object-fit: cover; }
.hc-post__cta-title { margin: 0 0 .75rem; font-family: var(--hc-gothic); font-size: clamp(38px, 4vw, 56px); font-weight: 400; line-height: 1; text-transform: uppercase; color: var(--hc-light); }
.hc-post__cta-text p:last-child { max-width: 520px; margin: 0; font-size: 16px; line-height: 1.7; }
.hc-post__cta-actions { display: flex; flex-direction: column; gap: .75rem; }
.hc-post__more { width: calc(100% - 40px); max-width: 1140px; margin: clamp(4rem, 8vw, 6rem) auto clamp(5rem, 9vw, 8rem); }
.hc-post__more-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.hc-post__more-title { margin: 0; font-family: var(--hc-gothic); font-size: clamp(44px, 5vw, 72px); font-weight: 400; line-height: 1; text-transform: uppercase; color: var(--hc-primary); }
.hc-post__all { font: 700 15px var(--hc-naville); color: var(--hc-dark); text-decoration: none; white-space: nowrap; }
.hc-post__all:hover { color: var(--hc-primary); }
.hc-post__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hc-related { display: flex; flex-direction: column; color: var(--hc-dark); text-decoration: none; }
.hc-related img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; margin-bottom: 1rem; border-radius: 18px; object-fit: cover; transition: transform .4s ease; }
.hc-related:hover img { transform: translateY(-4px); }
.hc-related__cat { margin-bottom: .4rem; font: 700 14px var(--hc-naville); color: var(--hc-primary); }
.hc-related__title { margin-bottom: .75rem; font-family: var(--hc-gothic); font-size: 30px; line-height: 1.05; text-transform: uppercase; }
.hc-related__more { margin-top: auto; font-size: 15px; font-weight: 600; }
.hc-related:hover .hc-related__more { color: #b98a0e; }

/* leesvoortgang */
.hc-progress { position: fixed; top: 0; right: 0; left: 0; z-index: 100000; height: 3px; background: var(--hc-primary); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

@media (max-width: 1080px) {
  .hc-post__head { max-width: 760px; }
  .hc-post__layout { grid-template-columns: minmax(0, 720px); justify-content: center; }
  .hc-post__aside { display: none; }
  .hc-post__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-post__cta { grid-template-columns: auto minmax(0, 1fr); }
  .hc-post__cta-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .hc-post__crumbs { font-size: 13px; }
  .hc-post__body { font-size: 17px; }
  .hc-post__intro > p { font-size: 19px; }
  .hc-post__body .wp-block-image img { border-radius: 16px; }
  .hc-post__cards { grid-template-columns: 1fr; }
  .hc-post__cta { grid-template-columns: 1fr; }
  .hc-post__cta-photo { width: 84px; height: 84px; }
  .hc-post__cta-actions .hc-btn { width: 100%; }
  .hc-post__more-head { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------------- lopende tekst op de homepage en Hello Us
   Zelfde woorden als op de WordPress-site; alleen in kortere alinea's, met een inleiding, tussenkop, kaartje en uitspraak. */
.hc-prose { color: #2b2b2b; }
.hc-prose p { margin: 0 0 1.1em; font-size: 17px; line-height: 1.75; }
.hc-prose .hc-lead { margin-bottom: .8em; font-size: 21px; font-weight: 500; line-height: 1.55; color: var(--hc-dark); }
.hc-prose .hc-q { margin: 1.9rem 0 .6rem; font: 600 19px/1.4 var(--hc-poppins); text-transform: none; color: var(--hc-dark); }
.hc-prose .hc-statement {
  margin: 2.2rem 0 1rem;
  font-family: var(--hc-gothic);
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 400;
  line-height: .95;
  text-transform: uppercase;
  color: var(--hc-primary);
}
.hc-prose .hc-note { position: relative; padding: 18px 22px 18px 28px; border: 1px solid rgba(22, 22, 22, .08); border-radius: 16px; background: #fff; font-size: 16px; line-height: 1.7; }
.hc-prose .hc-note::before { content: ""; position: absolute; top: 16px; bottom: 16px; left: 0; width: 4px; border-radius: 0 4px 4px 0; background: var(--hc-primary); }
.hc-prose > :last-child { margin-bottom: 0; }

/* in het vaste tekstblok naast de scrollende foto's: past binnen één schermhoogte */
.hc-prose--compact { margin-top: 1.25rem; }
.hc-prose--compact p { margin-bottom: .8em; font-size: 15px; line-height: 1.65; }
.hc-prose--compact .hc-lead { font-size: 19px; line-height: 1.4; }
.hc-prose--compact .hc-note { padding: 13px 18px 13px 24px; font-size: 14.5px; line-height: 1.6; }
.sticky-section:has(.hc-prose--compact) .sticky-text-content h2.wp-block-heading { font-size: clamp(56px, 5.4vw, 80px) !important; }
/* Is het scherm te laag voor de hele tekst, dan scrolt het tekstblok gewoon mee in plaats van vast te staan
   (anders valt het onderste deel buiten beeld). */
@media (min-width: 1025px) and (max-height: 820px) {
  .sticky-section:has(.hc-prose--compact) .sticky-text-column { position: relative; align-self: flex-start; height: auto; padding-top: 4rem; padding-bottom: 4rem; }
}

/* Hello Us: de intro in een leesbare kolom, het verhaal met een prettige regellengte */
.hc-prose--center > * { max-width: 720px; margin-right: auto !important; margin-left: auto !important; }
.hc-prose--center .hc-lead { font-size: 24px; line-height: 1.45; }
.hc-prose--story > p { max-width: 640px; }
/* het verhaal begint met een grote gele beginletter in plaats van een zware inleiding */
.hc-prose--story .hc-lead { font-size: 17px; font-weight: 400; line-height: 1.75; color: #2b2b2b; }
.hc-prose--story .hc-lead::first-letter { float: left; margin: .1em .12em 0 0; font-family: var(--hc-gothic); font-size: 4.6em; line-height: .8; color: var(--hc-primary); }
.hc-prose--story .hc-statement { margin-top: 2rem; }

/* tekst op een foto (Hello Experience) */
.hc-onphoto { max-width: 680px; margin-right: auto !important; margin-left: auto !important; font-size: 17px; line-height: 1.75; text-shadow: 0 1px 14px rgba(22, 22, 22, .45); }

@media (max-width: 700px) {
  .hc-prose p { font-size: 16px; }
  .hc-prose .hc-lead, .hc-prose--center .hc-lead { font-size: 19px; }
}

/* Hello Us: uitnodiging op de plek van "Dus dat deden we." (tekst van Roger, 17/11) */
.hc-prose .hc-invite {
  margin: 2.2rem 0 1rem;
  padding: 1.4rem 1.6rem;
  border-radius: 18px;
  background: var(--hc-primary);
  color: var(--hc-dark);
  font-size: 19px;
  line-height: 1.6;
}
.hc-prose .hc-invite a { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hc-prose .hc-invite a:hover { text-decoration-color: var(--hc-light); }

/* ---------------------------------------------------------------- Hello Stories: verhaalpagina's
   De verhalen komen uit Rogers artifact (tools/import_stories.py): opmaak inline, deze klassen uit het artifact. */
.hc-story { background: var(--hc-light); color: var(--hc-dark); font-family: var(--hc-poppins); overflow-x: clip; }
.hc-story__top { height: clamp(90px, 8vw, 140px); }
.hc-story a { color: var(--hc-dark); }
.hc-story a:hover { color: #8a5a00; }
.hc-story p { letter-spacing: normal; }
.hc-story .gothic { font-family: var(--hc-gothic); text-transform: uppercase; font-weight: 400; letter-spacing: .005em; }
.hc-story .serif { font-family: var(--hc-naville); font-weight: 400; }
.hc-story .label { font-family: var(--hc-naville); font-weight: 700; font-size: 20px; text-transform: uppercase; color: var(--hc-primary); margin: 0; }
.hc-story .tk { margin: 64px 0 16px; font-size: 56px; line-height: 1; color: var(--hc-primary); }
.hc-story .bt { margin: 0 0 20px; font-size: 17px; line-height: 1.75; color: #2b2b2b; }
.hc-story .lead-in::first-letter { float: left; font-family: var(--hc-gothic); font-size: 128px; line-height: .8; padding: 6px 14px 0 0; color: var(--hc-primary); }
.hc-story figure { margin: 0; }
.hc-story .inset { float: right; width: 300px; margin: 8px -140px 24px 36px; }
.hc-story .inset-big { float: left; width: 440px; margin: 8px 40px 28px -220px; }
.hc-story .inset-big img { display: block; width: 100%; height: auto; box-shadow: 0 18px 40px rgba(42, 39, 35, .18); }
.hc-story .open { max-width: 1100px; margin: 0 auto; padding: 72px 32px 24px; display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; }
.hc-story .open-txt { grid-column: 1; grid-row: 1; }
.hc-story .open-fig { grid-column: 2; grid-row: 1; margin: 0; position: relative; }
.hc-story .open-fig img { display: block; width: 100%; height: auto; box-shadow: 0 18px 40px rgba(42, 39, 35, .18); }
.hc-story .open-fig .tag { position: absolute; left: -28px; bottom: 36px; background: var(--hc-primary); color: #fff; font-family: var(--hc-gothic); text-transform: uppercase; font-size: 30px; line-height: 1; padding: 12px 18px; }
.hc-story .ch { max-width: 900px; margin: 0 auto; padding: 0 32px; }
.hc-story .num { font-family: var(--hc-gothic); font-size: 96px; line-height: .85; color: var(--hc-primary); margin: 56px 0 6px; }
.hc-story .ch h2, .hc-story .wrap h2 { margin: 56px 0 20px; font-family: var(--hc-gothic); text-transform: uppercase; font-weight: 400; font-size: 56px; line-height: 1; color: var(--hc-primary); }
.hc-story .wrap-fig { float: left; width: 400px; margin: 6px 48px 28px 0; }
.hc-story--harpreet-en-simarpreet .label { font-size: 15px; letter-spacing: .08em; }
@media (max-width: 1200px) { .hc-story .inset-big { width: 380px; margin-left: 0; } }
@media (max-width: 1100px) { .hc-story .inset { margin-right: 0; } }
@media (max-width: 900px) {
  .hc-story .open { grid-template-columns: 1fr; gap: 36px; }
  .hc-story .open-txt, .hc-story .open-fig { grid-column: 1; grid-row: auto; }
  .hc-story .open-fig .tag { left: 16px; }
}
@media (max-width: 760px) {
  .hc-story .wrap-fig { float: none; width: 100%; margin: 0 0 32px; }
  .hc-story .num { font-size: 72px; }
  .hc-story .ch h2, .hc-story .wrap h2 { font-size: 40px; }
  /* tekstkader op de liggende foto (Harpreet): op mobiel onder de foto */
  .hc-story figure > figcaption[style*="position: absolute"] { position: static !important; width: auto !important; padding: 28px 20px !important; gap: 14px; }
}
@media (max-width: 700px) {
  .hc-story section[style*="padding"] { padding-left: 20px !important; padding-right: 20px !important; }
  .hc-story .ch { padding: 0 20px; }
  .hc-story .inset, .hc-story .inset-big { float: none; width: 100%; margin: 8px 0 28px; }
  .hc-story .tk { font-size: 44px; }
  .hc-story aside[style*="padding: 36px 40px"] { padding: 28px 24px !important; }
  .hc-story p[style*="font-size: 24px"], .hc-story p[style*="font-size: 26px"] { font-size: 20px !important; }
}

/* ---------------------------------------------------------------- Hello Stories: overzicht */
.hc-story-cards { display: grid; gap: clamp(3.5rem, 7vw, 6rem); max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.hc-story-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.75rem, 4vw, 4rem); align-items: center; }
.hc-story-card:nth-child(even) .hc-story-card__photo { order: 2; }
.hc-story-card__photo { display: block; overflow: hidden; border-radius: 18px; }
.hc-story-card__photo img { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; transition: transform .6s ease; }
.hc-story-card:hover .hc-story-card__photo img { transform: scale(1.03); }
.hc-story-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin: 0 0 1rem; font: 600 15px var(--hc-naville); color: var(--hc-dark); }
.hc-story-card__tag { display: inline-block; padding: 6px 14px; border-radius: 9999px; background: var(--hc-primary); color: var(--hc-dark); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.hc-story-card__title { margin: 0 0 1.1rem; font-family: var(--hc-gothic); font-weight: 400; font-size: clamp(44px, 5.4vw, 80px); line-height: .92; text-transform: uppercase; }
.hc-story-card__title a { color: var(--hc-primary); text-decoration: none; }
.hc-story-card__title a:hover { color: #E3A91A; }
.hc-story-card__lead { margin: 0 0 1.6rem; font-size: 17px; line-height: 1.75; color: #2b2b2b; }
@media (max-width: 800px) {
  .hc-story-card { grid-template-columns: 1fr; }
  .hc-story-card:nth-child(even) .hc-story-card__photo { order: 0; }
  .hc-story-card__photo img { aspect-ratio: 4 / 3; }
}
.hc-story-card:nth-child(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
@media (max-width: 800px) { .hc-story-card:nth-child(even) { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Hello Magazine (/nl/magazine/)
   Rogers A4-pagina's (794 × 1123 px, tools/import_magazine.py) als echte HTML; /js/hc-magazine.js schaalt ze
   passend (--hc-mag-scale). Lettertypen van het magazine zelf gehost (OFL), alleen geladen op deze pagina's. */
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/magazine/bodoni-moda-latin-opsz-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/magazine/bodoni-moda-latin-ext-opsz-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 900; font-display: swap; src: url(/fonts/magazine/bodoni-moda-latin-opsz-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 900; font-display: swap; src: url(/fonts/magazine/bodoni-moda-latin-ext-opsz-italic.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Ms Madi'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/magazine/ms-madi-latin-400-normal.woff2) format('woff2'); }

.hc-mag { background: var(--hc-light); color: var(--hc-dark); font-family: var(--hc-poppins); }
.hc-mag__head { box-sizing: border-box; max-width: 900px; margin: 0 auto; padding: clamp(150px, 12vw, 210px) 20px clamp(2rem, 4vw, 3rem); text-align: center; }
.hc-mag__eyebrow { margin: 0 0 .8rem; font: 600 16px/1 var(--hc-naville); }
.hc-mag__title { margin: 0 0 1.6rem; font-family: var(--hc-gothic); font-weight: 400; font-size: clamp(52px, 8vw, 110px); line-height: .9; text-transform: uppercase; color: var(--hc-primary); }
.hc-mag__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.hc-mag__pages { --hc-mag-scale: 1; display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 3vw, 40px); padding: 0 clamp(0px, 3vw, 40px) clamp(4rem, 8vw, 7rem); }

/* één pagina: vaste A4-opmaak, geschaald naar de beschikbare breedte; de standaardopmaak van een browser
   (zoals in Rogers ontwerp) in plaats van die van het thema */
.hc-mag__page { position: relative; width: min(100%, 860px); aspect-ratio: 794 / 1123; overflow: hidden; background: #fff; box-shadow: 0 18px 48px rgba(42, 39, 35, .16); scroll-margin-top: 110px; font-size: 16px; line-height: normal; letter-spacing: normal; font-weight: 400; text-transform: none; text-align: left; }
.hc-mag__page > div { position: absolute !important; top: 0; left: 0; transform: scale(var(--hc-mag-scale)); transform-origin: 0 0; }
.hc-mag__page, .hc-mag__page * { box-sizing: content-box; }
.hc-mag__page [style*="box-sizing: border-box"] { box-sizing: border-box; }
.hc-mag__page img { max-width: none; border-radius: 0; }
.hc-mag__page p { font-size: inherit; line-height: inherit; }
.hc-mag__page a { color: #2A2723; }
.hc-mag__page a:hover { color: #000; }
.hc-mag__page--dark a { color: #FFFFFF; }
.hc-mag__page--dark a:hover { color: #F8F4EB; }
@media (max-width: 700px) { .hc-mag__page { box-shadow: 0 8px 24px rgba(42, 39, 35, .14); } }

/* desktop en liggende tablet: opengeslagen, twee pagina's naast elkaar (even links, oneven rechts),
   de cover en de achterkant los in het midden, met een zachte vouw in het midden van elk blad */
@media (min-width: 1100px) {
  .hc-mag__pages { display: grid; grid-template-columns: repeat(2, min(calc(50vw - 60px), 640px)); justify-content: center; column-gap: 0; row-gap: clamp(28px, 3vw, 48px); }
  .hc-mag__page { width: 100%; box-shadow: 0 14px 36px rgba(42, 39, 35, .14); }
  .hc-mag__page:first-child, .hc-mag__page:last-child:nth-child(even) { grid-column: 1 / -1; justify-self: center; width: 50%; }
  .hc-mag__page::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
  .hc-mag__page:nth-child(even):not(:last-child)::after { background: linear-gradient(to left, rgba(42, 39, 35, .16), rgba(42, 39, 35, 0) 7%); }
  .hc-mag__page:nth-child(odd):not(:first-child)::after { background: linear-gradient(to right, rgba(42, 39, 35, .12), rgba(42, 39, 35, 0) 6%); }
}

/* afdrukken en de pdf (tools/build_magazine_pdf.cjs): alleen de pagina's, op ware grootte, één per vel */
@media print {
  @page { size: 794px 1123px; margin: 0; }
  html, body { background: #fff !important; }
  body:has(.hc-mag) .wp-site-blocks > :not(main), body:has(.hc-mag) .fixed-form-popup-wrapper, .hc-mag__head, #wp-skip-link { display: none !important; }
  .hc-mag__pages { --hc-mag-scale: 1 !important; display: block; padding: 0; }
  .hc-mag__page { width: 794px; height: 1123px; aspect-ratio: auto; margin: 0; box-shadow: none; break-after: page; }
  .hc-mag__page:last-child { break-after: auto; }
  .hc-mag__page::after { display: none !important; }
  .hc-mag__page:first-child, .hc-mag__page:last-child { width: 794px !important; }
}
