/*
 * Van Zwol ThuisOrganisatie
 * Copyright (c) 2026 Robèrt Ratgers
 * All rights reserved.
 * Developed with Visual Studio Code and Brackets Code Editor.
 */

/* Site-specifieke styles */

.header .logo img {
  max-height: 48px;
  margin: 0;
  width: auto;
}

/* Accessible skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: #fff;
  color: #0b2540;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  box-shadow: 0 6px 18px rgba(2,8,23,0.3);
  z-index: 9999;
}

/* Visible focus outlines for keyboard users */
:focus {
  outline: 3px solid rgba(20,157,221,0.9);
  outline-offset: 2px;
}

.header .profile-img img {
  width: 140px;
  height: 140px;
  object-fit: cover;
}

.header .logo {
  margin-bottom: 20px;
}

/* Ruimte en typografie voor thematische submenu's */
.navmenu .dropdown ul a {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 0.95rem;
}

.navmenu .dropdown ul a .navicon {
  font-size: 1rem;
  margin-right: 0.55rem;
}

.navmenu .navmenu__dropdown-heading > a span {
  flex: 1 1 auto;
}

/* Hero met startfoto (geen full-bleed achtergrond) */
.hero.dark-background {
  background: linear-gradient(160deg, #040b14 0%, #0d2137 55%, #12324a 100%);
}

.hero:before {
  background: transparent;
}

.hero .container {
  max-width: 1140px;
}

.hero h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.hero .hero-badge {
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent-color), white 20%);
  margin: 0.35rem 0 1.25rem;
  border-bottom: none;
}

.hero .lead,
.hero .hero-live-date {
  font-size: 1.05rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 12%);
}

.hero .lead {
  margin-bottom: 1.5rem;
}

.hero-photo {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, #fff, transparent 85%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 3;
  display: block;
  text-decoration: none;
  color: inherit;
}

.hero-photo img,
.hero .hero-photo img {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  z-index: auto;
  transition: transform 0.35s ease;
}

.hero-photo:hover img {
  transform: scale(1.02);
}

.section-photo {
  margin: 0 auto;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.section-photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
}

.section-photo--fit {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  background: #fff;
}

.section-photo--fit img {
  width: auto;
  max-width: min(100%, 560px);
  height: auto;
  max-height: 340px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.camper-gallery {
  align-items: stretch;
}

.camper-gallery .col-md-6 {
  display: flex;
}

.section-photo--camper {
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 0.75rem;
  background: linear-gradient(180deg, #ffffff, #f6f9fb);
  border: 1px solid rgba(15, 23, 36, 0.08);
  box-shadow: 0 14px 28px rgba(15, 23, 36, 0.08);
}

.section-photo--camper img {
  width: 100%;
  max-width: 100%;
  height: clamp(220px, 24vw, 300px);
  max-height: none;
  object-fit: contain;
  margin: 0;
  background: #f1f5f9;
  border-radius: 0.4rem;
}

.section-photo:hover img {
  transform: scale(1.01);
}

/* Per-sectie ruimte en balans */
#youtube,
#huis,
#camper,
#interesses {
  position: relative;
}

#youtube {
  padding-top: 88px;
  padding-bottom: 96px;
  background: radial-gradient(circle at top left, rgba(20, 157, 221, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(244, 250, 253, 0.72), rgba(255, 255, 255, 0.96));
}

#huis {
  padding-top: 94px;
  padding-bottom: 100px;
}

#camper {
  padding-top: 88px;
  padding-bottom: 98px;
}

#interesses {
  padding-top: 92px;
  padding-bottom: 100px;
}

#huis .content {
  padding-right: clamp(0rem, 1vw, 1.5rem);
}

#camper .content {
  padding-block: 0.5rem 0.9rem;
}

#interesses .icon-box {
  min-height: 100%;
}

body {
  background: linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
}

.section-title h2 {
  letter-spacing: -0.02em;
}

.section-title h2::after {
  width: 56px;
  height: 4px;
  border-radius: 999px;
}

