/* ================================================================
   Moskee Al-Hijra — Rebrand layer voor sub-pagina's
   Past de editorial look van de homepage toe op alle componenten
   uit css/style.css. Scoped onder body.page-rebrand zodat de
   homepage (body.page-home) en eventuele admin-pagina's onaangetast
   blijven. Geen HTML/JS-wijzigingen — alle bestaande klassenamen
   en functionaliteiten blijven werken.
   ================================================================ */

/* ---- Tokens — identiek aan css/home.css ------------------------ */
body.page-rebrand {
  --h-paper:        #f5efe3;
  --h-paper-soft:   #efe7d6;
  --h-paper-deep:   #e7dcc4;
  --h-ink:          #0f1f19;
  --h-ink-soft:     #233a30;

  --h-moss:         #1b4436;
  --h-moss-deep:    #0f2e23;
  --h-moss-light:   #2f6c55;
  --h-sage:         #93a89c;

  --h-gold:         #a37a2c;
  --h-gold-soft:    #c9a55a;
  --h-gold-pale:    rgba(163, 122, 44, 0.14);

  --h-muted:        #5a6a62;
  --h-muted-strong: #40514a;
  --h-rule:         rgba(15, 31, 25, 0.14);
  --h-rule-soft:    rgba(15, 31, 25, 0.06);

  --h-ease:         cubic-bezier(0.22, 0.61, 0.36, 1);

  --h-serif:        'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --h-sans:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --h-ar:           'Amiri', 'Scheherazade New', serif;

  --h-gutter:       clamp(20px, 4vw, 56px);

  background: var(--h-paper);
  color: var(--h-ink);
  font-family: var(--h-sans);
  font-weight: 400;
  font-feature-settings: 'ss01', 'cv11';
  letter-spacing: -0.005em;
}

/* Forceer light-look ongeacht thema-toggle */
html[data-theme="dark"] body.page-rebrand {
  background: var(--h-paper);
  color: var(--h-ink);
}

/* Basistypografie */
body.page-rebrand h1,
body.page-rebrand h2,
body.page-rebrand h3,
body.page-rebrand h4 {
  font-family: var(--h-serif);
  color: var(--h-ink);
  font-weight: 420;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
body.page-rebrand p { color: var(--h-muted-strong); line-height: 1.65; }
body.page-rebrand ::selection { background: var(--h-gold-soft); color: var(--h-ink); }

/* Theme-toggle is niet relevant op editorial paper */
body.page-rebrand .theme-toggle { display: none; }

/* ---- NAV ------------------------------------------------------- */
body.page-rebrand .nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}
body.page-rebrand .nav.nav--scrolled {
  background: rgba(245, 239, 227, 0.88);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--h-rule);
}
body.page-rebrand .nav-inner { max-width: 1240px; padding: 0 var(--h-gutter); }
body.page-rebrand .nav-logo__img { filter: none; mix-blend-mode: multiply; }

body.page-rebrand .nav-link {
  color: var(--h-ink);
  font-family: var(--h-sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0;
  opacity: 0.6;
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent !important;
  text-transform: none;
  transition: opacity 0.2s var(--h-ease), color 0.2s var(--h-ease);
}
body.page-rebrand .nav-link:hover {
  opacity: 0.92;
  color: var(--h-ink);
  background: transparent !important;
}
body.page-rebrand .nav-link--active {
  opacity: 1;
  color: var(--h-ink);
  font-weight: 600;
  background: transparent !important;
}
body.page-rebrand .nav-link--active::after {
  content: "";
  display: block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--h-gold);
  margin: 5px auto 0;
  animation: navDotIn 0.45s var(--h-ease) both;
}

@keyframes navDotIn {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}

body.page-rebrand .nav-link--cta {
  background: var(--h-moss) !important;
  color: #fff !important;
  font-weight: 600;
  padding: 10px 20px !important;
  border-radius: 999px;
  opacity: 1;
  transition: background 0.2s var(--h-ease), transform 0.2s var(--h-ease);
}
body.page-rebrand .nav-link--cta::after { display: none; }
body.page-rebrand .nav-link--cta:hover {
  background: var(--h-moss-deep) !important;
  transform: translateY(-1px);
}

body.page-rebrand .hamburger span { background: var(--h-ink); }
body.page-rebrand .hamburger:hover { background: rgba(15,31,25,0.05); }

body.page-rebrand .mobile-menu { background: var(--h-paper); }
body.page-rebrand .mobile-link {
  font-family: var(--h-serif);
  font-weight: 420;
  color: var(--h-ink);
  opacity: 0.65;
  font-size: 2rem;
  letter-spacing: -0.02em;
  text-transform: none;
}
body.page-rebrand .mobile-link:hover,
body.page-rebrand .mobile-link--active,
body.page-rebrand .mobile-link--cta {
  opacity: 1;
  color: var(--h-ink);
  border-left-color: var(--h-gold);
}
body.page-rebrand .mobile-close {
  background: transparent;
  color: var(--h-ink);
  border: 1px solid var(--h-rule);
}

