/* HOMEPAGE EN PERIODEPAGINA'S NAAR HET MODEL VAN WORLD HISTORY ENCYCLOPEDIA, IN DE IVOORSTIJL.
   Geladen op de homepage en de vijf periodepagina's (base.njk), na ivory-site.css. Alle regels hangen
   aan hp-/ep-klassen uit site/content/index.njk en site/_includes/era.njk.

   GECONSOLIDEERD 2026-11-18 (audit). Dit blad was in lagen gegroeid: dezelfde selector werd op meerdere
   plekken opnieuw gezet en de laatste won. Nu staat elke regel één keer, met de waarde die toen won.
   editorial-ivory-home.css (het eerdere homepageontwerp) is vervallen; van de 42 kB werd 7 % nog
   gebruikt, en de drie regels die nog iets deden staan hieronder onder "Homepage-specifiek". */
:root {
  --hp-paper: #efede8;
  --hp-card: #ffffff;
  --hp-ink: #24251f;
  --hp-muted: #5d574c;
  --hp-gold: #a17d42;
  --hp-gold-dark: #7c5d2c;
  --hp-line: #dad4c8;
  --hp-dark: #292e2c;
  --hp-serif: "Newsreader", Georgia, serif;
  --hp-sans: "Archivo", Arial, sans-serif;
}

/* Homepage-specifiek (overgenomen uit het vervallen editorial-ivory-home.css) */
body:has(.hp-masthead) main { max-width: 1260px; margin: auto; }
@media (min-width: 1000px) {
  /* De homepage draagt haar eigen grote zoekveld; het kleine in de kopbalk zou het herhalen. */
  body:has(.hp-masthead) .site-header .header-search { display: none; }
}

/* 1. Kop met zoekveld */
.hp-masthead { text-align: center; padding: clamp(1.8rem, 4vw, 3.2rem) 1rem clamp(1.4rem, 3vw, 2.2rem); border-bottom: 1px solid var(--hp-line); margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.hp-masthead h1 { font-family: var(--hp-serif); font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.06; letter-spacing: -.02em; margin: 0 auto .7rem; max-width: 900px; color: var(--hp-ink); }
.hp-masthead-lede { font-family: var(--hp-serif); font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--hp-muted); max-width: 680px; margin: 0 auto 1.3rem; }
.hp-search { display: flex; max-width: 640px; margin: 0 auto; border: 1px solid #b9a888; background: #fff; }
.hp-search input { flex: 1; min-width: 0; border: 0; padding: .85rem 1rem; font: 1rem var(--hp-sans); background: transparent; color: var(--hp-ink); }
.hp-search input:focus { outline: 2px solid var(--hp-gold); outline-offset: -2px; }
.hp-search button { border: 0; background: var(--hp-gold); color: #fff; font: 700 .78rem var(--hp-sans); letter-spacing: .14em; text-transform: uppercase; padding: 0 1.4rem; cursor: pointer; }
.hp-search button:hover { background: var(--hp-gold-dark); }
.hp-masthead .trust-line { justify-content: center; margin-top: 1rem; font-size: .82rem; color: var(--hp-muted); }

/* Opbouw: hoofdkolom met rechterkolom */
.hp-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.6rem, 3vw, 2.6rem); align-items: start; }
.hp-section { margin-top: clamp(2.6rem, 5vw, 4rem); }
.hp-main > section + section { margin-top: clamp(2.2rem, 4vw, 3rem); }

