/* ============================================================
   Template: index/hub | Demo-merk: Museum Het Vlak (fictief)
   Niche: tentoonstellings-/seizoensoverzicht — de index IS de pagina
   Basislaag: --lp-* tokens + reset + accordion + motion-contract inline
   gekopieerd uit gravity-template-toolkit/base.css (+ gedrag uit base.js).
============================================================ */
:root{
  --lp-color-bg:#F6F3EC; --lp-color-surface:#FFFFFF; --lp-color-bg-section:#EDE7DA;
  --lp-color-text:#1A1714; --lp-color-text-muted:#615A4F; --lp-color-border:#CFC6B5;
  --lp-color-on-dark:#F3EFE6;

  --lp-color-text-accent:#9A2C2C;            /* diep terracotta-rood, AA als tekst */
  --lp-color-fill:#1A1714; --lp-color-fill-dark:#000000; --lp-color-on-fill:#F6F3EC;
  --lp-color-accent-soft:#EBD9D2;

  --lp-font-display:"Fraunces",Georgia,serif;
  --lp-font-body:"Inter",system-ui,sans-serif;
  --lp-font-mono:"JetBrains Mono",ui-monospace,monospace;

  --lp-text-sm:1.4rem; --lp-text-base:1.6rem; --lp-text-lg:1.8rem; --lp-text-xl:2rem;
  --lp-text-row:clamp(3rem,6.5vw,7.4rem);
  --lp-radius-sm:6px; --lp-radius-md:14px; --lp-radius-lg:20px;
  --lp-container:1180px;
  --lp-pad:clamp(2rem,5vw,4rem);
  --lp-ease:cubic-bezier(.16,1,.3,1);
}
*{box-sizing:border-box;margin:0;padding:0}
html{font-size:62.5%;scroll-behavior:smooth}
body{font-family:var(--lp-font-body);font-size:1.7rem;line-height:1.6;color:var(--lp-color-text);background:var(--lp-color-bg);-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3{font-family:var(--lp-font-display);font-weight:900;line-height:1.02;letter-spacing:-0.01em}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}
:where(a,button,input):focus-visible{outline:3px solid var(--lp-color-text-accent);outline-offset:3px;border-radius:6px}
.lp-wrap{max-width:var(--lp-container);margin:0 auto;padding:0 var(--lp-pad)}
.lp-eyebrow{font-family:var(--lp-font-mono);font-weight:500;font-size:1.4rem;letter-spacing:.1em;text-transform:uppercase;color:var(--lp-color-text-accent)}

.lp-btn{display:inline-flex;align-items:center;justify-content:center;gap:.7rem;font-family:var(--lp-font-body);font-weight:700;font-size:var(--lp-text-base);padding:1.2rem 2.2rem;border-radius:100px;border:1.5px solid transparent;transition:transform .18s var(--lp-ease),background .18s,box-shadow .18s}
.lp-btn--primary{background:var(--lp-color-fill);color:var(--lp-color-on-fill)}
.lp-btn--primary:hover{background:var(--lp-color-fill-dark);transform:translateY(-2px)}

/* topbalk — geen navigatiemenu: de index navigeert */
.lp-top{position:sticky;top:0;z-index:80;display:flex;align-items:center;justify-content:space-between;padding:1.6rem var(--lp-pad);background:var(--lp-color-bg);border-bottom:1px solid transparent;transition:border-color .25s}
.lp-top.is-scrolled{border-color:var(--lp-color-border)}
.lp-top__logo{font-family:var(--lp-font-display);font-weight:900;font-size:var(--lp-text-2xl,2.4rem)}
.lp-top__logo em{font-style:italic;color:var(--lp-color-text-accent)}

/* kop */
.lp-head{padding:clamp(4rem,9vw,9rem) 0 clamp(2.4rem,4vw,4rem)}
.lp-head h1{font-size:clamp(4.4rem,11vw,12rem);margin:.6rem 0 0}
.lp-head h1 em{font-style:italic;color:var(--lp-color-text-accent);font-weight:500}
.lp-head p{max-width:54ch;font-size:var(--lp-text-xl);color:var(--lp-color-text-muted);margin-top:1.6rem}
.lp-head__meta{display:flex;flex-wrap:wrap;gap:1rem 2.4rem;font-size:1.5rem;color:var(--lp-color-text-muted);margin-top:2.4rem}
.lp-head__meta b{color:var(--lp-color-text);font-family:var(--lp-font-display);font-weight:700}

/* sticky filter */
.lp-filter{position:sticky;top:6rem;z-index:40;background:var(--lp-color-bg);border-top:1px solid var(--lp-color-border);border-bottom:1px solid var(--lp-color-border);padding:1.2rem 0}
.lp-filter__in{display:flex;gap:.5rem;flex-wrap:wrap}
.lp-chip{font-family:var(--lp-font-body);font-weight:700;font-size:1.4rem;padding:.8rem 1.6rem;border:1px solid var(--lp-color-border);background:transparent;color:var(--lp-color-text-muted);border-radius:100px;transition:all .2s}
.lp-chip[aria-pressed="true"]{background:var(--lp-color-fill);color:var(--lp-color-on-fill);border-color:var(--lp-color-fill)}