/* ---- Reveal --------------------------------------------------- */
body.page-rebrand [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--h-ease), transform 0.9s var(--h-ease);
}
body.page-rebrand [data-reveal].revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  body.page-rebrand [data-reveal] { transition: none; transform: none; opacity: 1; }
}

/* ---- Container & secties -------------------------------------- */
body.page-rebrand .container {
  max-width: 1240px;
  padding-left: var(--h-gutter);
  padding-right: var(--h-gutter);
}
body.page-rebrand .section {
  padding: 88px 0;
  background: var(--h-paper);
}
body.page-rebrand .section--dark {
  background: var(--h-paper-soft);
  color: var(--h-ink);
  position: relative;
}
body.page-rebrand .section--dark::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><defs><pattern id='p' width='40' height='40' patternUnits='userSpaceOnUse' patternTransform='rotate(15)'><path d='M20 0 L24 16 L40 20 L24 24 L20 40 L16 24 L0 20 L16 16 Z' fill='none' stroke='%231b4436' stroke-width='0.5' opacity='0.3'/></pattern></defs><rect width='200' height='200' fill='url(%23p)'/></svg>");
  background-size: 480px 480px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 80% 20%, black, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, black, transparent 65%);
}
body.page-rebrand .section--dark > .container { position: relative; z-index: 1; }

/* ---- Section-header & eyebrow --------------------------------- */
body.page-rebrand .section-header {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
body.page-rebrand .section-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 18px;
}
body.page-rebrand .section-header p {
  color: var(--h-muted-strong);
  font-size: 1.05rem;
  max-width: 56ch;
  margin: 0 auto;
}

body.page-rebrand .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--h-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--h-moss);
  margin-bottom: 16px;
  background: none;
  padding: 0;
  border: 0;
}
body.page-rebrand .eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}
body.page-rebrand .section-header .eyebrow {
  justify-content: center;
}

body.page-rebrand h2 em,
body.page-rebrand h3 em,
body.page-rebrand .page-hero__title em {
  font-style: italic;
  color: var(--h-moss);
  font-weight: 380;
}

/* ---- Page hero ------------------------------------------------ */
body.page-rebrand .page-hero {
  background: var(--h-paper);
  padding: calc(var(--nav-height, 80px) + 72px) 0 88px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
}
body.page-rebrand .page-hero::before {
  content: "";
  position: absolute;
  top: -10%; right: -8%;
  width: 640px; height: 640px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><defs><pattern id='p' width='40' height='40' patternUnits='userSpaceOnUse' patternTransform='rotate(15)'><path d='M20 0 L24 16 L40 20 L24 24 L20 40 L16 24 L0 20 L16 16 Z' fill='none' stroke='%231b4436' stroke-width='0.6' opacity='0.45'/><circle cx='20' cy='20' r='1' fill='%23a37a2c' opacity='0.5'/></pattern></defs><rect width='200' height='200' fill='url(%23p)'/></svg>");
  background-size: 480px 480px;
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
  mask-image: radial-gradient(circle at 80% 20%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 80% 20%, black, transparent 70%);
}
body.page-rebrand .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 12% 30%, rgba(255,255,255,0.5), transparent 55%),
    radial-gradient(ellipse at 92% 92%, rgba(163,122,44,0.08), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
body.page-rebrand .page-hero__geo {
  display: none;
}
body.page-rebrand .page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 1080px;
}

body.page-rebrand .page-hero__eyebrow {
  font-family: var(--h-ar);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--h-moss);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 22px;
  background: none;
  border: 0;
  padding: 0;
  direction: rtl;
  display: block;
  line-height: 1;
}
body.page-rebrand .page-hero__eyebrow::before { content: none; }

body.page-rebrand .page-hero__title {
  font-family: var(--h-serif);
  font-weight: 380;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--h-ink);
  margin-bottom: 24px;
  max-width: 18ch;
  background: none;
  -webkit-text-fill-color: var(--h-ink);
  font-variation-settings: 'opsz' 120, 'SOFT' 30;
}

body.page-rebrand .page-hero__sub {
  font-family: var(--h-sans);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--h-muted-strong);
  max-width: 56ch;
}

/* ---- Split ---------------------------------------------------- */
body.page-rebrand .split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 880px) {
  body.page-rebrand .split { grid-template-columns: 1fr; gap: 40px; }
}
body.page-rebrand .split__text h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 20px;
}
body.page-rebrand .split__text h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