.section-title p {
  max-width: 760px;
  color: rgba(15, 23, 36, 0.78);
  line-height: 1.65;
}

.hera-btn {
  border-radius: 999px;
  box-shadow: 0 10px 18px rgba(20, 157, 221, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hera-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 24px rgba(20, 157, 221, 0.22);
  filter: brightness(1.02);
}

.icon-box,
.hera-contact,
.hera-facts {
  border: 1px solid rgba(15, 23, 36, 0.06);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.9));
  box-shadow: 0 12px 30px rgba(15, 23, 36, 0.06);
}

.icon-box {
  padding: 1.5rem 1.35rem 1.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.icon-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(15, 23, 36, 0.09);
  border-color: rgba(20, 157, 221, 0.22);
}

.about .content p,
.contact .hera-contact p,
#interesses .icon-box p {
  color: rgba(15, 23, 36, 0.8);
}

.hero .lead {
  max-width: 620px;
}

.hera-facts {
  padding: 1.2rem 1rem 0.6rem;
}

.hera-facts li {
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid rgba(15, 23, 36, 0.06);
}

.hera-facts li:last-child {
  border-bottom: 0;
}

.hera-contact {
  padding: 1.6rem 1.4rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,250,253,0.9));
}

#contact .section-title {
  padding-bottom: 28px;
}

.home-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 1.1rem;
  background: linear-gradient(180deg, rgba(9, 17, 26, 0.92), rgba(18, 26, 36, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 36px rgba(4, 11, 20, 0.14);
}

.home-photo-strip__item {
  display: block;
  overflow: hidden;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(4, 11, 20, 0.2);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-photo-strip__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(4, 11, 20, 0.28);
  border-color: rgba(255, 255, 255, 0.12);
}

.home-photo-strip__item img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06) brightness(0.9);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.yt-card__media {
  box-shadow: 0 14px 28px rgba(15, 23, 36, 0.12);
}

.home-photo-strip__item:hover img {
  transform: scale(1.03);
  filter: saturate(0.95) contrast(1.1) brightness(0.96);
}

.footer {
  background: linear-gradient(180deg, rgba(10, 17, 26, 0.98), rgba(5, 13, 20, 1));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
}

.footer .sitename,
.footer a {
  color: #fff;
}

.footer .footer-credit {
  color: rgba(255, 255, 255, 0.76);
}

.footer a:hover {
  color: #d9f3ff;
}

