/* De Huiszwaluw – de stijlpagina: wandeling met leesvenster. Bouwt voort op tour.css. */
.hz-stijl {
  --hz-inkt: #1a202c;
  --hz-bruin: #5c1d01;
  --hz-koper: #6d5a43;
  --hz-rand: clamp(16px, 4vw, 48px);
  --hz-klein: 'Helvetica Neue', Arial, sans-serif;
  --hz-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  display: block;
  background: #fcfaf7;
  color: var(--hz-inkt);
}
.hz-stijl *, .hz-stijl *::before, .hz-stijl *::after { box-sizing: border-box; }
.hz-stijl .hz-tour, .hz-stijl .hz-gangloop { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; max-width: 100% !important; }

/* tekst bij de kamers */
.hz-stijl .hz-bij h1 { font-family: var(--hz-serif); font-size: clamp(56px, 8vw, 132px); line-height: .92; font-weight: 400; letter-spacing: -.02em; margin: 0 0 16px; padding: 0; color: #fff; }
.hz-stijl .hz-bij .hz-ondertitel { font-style: italic; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.2; }
.hz-stijl .hz-hoofdstuk { font-family: var(--hz-klein); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #d9a77a; display: block; margin-bottom: 14px; }
.hz-stijl .hz-bij button { pointer-events: auto; }
.hz-stijl button.hz-leesknop { display: inline-block; font-family: var(--hz-klein); font-size: 12px; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; background: none; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; padding: 0 0 3px; margin: 0; min-height: 0; color: #fff; cursor: pointer; box-shadow: none; }
.hz-stijl button.hz-leesknop::after { content: ' →'; }
.hz-stijl button.hz-leesknop:hover, .hz-stijl button.hz-leesknop:focus { color: #d9a77a; background: none; }

/* liever lezen dan lopen */
.hz-stijl .hz-label { font-family: var(--hz-klein); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--hz-koper); display: block; margin-bottom: 8px; }
.hz-stijl .hz-leeslint { text-align: center; padding: clamp(56px, 9vh, 96px) var(--hz-rand); font-family: var(--hz-serif); }
.hz-stijl .hz-leeslint h2 { font-family: var(--hz-serif); font-size: clamp(34px, 4vw, 60px); font-weight: 400; line-height: 1.05; margin: 0 0 14px; padding: 0; }
.hz-stijl .hz-leeslint h2 em { font-style: italic; color: var(--hz-bruin); }
.hz-stijl .hz-leeslint p { font-size: 21px; line-height: 1.5; max-width: 44ch; margin: 0 auto 22px; }
.hz-stijl button.hz-knop-lijn { display: inline-block; font-family: var(--hz-klein); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; padding: 14px 24px; min-height: 0; background: transparent; color: var(--hz-inkt); border: 1px solid var(--hz-inkt); border-radius: 0; box-shadow: none; cursor: pointer; }
.hz-stijl button.hz-knop-lijn:hover, .hz-stijl button.hz-knop-lijn:focus { background: var(--hz-inkt); color: #fff; }

/* de collectieblokken onder de gang */
.hz-stijl .hz-stijl-rest { padding: clamp(56px, 9vh, 110px) var(--hz-rand); }
.hz-stijl .hz-stijl-breed { max-width: 1280px; margin: 0 auto; font-family: var(--hz-serif); font-size: 20px; line-height: 1.6; }
.hz-stijl .hz-stijl-breed h2 { font-family: var(--hz-serif); font-size: clamp(30px, 3.4vw, 44px) !important; font-weight: 400; line-height: 1.1; margin: 1.6em 0 .6em; padding: 0; }
.hz-stijl .hz-stijl-breed h2:first-child { margin-top: 0; }
.hz-stijl .hz-stijl-breed h2 strong { font-weight: 400; }

/* het leesvenster */
.hz-stijl .hz-sluier { position: fixed; inset: 0; z-index: 100000; background: rgba(14, 10, 6, .5); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.hz-stijl .hz-leesvenster { position: fixed; z-index: 100001; left: 0; top: 0; bottom: 0; width: min(680px, 100vw); background: #fcfaf7; color: var(--hz-inkt); transform: translateX(-102%); visibility: hidden; transition: transform .55s cubic-bezier(.2, .7, .2, 1), visibility .55s; overflow-y: auto; overscroll-behavior: contain; padding: clamp(28px, 5vh, 56px) clamp(22px, 4vw, 56px) 80px; box-shadow: 30px 0 60px rgba(0, 0, 0, .35); font-family: var(--hz-serif); }
html.hz-lezen { overflow: hidden; }
html.hz-lezen .hz-stijl .hz-sluier { opacity: 1; visibility: visible; }
html.hz-lezen .hz-stijl .hz-leesvenster { transform: none; visibility: visible; }
.hz-stijl button.hz-dicht { position: sticky; top: 0; z-index: 2; float: right; font-family: var(--hz-klein); font-size: 11px; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; background: #fcfaf7; color: var(--hz-inkt); border: 1px solid var(--hz-inkt); border-radius: 0; padding: 8px 12px; min-height: 0; margin: -6px -6px 0 12px; cursor: pointer; box-shadow: none; }
.hz-stijl button.hz-dicht:hover, .hz-stijl button.hz-dicht:focus { background: var(--hz-inkt); color: #fff; }
.hz-stijl .hz-leestekst { clear: both; font-size: 21px; line-height: 1.65; text-align: left; }
.hz-stijl .hz-leestekst p, .hz-stijl .hz-leestekst h2, .hz-stijl .hz-leestekst h3, .hz-stijl .hz-leestekst li { text-align: left !important; }
.hz-stijl .hz-leestekst > * { max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
.hz-stijl .hz-leestekst h2 { font-family: var(--hz-serif); font-size: clamp(28px, 3vw, 40px) !important; font-weight: 400; line-height: 1.1; margin: 38px 0 14px; padding: 0; text-wrap: balance; scroll-margin-top: 20px; outline: 0; }
.hz-stijl .hz-leestekst h2 strong { font-weight: 400; }
.hz-stijl .hz-leestekst h2.hz-hier { color: var(--hz-bruin); }
.hz-stijl .hz-leestekst h3 { font-family: var(--hz-serif); font-size: 26px; font-weight: 500; line-height: 1.2; margin: 26px 0 10px; }
.hz-stijl .hz-leestekst p { font-size: 21px; line-height: 1.65; margin: 0 0 16px; }
.hz-stijl .hz-leestekst img { max-width: 100%; height: auto; border-radius: 0; }
.hz-stijl .hz-leestekst figure { margin: 22px 0; }
.hz-stijl .hz-leestekst .wp-block-cover { min-height: 220px !important; margin: 0 0 18px; }
.hz-stijl .hz-leestekst .wp-block-cover p { font-size: 20px !important; line-height: 1.3; margin: 0 0 8px; }
.hz-stijl .hz-leestekst .wp-block-media-text { display: block; margin: 22px 0; }
.hz-stijl .hz-leestekst .wp-block-media-text__media { margin: 0 0 14px; }
.hz-stijl .hz-leestekst .wp-block-media-text__content { padding: 0; }
.hz-stijl .hz-leestekst .hz-op-de-foto { font-family: var(--hz-klein); font-size: 13px !important; line-height: 1.5 !important; color: #5a5f69; }
.hz-stijl .hz-onder { border-top: 1px solid #e3ddd3; margin: 28px 0 0; padding-top: 16px; font-family: var(--hz-klein); font-size: 12px; letter-spacing: .1em; color: #5a5f69; }

@media (max-width: 860px) {
  .hz-stijl .hz-bij h1 { font-size: clamp(48px, 15vw, 76px); }
  .hz-stijl .hz-leestekst, .hz-stijl .hz-leestekst p { font-size: 19px; }
  .hz-stijl .hz-leeslint p { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .hz-stijl .hz-leesvenster, .hz-stijl .hz-sluier { transition: none; } }

/* de stijltijdlijn onderaan: alle stijlkamers op een rij, de huidige gemarkeerd */
.hz-stijl .hz-stijlas { text-align: center; padding: clamp(56px, 9vh, 100px) var(--hz-rand) clamp(60px, 10vh, 110px); font-family: var(--hz-serif); background: #f0ebe3; border-top: 1px solid #d9d0c3; }
.hz-stijl .hz-stijlas h2 { font-family: var(--hz-serif); font-size: clamp(32px, 3.6vw, 54px); font-weight: 400; line-height: 1.05; margin: 0; padding: 0; }
.hz-stijl .hz-stijlas h2 em { font-style: italic; color: var(--hz-bruin); }
.hz-stijl .hz-stijlas-rij { position: relative; list-style: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; max-width: 1560px; margin: clamp(44px, 7vh, 70px) auto 0; padding: 30px 0 0; }
.hz-stijl .hz-stijlas-rij::before { content: ''; position: absolute; left: 0; right: 0; top: 0; border-top: 1px solid #a8977f; }
.hz-stijl .hz-stijlas-rij li { margin: 0; padding: 0; list-style: none; min-width: 0; }
.hz-stijl .hz-stijlas-rij a { position: relative; display: block; text-decoration: none; color: var(--hz-inkt); }
.hz-stijl .hz-stijlas-rij a::before { content: ''; position: absolute; left: 50%; top: -35px; width: 9px; height: 9px; margin-left: -5px; border-radius: 50%; background: #f0ebe3; border: 1px solid #6d5a43; transition: background .25s, transform .25s; }
.hz-stijl .hz-stijlas-beeld { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #e2dbd0; box-shadow: 0 10px 18px -10px rgba(30, 22, 14, .45); }
.hz-stijl .hz-stijlas-beeld img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); transition: filter .35s, transform .6s; }
.hz-stijl .hz-stijlas-rij b { display: block; margin-top: 12px; font-family: var(--hz-klein); font-size: 10.5px; font-weight: 500; letter-spacing: .18em; color: #6d5a43; }
.hz-stijl .hz-stijlas-rij em { display: block; margin-top: 3px; font-style: normal; font-size: 17px; line-height: 1.2; overflow-wrap: anywhere; }
.hz-stijl .hz-stijlas-rij a:hover img, .hz-stijl .hz-stijlas-rij a:focus img { filter: none; transform: scale(1.04); }
.hz-stijl .hz-stijlas-rij a:hover::before, .hz-stijl .hz-stijlas-rij a:focus::before { background: var(--hz-bruin); transform: scale(1.3); }
.hz-stijl .hz-stijlas-rij a:hover em, .hz-stijl .hz-stijlas-rij a:focus em { color: var(--hz-bruin); }
.hz-stijl .hz-stijlas-rij .hz-hier a::before { background: var(--hz-bruin); border-color: var(--hz-bruin); transform: scale(1.4); }
.hz-stijl .hz-stijlas-rij .hz-hier .hz-stijlas-beeld { outline: 2px solid var(--hz-bruin); outline-offset: 3px; }
.hz-stijl .hz-stijlas-rij .hz-hier img { filter: none; }
.hz-stijl .hz-stijlas-rij .hz-hier em { color: var(--hz-bruin); font-style: italic; }
@media (max-width: 1100px) {
  /* op een smal scherm schuift de rij opzij */
  .hz-stijl .hz-stijlas { padding-left: 0; padding-right: 0; }
  .hz-stijl .hz-stijlas .hz-label, .hz-stijl .hz-stijlas h2 { padding-left: var(--hz-rand); padding-right: var(--hz-rand); }
  .hz-stijl .hz-stijlas-rij { display: flex; gap: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scrollbar-width: none; padding: 30px var(--hz-rand) 6px; }
  .hz-stijl .hz-stijlas-rij::-webkit-scrollbar { display: none; }
  .hz-stijl .hz-stijlas-rij::before { right: auto; width: calc(12 * 146px + 2 * var(--hz-rand)); }
  .hz-stijl .hz-stijlas-rij li { flex: 0 0 132px; scroll-snap-align: center; }
}