/* ---- Visual block (Arabische letterkaart) -------------------- */
body.page-rebrand .visual-block {
  background: #fff;
  border: 1px solid var(--h-rule);
  border-radius: 4px;
  padding: 56px 32px;
  text-align: center;
  position: relative;
  box-shadow:
    0 1px 0 rgba(15,31,25,0.04),
    0 30px 70px -40px rgba(15,31,25,0.22);
  overflow: hidden;
}
body.page-rebrand .visual-block::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--h-moss), var(--h-gold) 60%, transparent);
}
body.page-rebrand .visual-block__inner { position: relative; z-index: 1; }
body.page-rebrand .visual-block__ar {
  font-family: var(--h-ar);
  font-size: clamp(3.5rem, 8vw, 6rem);
  color: var(--h-moss);
  line-height: 1;
  margin-bottom: 14px;
  -webkit-text-fill-color: var(--h-moss);
  background: none;
}
body.page-rebrand .visual-block__label {
  font-family: var(--h-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--h-muted);
  font-weight: 500;
}

/* ---- Mosque photos ------------------------------------------- */
body.page-rebrand .mosque-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 720px) {
  body.page-rebrand .mosque-photos { grid-template-columns: 1fr; }
}
body.page-rebrand .mosque-photo {
  margin: 0;
  background: #fff;
  border: 1px solid var(--h-rule);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15,31,25,0.04), 0 20px 50px -30px rgba(15,31,25,0.2);
}
body.page-rebrand .mosque-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s var(--h-ease);
}
body.page-rebrand .mosque-photo:hover img { transform: scale(1.02); }
body.page-rebrand .mosque-photo figcaption {
  padding: 14px 18px;
  font-family: var(--h-sans);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--h-muted);
  text-align: center;
  border-top: 1px solid var(--h-rule-soft);
  background: #fff;
  text-transform: none;
}

/* ---- Stats --------------------------------------------------- */
body.page-rebrand .stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 24px 0;
}
@media (max-width: 880px) { body.page-rebrand .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
body.page-rebrand .stat-item { text-align: center; }
body.page-rebrand .stat-num {
  display: block;
  font-family: var(--h-serif);
  font-weight: 380;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--h-ink);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  -webkit-text-fill-color: var(--h-ink);
  background: none;
}
body.page-rebrand .stat-label {
  display: block;
  font-family: var(--h-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--h-muted);
}

/* ---- Cards --------------------------------------------------- */
body.page-rebrand .grid {
  display: grid;
  gap: 24px;
}
body.page-rebrand .grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) {
  body.page-rebrand .grid--3 { grid-template-columns: 1fr; }
}

body.page-rebrand .card {
  background: #fff;
  border: 1px solid var(--h-rule);
  border-radius: 4px;
  padding: 28px 26px;
  box-shadow: 0 1px 0 rgba(15,31,25,0.04);
  transition: transform 0.25s var(--h-ease), box-shadow 0.25s var(--h-ease), border-color 0.25s var(--h-ease);
  position: relative;
}
body.page-rebrand .card::before { content: none; }
body.page-rebrand .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(15,31,25,0.04), 0 24px 50px -28px rgba(15,31,25,0.22);
  border-color: rgba(15, 31, 25, 0.22);
}
body.page-rebrand .card--gold-top {
  position: relative;
}
body.page-rebrand .card--gold-top::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--h-moss), var(--h-gold) 60%, transparent);
  border-radius: 4px 4px 0 0;
}
body.page-rebrand .card__icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--h-moss);
  background: var(--h-gold-pale);
  border-radius: 999px;
  margin-bottom: 18px;
}
body.page-rebrand .card__icon svg { stroke: var(--h-moss); }

body.page-rebrand .card__title {
  font-family: var(--h-serif);
  font-weight: 420;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--h-ink);
  margin-bottom: 10px;
}
body.page-rebrand .card__text {
  color: var(--h-muted-strong);
  font-size: 0.96rem;
  line-height: 1.65;
}
body.page-rebrand .card__prayer-name {
  display: inline-block;
  font-family: var(--h-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--h-gold);
  margin-bottom: 12px;
  background: none;
  padding: 0;
  border: 0;
}

/* ---- Timeline ------------------------------------------------ */
body.page-rebrand .timeline {
  position: relative;
  padding-left: 80px;
  max-width: 920px;
  margin: 0 auto;
}
body.page-rebrand .timeline::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 8px; bottom: 8px;
  width: 1px;
  background: var(--h-rule);
}
body.page-rebrand .timeline__item {
  position: relative;
  margin-bottom: 56px;
  padding: 0;
}
body.page-rebrand .timeline__item:last-child { margin-bottom: 0; }