/* Sectiekop: titel links, meer-link rechts */
.hp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--hp-line); padding-bottom: .55rem; margin-bottom: 1.2rem; position: relative; }
.hp-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 3.2rem; height: 2px; background: var(--hp-gold); }
.hp-head h2 { font-family: var(--hp-serif); font-weight: 500; font-size: clamp(1.55rem, 2.4vw, 2.1rem); letter-spacing: -.01em; line-height: 1.1; margin: 0; color: var(--hp-ink); text-transform: none; }
.hp-head h2::before, .hp-head h2::after { content: none; }
.hp-head a, .hp-more { font: 700 .74rem var(--hp-sans); letter-spacing: .13em; text-transform: uppercase; color: var(--hp-gold-dark); text-decoration: none; white-space: nowrap; }
.hp-head a:hover, .hp-more:hover { color: var(--hp-ink); text-decoration: underline; }
.hp-lede { font-family: var(--hp-sans); font-size: .95rem; line-height: 1.6; color: var(--hp-muted); max-width: 820px; margin: -.3rem 0 1.2rem; }
.hp-kicker { font: 700 .7rem/1.3 var(--hp-sans); letter-spacing: .13em; text-transform: uppercase; color: var(--hp-gold-dark); margin: 0 0 .35rem; }
.hp-kicker a { color: inherit; }

/* 2. Het hoofdverhaal als één filmisch beeld: de foto vult het vlak, de tekst staat linksonder op een
   donker verloop dat alleen achter de tekst valt. */
