/* Inhoudelijke pagina’s — Gevelschrift: serif body, Archivo koppen */

.content-page {
  padding-bottom: var(--space-5, 3rem);
}

.content-page > .wrap > .content-rich {
  width: 100%;
}

.content-page > .page-hero {
  padding-bottom: var(--space-3, 1.25rem);
}

.content-rich {
  width: 100%;
  max-width: 40rem;
  font-family: var(--font-serif, "Source Serif 4", Georgia, serif);
  font-size: var(--text-base, 1.0625rem);
  line-height: var(--leading-body, 1.65);
  color: var(--ink-soft, #3a3f3b);
}

.content-rich--wide {
  max-width: none;
}

.content-rich > :first-child {
  margin-top: 0;
}

.content-rich h2,
.content-rich h3 {
  font-family: var(--font-display, "Archivo", sans-serif);
  color: var(--ink, #1c1e1c);
  line-height: var(--leading-tight, 1.15);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.content-rich h2 {
  font-size: var(--text-2xl, 1.85rem);
  margin: 2.25rem 0 0.85rem;
}

.content-rich h3 {
  font-size: var(--text-xl, 1.35rem);
  margin: 1.75rem 0 0.65rem;
}

.content-rich p,
.content-rich li {
  max-width: 65ch;
}

.content-rich--wide p,
.content-rich--wide li {
  max-width: 70ch;
}

.content-rich ul,
.content-rich ol {
  padding-left: 1.15rem;
}

.content-rich li + li {
  margin-top: 0.5rem;
}

.content-rich a {
  font-weight: 600;
}

.content-rich img.content-img,
.content-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border: 0;
}

.content-gallery {
  margin: 1.75rem 0 2.25rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

/* Uniforme fotoblokken: zelfde breedte/hoogte, ongeacht bronformaat.
   Overschrijft .content-img (height:auto; margin) zodat object-fit werkt.
   Geen nth-child span/aspect-uitzonderingen: die braken Die Roose (5)
   en ’t Gezellehuis (4) terwijl Toneelzaal/Bar (3) toevallig OK leken. */
.content-gallery img,
.content-gallery .content-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border: 0;
}

@media (max-width: 640px) {
  .content-gallery {
    grid-template-columns: 1fr;
  }
}

.content-rich table,
.prices-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-family: var(--font-ui, "Archivo", sans-serif);
  font-size: var(--text-sm, 0.9375rem);
  background: transparent;
}

/* Tabelvoetnoot: geen extra ruimte onder de tabel zelf. */
.table-scroll > .prices-table {
  margin-bottom: 0;
}

.content-rich thead th,
.prices-table thead th {
  text-align: left;
  font-size: var(--text-xs, 0.8125rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted, #6a716c);
  padding: 0.7rem 0.85rem 0.7rem 0;
  border-bottom: 1px solid var(--ink, #1c1e1c);
  background: transparent;
}

.content-rich td,
.prices-table td {
  padding: 0.8rem 0.85rem 0.8rem 0;
  border-bottom: 1px solid var(--line, #c9c6c0);
  vertical-align: top;
  color: var(--ink-soft, #3a3f3b);
}

.prices-table td:last-child,
.prices-table th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color: var(--ink, #1c1e1c);
  white-space: nowrap;
  padding-right: 0;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  margin-inline: 0;
  max-width: 100%;
}

.prices-block .table-scroll:not(:last-child) {
  margin-bottom: 1rem;
}

/* Prijzen-sectienavigatie: zelfde .agenda-room-switch als agenda (geen aparte spacing). */
.prices-panels {
  margin: 0;
}

.prices-block {
  margin: 0 0 2.25rem;
  padding: 0;
  border: 0;
  background: transparent;
}

html.js .prices-panels[data-prices-ready] .prices-block[hidden] {
  display: none;
}

/* Zonder JS: alle secties zichtbaar houden (hashlinks blijven werken). */
html:not(.js) .prices-block[hidden] {
  display: block;
}

.prices-note {
  margin: 0 0 0.85rem !important;
  color: var(--muted, #6a716c) !important;
  font-size: var(--text-sm, 0.9375rem) !important;
}

.prices-note--after-table {
  margin-top: var(--space-3, 1.25rem) !important;
}

/* Materialen: iets meer ruimte voor zaalnamen. */
.materials-rooms-table {
  table-layout: auto;
}

.materials-rooms-table th:first-child,
.materials-rooms-table td:first-child {
  width: 28%;
  min-width: 9.5rem;
  white-space: nowrap;
}

.materials-rooms-table th:nth-child(2),
.materials-rooms-table td:nth-child(2) {
  width: 48%;
}

.materials-rooms-table th:nth-child(3),
.materials-rooms-table td:nth-child(3) {
  width: 24%;
  white-space: normal;
}

@media (max-width: 700px) {
  .materials-rooms-table th:first-child,
  .materials-rooms-table td:first-child {
    width: auto;
    min-width: 8.25rem;
    white-space: normal;
  }
}

.prices-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--text-xs, 0.8125rem);
  font-weight: 500;
  color: var(--muted, #6a716c);
}

.prices-list {
  margin: 0 0 1.25rem;
}

.prices-alert {
  margin: 1.5rem 0 !important;
  padding: 0.35rem 0;
}

.prices-validity {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  max-width: none !important;
  font-size: var(--text-sm, 0.9375rem) !important;
  color: var(--muted, #6a716c) !important;
}

.table-scroll > .prices-validity {
  margin-top: 8px !important;
}

.prices-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin: 1.25rem 0 0 !important;
}

.booking-intro {
  margin-bottom: var(--space-4, 2rem);
}

.booking-intro {
  width: 100%;
  max-width: none;
}

.content-callout,
.content-note {
  margin: 1.75rem 0;
  padding: 0.35rem 0;
  background: transparent;
}

.content-section {
  margin-top: 2.25rem;
}

.content-body > p:first-child {
  font-size: var(--text-lg, 1.1875rem);
  color: var(--ink, #1c1e1c);
}

.poem {
  margin: 1rem 0;
  padding: 0;
  border: 0;
  font-style: italic;
  color: var(--ink-soft, #3a3f3b);
  max-width: 38rem;
}

.poem p {
  margin: 0;
  line-height: 1.55;
}

.poem-attribution {
  margin: 0.5rem 0 0 !important;
  font-size: var(--text-sm, 0.9375rem) !important;
  color: var(--muted, #6a716c) !important;
}

/* Die Roose: spaarzaam mosterdaccent op zaalpagina */
.content-page[data-room="die-roose"] .page-hero h1 {
  color: var(--ink, #1c1e1c);
}

.content-page[data-room="die-roose"] .page-actions .btn-primary {
  background: var(--accent, #2f4f3a);
}

@media (max-width: 700px) {
  .content-rich table,
  .prices-table {
    min-width: 26rem;
  }

  .content-rich h2 {
    font-size: clamp(1.35rem, 5vw, 1.85rem);
  }

}

@media (max-width: 400px) {
  .prices-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .prices-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ----- Reglement ---------------------------------------------------------- */

.reglement {
  max-width: 42rem;
}

.reglement-intro {
  margin: 0 0 1.35rem !important;
  max-width: 40rem !important;
  color: var(--ink-soft, #3a3f3b) !important;
  font-family: var(--font-serif, "Source Serif 4", Georgia, serif);
  font-size: var(--text-lg, 1.1875rem) !important;
  line-height: 1.55;
}

.reglement-toc {
  margin: 0 0 var(--space-5, 3rem);
  padding-bottom: 0;
}

.reglement-section {
  margin: 0 0 2.75rem;
  padding: 0;
  border: 0;
  /* Id zit op de section: offset hier, niet op de h2. */
  scroll-margin-top: var(--anchor-offset, calc(var(--header-h, 4.25rem) + 0.75rem));
}

.reglement-section > h2 {
  margin-top: 1.65rem;
}

.reglement-section > h3 {
  margin-top: 1.35rem;
}

.reglement-meta {
  margin: -0.35rem 0 1.1rem !important;
  color: var(--muted, #6a716c) !important;
  font-family: var(--font-ui, "Archivo", sans-serif);
  font-size: var(--text-sm, 0.9375rem) !important;
  font-weight: 600;
}

.reglement-identity {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.75rem;
  margin: 0 0 1.5rem;
}

.reglement-identity h3 {
  margin: 0 0 0.45rem;
  font-size: var(--text-sm, 0.9375rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--muted, #6a716c);
  font-family: var(--font-ui, "Archivo", sans-serif);
}

.reglement-identity p {
  margin: 0 !important;
  max-width: none !important;
  color: var(--ink, #1c1e1c) !important;
  line-height: 1.55;
}

.reglement-list {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
}

.reglement-list li + li {
  margin-top: 0.7rem;
}

.reglement-alert {
  margin: 0 0 1.15rem !important;
  padding: 0.85rem 0;
  border-top: 1px solid var(--accent, #2f4f3a);
  border-bottom: 1px solid var(--accent, #2f4f3a);
  color: var(--ink, #1c1e1c) !important;
  max-width: none !important;
}

.reglement-columns {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.25rem;
  max-width: none;
}

.reglement-columns li {
  margin: 0;
  max-width: none;
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--line, #c9c6c0);
  font-size: var(--text-sm, 0.9375rem);
  color: var(--ink-soft, #3a3f3b);
}

.reglement-inventory td:last-child,
.reglement-inventory th:last-child {
  text-align: left;
  font-weight: inherit;
  white-space: normal;
  font-variant-numeric: normal;
  color: var(--ink-soft, #3a3f3b);
}

.reglement-inventory td {
  white-space: normal;
}

@media (max-width: 700px) {
  .reglement-identity {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .reglement-columns {
    grid-template-columns: 1fr;
  }

  .reglement-section {
    margin-bottom: 2.25rem;
  }

  .reglement-toc {
    gap: 0.35rem 1rem;
  }
}

@media (max-width: 360px) {
  .reglement-toc {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ----- Over ons ----------------------------------------------------------- */

.about {
  max-width: 42rem;
}

.about-intro {
  margin: 0 0 1.35rem !important;
  max-width: 40rem !important;
  color: var(--ink-soft, #3a3f3b) !important;
  font-family: var(--font-serif, "Source Serif 4", Georgia, serif);
  font-size: var(--text-lg, 1.1875rem) !important;
  line-height: 1.55;
}

.about-figure {
  margin: 0 0 1.75rem;
  padding: 0;
  border: 0;
}

.about-figure .content-img {
  margin: 0;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.about-figure--board .content-img {
  aspect-ratio: 3 / 2;
}

.about-toc {
  margin: 0 0 var(--space-5, 3rem);
  padding-bottom: 0;
}

.about-section {
  margin: 0 0 2.75rem;
  padding: 0;
  border: 0;
  scroll-margin-top: var(--anchor-offset, calc(var(--header-h, 4.25rem) + 0.75rem));
}

.about-section > h2 {
  margin-top: 0;
  scroll-margin-top: var(--anchor-offset, calc(var(--header-h, 4.25rem) + 0.75rem));
}

.about-section > h3 {
  margin-top: 1.25rem;
  font-size: var(--text-base, 1.0625rem);
}

.content-rich .about-facts {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  max-width: none;
  text-align: left;
}

.content-rich .about-facts li {
  display: block;
  margin: 0;
  max-width: none;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line, #c9c6c0);
  font-size: var(--text-sm, 0.9375rem);
  color: var(--ink-soft, #3a3f3b);
  text-align: left;
}

.content-rich .about-facts li + li {
  margin-top: 0;
}

.content-rich .about-facts li:first-child {
  border-top: 1px solid var(--line, #c9c6c0);
}

.content-rich .about-facts__label {
  display: block;
  margin: 0 0 0.25rem;
  padding: 0;
  font-family: var(--font-ui, "Archivo", sans-serif);
  font-size: var(--text-xs, 0.8125rem);
  font-weight: 700;
  color: var(--muted, #6a716c);
  text-align: left;
}

.content-rich .about-facts__value {
  display: block;
  margin: 0;
  padding: 0;
  text-align: left;
}

.about-quote {
  margin: 0 0 1.25rem;
  padding: 0.15rem 0 0.15rem 1rem;
  border: 0;
  border-left: 2px solid var(--accent, #2f4f3a);
  color: var(--ink-soft, #3a3f3b);
}

.about-quote p {
  margin: 0 0 0.85rem !important;
  max-width: none !important;
  font-style: italic;
}

.about-quote p:last-child {
  margin-bottom: 0 !important;
}

.content-rich .about-board {
  list-style: none;
  display: block;
  margin: 0.85rem 0 0;
  padding: 0;
  max-width: none;
  text-align: left;
}

.content-rich .about-board li {
  display: block;
  margin: 0;
  max-width: none;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line, #c9c6c0);
  font-family: var(--font-ui, "Archivo", sans-serif);
  font-size: var(--text-sm, 0.9375rem);
  font-weight: 600;
  color: var(--ink, #1c1e1c);
  text-align: left;
}

.content-rich .about-board li + li {
  margin-top: 0;
}

.content-rich .about-board li:first-child {
  border-top: 1px solid var(--line, #c9c6c0);
}

@media (max-width: 700px) {
  .about-section {
    margin-bottom: 2.25rem;
  }

  .about-toc {
    gap: 0.35rem 1rem;
  }
}

@media (max-width: 360px) {
  .about-toc {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ----- Legal documents (privacy / cookies) ------------------------------- */

.legal-doc {
  max-width: 44rem;
}

.legal-doc__intro {
  font-family: var(--font-body, "Source Serif 4", Georgia, serif);
  font-size: var(--text-base, 1.0625rem);
  color: var(--ink-soft, #3a3f3b);
  margin: 0 0 1.5rem;
}

.legal-doc__toc {
  margin: 0 0 2rem;
}

.legal-doc__section {
  margin: 0 0 2.25rem;
  scroll-margin-top: 5.5rem;
}

.legal-doc__section > h2 {
  font-family: var(--font-display, "Archivo", sans-serif);
  font-size: var(--text-xl, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent, #2f4f3a);
  margin: 0 0 0.75rem;
}

.legal-doc__section > h3 {
  font-family: var(--font-ui, "Archivo", sans-serif);
  font-size: var(--text-base, 1.0625rem);
  font-weight: 650;
  margin: 1.25rem 0 0.5rem;
  color: var(--ink, #1c1e1c);
}

.legal-doc__section p,
.legal-doc__section li {
  font-family: var(--font-body, "Source Serif 4", Georgia, serif);
  font-size: var(--text-sm, 0.9375rem);
  line-height: 1.65;
  color: var(--ink-soft, #3a3f3b);
}

.legal-doc__section ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
}

.legal-doc__section a {
  color: var(--accent-deep, #243d2d);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-doc__note {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--surface, #f4f3f0);
  border-left: 3px solid var(--accent, #2f4f3a);
  font-size: var(--text-sm, 0.9375rem);
}

.legal-doc__table {
  font-size: var(--text-xs, 0.8125rem);
}

.legal-doc__table code {
  font-size: 0.9em;
}