body.page-rebrand .timeline__marker {
  position: absolute;
  left: -56px;
  top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--h-paper);
  border: 1.5px solid var(--h-moss);
  box-shadow: 0 0 0 4px var(--h-paper);
}
body.page-rebrand .timeline__marker--gold {
  background: var(--h-gold);
  border-color: var(--h-gold);
}
body.page-rebrand .timeline__content {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
body.page-rebrand .timeline__year {
  display: inline-block;
  font-family: var(--h-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--h-moss);
  margin-bottom: 10px;
  background: none;
  padding: 0;
  border: 0;
}
body.page-rebrand .timeline__title {
  font-family: var(--h-serif);
  font-weight: 420;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--h-ink);
  margin-bottom: 14px;
}
body.page-rebrand .timeline__content p {
  color: var(--h-muted-strong);
  font-size: 1rem;
  line-height: 1.7;
}
body.page-rebrand .timeline__content p strong {
  color: var(--h-moss);
  font-weight: 500;
}
@media (max-width: 720px) {
  body.page-rebrand .timeline { padding-left: 44px; }
  body.page-rebrand .timeline::before { left: 14px; }
  body.page-rebrand .timeline__marker { left: -34px; width: 12px; height: 12px; }
}

/* ---- Quote --------------------------------------------------- */
body.page-rebrand .quote-block {
  text-align: center;
  padding: 72px 24px;
  margin: 0;
  background: var(--h-paper-soft);
  border: 0;
  position: relative;
}
body.page-rebrand .quote-block::before,
body.page-rebrand .quote-block::after { content: none; }
body.page-rebrand .quote-block__text {
  font-family: var(--h-ar);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--h-moss);
  line-height: 1.7;
  margin: 0 auto 18px;
  max-width: 28ch;
  -webkit-text-fill-color: var(--h-moss);
  background: none;
  font-weight: 400;
}
body.page-rebrand .quote-block__source {
  font-family: var(--h-sans);
  font-size: 0.92rem;
  letter-spacing: 0;
  color: var(--h-muted);
  font-style: normal;
  text-transform: none;
  border: 0;
  padding: 0;
  display: block;
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.5;
}

/* ---- Buttons ------------------------------------------------- */
body.page-rebrand .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--h-sans);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  letter-spacing: 0;
  text-transform: none;
  transition: background 0.2s var(--h-ease), color 0.2s var(--h-ease),
              border-color 0.2s var(--h-ease), transform 0.2s var(--h-ease),
              box-shadow 0.25s var(--h-ease);
  cursor: pointer;
  text-decoration: none;
}
body.page-rebrand .btn--gold {
  background: var(--h-moss);
  color: #fff;
  border-color: var(--h-moss);
}
body.page-rebrand .btn--gold:hover {
  background: var(--h-moss-deep);
  border-color: var(--h-moss-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -14px rgba(15,46,35,0.5);
}
body.page-rebrand .btn--outline {
  background: transparent;
  color: var(--h-ink);
  border-color: var(--h-rule);
}
body.page-rebrand .btn--outline:hover {
  border-color: var(--h-ink);
  background: transparent;
  color: var(--h-ink);
  transform: translateY(-1px);
}
body.page-rebrand .btn--full { width: 100%; justify-content: center; }

/* Hold-to-confirm knop — behoud functionaliteit, restyle visueel */
body.page-rebrand .btn-hold {
  position: relative;
  overflow: hidden;
  background: var(--h-moss);
  color: #fff;
  border-color: var(--h-moss);
}
body.page-rebrand .btn-hold__fill {
  background: var(--h-gold);
}
body.page-rebrand .btn-hold__label {
  color: #fff;
}

/* ---- Forms --------------------------------------------------- */
body.page-rebrand .form-group { margin-bottom: 18px; }
body.page-rebrand .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 0;
}
@media (max-width: 560px) {
  body.page-rebrand .form-row { grid-template-columns: 1fr; }
}
body.page-rebrand .form-label {
  display: block;
  font-family: var(--h-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--h-muted);
  margin-bottom: 8px;
}
body.page-rebrand .form-input,
body.page-rebrand .form-select,
body.page-rebrand .form-textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--h-rule);
  color: var(--h-ink);
  padding: 12px 16px;
  border-radius: 4px;
  font-family: var(--h-sans);
  font-size: 0.95rem;
  font-weight: 400;
  transition: border-color 0.2s var(--h-ease), box-shadow 0.2s var(--h-ease);
}
body.page-rebrand .form-input::placeholder,
body.page-rebrand .form-textarea::placeholder {
  color: rgba(15, 31, 25, 0.35);
}
body.page-rebrand .form-input:focus,
body.page-rebrand .form-select:focus,
body.page-rebrand .form-textarea:focus {
  outline: none;
  border-color: var(--h-moss);
  box-shadow: 0 0 0 3px rgba(27,68,54,0.12);
}
body.page-rebrand .form-textarea { resize: vertical; min-height: 120px; }

/* Inline donatie/drager input fields die met inline style worden gerenderd */
body.page-rebrand input[type="text"],
body.page-rebrand input[type="email"],
body.page-rebrand input[type="tel"],
body.page-rebrand input[type="number"] {
  background: #fff !important;
  border: 1px solid var(--h-rule) !important;
  color: var(--h-ink) !important;
  border-radius: 4px !important;
  font-family: var(--h-sans) !important;
}
body.page-rebrand input[type="text"]:focus,
body.page-rebrand input[type="email"]:focus,
body.page-rebrand input[type="tel"]:focus,
body.page-rebrand input[type="number"]:focus {
  border-color: var(--h-moss) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(27,68,54,0.12);
}