@media (max-width: 767px) {
  .section-title h2 {
    font-size: clamp(2.05rem, 8vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 0.8rem;
  }

  .section-title p,
  .hero .lead,
  .content p,
  .icon-box p,
  .hera-contact p,
  .footer-credit,
  .section-title p a,
  .yt-card__title {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .row > [class*="col-"] {
    min-width: 0;
  }

  .home-photo-strip {
    grid-template-columns: 1fr;
    padding: 0.5rem;
  }

  .home-photo-strip__item img {
    height: 200px;
  }
}

/* Cookie consent banner */
.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 99999;
  background: linear-gradient(180deg,#ffffff, #f7fbff);
  border: 1px solid rgba(15,23,36,0.06);
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  box-shadow: 0 12px 30px rgba(15,23,36,0.08);
}
.cookie-consent__inner { display:flex; gap:0.75rem; align-items:center; justify-content:space-between; }
.cookie-consent__actions { display:flex; gap:0.5rem; }

@media (max-width: 575px) {
  .cookie-consent__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-consent__actions {
    flex-wrap: wrap;
  }
}

/* Consent modal variant */
.cookie-consent[aria-hidden="false"] { display:block; }
.cookie-consent { display:none; }
.cookie-consent[role='dialog'] { max-width: 680px; margin: 0 auto; }
.cookie-consent h3 { margin-top: 0; }
/* Light banner: the ghost button is white-on-dark elsewhere */
.cookie-consent .hera-btn.hera-btn--ghost { color: #0b2540; border-color: rgba(11, 37, 64, 0.35); }
.cookie-consent .hera-btn.hera-btn--ghost:hover { color: #0b2540; background: rgba(11, 37, 64, 0.06); border-color: #0b2540; }

.section-photo__hint {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: color-mix(in srgb, #040b14, transparent 25%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: color-mix(in srgb, #040b14, transparent 18%);
  backdrop-filter: blur(4px);
}

.photo-lightbox[hidden] {
  display: none !important;
}

.photo-lightbox__panel {
  position: relative;
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 2.5rem);
}

.photo-lightbox__panel img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 2.5rem);
  width: auto;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.photo-lightbox__close {
  position: absolute;
  top: -0.6rem;
  right: -0.6rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.photo-lightbox__close:hover {
  background: color-mix(in srgb, var(--accent-color), black 12%);
}

body.lightbox-open {
  overflow: hidden;
}

.notice-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: color-mix(in srgb, #040b14, transparent 18%);
  backdrop-filter: blur(4px);
}

.notice-lightbox[hidden] {
  display: none !important;
}

.notice-lightbox__panel {
  position: relative;
  width: min(32rem, 100%);
  padding: 2rem 1.75rem 1.75rem;
  border-radius: 1rem;
  background: linear-gradient(165deg, #fff 0%, #f4f8fc 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.notice-lightbox__close {
  position: absolute;
  top: -0.6rem;
  right: -0.6rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.notice-lightbox__close:hover {
  background: color-mix(in srgb, var(--accent-color), black 12%);
}

.notice-lightbox__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  font-size: 1.45rem;
}

.notice-lightbox__title {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--heading-color);
}

.notice-lightbox__text {
  margin: 0 0 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 12%);
  line-height: 1.65;
}

.notice-lightbox__meta {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.hera-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.header .header-toggle {
  border: 0;
  padding: 0;
}

.header .header-toggle i {
  font-size: 22px;
  line-height: 1;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f2b84b;
  outline-offset: 3px;
}

.yt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.yt-grid--two {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .yt-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .yt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.section-title p a {
  color: var(--accent-color);
  font-weight: 600;
}

.section-title p a:hover {
  color: color-mix(in srgb, var(--accent-color), black 15%);
}

.yt-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: var(--heading-color);
  text-decoration: none;
  height: 100%;
}

.yt-card:hover {
  color: var(--accent-color);
}

.yt-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0.65rem;
  aspect-ratio: 16 / 9;
  background: #111;
}

.yt-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.film-poster {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
}

.yt-card:hover .yt-card__media img,
.yt-card:hover .film-poster {
  transform: scale(1.04);
}

.yt-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, #000, transparent 55%);
  color: #fff;
  font-size: 1.75rem;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

.yt-card:hover .yt-card__play {
  opacity: 1;
}

.yt-card__title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.yt-card__meta {
  color: var(--default-color);
  font-size: 0.78rem;
  line-height: 1.3;
}

.yt-card__external {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: color-mix(in srgb, #040b14, transparent 18%);
  backdrop-filter: blur(4px);
}

.video-lightbox[hidden] {
  display: none !important;
}

.video-lightbox__panel {
  position: relative;
  width: min(960px, 100%);
  background: #0b1520;
  border-radius: 0.85rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.video-lightbox__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-lightbox__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.9rem 1.1rem 1.05rem;
}

.video-lightbox__title {
  margin: 0;
  flex: 1 1 12rem;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
}

.video-lightbox__external {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: color-mix(in srgb, var(--accent-color), white 25%);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.video-lightbox__external:hover {
  color: #fff;
}

.video-lightbox__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-lightbox__close:hover {
  background: color-mix(in srgb, var(--accent-color), black 12%);
}

/* Countdown-overlay voor livegang */
.launch-countdown {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(20, 157, 221, 0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(36, 183, 164, 0.14), transparent 40%),
    #040b14;
  color: #fff;
}

.launch-countdown[hidden] {
  display: none !important;
}

.launch-countdown.is-hiding {
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.launch-countdown__panel {
  width: min(900px, 100%);
  text-align: center;
  padding: 2.5rem 1.85rem 2.25rem;
  border-radius: 1.25rem;
  border: 1px solid color-mix(in srgb, #7fe0d2, transparent 45%);
  background:
    radial-gradient(circle at 50% 0%, rgba(36, 183, 164, 0.22), transparent 55%),
    linear-gradient(165deg, #16324a 0%, #0c1c2e 48%, #08131f 100%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, #fbe7a1, transparent 88%),
    0 0 40px rgba(36, 183, 164, 0.18),
    0 28px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

@media (min-width: 576px) {
  .launch-countdown__panel {
    padding: 3rem 3.25rem 2.75rem;
  }
}

.launch-countdown__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 1rem;
  border: 1px solid color-mix(in srgb, #7fe0d2, transparent 35%);
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aecd9;
  background: color-mix(in srgb, #24b7a4, transparent 88%);
}

.launch-countdown__panel h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4.5vw, 2.85rem);
  margin-bottom: 0.85rem;
}

.launch-countdown__lead {
  color: color-mix(in srgb, #fff, transparent 12%);
  margin-bottom: 2rem;
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.launch-countdown__hint {
  margin: 1.75rem 0 1.15rem;
  color: color-mix(in srgb, #fff, transparent 22%);
  font-size: 1rem;
}

.launch-countdown__hint kbd {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border: 1px solid color-mix(in srgb, #7fe0d2, transparent 55%);
  border-radius: 0.4rem;
  font-size: 0.88em;
  background: color-mix(in srgb, #24b7a4, transparent 85%);
  color: #e8fffa;
}

.countdown {
  gap: 1rem;
  flex-wrap: wrap;
}

.countdown > div {
  min-width: 6.75rem;
  padding: 1.2rem 1rem;
  border-radius: 0.9rem;
  background: color-mix(in srgb, #24b7a4, transparent 88%);
  border: 1px solid color-mix(in srgb, #7fe0d2, transparent 55%);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff, transparent 90%);
}

.countdown h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 2.6rem);
  font-weight: 700;
}

.countdown h4 {
  margin: 0.4rem 0 0;
  color: color-mix(in srgb, #9aecd9, transparent 15%);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Contentblokken en feitenlijsten */
.about .content,
.icon-box,
.hera-facts,
.hera-contact {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 0.75rem;
  padding: 1.5rem;
  height: 100%;
}

.about .content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.icon-box i {
  font-size: 1.75rem;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.icon-box__logo-link {
  display: inline-block;
  margin-bottom: 0.85rem;
  line-height: 0;
  cursor: zoom-in;
}

.icon-box__logo-link:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
  border-radius: 0.65rem;
}

.icon-box__logo {
  display: block;
  width: 3.75rem;
  height: 3.75rem;
  object-fit: cover;
  object-position: 50% 51%;
  border-radius: 0.65rem;
  margin-bottom: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.icon-box--divergify {
  background:
    linear-gradient(145deg, color-mix(in srgb, #f7941d, transparent 92%) 0%, transparent 42%),
    var(--surface-color);
}

.icon-box h3,
.icon-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.icon-box p,
.about .content p,
.hera-contact p {
  margin-bottom: 0.75rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.icon-box p:last-child,
.about .content p:last-child,
.hera-contact p:last-child {
  margin-bottom: 0;
}

.hera-facts {
  list-style: none;
  margin: 0;
  padding: 1.25rem 1.5rem;
}

.hera-facts li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.hera-facts li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hera-facts li:first-child {
  padding-top: 0;
}

.hera-facts i {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.hera-facts a {
  color: var(--heading-color);
}

.hera-facts a:hover {
  color: var(--accent-color);
}

.hera-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 600;
  border: 0;
  text-decoration: none;
  transition: 0.25s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.hera-btn:hover {
  background: color-mix(in srgb, var(--accent-color), black 12%);
  color: var(--contrast-color);
}

.hera-btn.hera-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid color-mix(in srgb, #fff, transparent 55%);
}

.hera-btn.hera-btn--ghost:hover {
  background: color-mix(in srgb, #fff, transparent 90%);
  color: #fff;
  border-color: #fff;
}

.hera-btn.hera-btn--outline {
  background: transparent;
  color: var(--accent-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 35%);
  box-shadow: none;
}

.hera-btn.hera-btn--outline:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 10px 18px rgba(20, 157, 221, 0.12);
}

.hera-contact .info-item {
  margin-bottom: 1.25rem;
}

.hera-contact .info-item i {
  font-size: 1.35rem;
  color: var(--accent-color);
  margin-right: 0.85rem;
  margin-top: 0.2rem;
}

.hera-map {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.hera-map iframe {
  display: block;
  width: 100%;
  min-height: 220px;
  border: 0;
}

.hera-map-link {
  margin-top: 0.75rem;
}

.hera-page-top {
  padding-top: 40px;
}

.hera-contact-form .form-label {
  font-weight: 600;
}

.hera-contact-form .form-control {
  border-radius: 0.5rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.hera-contact-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 80%);
}

.hera-contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--accent-color);
  color: #fff;
  font-weight: 600;
}

.hera-contact-form button[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color), black 12%);
}

.hera-contact__alert {
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
}

.hera-contact__alert--success {
  background: #e8f8ef;
  color: #0a5c34;
}

.hera-contact__alert--error {
  background: #fdecec;
  color: #8a1f1f;
}

.hera-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hera-captcha-box {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 0.75rem;
  padding: 1rem 1.1rem 1.15rem;
}

.hera-captcha-box legend {
  font-size: 0.95rem;
  float: none;
  width: auto;
  padding: 0 0.25rem;
  margin-bottom: 0.75rem;
}

.hera-zegels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hera-zegel {
  cursor: pointer;
  margin: 0;
}

.hera-zegel input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hera-zegel img {
  display: block;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  transition: 0.2s;
}

.hera-zegel:hover img,
.hera-zegel:has(input:checked) img,
.hera-zegel:has(input:focus-visible) img {
  border-color: var(--accent-color);
}

.footer-credit a {
  color: var(--accent-color);
}

.bouwfotos-jaar__media {
  background: #d7e4dc;
}

.bouwfotos-jaar__poster {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
}

.bouwfotos-jaren .yt-card:hover .bouwfotos-jaar__poster {
  transform: scale(1.04);
}

.bouwfotos-jaar__label {
  position: absolute;
  right: 0.85rem;
  bottom: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(75, 99, 84, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #4d6758;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(39, 53, 45, 0.1);
}

.bouwfotos-intro__back {
  margin-top: 1rem;
}

/* Bouwfotoarchief */
.bouwfotos-archief {
  background:
    radial-gradient(ellipse at 12% 8%, rgba(224, 163, 79, 0.12), transparent 32%),
    var(--background-color);
}

.bouwfotos-intro {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.5rem;
  border: 1px solid #e7dfd0;
  border-radius: 1rem;
  background: linear-gradient(125deg, #fffdf8 0%, #f6f0e4 100%);
  box-shadow: 0 14px 36px rgba(48, 57, 49, 0.08);
}

.bouwfotos-intro__art {
  display: flex;
  min-height: 10rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.75rem;
  background:
    radial-gradient(circle at 50% 46%, #fff 0 35%, transparent 36%),
    #ece5d7;
  color: #52675c;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.bouwfotos-intro__art img {
  display: block;
  width: min(9rem, 70%);
  height: auto;
  filter: drop-shadow(0 9px 7px rgba(54, 57, 44, 0.16));
}

.bouwfotos-intro__art b {
  color: #be7249;
}

.bouwfotos-intro__copy {
  max-width: 38rem;
}

.bouwfotos-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.45rem;
  color: #557064;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.bouwfotos-intro__copy h2 {
  margin: 0 0 0.55rem;
  color: #263b35;
  font-size: clamp(1.9rem, 4vw, 2.65rem);
}

.bouwfotos-intro__lead {
  max-width: 34rem;
  margin: 0;
  color: #46554e;
  font-size: 1.04rem;
  line-height: 1.65;
}

.bouwfotos-intro__count {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin: 1rem 0 0;
  color: #66716a;
  font-size: 0.8rem;
}

.bouwfotos-intro__count strong {
  color: #ac633e;
}

.bouwfotos-chronologie {
  display: grid;
  gap: 1.15rem;
  max-width: 64rem;
  margin: 2rem auto 0;
}

.bouwfotos-maand {
  min-width: 0;
  padding: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 0.85rem;
  background: var(--surface-color);
  box-shadow: 0 8px 24px rgba(20, 35, 32, 0.045);
}

.bouwfotos-maand__header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
}

.bouwfotos-maand__pin {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.6rem;
  background: #eef3ee;
  color: #4c7161;
}

.bouwfotos-maand__header h3 {
  flex: 1;
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
}

.bouwfotos-maand__header h3 span {
  color: #9a8064;
  font-weight: 500;
}

.bouwfotos-maand__count {
  color: #7b817d;
  font-size: 0.73rem;
}

.bouwfotos-albums {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bouwfotos-album {
  display: flex;
  min-height: 4.35rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid #ecebe5;
  border-radius: 0.65rem;
  background: #fffefa;
  color: var(--heading-color);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.bouwfotos-album:hover {
  transform: translateY(-2px);
  border-color: #c4d3ca;
  background: #f7faf7;
  color: #315d4c;
}

.bouwfotos-album:focus-visible {
  outline: 3px solid #d59550;
  outline-offset: 2px;
}

.bouwfotos-album__date {
  display: flex;
  width: 2.85rem;
  height: 2.85rem;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: #f2e8d5;
  color: #855b3c;
  line-height: 1;
}

.bouwfotos-album__date span {
  font-size: 1.14rem;
  font-weight: 700;
}

.bouwfotos-album__date small {
  margin-top: 0.25rem;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bouwfotos-album__label {
  display: grid;
  min-width: 0;
  gap: 0.2rem;
}

.bouwfotos-album__label strong {
  font-size: 0.86rem;
  line-height: 1.3;
}

.bouwfotos-album__label small {
  color: #747c76;
  font-size: 0.73rem;
}

.bouwfotos-album__icon {
  margin-left: auto;
  color: #668273;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.bouwfotos-album:hover .bouwfotos-album__icon {
  transform: translate(2px, -2px);
}

@media (min-width: 600px) {
  .bouwfotos-intro {
    grid-template-columns: minmax(10.5rem, 0.7fr) 1.7fr;
    gap: 2rem;
    padding: 2rem;
  }

  .bouwfotos-intro__art {
    min-height: 13rem;
  }

  .bouwfotos-maand {
    padding: 1.25rem;
  }

  .bouwfotos-albums {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Welkomportaal (inlog / toegang aanvragen) — dark-background + sjabloonaccent */
body.portal-page {
  min-height: 100vh;
  margin: 0;
  background: var(--background-color, #040b14);
  color: var(--default-color, #ffffff);
  font-family: var(--default-font);
}

body.portal-page.dark-background,
body.portal-page {
  --background-color: #040b14;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #151f2b;
  --contrast-color: #ffffff;
}

body.portal-page #header,
body.portal-page .header,
body.portal-page #preloader,
body.portal-page #scroll-top {
  display: none !important;
}

body.portal-page .main,
body.portal-page .portal {
  margin-left: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.portal__card {
  width: min(100%, 540px);
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 1.75rem 1.5rem 1.6rem;
}

.portal__brand {
  text-align: center;
  margin-bottom: 1.35rem;
}

.portal__logo {
  display: inline-block;
  max-width: 260px;
  height: auto;
  margin-bottom: 0.85rem;
}

.portal__title {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 700;
}

.portal__lead {
  margin: 0 auto;
  max-width: 32ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--default-color), transparent 22%);
  font-family: var(--default-font);
  text-wrap: balance;
}

.portal__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 1.35rem 0 1.15rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 6px;
  overflow: hidden;
  background: color-mix(in srgb, var(--background-color), transparent 20%);
}

.portal__tab {
  display: block;
  text-align: center;
  padding: 0.72rem 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--nav-font);
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.portal__tab:hover {
  color: var(--default-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.portal__tab.is-active {
  color: var(--default-color);
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  border-bottom-color: var(--accent-color);
}

.portal__panel[hidden] {
  display: none !important;
}

.portal__note {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-family: var(--default-font);
}

.portal__form {
  display: grid;
  gap: 0.95rem;
  position: relative;
}

.portal__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 12%);
  font-family: var(--nav-font);
}

.portal__optional {
  color: color-mix(in srgb, var(--default-color), transparent 45%);
  font-weight: 400;
}

.portal__field input,
.portal__field textarea {
  width: 100%;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 82%);
  background: var(--background-color);
  color: var(--default-color);
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  font-family: var(--default-font);
}

.portal__field input:focus,
.portal__field textarea:focus {
  outline: 0;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 75%);
}

.portal__field textarea {
  resize: vertical;
  min-height: 6rem;
}

.portal__submit {
  width: 100%;
  margin-top: 0.25rem;
  border-radius: 4px;
  border: 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 600;
  padding: 0.78rem 1rem;
  transition: background 0.2s;
}

.portal__submit:hover {
  background: color-mix(in srgb, var(--accent-color), black 12%);
  color: var(--contrast-color);
}

.portal__alert {
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.45;
  font-family: var(--default-font);
}

.portal__alert--error {
  background: color-mix(in srgb, #dc3545, transparent 85%);
  border: 1px solid color-mix(in srgb, #dc3545, transparent 55%);
  color: #ffc9ce;
}

.portal__alert--success {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 55%);
  color: #cfefff;
}

.portal__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.portal__captcha {
  margin: 0;
  padding: 0.85rem 0.9rem 0.5rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 6px;
  background: color-mix(in srgb, var(--background-color), transparent 30%);
}

.portal__captcha legend {
  float: none;
  width: auto;
  padding: 0 0.25rem;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 12%);
  font-family: var(--nav-font);
  margin-bottom: 0.65rem;
}

.portal__captcha .hera-zegels {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: 0.85rem 1rem;
}

.portal__captcha .hera-zegel img {
  width: clamp(96px, 14vw, 120px);
  height: auto;
  aspect-ratio: 1;
  border-color: color-mix(in srgb, var(--default-color), transparent 82%);
}

@media (min-width: 1200px) {
  .portal__card {
    padding: 2rem 1.75rem 1.75rem;
  }
}

/* Sessiebalk onder de browserrand */
.portal-adminbar {
  position: sticky;
  top: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 1rem;
  background: #040b14;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 55%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  font-family: var(--nav-font);
}

.portal-adminbar__text i {
  color: var(--accent-color);
  margin-right: 0.35rem;
}

.portal-adminbar__out {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.portal-adminbar__out:hover {
  color: #ffffff;
}

.portal-session {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1.1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
}

.portal-session__chip {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--accent-color), white 35%);
  font-family: var(--nav-font);
}

.portal-session__chip i {
  margin-right: 0.3rem;
}

.portal-session__out {
  font-size: 0.8rem;
  color: var(--accent-color);
  text-decoration: none;
  font-family: var(--nav-font);
}

.portal-session__out:hover {
  color: #ffffff;
}

.footer-session,
.footer .footer-session {
  color: #ffffff;
  font-family: var(--nav-font);
  font-weight: 500;
}

.footer-session__user {
  color: #ffffff;
  font-weight: 700;
}

@media (min-width: 1200px) {
  body:has(.portal-adminbar) .header {
    top: 2.1rem;
    height: calc(100vh - 2.1rem);
  }
}

body.countdown-open {
  overflow: hidden;
}

@media (max-width: 1199px) {
  .header .header-toggle {
    display: flex;
  }
}