.hp-lead { display: block; position: relative; overflow: hidden; background: #1d1a16; color: #f6f0e6; aspect-ratio: 16 / 9; }
.hp-lead-img { display: block; position: absolute; inset: 0; overflow: hidden; }
.hp-lead-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hp-lead:hover .hp-lead-img img { transform: scale(1.025); }
.hp-lead::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(18,14,10,.78) 0%, rgba(18,14,10,.45) 42%, rgba(18,14,10,0) 70%), linear-gradient(0deg, rgba(18,14,10,.7) 0%, rgba(18,14,10,0) 55%); }
.hp-lead-body { position: absolute; z-index: 1; left: 0; bottom: 0; max-width: 62%; padding: clamp(1.4rem, 3vw, 2.6rem); display: flex; flex-direction: column; justify-content: flex-end; }
.hp-lead .hp-kicker { color: #d6b77c; }
.hp-lead h2 { font-family: var(--hp-serif); font-weight: 500; font-size: clamp(1.7rem, 2.7vw, 2.55rem); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .8rem; }
.hp-lead h2 a { color: #fff7eb; text-decoration: none; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.hp-lead h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hp-lead-body > p:not(.hp-kicker) { font-family: var(--hp-serif); font-size: 1.05rem; line-height: 1.5; color: #efe7da; text-shadow: 0 1px 6px rgba(0,0,0,.5); margin: 0 0 1.3rem; }
.hp-btn { align-self: flex-start; background: #b3925d; color: #191d1b; font: 700 .74rem var(--hp-sans); letter-spacing: .14em; text-transform: uppercase; padding: .8rem 1.2rem; text-decoration: none; }
.hp-btn:hover { background: #d6b77c; color: #191d1b; }
.hp-featured-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 1.6rem; }

/* Kaarten */
.hp-grid { display: grid; gap: 1.8rem 1.6rem; }
.hp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem 1.2rem; }
.hp-card { margin: 0; min-width: 0; }
.hp-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e7dfd1; margin-bottom: .75rem; }
.hp-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.hp-card:hover .hp-card-img img { transform: scale(1.035); }
.hp-card-img .card-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: var(--hp-serif); color: var(--hp-muted); }
.hp-card h3 { font-family: var(--hp-serif); font-weight: 600; font-size: 1.22rem; line-height: 1.22; letter-spacing: -.005em; margin: 0 0 .4rem; }
.hp-card--klein h3 { font-size: 1.02rem; line-height: 1.25; }
.hp-card h3 a { color: var(--hp-ink); text-decoration: none; }
.hp-card h3 a:hover { color: var(--hp-gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.hp-card-text { font-family: var(--hp-sans); font-size: .9rem; line-height: 1.55; color: var(--hp-muted); margin: 0; }

/* Rechterkolom */
.hp-rail { display: grid; gap: 1.4rem; }
.hp-box { background: var(--hp-card); border: 1px solid var(--hp-line); border-top: 3px solid var(--hp-gold); padding: 1.3rem 1.3rem 1.4rem; }
.hp-box h2 { font-family: var(--hp-serif); font-weight: 500; font-size: 1.6rem; line-height: 1.1; margin: 0 0 .7rem; color: var(--hp-ink); text-transform: none; }
.hp-box h2::before, .hp-box h2::after { content: none; }
.hp-box p { font-family: var(--hp-sans); font-size: .92rem; line-height: 1.55; color: var(--hp-muted); margin: 0 0 .9rem; }
.hp-box .hp-kicker { margin-bottom: .3rem; }
.hp-newsletter h2 { font-size: 1.45rem; }
.hp-newsletter .newsletter-offer { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }

/* Today in History: donker blok in de huisinkt met goud; met het beeld van het artikel van vandaag
   (gezet door het script als --otd-beeld) achter een half doorzichtige laag. */
.hp-box.hp-today { position: relative; overflow: hidden; isolation: isolate; background: #26302b; border: 0; border-top: 3px solid #c9a35f; color: #f3ecdf; box-shadow: 0 10px 24px rgba(36,37,31,.18); }
.hp-today .hp-kicker { color: #d9b877; }
.hp-today h2 { color: #fff8ec; }
.hp-today p { color: #d8d0c2; }
.hp-today-date { font-family: var(--hp-serif) !important; font-weight: 600; font-size: 1.05rem !important; color: #f3ecdf !important; margin-bottom: .5rem !important; }
.hp-today-date:empty { display: none; }
.hp-today-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.hp-today-list li { display: grid; grid-template-columns: 3.6rem 1fr; gap: .6rem; padding: .55rem 0; border-top: 1px solid rgba(255,255,255,.14); font-family: var(--hp-sans); font-size: .9rem; line-height: 1.45; }
.hp-today-list li:first-child { border-top: 0; }
.hp-today-list strong { font-family: var(--hp-serif); font-size: 1rem; color: #e0bf7d; }
.hp-today-list a { color: #f6efe3; text-decoration: none; }
.hp-today-list a:hover { text-decoration: underline; }
.hp-today .hp-more { color: #e0bf7d; }
.hp-today .hp-more:hover { color: #fff; }
.hp-today.heeft-beeld { background: #1d201e; min-height: 300px; display: flex; flex-direction: column; }
.hp-today.heeft-beeld::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--otd-beeld) center / cover no-repeat; transform: scale(1.03); }
.hp-today.heeft-beeld::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,22,20,.42) 0%, rgba(20,22,20,.66) 50%, rgba(20,22,20,.86) 100%); }
.hp-today.heeft-beeld h2, .hp-today.heeft-beeld .hp-today-list a { text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.hp-today.heeft-beeld .hp-more { margin-top: auto; }

/* Het welkomstgeschenk: donker blok in de kleuren van de omslag, de omslag schuin ernaast, gouden lint. */
.hp-box.hp-gift { position: relative; background: linear-gradient(170deg, #1b2430 0%, #131a22 100%); border: 1px solid #c9a35f; border-top: 3px solid #e0b55a; color: #efe7d8; padding-top: 1.5rem; box-shadow: 0 14px 30px rgba(20,22,28,.28); overflow: hidden; }
.hp-gift::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 80% 0%, rgba(224,181,90,.22), transparent 60%); }
.hp-gift .newsletter-offer { position: relative; display: grid; grid-template-columns: 1fr 108px; column-gap: 1rem; color: inherit; background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; }
.hp-gift .newsletter-offer > * { grid-column: 1 / -1; }
.hp-gift .newsletter-offer-cover { grid-column: 2 !important; grid-row: 1 / span 2; width: 108px; height: auto; transform: rotate(4deg); box-shadow: 0 10px 22px rgba(0,0,0,.55); border: 1px solid rgba(224,181,90,.6); margin: -.2rem 0 .6rem; justify-self: end; }
.hp-gift .newsletter-offer h2 { grid-column: 1 !important; color: #fff7e6 !important; font-size: 1.4rem !important; line-height: 1.15; margin: 0 0 .6rem; }
.hp-gift .newsletter-offer p { color: #d6cdbd !important; }
.hp-gift .newsletter-offer p.newsletter-offer-kicker { grid-column: 1 !important; align-self: start; justify-self: start; background: #e0b55a; color: #1a1408 !important; font: 800 .68rem var(--hp-sans) !important; letter-spacing: .14em !important; text-transform: uppercase; padding: .35rem .6rem; margin: 0 0 .7rem; }
.hp-gift .newsletter-offer-fine, .hp-gift .newsletter-offer-fine a { color: #b4ab9c !important; }
.hp-gift .ml-form-embedSubmit button { background: #e0b55a !important; border-color: #e0b55a !important; color: #1a1408 !important; }

/* 4. Steunblok */
.hp-support { margin-top: clamp(2.6rem, 5vw, 4rem); }
.hp-support .support-block { margin: 0; }

/* De gidsen als filmische beeldtegels: de eerste groot (twee kolommen, twee rijen), vier ernaast. */
.hp-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 1rem; }
.hp-guide { position: relative; display: flex; align-items: flex-end; overflow: hidden; background: #1d1a16; text-decoration: none; color: #fff; }
.hp-guide--groot { grid-column: span 2; grid-row: span 2; }
.hp-guide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hp-guide:hover img { transform: scale(1.05); }
.hp-guide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,14,10,.9) 0%, rgba(18,14,10,.45) 45%, rgba(18,14,10,.05) 75%); }
.hp-guide-tekst { position: relative; z-index: 1; display: block; padding: 1rem 1.1rem 1.1rem; }
.hp-guide .hp-kicker { color: #e0bf7d; margin-bottom: .3rem; }
.hp-guide strong { display: block; font-family: var(--hp-serif); font-weight: 500; font-size: 1.35rem; line-height: 1.12; color: #fff8ec; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hp-guide--groot .hp-guide-tekst { padding: 1.6rem 1.7rem 1.7rem; }
.hp-guide--groot strong { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.hp-guide-desc { display: block; margin-top: .6rem; max-width: 34rem; font-family: var(--hp-serif); font-size: 1.02rem; line-height: 1.45; color: #e9e0d0; }

/* De podcast als band in de kleuren van de luisterapp (/listen/): diep petrol met goud, over de volle
   breedte via box-shadow + clip-path; de gloed reikt buiten de pagina en wordt afgeknipt door
   html, body { overflow-x: clip } in ivory-site.css. */
.hp-podcast { position: relative; background: #031016; box-shadow: 0 0 0 100vmax #031016; clip-path: inset(0 -100vmax); padding: clamp(2.4rem, 5vw, 3.6rem) 0; color: #f4ecdc; border-top: 1px solid rgb(208 162 77 / .42); border-bottom: 1px solid rgb(208 162 77 / .42); }
.hp-podcast::before { content: ""; position: absolute; inset: 0 -100vmax; pointer-events: none; background: radial-gradient(circle at 78% 0%, rgb(208 162 77 / .13), transparent 32rem); }
.hp-podcast > * { position: relative; }
.hp-podcast .hp-head { border-bottom-color: rgb(208 162 77 / .3); }
.hp-podcast .hp-head h2 { color: #f4ecdc; font-size: clamp(1.9rem, 3vw, 2.6rem); }
.hp-podcast .hp-head a { color: #e8c77f; }
.hp-podcast .hp-head a:hover { color: #fff; }
.hp-podcast-intro { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin: -.2rem 0 1.6rem; }
.hp-podcast .hp-lede { color: #b9ad94; margin: 0; max-width: 620px; }
.hp-podcast-links { display: flex; gap: .5rem; margin: 0; flex-wrap: wrap; }
.hp-podcast-links a { font: 700 .72rem var(--hp-sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: #f4ecdc !important; border: 1px solid rgb(208 162 77 / .55); padding: .6rem .95rem; }
.hp-podcast-links a:first-child { background: #d0a24d; border-color: #d0a24d; color: #1a1408 !important; }
.hp-podcast-links a:hover { border-color: #e8c77f; }
.hp-podcast .hp-card .hp-kicker { color: #d0a24d; }
.hp-podcast .hp-card h3 a { color: #f4ecdc !important; }
.hp-podcast .hp-card h3 a:hover { color: #e8c77f !important; }
.hp-podcast .hp-card-text { color: #b9ad94; }
.hp-podcast .hp-card-img { background: #0d2a35; outline: 1px solid rgb(208 162 77 / .25); }
.hp-card--podcast .hp-card-img { aspect-ratio: 1 / 1; position: relative; }
.hp-play { position: absolute; right: .7rem; bottom: .7rem; width: 2.6rem; height: 2.6rem; border-radius: 50% !important; background: rgba(28,22,15,.82); border: 1px solid rgba(224,191,125,.7); }
.hp-play::after { content: ""; position: absolute; left: 52%; top: 50%; transform: translate(-40%, -50%); border-style: solid; border-width: .45rem 0 .45rem .72rem; border-color: transparent transparent transparent #e0bf7d; }
.hp-card--podcast:hover .hp-play { background: #a17d42; }
.hp-card--podcast:hover .hp-play::after { border-left-color: #fff; }

/* 6. Aanraders */
.hp-list { list-style: none; margin: 0; padding: 0; }
.hp-list li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 1.2rem; align-items: start; padding: 1.1rem 0; border-top: 1px solid var(--hp-line); }
.hp-list li:first-child { border-top: 0; padding-top: 0; }
.hp-list-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.hp-list-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-list h3 { font-family: var(--hp-serif); font-weight: 600; font-size: 1.25rem; line-height: 1.22; margin: 0 0 .35rem; }
.hp-list h3 a { color: var(--hp-ink); text-decoration: none; }
.hp-list h3 a:hover { text-decoration: underline; }

/* 6b. De winkel als filmische etalage: donkere band over de volle breedte, lichtval van boven, de
   producten als belichte stukken in donkergroene vitrines. */
.hp-etalage { position: relative; background: #17120e; box-shadow: 0 0 0 100vmax #17120e; clip-path: inset(0 -100vmax); padding: clamp(2.6rem, 5vw, 4rem) 0 clamp(2.6rem, 5vw, 3.6rem); color: #f3ead8; border-top: 1px solid rgba(201,163,95,.45); border-bottom: 1px solid rgba(201,163,95,.45); }
.hp-etalage::before { content: ""; position: absolute; inset: 0 -100vmax; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 50% -10%, rgba(232,190,110,.22), transparent 70%), linear-gradient(180deg, transparent 70%, rgba(0,0,0,.35)); }
.hp-etalage > * { position: relative; }
.hp-etalage-kicker { color: #d9b877 !important; text-align: center; margin-bottom: .4rem; }
.hp-etalage .shop-strip { background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; margin: 0 !important; }
.hp-etalage .shop-strip h2 { text-align: center; font-family: var(--hp-serif); font-weight: 500; text-transform: none; color: #fff7e6 !important; border: 0 !important; font-size: clamp(2rem, 3.4vw, 3rem) !important; margin: 0 0 clamp(1.6rem, 3vw, 2.4rem) !important; padding: 0 !important; }
.hp-etalage .shop-strip h2::before, .hp-etalage .shop-strip h2::after { content: none; }
.hp-etalage .shop-strip-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: clamp(.8rem, 1.6vw, 1.4rem) !important; list-style: none; margin: 0; padding: 0; align-items: stretch; }
.hp-etalage .shop-strip-grid li { margin: 0; background: none; border: 0; }
.hp-etalage .shop-strip-grid a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: linear-gradient(180deg, #1f2b24, #17201b) !important; border: 1px solid rgba(201,163,95,.32) !important; padding: 1rem 1rem 1.1rem; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.hp-etalage .shop-strip-grid a:hover { transform: translateY(-4px); border-color: rgba(224,181,90,.75) !important; box-shadow: 0 18px 34px rgba(0,0,0,.45); }
.hp-etalage .shop-strip-grid img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: radial-gradient(ellipse 70% 70% at 50% 32%, #2f4237 0%, #18221d 78%) !important; padding: 1rem; margin: 0 0 .9rem; filter: drop-shadow(0 12px 16px rgba(0,0,0,.6)); border: 0 !important; }
.hp-etalage .shop-strip-dept { font: 700 .66rem var(--hp-sans); letter-spacing: .13em; text-transform: uppercase; color: #c9a35f !important; margin-bottom: .35rem; }
.hp-etalage .shop-strip-grid strong { font-family: var(--hp-serif); font-weight: 600; font-size: 1.08rem; line-height: 1.25; color: #fff7e6 !important; flex: 1; }
.hp-etalage .shop-strip-price { font: 700 .9rem var(--hp-sans); color: #e0b55a !important; margin-top: .7rem; }
.hp-etalage .home-latest-more { text-align: center; margin: clamp(1.6rem, 3vw, 2.2rem) 0 0 !important; }
.hp-etalage .home-latest-more a { display: inline-block; font: 700 .76rem var(--hp-sans) !important; letter-spacing: .14em !important; text-transform: uppercase; color: #1a1408 !important; background: #e0b55a; padding: .95rem 1.7rem; text-decoration: none; }
.hp-etalage .home-latest-more a:hover { background: #f0c96f; }

/* 7. Media en cijfers */
.hp-media { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.hp-media a { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #e7dfd1; }
.hp-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease, opacity .2s; }
.hp-media a:hover img { transform: scale(1.05); opacity: .9; }
.hp-stats dl { margin: 0; }
.hp-stats dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--hp-line); }
.hp-stats dl > div:first-child { border-top: 0; }
.hp-stats dt { font-family: var(--hp-sans); font-size: .9rem; color: var(--hp-muted); }
.hp-stats dd { margin: 0; font-family: var(--hp-serif); font-weight: 600; font-size: 1.3rem; color: var(--hp-ink); }

/* 8. Per periode */
.hp-era .hp-head { margin-bottom: .3rem; }
.hp-era .hp-card .hp-kicker { display: none; } /* de periode staat al in de kop */
.hp-era-period { font: 700 .72rem var(--hp-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--hp-muted); margin: .5rem 0 1.1rem; }
.hp-guides { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: 1.3rem 0 0; font-family: var(--hp-sans); }
.hp-guides span { font: 700 .7rem var(--hp-sans); letter-spacing: .13em; text-transform: uppercase; color: var(--hp-muted); margin-right: .3rem; }
.hp-guides a { font-size: .85rem; color: var(--hp-ink); text-decoration: none; border: 1px solid #cdbf9f; background: var(--hp-card); padding: .3rem .7rem; border-radius: 999px; }
.hp-guides a:hover { border-color: var(--hp-gold); color: var(--hp-gold-dark); }

/* De periodepagina (site/_includes/era.njk), naar WHE's Time Period Index. */
.ep-head { text-align: center; padding: clamp(1.4rem, 3vw, 2.4rem) 0 clamp(1.4rem, 3vw, 2rem); border-bottom: 1px solid var(--hp-line); margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.ep-head h1 { font-family: var(--hp-serif); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.04; letter-spacing: -.02em; margin: .2rem 0 .3rem; }
.ep-head h1 .era-period { display: block; font: 700 .78rem var(--hp-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--hp-gold-dark); margin: .6rem 0 .9rem; }
.ep-lede { font-family: var(--hp-serif); font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--hp-muted); max-width: 680px; margin: 0 auto 1.3rem; }
.ep-periods { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; }
.ep-periods a { font: 600 .95rem var(--hp-serif); color: var(--hp-ink) !important; text-decoration: none; border: 1px solid #cdbf9f; background: var(--hp-card); padding: .45rem 1rem; }
.ep-periods a:hover { border-color: var(--hp-gold); }
.ep-periods a[aria-current="page"] { background: var(--hp-dark); border-color: var(--hp-dark); color: #f6efe3 !important; }
.ep-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: -.2rem 0 1.4rem; }
.ep-filters[hidden] { display: none; }
.ep-filters span { font: 700 .7rem var(--hp-sans); letter-spacing: .13em; text-transform: uppercase; color: var(--hp-muted); margin-right: .3rem; }
.ep-filters button { font: .82rem var(--hp-sans); color: var(--hp-ink); background: var(--hp-card); border: 1px solid #cdbf9f; padding: .32rem .7rem; cursor: pointer; }
.ep-filters button:hover { border-color: var(--hp-gold); }
.ep-filters button[aria-pressed="true"] { background: var(--hp-gold); border-color: var(--hp-gold); color: #fff; }
.ep-grid > [hidden] { display: none; }
.ep-more-wrap { text-align: center; margin: 2rem 0 0; }
.ep-more { font: 700 .76rem var(--hp-sans); letter-spacing: .14em; text-transform: uppercase; background: transparent; color: var(--hp-ink); border: 1px solid var(--hp-ink); padding: .85rem 1.6rem; cursor: pointer; }
.ep-more:hover { background: var(--hp-ink); color: #fff; }
.ep-more[hidden] { display: none; }
.ep-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.ep-list li { display: flex; justify-content: space-between; gap: .8rem; padding: .45rem 0; border-top: 1px solid var(--hp-line); font-family: var(--hp-sans); font-size: .9rem; }
.ep-list li:first-child { border-top: 0; }
.ep-list a { color: var(--hp-ink) !important; text-decoration: none; }
.ep-list a:hover { color: var(--hp-gold-dark) !important; text-decoration: underline; }
.ep-list span { color: var(--hp-muted); font-variant-numeric: tabular-nums; }
.ep-guides { background: var(--hp-dark); border: 0; border-top: 3px solid #c9a35f; }
.ep-guides h2 { color: #fff8ec; }
.ep-guides .hp-kicker { color: #d9b877; }
.ep-guides .ep-list li { border-top-color: rgba(255,255,255,.14); }
.ep-guides .ep-list a { color: #f6efe3 !important; }
.ep-guides .ep-list a:hover { color: #e0bf7d !important; }
.ep-guides .ep-list span { color: #cfc5b4; }

/* Smaller scherm. Deze blokken staan bewust onderaan: een responsieve regel moet NA de algemene regel
   staan die zij overschrijft (audit 2026-11-18: een latere vierkolomsregel won ook op de telefoon). */
@media (max-width: 1000px) {
  .hp-split { grid-template-columns: minmax(0, 1fr); }
  .hp-rail { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .hp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hp-etalage .shop-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
  .hp-lead { aspect-ratio: auto; min-height: 460px; display: flex; align-items: flex-end; }
  .hp-lead::after { background: linear-gradient(0deg, rgba(18,14,10,.92) 0%, rgba(18,14,10,.7) 45%, rgba(18,14,10,.1) 80%); }
  .hp-lead-body { position: relative; max-width: none; padding: 1.3rem 1.2rem 1.4rem; }
  .hp-lead h2 { font-size: 1.75rem; }
  .hp-lead-body > p:not(.hp-kicker) { font-size: 1rem; margin-bottom: 1rem; }
  .hp-featured-pair, .hp-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .hp-grid--3 { gap: 1.6rem; }
  .hp-list li { grid-template-columns: 110px minmax(0, 1fr); gap: .9rem; }
  .hp-list h3 { font-size: 1.08rem; }
  .hp-media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-head { flex-wrap: wrap; }
  .hp-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: .7rem; }
  .hp-guide--groot { grid-row: span 2; }
  .hp-guide strong { font-size: 1.1rem; }
  .hp-guide--groot strong { font-size: 1.6rem; }
  .hp-guide-desc { font-size: .92rem; }
}
@media (max-width: 420px) {
  .hp-grid--4 { gap: 1.1rem .8rem; }
  .hp-card--klein h3 { font-size: .95rem; }
  .hp-search button { padding: 0 1rem; }
}