/* ---- Contact info -------------------------------------------- */
body.page-rebrand .contact-info {
  background: #fff;
  border: 1px solid var(--h-rule);
  border-radius: 4px;
  padding: 32px;
  position: relative;
  box-shadow: 0 1px 0 rgba(15,31,25,0.04);
}
body.page-rebrand .contact-info::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--h-moss), var(--h-gold) 60%, transparent);
  border-radius: 4px 4px 0 0;
}
body.page-rebrand .contact-info__title {
  font-family: var(--h-serif);
  font-weight: 420;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--h-ink);
  margin-bottom: 22px;
}
body.page-rebrand .contact-info__item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--h-rule-soft);
  align-items: flex-start;
}
body.page-rebrand .contact-info__item:last-of-type { border-bottom: none; }
body.page-rebrand .contact-info__icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--h-moss);
  background: var(--h-gold-pale);
  border-radius: 999px;
}
body.page-rebrand .contact-info__icon svg { stroke: var(--h-moss); }
body.page-rebrand .contact-info__label {
  font-family: var(--h-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--h-muted);
  font-weight: 500;
  margin-bottom: 4px;
}
body.page-rebrand .contact-info__value {
  font-family: var(--h-sans);
  font-size: 0.96rem;
  color: var(--h-ink);
  font-weight: 500;
  line-height: 1.5;
  font-style: normal;
}
body.page-rebrand .contact-info__link { color: var(--h-moss); text-decoration: none; }
body.page-rebrand .contact-info__link:hover { color: var(--h-moss-deep); }
body.page-rebrand .contact-info__hours {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--h-rule-soft);
}
body.page-rebrand .contact-info__hours-title {
  font-family: var(--h-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--h-moss);
  margin-bottom: 10px;
  font-weight: 500;
}
body.page-rebrand .contact-info__hours p {
  font-size: 0.92rem;
  color: var(--h-muted-strong);
  margin: 4px 0;
  line-height: 1.5;
}

/* ---- Map / location ------------------------------------------ */
body.page-rebrand .map-embed,
body.page-rebrand .map-placeholder {
  background: #fff;
  border: 1px solid var(--h-rule);
  border-radius: 4px;
  padding: 56px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15,31,25,0.04);
}
body.page-rebrand .map-embed::before,
body.page-rebrand .map-placeholder::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--h-moss), var(--h-gold) 60%, transparent);
}
body.page-rebrand .map-embed__inner h3 {
  color: var(--h-ink) !important;
  font-family: var(--h-serif) !important;
  font-weight: 420 !important;
  letter-spacing: -0.02em;
}
body.page-rebrand .map-embed__inner p,
body.page-rebrand .map-placeholder p {
  color: var(--h-muted-strong) !important;
  font-family: var(--h-sans);
  margin: 4px 0;
}
body.page-rebrand .map-embed__inner svg,
body.page-rebrand .map-placeholder svg {
  stroke: var(--h-gold) !important;
}

/* ---- Edu table ----------------------------------------------- */
body.page-rebrand .edu-table-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--h-rule);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15,31,25,0.04), 0 20px 50px -30px rgba(15,31,25,0.18);
}
body.page-rebrand .edu-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--h-sans);
}
body.page-rebrand .edu-table th {
  background: var(--h-paper-soft);
  color: var(--h-moss);
  font-family: var(--h-sans);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--h-rule);
}
body.page-rebrand .edu-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--h-rule-soft);
  color: var(--h-ink);
  font-size: 0.96rem;
}
body.page-rebrand .edu-table td:first-child {
  font-weight: 500;
  color: var(--h-moss);
}
body.page-rebrand .edu-table tr:last-child td { border-bottom: none; }
body.page-rebrand .edu-table tr:hover td { background: var(--h-gold-pale); }

/* ---- Tabs ---------------------------------------------------- */
body.page-rebrand .tabs-bar {
  display: flex;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--h-rule);
  border-radius: 999px;
  padding: 6px;
  margin: 0 auto 32px;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