/* ===== DE INDEX ===== */
.lp-index{border-top:1px solid var(--lp-color-border)}
.lp-item{border-bottom:1px solid var(--lp-color-border)}
.lp-item__head{width:100%;background:none;border:0;cursor:pointer;text-align:left;color:inherit;display:grid;grid-template-columns:auto 1fr auto auto;gap:1.4rem 2rem;align-items:center;padding:clamp(2rem,3.4vw,3.4rem) 0;position:relative;transition:padding-left .3s var(--lp-ease)}
.lp-item__num{font-family:var(--lp-font-mono);font-variant-numeric:tabular-nums;font-size:1.5rem;color:var(--lp-color-text-muted)}
.lp-item__title{font-family:var(--lp-font-display);font-weight:900;font-size:var(--lp-text-row);line-height:.95}
.lp-item__title em{font-style:italic;font-weight:500;color:var(--lp-color-text-accent)}
.lp-item__meta{font-family:var(--lp-font-mono);font-size:1.4rem;color:var(--lp-color-text-muted);text-align:right;white-space:nowrap}
.lp-item__plus{width:4rem;height:4rem;border:1px solid var(--lp-color-border);border-radius:50%;display:grid;place-items:center;flex-shrink:0;transition:transform .4s var(--lp-ease),background .3s,border-color .3s}
.lp-item__plus svg{width:1.8rem;height:1.8rem}
@media(hover:hover){.lp-item:not(.is-open) .lp-item__head:hover{padding-left:1.4rem}.lp-item:not(.is-open) .lp-item__head:hover .lp-item__title{color:var(--lp-color-text-accent)}}
.lp-item.is-open .lp-item__plus{transform:rotate(135deg);background:var(--lp-color-fill);border-color:var(--lp-color-fill);color:var(--lp-color-on-fill)}

/* accordion-paneel (grid-rows-truc uit base.css) */
.lp-acc__panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s var(--lp-ease)}
.lp-item.is-open .lp-acc__panel{grid-template-rows:1fr}
.lp-acc__inner{overflow:hidden}
.lp-item__body{display:grid;grid-template-columns:1.4fr 1fr;gap:clamp(2rem,4vw,4rem);padding:0 0 clamp(3rem,5vw,5rem);align-items:start}
.lp-item__body p{font-size:var(--lp-text-lg);color:var(--lp-color-text);max-width:50ch}
.lp-list{list-style:none;display:flex;flex-direction:column;gap:.8rem;margin-top:1.8rem}
.lp-list li{display:flex;justify-content:space-between;gap:1rem;padding-bottom:.8rem;border-bottom:1px dashed var(--lp-color-border);font-size:1.55rem}
.lp-list li span{color:var(--lp-color-text-accent);font-weight:700;font-family:var(--lp-font-display)}
.lp-item__cta{margin-top:1.8rem}

/* beeld-slot (IMAGE-SLOTS.md: lazy + onerror-fallback) */
.lp-img{position:relative;overflow:hidden;background:var(--lp-color-bg-section);border-radius:var(--lp-radius-md);border:1px solid var(--lp-color-border)}
.lp-img img{width:100%;height:100%;object-fit:cover;display:block}
.lp-item__map{border-radius:var(--lp-radius-md);overflow:hidden;border:1px solid var(--lp-color-border)}
.lp-item__map iframe{width:100%;height:30rem;border:0;display:block}
@media(max-width:760px){.lp-item__head{grid-template-columns:auto 1fr auto}.lp-item__meta{display:none}.lp-item__body{grid-template-columns:1fr}}

/* sluitregel */
.lp-foot{background:var(--lp-color-fill);color:var(--lp-color-on-dark);padding:clamp(4rem,8vw,8rem) 0 3rem;margin-top:3rem}
.lp-foot__big{font-family:var(--lp-font-display);font-weight:900;font-size:clamp(3.6rem,9vw,8rem)}
.lp-foot__big em{font-style:italic;color:var(--lp-color-text-accent)}
.lp-foot__row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1.4rem;margin-top:4rem;border-top:1px solid rgba(255,255,255,.18);padding-top:1.6rem;font-size:1.5rem}
.lp-foot__row a{text-decoration:underline;text-underline-offset:3px}
.lp-foot__links{display:flex;gap:2.4rem;flex-wrap:wrap}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}.lp-acc__panel{transition:none}}

/* --- ALASTIC WordPress integratie-fixes --- */
body { background-color: var(--night, #ffffff) !important; }
h1, h2, h3, h4, h5, h6 { text-transform: none !important; }
.wp-site-blocks, .is-root-container, .entry-content,
.wp-block-post-content { max-width: none !important; padding: 0 !important; margin: 0 !important; }