body.page-rebrand .tab-btn {
  background: transparent;
  border: 0;
  color: var(--h-muted);
  font-family: var(--h-sans);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0;
  text-transform: none;
  transition: background 0.2s var(--h-ease), color 0.2s var(--h-ease);
}
body.page-rebrand .tab-btn:hover { color: var(--h-ink); }
body.page-rebrand .tab-btn--active {
  background: var(--h-moss);
  color: #fff;
}
body.page-rebrand .tab-btn--active:hover { color: #fff; }

body.page-rebrand .subtabs-bar {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--h-rule);
  margin: 0 0 32px;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
}
body.page-rebrand .subtab-btn {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--h-muted);
  font-family: var(--h-sans);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 4px;
  cursor: pointer;
  letter-spacing: 0;
  text-transform: none;
  transition: color 0.2s var(--h-ease), border-color 0.2s var(--h-ease);
  margin-bottom: -1px;
}
body.page-rebrand .subtab-btn:hover { color: var(--h-ink); }
body.page-rebrand .subtab-btn--active {
  color: var(--h-moss);
  border-bottom-color: var(--h-gold);
}

body.page-rebrand .tab-panel { display: none; }
body.page-rebrand .tab-panel--active { display: block; }
body.page-rebrand .subtab-panel { display: none; }
body.page-rebrand .subtab-panel--active { display: block; }

/* Mobiele kiezer (word-lid) */
body.page-rebrand .mobile-chooser__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
body.page-rebrand .chooser-card {
  background: #fff;
  border: 1px solid var(--h-rule);
  border-radius: 4px;
  padding: 14px 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--h-ease), background 0.2s var(--h-ease);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.page-rebrand .chooser-card:hover { border-color: var(--h-moss); }
body.page-rebrand .chooser-card--active {
  background: var(--h-gold-pale);
  border-color: var(--h-gold);
}
body.page-rebrand .chooser-card__tag {
  font-family: var(--h-sans);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--h-moss);
  font-weight: 600;
}
body.page-rebrand .chooser-card__label {
  font-family: var(--h-serif);
  font-size: 1rem;
  color: var(--h-ink);
  font-weight: 420;
}

/* ---- Donate amounts ----------------------------------------- */
body.page-rebrand .donate-amounts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
body.page-rebrand .donate-amount {
  background: #fff;
  border: 1px solid var(--h-rule);
  color: var(--h-ink);
  font-family: var(--h-sans);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 0.2s var(--h-ease), background 0.2s var(--h-ease), color 0.2s var(--h-ease);
}
body.page-rebrand .donate-amount:hover {
  border-color: var(--h-moss);
  color: var(--h-moss);
}
body.page-rebrand .donate-amount--selected,
body.page-rebrand .donate-amount.donate-amount--selected {
  background: var(--h-moss);
  color: #fff;
  border-color: var(--h-moss);
}
body.page-rebrand .donate-amount--custom { border-style: dashed; }

/* ---- Bank card ---------------------------------------------- */
body.page-rebrand .bank-card {
  background: #fff;
  border: 1px solid var(--h-rule);
  border-radius: 4px;
  padding: 28px;
  position: relative;
  box-shadow: 0 1px 0 rgba(15,31,25,0.04), 0 20px 50px -30px rgba(15,31,25,0.18);
  overflow: hidden;
}
body.page-rebrand .bank-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--h-moss), var(--h-gold) 60%, transparent);
}
body.page-rebrand .bank-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--h-sans);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--h-moss);
  font-weight: 600;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--h-rule-soft);
}
body.page-rebrand .bank-card__header svg { stroke: var(--h-gold); }
body.page-rebrand .bank-card__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--h-rule-soft);
  align-items: baseline;
  flex-wrap: wrap;
}
body.page-rebrand .bank-card__row:last-child { border-bottom: 0; }
body.page-rebrand .bank-card__label {
  font-family: var(--h-sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--h-muted);
  text-transform: none;
  font-weight: 400;
}
body.page-rebrand .bank-card__value {
  font-family: var(--h-serif);
  font-size: 1rem;
  color: var(--h-ink);
  font-weight: 420;
  text-align: right;
}

/* ---- Prayer table (gebedstijden) ---------------------------- */
body.page-rebrand .pt-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
body.page-rebrand .pt-nav__btn {
  background: #fff;
  border: 1px solid var(--h-rule);
  color: var(--h-ink);
  width: 40px; height: 40px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
body.page-rebrand .pt-nav__btn:hover {
  border-color: var(--h-moss);
  color: var(--h-moss);
}
body.page-rebrand .pt-nav__label {
  font-family: var(--h-serif);
  font-size: 1.4rem;
  font-weight: 420;
  color: var(--h-ink);
  letter-spacing: -0.02em;
  min-width: 220px;
  text-align: center;
}
body.page-rebrand .pt-nav__today {
  background: var(--h-gold-pale);
  color: var(--h-moss);
  border: 1px solid var(--h-gold);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--h-sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
body.page-rebrand .pt-nav__today:hover {
  background: var(--h-gold);
  color: #fff;
}

body.page-rebrand .pt-table-wrap {
  background: #fff;
  border: 1px solid var(--h-rule);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15,31,25,0.04), 0 20px 50px -30px rgba(15,31,25,0.18);
  overflow-x: auto;
}
body.page-rebrand .pt-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--h-sans);
  min-width: 640px;
}
body.page-rebrand .pt-table th {
  background: var(--h-paper-soft);
  color: var(--h-moss);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--h-rule);
}
body.page-rebrand .pt-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--h-rule-soft);
  font-size: 0.92rem;
  color: var(--h-ink);
  font-variant-numeric: tabular-nums;
}
body.page-rebrand .pt-table tr:hover td { background: var(--h-gold-pale); }
body.page-rebrand .pt-table tr.is-today td,
body.page-rebrand .pt-table tr[data-today="true"] td {
  background: var(--h-gold-pale);
  font-weight: 500;
}
body.page-rebrand .pt-table tr:last-child td { border-bottom: none; }

/* Vrijdag accent — subtiele goud-tint op het rijtje + iets feller dag-label.
   Werkt naast de bestaande today-highlight; today wint qua background. */
body.page-rebrand .pt-table tr.pt-friday .pt-day {
  color: var(--h-gold);
  font-weight: 600;
}
body.page-rebrand .pt-table tr.pt-friday td {
  background: linear-gradient(to right, rgba(184,140,57,0.06), transparent 30%);
}

/* ---- Mobile: dag-kolom volledig weg, alleen datum + 5 gebeden ---- */
@media (max-width: 640px) {
  body.page-rebrand .pt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  body.page-rebrand .pt-table {
    min-width: 0;
    width: 100%;
    table-layout: auto;
    font-size: 0.82rem;
  }

  /* Day-kolom volledig uit de layout */
  body.page-rebrand .pt-table .pt-th-day,
  body.page-rebrand .pt-table .pt-day { display: none !important; }

  /* style.css zet rijen op display:grid met 7 tracks (incl. dag).
     Met .pt-day hidden blijft die 7e track over als lege kolom — hier 6 tracks.
     Datum-track breed genoeg voor "25 mei" (dubbele cijfers + maand). */
  body.page-rebrand .pt-table tr {
    grid-template-columns: 72px repeat(5, 1fr);
  }

  body.page-rebrand .pt-table th {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    padding: 12px 4px;
    white-space: nowrap;
    text-align: center;
  }
  body.page-rebrand .pt-table td {
    padding: 12px 4px;
    font-size: 0.86rem;
    white-space: nowrap;
    text-align: center;
  }
  body.page-rebrand .pt-table .pt-date {
    color: var(--h-ink);
    font-weight: 500;
    text-align: left;
    padding-left: 14px;
  }
  body.page-rebrand .pt-table .pt-th-date {
    text-align: left;
    padding-left: 14px;
  }
  body.page-rebrand .pt-table th:last-child,
  body.page-rebrand .pt-table td:last-child { padding-right: 14px; }

  /* Vrijdag accent: donkere moss-rij met lichte tekst — geen ster nodig */
  body.page-rebrand .pt-table tr.pt-friday td {
    background: var(--h-moss-deep);
    background-image: none;
    color: #f5efe1;
  }
  body.page-rebrand .pt-table tr.pt-friday .pt-date {
    color: #f5efe1;
    font-weight: 600;
  }
}

@media (max-width: 380px) {
  body.page-rebrand .pt-table th { font-size: 0.56rem; padding: 10px 3px; }
  body.page-rebrand .pt-table td { padding: 10px 3px; font-size: 0.8rem; }
  body.page-rebrand .pt-table .pt-date,
  body.page-rebrand .pt-table .pt-th-date { padding-left: 10px; }
  body.page-rebrand .pt-table th:last-child,
  body.page-rebrand .pt-table td:last-child { padding-right: 10px; }
}

/* ---- Mobile: nav-row + iqama-bar fit ---- */
@media (max-width: 640px) {
  body.page-rebrand .pt-nav { flex-wrap: wrap; gap: 10px; }
  body.page-rebrand .pt-nav__label { font-size: 1rem; }
  body.page-rebrand .pt-iqama-bar {
    display: flex;
    flex-wrap: wrap;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 0.78rem;
    line-height: 1.6;
  }
}

body.page-rebrand .pt-loading {
  padding: 40px;
  text-align: center;
  color: var(--h-muted);
  font-family: var(--h-sans);
}

body.page-rebrand .pt-iqama-bar {
  margin-top: 20px;
  padding: 14px 20px;
  background: var(--h-gold-pale);
  border: 1px solid var(--h-gold);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--h-sans);
  font-size: 0.9rem;
  color: var(--h-moss-deep);
}
body.page-rebrand .pt-iqama-bar__label {
  font-weight: 600;
  letter-spacing: 0.04em;
}

body.page-rebrand .pt-note {
  margin-top: 18px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--h-muted);
}

/* ---- Footer (op subpagina's) -------------------------------- */
body.page-rebrand .footer {
  background: var(--h-moss-deep);
  color: #ece6d6;
  padding: 72px 0 32px;
  border-top: 0;
  position: relative;
}
body.page-rebrand .footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--h-gold), transparent);
}
body.page-rebrand .footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
@media (max-width: 880px) {
  body.page-rebrand .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  body.page-rebrand .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
body.page-rebrand .footer__col { display: flex; flex-direction: column; gap: 0; }
body.page-rebrand .footer__logo-img {
  height: 56px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
body.page-rebrand .footer__desc,
body.page-rebrand .footer p {
  color: rgba(236, 230, 214, 0.72);
  font-family: var(--h-sans);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 18px;
}
body.page-rebrand .footer__heading {
  font-family: var(--h-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--h-gold-soft);
  font-weight: 600;
  margin-bottom: 18px;
}
body.page-rebrand .footer__links { list-style: none; padding: 0; margin: 0; }
body.page-rebrand .footer__link {
  display: inline-block;
  font-family: var(--h-sans);
  font-size: 0.95rem;
  color: rgba(236, 230, 214, 0.78);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
body.page-rebrand .footer__link:hover {
  color: #fff;
  border-bottom-color: var(--h-gold-soft);
  padding-left: 0;
}
body.page-rebrand .footer__address p {
  color: rgba(236, 230, 214, 0.78);
  margin: 4px 0;
  font-style: normal;
}
body.page-rebrand .footer__social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
body.page-rebrand .footer__social-link {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(236, 230, 214, 0.85);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
body.page-rebrand .footer__social-link:hover {
  background: var(--h-gold);
  color: #fff;
  transform: translateY(-2px);
}
body.page-rebrand .footer__bottom {
  border-top: 1px solid rgba(236, 230, 214, 0.12);
  padding-top: 24px;
  text-align: center;
  color: rgba(236, 230, 214, 0.55);
  font-size: 0.85rem;
}
body.page-rebrand .footer__bottom p { margin: 0; color: inherit; }

/* ---- Social float ------------------------------------------- */
body.page-rebrand .social-float__label {
  background: var(--h-moss);
  color: #fff;
  font-family: var(--h-sans);
  letter-spacing: 0.16em;
}
body.page-rebrand .social-float__link--wa { background: #25d366; }
body.page-rebrand .social-float__link--ig {
  background: linear-gradient(135deg,#f09433 0%,#dc2743 50%,#bc1888 100%);
}
body.page-rebrand .social-float__link--fb { background: #1877f2; }

/* ---- Inline overrides voor inline style attributen ---------- */
/* Sommige pagina's gebruiken inline color: var(--gold) of var(--text-muted).
   We mappen die CSS-variables door naar de editorial palet, scoped aan body. */
body.page-rebrand {
  --gold: var(--h-gold);
  --gold-light: var(--h-gold-soft);
  --text-muted: var(--h-muted);
  --bg-deep: var(--h-paper-deep);
  --white: var(--h-ink);
  --border-subtle: var(--h-rule);
  --radius-sm: 4px;
}

/* Zet inline-styled inputs op donkere achtergrond (doneren) terug naar paper */
body.page-rebrand input[style*="rgba(255,255,255,0.05)"],
body.page-rebrand input[style*="rgba(255, 255, 255, 0.05)"] {
  background: #fff !important;
  color: var(--h-ink) !important;
  border-color: var(--h-rule) !important;
}

/* Bestuur-avatars (about.html) — inline gradient blijft, maar tint matchen */
body.page-rebrand .card [aria-hidden="true"][style*="border-radius:50%"] {
  background: linear-gradient(135deg, var(--h-gold), var(--h-gold-soft)) !important;
  color: #fff !important;
}

/* Inline links in sub-pagina's die var(--gold) gebruiken */
body.page-rebrand a[style*="var(--gold)"] {
  color: var(--h-moss) !important;
}
body.page-rebrand a[style*="var(--gold)"]:hover {
  color: var(--h-moss-deep) !important;
}

/* Quote inline strong tag */
body.page-rebrand strong[style*="var(--gold)"] {
  color: var(--h-moss) !important;
  font-weight: 500;
}

/* ---- Section ornament — voor visuele cadens ----------------- */
body.page-rebrand .section + .section--dark,
body.page-rebrand .section--dark + .section {
  position: relative;
}

/* ---- Page-specifieke kleine fixes --------------------------- */
/* word-lid: inline RTL Arabische tekst */
body.page-rebrand [style*="Scheherazade New"] {
  font-family: var(--h-ar) !important;
  color: var(--h-moss) !important;
}

/* Zorg dat verborgen velden geen layout breken */
body.page-rebrand input[tabindex="-1"][aria-hidden="true"] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ---- Responsiviteit kleine tweaks --------------------------- */
@media (max-width: 720px) {
  body.page-rebrand .section { padding: 64px 0; }
  body.page-rebrand .page-hero { padding: calc(var(--nav-height, 80px) + 48px) 0 64px; }
  body.page-rebrand .quote-block { padding: 56px 20px; }
}
