/* SRH publieke site — modern layout (Foundation grid uit app.css blijft voor overige pagina's) */
:root {
  --srh-purple: #38197a;
  --srh-purple-dark: #2a125c;
  --srh-purple-light: #5c3ba3;
  --srh-cream: #f7f5fb;
  --srh-text: #1a1523;
  --srh-orange: #e67200;
  --srh-orange-dark: #c96200;
  --srh-white: #fff;
  --srh-radius: 12px;
  --srh-radius-sm: 8px;
  --srh-shadow: 0 4px 24px rgba(26, 21, 35, 0.08);
  --srh-shadow-lg: 0 12px 48px rgba(26, 21, 35, 0.12);
  --header-z: 200;
  --font-sans: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --container: min(1120px, calc(100% - 2rem));
}

/* Knoppen: altijd vetgedrukte tekst (Foundation app.css zet font-weight: 300) */
button:not(.srh-dialog__close):not(.site-nav__toggle),
input[type="submit"],
input[type="button"].button,
.button,
.btn,
a.btn,
.album a.album-button,
.news-card__readmore,
.news-item a.readmore,
.sweet-alert button.confirm,
.srh-dialog button.login-modal__toggle {
  font-weight: 700;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--srh-text);
  background: var(--srh-white);
  margin: 0;
  line-height: 1.6;
}

/* ——— Site header ——— */
.site-top {
  position: sticky;
  top: 0;
  z-index: var(--header-z);
  background: var(--srh-white);
  box-shadow: 0 1px 0 rgba(56, 25, 122, 0.08);
}

.site-header {
  background: var(--srh-white);
}

.site-header__inner {
  max-width: min(1280px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--srh-text);
  flex-shrink: 0;
  order: 1;
}

.site-logo__img {
  height: clamp(56px, 14vw, 110px);
  width: auto;
  max-width: min(380px, 72vw);
  display: block;
  object-fit: contain;
}

.site-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--srh-cream);
  color: var(--srh-purple);
  border-radius: var(--srh-radius-sm);
  cursor: pointer;
  order: 2;
  margin-left: auto;
  flex-shrink: 0;
}

.site-nav__toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.site-nav__toggle .icon-bar::before,
.site-nav__toggle .icon-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.site-nav__toggle .icon-bar::before {
  top: -7px;
}

.site-nav__toggle .icon-bar::after {
  top: 7px;
}

.site-header__right {
  order: 3;
  flex: 1 1 100%;
}

.site-nav__panel {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0 0.75rem;
  background: var(--srh-white);
  border-top: 1px solid rgba(56, 25, 122, 0.08);
}

.site-nav__panel.is-open {
  display: flex;
}

.site-nav__link {
  display: block;
  padding: 0.6rem 0.75rem;
  color: var(--srh-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--srh-radius-sm);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  background: var(--srh-cream);
  color: var(--srh-purple);
  outline: none;
}

.site-nav__link.is-active {
  color: var(--srh-purple);
}

.site-nav__link--mobile-only {
  display: block;
}

.site-header__actions {
  display: none;
}

.site-header__accent {
  height: 3px;
  background: linear-gradient(90deg, var(--srh-purple-dark), var(--srh-purple));
}

@media (min-width: 960px) {
  .site-header__inner {
    flex-wrap: nowrap;
    padding: 0.75rem 1rem;
    gap: 1rem;
  }

  .site-logo__img {
    height: clamp(88px, 10vw, 110px);
    max-width: min(400px, 38vw);
  }

  .site-nav__toggle {
    display: none;
  }

  .site-header__right {
    order: 2;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    min-width: 0;
  }

  .site-nav__panel {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.1rem;
    padding: 0;
    border: none;
    background: transparent;
    min-width: 0;
  }

  .site-nav__link {
    padding: 0.45rem 0.55rem;
    font-size: 0.875rem;
  }

  .site-nav__link--mobile-only {
    display: none;
  }

  .site-header__actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .site-nav__link {
    padding: 0.45rem 0.7rem;
    font-size: 0.925rem;
  }
}

@media (min-width: 1200px) {
  .site-nav__link {
    padding: 0.5rem 0.8rem;
    font-size: 0.95rem;
  }
}

.site-header__login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--srh-purple-dark), var(--srh-purple));
  color: var(--srh-white) !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8125rem;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(56, 25, 122, 0.25);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

@media (min-width: 1100px) {
  .site-header__login-btn {
    font-size: 0.875rem;
    padding: 0.55rem 1.15rem;
  }
}

.site-header__login-btn:hover,
.site-header__login-btn:focus-visible {
  color: var(--srh-white) !important;
  background: linear-gradient(90deg, var(--srh-purple), var(--srh-purple-light));
  box-shadow: 0 4px 14px rgba(56, 25, 122, 0.35);
  transform: translateY(-1px);
  outline: none;
}

@media (max-width: 959px) {
  .site-nav__link--login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: linear-gradient(90deg, var(--srh-purple-dark), var(--srh-purple));
    color: var(--srh-white) !important;
    text-align: center;
    margin-top: 0.5rem;
  }

  .site-nav__link--login:hover,
  .site-nav__link--login:focus-visible {
    color: var(--srh-white) !important;
    background: linear-gradient(90deg, var(--srh-purple), var(--srh-purple-light));
  }
}

.login-btn-icon,
.button-icon {
  font-size: 0.9em;
  flex-shrink: 0;
}

a.button.button--with-icon,
button.button.button--with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* Ledenmenu — onder header, boven pagina-inhoud */
.site-member-nav {
  background: var(--srh-cream);
  border-bottom: 1px solid rgba(56, 25, 122, 0.1);
  border-top: 1px solid rgba(56, 25, 122, 0.06);
}

.site-member-nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.site-member-nav__link {
  color: var(--srh-purple);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 25, 122, 0.22);
  background: var(--srh-white);
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.site-member-nav__link:hover,
.site-member-nav__link:focus-visible {
  color: var(--srh-purple-dark);
  background: rgba(56, 25, 122, 0.08);
  border-color: rgba(56, 25, 122, 0.35);
  outline: none;
}

.site-member-nav__link.is-active,
.site-member-nav__link.is-active:hover,
.site-member-nav__link.is-active:focus-visible {
  color: var(--srh-white);
  background: var(--srh-purple);
  border-color: var(--srh-purple);
  box-shadow: 0 2px 12px rgba(56, 25, 122, 0.35);
}

/* ——— Hero slider ——— */
.hero-slider {
  position: relative;
  min-height: min(72vh, 560px);
  background: var(--srh-purple-dark);
}

.hero-slider__track {
  position: relative;
  min-height: inherit;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(26, 21, 35, 0.82) 0%,
    rgba(26, 21, 35, 0.55) 42%,
    rgba(26, 21, 35, 0.2) 72%,
    rgba(26, 21, 35, 0.08) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-slide__content {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 4.5rem) 1rem;
  min-height: min(72vh, 560px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-slide__panel {
  max-width: 34rem;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.35rem, 3.5vw, 2rem);
  border-radius: var(--srh-radius);
  background: rgba(26, 21, 35, 0.78);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  color: var(--srh-white);
}

.hero-slide__content h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 18ch;
  color: var(--srh-white);
  text-shadow: none;
}

.hero-slide__intro {
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
}

.hero-slide__intro p {
  margin: 0;
  color: inherit;
}

.hero-slide__intro strong,
.hero-slide__intro b,
.hero-slide__intro em,
.hero-slide__intro span,
.hero-slide__intro a {
  color: inherit;
}

.hero-slide__intro a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hero-slide__intro a:hover,
.hero-slide__intro a:focus-visible {
  color: var(--srh-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:focus-visible {
  outline: 2px solid var(--srh-white);
  outline-offset: 3px;
}

.btn--light {
  background: var(--srh-white);
  color: var(--srh-purple);
  box-shadow: var(--srh-shadow);
}

.btn--light:hover {
  transform: translateY(-1px);
  box-shadow: var(--srh-shadow-lg);
}

.hero-slider__nav {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.hero-slider__nav .hero-slider__btn,
.hero-slider__nav .hero-slider__dot {
  margin: 0;
}

.hero-slider__btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.25);
  color: var(--srh-white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  line-height: 1;
  font-size: 0;
  appearance: none;
  -webkit-appearance: none;
  backdrop-filter: blur(6px);
  vertical-align: middle;
}

.hero-slider__btn i {
  font-size: 0.9rem;
  line-height: 1;
  display: block;
}

.hero-slider__btn:hover,
.hero-slider__btn:focus {
  background: rgba(255, 255, 255, 0.2);
  color: var(--srh-white);
}

.hero-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0;
  margin: 0;
}

.hero-slider__dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  display: block;
  flex-shrink: 0;
  line-height: 0;
  font-size: 0;
  appearance: none;
  -webkit-appearance: none;
  vertical-align: middle;
  transition: background 0.15s, transform 0.15s;
}

.hero-slider__dot.is-active {
  background: var(--srh-white);
  transform: scale(1.25);
}

/* ——— Homepage sections ——— */
.site-main {
  overflow-x: hidden;
}

.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section--cream {
  background: var(--srh-cream);
}

.container-modern {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

.intro-grid {
  display: grid;
  gap: 1.5rem;
}

.intro-grid__pub .pub-card {
  height: 100%;
}

@media (min-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr 320px;
    align-items: stretch;
  }
}

.intro-card {
  background: var(--srh-white);
  border-radius: var(--srh-radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--srh-shadow);
}

.intro-card .headline h2,
.intro-card h2 {
  margin-top: 0;
  color: var(--srh-purple);
  font-size: 1.5rem;
}

.intro-card--aside {
  background: linear-gradient(145deg, var(--srh-purple) 0%, var(--srh-purple-light) 100%);
  color: var(--srh-white);
  box-shadow: var(--srh-shadow-lg);
}

.intro-card--aside .headline h2,
.intro-card--aside h2 {
  color: var(--srh-white);
}

.intro-card--aside a {
  color: var(--srh-white);
  font-weight: 600;
}

/* News + publication row */
.news-pub-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .news-pub-grid {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--srh-purple);
}

.section-head a.more-link {
  font-weight: 600;
  color: var(--srh-purple-light);
  text-decoration: none;
  font-size: 0.95rem;
}

.section-head a.more-link:hover {
  text-decoration: underline;
}

.news-cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .news-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .news-cards--quad {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .news-cards--triple {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-cards--quad {
    grid-template-columns: repeat(4, 1fr);
  }
}

.news-card {
  background: var(--srh-white);
  border-radius: var(--srh-radius);
  overflow: hidden;
  box-shadow: var(--srh-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--srh-shadow-lg);
}

.news-card__media {
  aspect-ratio: 16 / 10;
  background: var(--srh-cream);
  overflow: hidden;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__media img.is-placeholder,
.news-item__media .news-image.is-placeholder {
  object-fit: contain;
  background: var(--srh-cream);
}

.news-item__media {
  display: block;
  overflow: hidden;
  border-radius: var(--srh-radius-sm);
}

.news-item__media .news-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.news-item__media .news-image.is-placeholder {
  object-fit: contain;
  padding: 0.75rem;
  box-sizing: border-box;
}

.news-card__body {
  padding: 1.1rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.news-card__title a {
  color: var(--srh-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
}

.news-card__title a:hover {
  color: var(--srh-purple);
}

.news-card__meta {
  font-size: 0.85rem;
  color: var(--srh-muted);
}

.news-card__excerpt {
  font-size: 0.92rem;
  color: var(--srh-muted);
  flex: 1;
}

.news-card__readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.5rem 1.1rem;
  background: var(--srh-orange);
  color: var(--srh-white) !important;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.15s, transform 0.15s;
}

.news-card__readmore:hover,
.news-card__readmore:focus-visible {
  background: var(--srh-orange-dark);
  color: var(--srh-white) !important;
  text-decoration: none;
  transform: translateY(-1px);
  outline: none;
}

.news-item a.readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
  margin-left: auto;
  padding: 0.5rem 1.1rem;
  background: var(--srh-orange);
  color: var(--srh-white) !important;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 999px;
  opacity: 1;
  text-align: center;
  transition: background 0.15s, transform 0.15s;
}

.news-item a.readmore:hover,
.news-item a.readmore:focus-visible {
  background: var(--srh-orange-dark);
  color: var(--srh-white) !important;
  text-decoration: none;
  opacity: 1;
  transform: translateY(-1px);
  outline: none;
}

.news-item .columns.medium-8,
.news-item .columns.large-9 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.news-item .columns.medium-8 .news-title,
.news-item .columns.medium-8 .news-intro,
.news-item .columns.large-9 .news-title,
.news-item .columns.large-9 .news-intro {
  align-self: stretch;
  width: 100%;
}

/* Latest publication */
.pub-card {
  background: var(--srh-white);
  border-radius: var(--srh-radius);
  overflow: hidden;
  box-shadow: var(--srh-shadow);
  height: fit-content;
}

.pub-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.pub-card__cover {
  aspect-ratio: 3 / 4;
  background: var(--srh-cream);
}

.pub-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pub-card__cover img.is-placeholder {
  object-fit: contain;
  padding: 1.5rem;
  background: var(--srh-cream);
}

.pub-card__body {
  padding: 1rem 1.15rem 1.25rem;
}

.pub-card__body h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--srh-purple);
}

.pub-card__hint {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--srh-muted);
}

/* Extra content column (200 jaar) */
.news-pub-grid__extra {
  margin-top: 0.5rem;
}

@media (min-width: 900px) {
  .news-pub-grid__extra {
    grid-column: 1 / -1;
  }
}

/* ——— Dialog modals ——— */
.srh-dialog {
  border: none;
  border-radius: var(--srh-radius);
  padding: 0;
  max-width: 420px;
  width: calc(100% - 2rem);
  box-shadow: var(--srh-shadow-lg);
  margin: auto;
}

.srh-dialog::backdrop {
  background: rgba(26, 21, 35, 0.55);
  backdrop-filter: blur(4px);
}

.srh-dialog__inner {
  padding: 1.5rem 1.5rem 1.25rem;
}

.srh-dialog h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: var(--srh-purple);
}

/* Sluitknop: Foundation’s globale `button`-regels (padding, radius, paarse achtergrond) volledig overschrijven */
.srh-dialog button.srh-dialog__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(56, 25, 122, 0.12);
  border-radius: 50%;
  background: var(--srh-cream);
  color: var(--srh-purple);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  font-family: system-ui, sans-serif;
  cursor: pointer;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.srh-dialog button.srh-dialog__close:hover,
.srh-dialog button.srh-dialog__close:focus {
  background: #ece6f5;
  color: var(--srh-purple-dark);
  border-color: rgba(56, 25, 122, 0.22);
}

.srh-dialog button.srh-dialog__close:focus {
  outline: none;
}

.srh-dialog button.srh-dialog__close:focus-visible {
  outline: 2px solid var(--srh-purple);
  outline-offset: 2px;
}

.srh-dialog__inner {
  position: relative;
}

.modal-alert {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: var(--srh-radius-sm);
  background: #fde8e8;
  color: #9b1c1c;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.modal-alert.is-visible {
  display: block;
}

.srh-dialog label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.srh-dialog input[type="email"],
.srh-dialog input[type="password"],
.srh-dialog input[type="text"] {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #d8d3e2;
  border-radius: var(--srh-radius-sm);
  font: inherit;
  box-sizing: border-box;
  margin-bottom: 0.85rem;
}

.srh-dialog .form-row-check {
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem;
}

.srh-dialog .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.srh-dialog .form-actions a {
  font-size: 0.88rem;
  color: var(--srh-purple-light);
}

.login-modal__lead {
  margin: 0 0 1rem;
  color: var(--srh-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.login-modal__primary-btn {
  width: 100%;
  margin-top: 0.25rem;
}

.login-modal__secondary {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(56, 25, 122, 0.1);
}

.srh-dialog button.login-modal__toggle,
.login-modal__toggle {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--srh-purple-light);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  appearance: none;
  -webkit-appearance: none;
  transition: color 0.15s;
}

.srh-dialog button.login-modal__toggle:hover,
.srh-dialog button.login-modal__toggle:focus,
.login-modal__toggle:hover,
.login-modal__toggle:focus {
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--srh-purple-dark);
}

.login-modal__password-panel {
  margin-top: 1rem;
}

.login-modal__password-panel[hidden] {
  display: none;
}

.login-modal__password-actions {
  margin-top: 0.75rem;
}

.login-modal__links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(56, 25, 122, 0.08);
  font-size: 0.88rem;
}

.login-modal__links a {
  color: var(--srh-purple-light);
}

.login-modal .modal-alert.is-visible + .login-modal__lead {
  margin-top: 0;
}

.btn--primary {
  background: var(--srh-purple);
  color: var(--srh-white);
}

.btn--primary:hover {
  background: var(--srh-purple-dark);
}

/* ——— Footer ——— */
.site-footer-modern {
  margin-top: 3rem;
  background: var(--srh-text);
  color: rgba(255, 255, 255, 0.88);
}

.site-footer-modern__top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

.site-footer-modern__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1rem;
  max-width: var(--container);
  margin: 0 auto;
}

.site-footer-modern a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer-modern .groupweb-badge {
  opacity: 0.55;
  max-width: 220px;
  height: auto;
  float: right;
}

/* ——— Tables (ledenlijst zonder DataTables) ——— */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--srh-radius);
  box-shadow: var(--srh-shadow);
}

.table-modern {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--srh-white);
}

.table-modern th,
.table-modern td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #ece8f2;
}

.table-modern th {
  background: var(--srh-cream);
  color: var(--srh-purple);
  font-weight: 600;
}

.table-modern tbody tr:hover {
  background: #faf9fc;
}

/* Contact map */
#googleMap {
  min-height: 320px;
  width: 100%;
  border-radius: var(--srh-radius);
  box-shadow: var(--srh-shadow);
}

/* Fotoboek-homepage: achtergrond via data-bg-src + JS-fallback */
.gallery-home-thumb {
  min-height: 200px;
  width: 100%;
  background-color: #ece8f2;
  background-size: cover;
  background-position: center;
}

/* Auth pages */
.auth-page {
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.auth-page__actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.reset-password-result {
  max-width: 560px;
  text-align: center;
}

.reset-password-result h1 {
  margin: 0 0 0.75rem;
  color: var(--srh-purple);
  font-size: 1.75rem;
}

.reset-password-result__lead {
  color: var(--srh-muted);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.reset-password-result__cms {
  text-align: left;
  margin-bottom: 1.25rem;
}

.reset-password-result__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.reset-password-result__icon--success {
  color: #2e7d32;
}

.reset-password-result__icon--error {
  color: #c62828;
}

.reset-password-result__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.reset-password-result__secondary {
  color: var(--srh-purple-light);
  font-weight: 600;
  text-decoration: none;
}

.reset-password-result__secondary:hover {
  text-decoration: underline;
}

/* SweetAlert — SRH huisstijl */
.sweet-alert h2 {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.35rem;
  color: var(--srh-purple);
}

.sweet-alert p {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--srh-text);
}

.sweet-alert button.confirm {
  background-color: var(--srh-purple) !important;
  box-shadow: none !important;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 700;
}

.sweet-alert button.confirm:hover {
  background-color: var(--srh-purple-dark) !important;
}

/* Jaargroep */
.site-main.year-group .section,
.site-main.my-info-page .section,
.site-main.member-list-page .section {
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
}

.year-group__header {
  margin-bottom: 2rem;
}

.year-group__header h1 {
  margin: 0 0 0.5rem;
  color: var(--srh-purple);
  font-size: 1.75rem;
}

.year-group__intro {
  color: var(--srh-muted);
}

.year-group__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .year-group__grid {
    grid-template-columns: 280px 1fr;
  }

  .year-group__panel--wide {
    grid-column: 2;
  }
}

.year-group__panel {
  background: var(--srh-white);
  border-radius: var(--srh-radius);
  box-shadow: var(--srh-shadow);
  padding: 1.25rem 1.5rem;
}

.year-group__panel h2 {
  margin-top: 0;
  color: var(--srh-purple);
  font-size: 1.25rem;
}

.year-group__panel--compact {
  padding: 0.85rem 1.15rem;
}

.year-group__panel--compact h2 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}

.year-group__member-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.year-group__member-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(56, 25, 122, 0.08);
}

.year-group__member-list li:last-child {
  border-bottom: none;
}

.year-group__member-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  min-width: 0;
}

.user-avatar-wrap {
  display: inline-flex;
  flex-shrink: 0;
  position: relative;
}

.user-avatar-wrap.is-placeholder-fallback .user-avatar--placeholder {
  display: inline-flex;
}

.user-avatar-wrap.is-placeholder-fallback > img {
  display: none;
}

.user-avatar-wrap .user-avatar--placeholder[hidden] {
  display: none;
}

.user-avatar,
img.user-avatar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  max-width: 40px;
  min-height: 40px;
  max-height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(56, 25, 122, 0.08);
  box-sizing: border-box;
}

img.user-avatar {
  display: block;
  object-fit: cover;
  padding: 0;
  background: var(--srh-cream);
}

.user-avatar--36,
img.user-avatar.user-avatar--36 {
  width: 36px;
  height: 36px;
  min-width: 36px;
  max-width: 36px;
  min-height: 36px;
  max-height: 36px;
}

.user-avatar--placeholder {
  background: #ede8f4;
  color: #c9bddb;
  border-color: rgba(56, 25, 122, 0.06);
}

.user-avatar--placeholder i {
  font-size: 0.95rem;
  line-height: 1;
}

.user-avatar--36.user-avatar--placeholder i {
  font-size: 0.85rem;
}

.user-avatar--large,
img.user-avatar.user-avatar--large {
  width: 140px;
  height: 140px;
  min-width: 140px;
  max-width: 140px;
  min-height: 140px;
  max-height: 140px;
  border-width: 3px;
  box-shadow: var(--srh-shadow);
}

.user-avatar--large.user-avatar--placeholder i {
  font-size: 2.75rem;
}

img.user-avatar.user-avatar--large {
  box-shadow: var(--srh-shadow);
}

.year-group__member-link {
  color: inherit;
  text-decoration: none;
}

.year-group__member-link:hover,
.year-group__member-link:focus-visible {
  color: var(--srh-purple);
  text-decoration: underline;
  outline: none;
}

.year-group__member-list li.is-current-user .year-group__member-link {
  color: inherit;
}

.container-modern--narrow {
  max-width: min(720px, calc(100% - 2rem));
}

.year-group-member-profile__back {
  margin: 0 0 1.25rem;
}

.year-group-member-profile__back a {
  color: var(--srh-purple-light);
  font-weight: 600;
  text-decoration: none;
}

.year-group-member-profile__back a:hover,
.year-group-member-profile__back a:focus-visible {
  color: var(--srh-purple);
  text-decoration: underline;
  outline: none;
}

.year-group-member-profile__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.year-group-member-profile__hero h1 {
  margin: 0;
  color: var(--srh-purple);
  font-size: 1.75rem;
}

.year-group-member-profile__years {
  margin: 0;
  color: var(--srh-muted);
  font-size: 1rem;
}

.year-group-member-profile__details h2 {
  margin-top: 0;
}

.year-group-member-profile__list {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.year-group-member-profile__item {
  margin: 0;
}

.year-group-member-profile__item dt {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: var(--srh-purple);
  font-size: 0.92rem;
}

.year-group-member-profile__item dd {
  margin: 0;
  color: var(--srh-text);
  line-height: 1.55;
}

.year-group-member-profile__item--wide dd {
  white-space: pre-wrap;
}

.my-info-hint--privacy {
  margin-bottom: 0.25rem;
}

.my-info-field textarea.my-info-input {
  min-height: 8rem;
  resize: vertical;
}

.year-group__member-list li.is-current-user {
  color: var(--srh-purple);
}

.year-group__member-list li.is-selected {
  background: rgba(56, 25, 122, 0.07);
  margin: 0 -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: var(--srh-radius-sm);
}

.year-group__member-list li.is-selected .year-group__member-link {
  color: var(--srh-purple);
}

.year-group__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(56, 25, 122, 0.1);
}

.year-group__panel-header h2 {
  margin: 0;
}

.year-group__panel-header--close-only {
  justify-content: flex-end;
  margin-bottom: 0.75rem;
  padding-bottom: 0;
  border-bottom: none;
}

.year-group__panel-close {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 25, 122, 0.18);
  background: var(--srh-white);
  color: var(--srh-purple);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.year-group__panel-close:hover,
.year-group__panel-close:focus-visible {
  background: var(--srh-cream);
  border-color: rgba(56, 25, 122, 0.28);
  color: var(--srh-purple-dark);
  outline: none;
}

.year-group-member-profile--inline .year-group-member-profile__hero {
  margin-bottom: 1.25rem;
}

.year-group-member-profile--inline .year-group-member-profile__name {
  margin: 0;
  color: var(--srh-purple);
  font-size: 1.35rem;
}

.year-group-member-profile--inline .year-group-member-profile__details h3 {
  margin: 0 0 0.85rem;
  color: var(--srh-purple);
  font-size: 1.05rem;
}

.year-group-member-profile__empty {
  margin: 0;
}

.year-group__badge {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.75rem;
  background: var(--srh-cream);
  color: var(--srh-purple);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.year-group__post-form,
.year-group__photo-form {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(56, 25, 122, 0.08);
}

.year-group__posts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.year-group__post {
  padding: 1rem;
  background: var(--srh-cream);
  border-radius: var(--srh-radius-sm);
}

.year-group__post-layout {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.year-group__post-avatar {
  flex-shrink: 0;
  text-decoration: none;
}

.year-group__post-avatar .user-avatar--placeholder i {
  font-size: 0.85rem;
}

.year-group__post-content {
  flex: 1;
  min-width: 0;
}

.year-group__post--reply {
  background: var(--srh-white);
  border: 1px solid rgba(56, 25, 122, 0.1);
}

.year-group__replies {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.75rem 0 0 1.25rem;
  padding-left: 1rem;
  border-left: 3px solid rgba(56, 25, 122, 0.14);
}

.year-group__reply-link {
  color: var(--srh-purple-light);
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
}

.year-group__reply-link:hover {
  color: var(--srh-purple);
}

.year-group__reply-toggle {
  margin-top: 0.65rem;
}

.year-group__reply-toggle summary {
  list-style: none;
}

.year-group__reply-toggle summary::-webkit-details-marker {
  display: none;
}

.year-group__reply-form {
  margin-top: 0.65rem;
}

.year-group__post-form--reply textarea {
  margin-bottom: 0.65rem;
}

.btn--small {
  padding: 0.45rem 0.95rem;
  font-size: 0.875rem;
}

.year-group__post-author-link {
  color: inherit;
  text-decoration: none;
}

.year-group__post-author-link:hover,
.year-group__post-author-link:focus-visible {
  color: var(--srh-purple);
  text-decoration: underline;
  outline: none;
}

.year-group__post header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.year-group__post-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.year-group__post header time {
  color: var(--srh-muted);
  line-height: 1;
  white-space: nowrap;
}

.year-group__post-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.year-group__post-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--srh-radius-sm);
  color: var(--srh-purple);
  background: var(--srh-white);
  border: 1px solid rgba(56, 25, 122, 0.16);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.year-group__post-action:hover,
.year-group__post-action:focus-visible {
  color: var(--srh-purple-dark);
  background: var(--srh-cream);
  border-color: rgba(56, 25, 122, 0.28);
  outline: none;
  transform: translateY(-1px);
}

.year-group__post-action--delete:hover,
.year-group__post-action--delete:focus-visible {
  color: #c62828;
  border-color: rgba(198, 40, 40, 0.28);
}

.year-group__post-edit-cancel,
.year-group__post-action-link {
  color: var(--srh-purple-light);
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none;
}

.year-group__post-edit-cancel:hover,
.year-group__post-edit-cancel:focus-visible,
.year-group__post-action-link:hover,
.year-group__post-action-link:focus-visible {
  color: var(--srh-purple);
  text-decoration: underline;
  outline: none;
}

.year-group__post-delete-form {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.year-group__post-delete-form button.year-group__post-action {
  padding: 0;
  font: inherit;
}

.year-group__post-form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.year-group__post p {
  margin: 0;
  white-space: pre-wrap;
}

.year-group__empty {
  color: var(--srh-muted);
  font-style: italic;
}

.year-group__photo-grid {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.year-group__photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--srh-radius-sm);
  display: block;
}

.year-group__photo-grid figcaption {
  font-size: 0.75rem;
  color: var(--srh-muted);
  margin-top: 0.35rem;
}

/* Mijn gegevens */
.my-info-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .my-info-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .my-info-column {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
}

.my-info-panel__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.my-info-form .my-info-field,
.my-info-form .my-info-checkbox {
  margin: 0;
}

.my-info-form label {
  margin-bottom: 0.35rem;
}

.my-info-form input,
.my-info-form select,
.my-info-form textarea {
  margin-bottom: 0;
}

.my-info-field label,
.my-info-field > legend {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--srh-text);
  font-size: 0.92rem;
}

.my-info-input,
.my-info-field input[type="text"],
.my-info-field input[type="email"],
.my-info-field input[type="password"],
.my-info-field input[type="date"],
.my-info-field select,
.my-info-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(56, 25, 122, 0.18);
  border-radius: var(--srh-radius-sm);
  font: inherit;
  color: var(--srh-text);
  background: var(--srh-white);
}

.my-info-input:focus,
.my-info-field input:focus,
.my-info-field select:focus,
.my-info-field textarea:focus {
  outline: 2px solid rgba(56, 25, 122, 0.25);
  outline-offset: 1px;
  border-color: var(--srh-purple-light);
}

.my-info-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.my-info-field-row__suffix--wide {
  grid-column: span 1;
}

@media (max-width: 480px) {
  .my-info-field-row {
    grid-template-columns: 1fr;
  }
}

.my-info-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--srh-muted);
  line-height: 1.45;
  padding: 0.5rem 0.65rem;
  background: var(--srh-cream);
  border-radius: var(--srh-radius-sm);
}

.my-info-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  background: var(--srh-cream);
  border: 1px solid rgba(56, 25, 122, 0.08);
  border-radius: var(--srh-radius-sm);
}

.my-info-checkbox__input,
.my-info-checkbox input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: var(--srh-purple);
  cursor: pointer;
}

.my-info-checkbox__label,
.my-info-checkbox label {
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
  color: var(--srh-text);
  cursor: pointer;
}

.my-info-field--error .my-info-input,
.my-info-field--error input {
  border-color: #c62828;
}

.my-info-field .form-error,
.my-info-field ul.form-error,
.my-info-checkbox ul.form-error {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  color: #c62828;
  font-size: 0.85rem;
}

.my-info-actions-panel {
  margin-top: 1.75rem;
}

.my-info-unsaved-banner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--srh-radius-sm);
  background: #fff8e6;
  border: 1px solid rgba(245, 166, 35, 0.35);
  color: #6b4a00;
  font-size: 0.92rem;
  line-height: 1.45;
}

.my-info-unsaved-banner[hidden] {
  display: none;
}

.my-info-unsaved-banner i {
  color: #d68900;
  flex-shrink: 0;
}

.my-info-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.my-info-actions__cancel {
  color: var(--srh-purple-light);
  font-weight: 600;
  text-decoration: none;
}

.my-info-actions__cancel:hover {
  text-decoration: underline;
}

.my-info-form .btn--primary {
  margin: 0;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  background: var(--srh-purple);
  color: var(--srh-white);
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.my-info-form .btn--primary:hover {
  background: var(--srh-purple-dark);
}

/* Profielfoto */
.profile-photo-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-photo-field--compact {
  gap: 0;
}

.profile-photo-field__row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.profile-photo-field__preview-wrap {
  flex-shrink: 0;
}

.profile-photo-field__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}

.profile-photo-field__note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--srh-muted);
  line-height: 1.35;
}

.profile-photo-field--compact .profile-photo-field__current,
.profile-photo-field--compact .profile-photo-field__placeholder {
  width: 72px;
  height: 72px;
  border-width: 2px;
  box-shadow: none;
}

.profile-photo-field--compact .profile-photo-field__placeholder {
  font-size: 1.1rem;
  background: #ede8f4;
  color: #c9bddb;
  border-color: rgba(56, 25, 122, 0.06);
}

.profile-photo-field__current,
.profile-photo-field__placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(56, 25, 122, 0.12);
  box-shadow: var(--srh-shadow);
}

.profile-photo-field__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ede8f4;
  color: #c9bddb;
  font-size: 1.85rem;
  border-color: rgba(56, 25, 122, 0.06);
}

.profile-photo-modal {
  max-width: 480px;
}

.profile-photo-modal__hint {
  margin: -0.35rem 0 1rem;
  font-size: 0.88rem;
  color: var(--srh-muted);
  line-height: 1.45;
}

.profile-photo-modal .profile-photo-field__viewport {
  width: 260px;
  height: 260px;
  margin: 0 auto 1rem;
}

.profile-photo-field__viewport {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  background: #dfe3ea;
  border: 2px solid rgba(56, 25, 122, 0.18);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.profile-photo-field__viewport:active {
  cursor: grabbing;
}

.profile-photo-field__image {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  pointer-events: none;
}

.profile-photo-field__zoom-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--srh-text);
  margin-bottom: 1rem;
}

.profile-photo-field__zoom-label input[type="range"] {
  width: 100%;
  accent-color: var(--srh-purple);
}

.profile-photo-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
}

.profile-photo-modal__actions .btn {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.my-info-form .profile-photo-modal__actions .btn--primary {
  padding: 0.45rem 1rem;
}

.profile-photo-field__input-wrap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.profile-photo-field__input-wrap input[type="file"] {
  width: 1px;
  height: 1px;
}

.btn--secondary {
  background: var(--srh-white);
  color: var(--srh-purple);
  border: 1px solid rgba(56, 25, 122, 0.22);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--srh-cream);
  color: var(--srh-purple-dark);
  outline: none;
}

/* Ledenlijst */
.member-list-page__header {
  margin-bottom: 2rem;
}

.member-list-filters {
  margin-bottom: 1rem;
}

.register-form-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .register-form-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .register-form-layout__main {
    flex: 1 1 0;
    min-width: 0;
  }

  .register-form-layout__sidebar {
    flex: 0 0 min(100%, 320px);
  }

  .register-form-layout__sidebar h2 {
    margin-top: 0;
    font-size: 1.05rem;
  }

  .register-form-layout__sidebar p {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--srh-text);
  }

  .register-form-layout__sidebar p:last-child {
    margin-bottom: 0;
  }
}

.register-form .my-info-actions {
  justify-content: flex-end;
}

.site-confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.member-list-filters.year-group__panel {
  padding: 1.25rem 1.5rem;
}

.member-list-filters__fields {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .member-list-filters__fields {
    grid-template-columns: 1fr 220px;
  }
}

.member-list-filters__field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--srh-text);
}

.member-list-filters__field input,
.member-list-filters__field select {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  min-height: 2.75rem;
  height: auto;
  padding: 0.625rem 0.85rem;
  border: 1px solid rgba(56, 25, 122, 0.18);
  border-radius: var(--srh-radius-sm);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--srh-text);
  background-color: var(--srh-white);
}

.member-list-filters__field select {
  padding-right: 2.5rem;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2338197a' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-position: right 0.85rem center;
  background-repeat: no-repeat;
  background-size: 12px 8px;
}

.member-list-filters__field input:focus,
.member-list-filters__field select:focus {
  outline: none;
  border-color: var(--srh-purple);
  box-shadow: 0 0 0 3px rgba(56, 25, 122, 0.12);
}

.member-list-filters__field select:hover {
  border-color: rgba(56, 25, 122, 0.35);
}

.member-list-filters__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.member-list-filters__reset {
  color: var(--srh-purple-light);
  font-weight: 600;
  text-decoration: none;
}

.member-list-filters__reset:hover {
  text-decoration: underline;
}

.member-list-page__count {
  margin: 0 0 0.75rem;
  color: var(--srh-muted);
  font-size: 0.92rem;
}

.member-list-sort {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.member-list-sort:hover,
.member-list-sort.is-active {
  color: var(--srh-purple);
}

.member-list-sort__indicator {
  font-size: 0.85rem;
}

.member-list-page__empty {
  text-align: center;
  color: var(--srh-muted);
  font-style: italic;
  padding: 2rem 1rem !important;
}

.member-list-filters .btn--primary {
  margin: 0;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: var(--srh-purple);
  color: var(--srh-white);
  border: none;
  font-weight: 700;
  cursor: pointer;
}

/* Bestelformulier publicatie */
.order-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.order-form__grid {
  display: grid;
  gap: 0.85rem 1rem;
}

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

.order-form__grid--1 {
  grid-template-columns: minmax(0, 1fr);
}

.order-form__grid--address {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
}

.order-form__field {
  margin: 0;
  min-width: 0;
}

.order-form__field label,
.order-form__field .order-form__label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--srh-text);
  font-size: 0.92rem;
}

.order-form__input,
.order-form__field input:not([type="checkbox"]),
.order-form__field select {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.65rem 0.75rem;
  min-height: 2.75rem;
  line-height: 1.4;
  border: 1px solid rgba(56, 25, 122, 0.18);
  border-radius: var(--srh-radius-sm);
  font: inherit;
  color: var(--srh-text);
  background: var(--srh-white);
}

.order-form__field select {
  padding-right: 2rem;
}

.order-form__currency-input {
  display: flex;
  align-items: stretch;
  max-width: 12rem;
}

.order-form__currency-symbol {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  font-weight: 600;
  color: var(--srh-purple);
  background: rgba(56, 25, 122, 0.06);
  border: 1px solid rgba(56, 25, 122, 0.18);
  border-right: 0;
  border-radius: var(--srh-radius-sm) 0 0 var(--srh-radius-sm);
}

.order-form__input--currency {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.order-form label.col-md-2.control-label {
  position: static;
  display: block;
  float: none;
  width: auto;
  padding: 0;
  margin: 0 0 0.35rem;
  text-align: left;
}

.order-form .my-info-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 0.75rem 0.85rem;
  background: var(--srh-cream);
  border: 1px solid rgba(56, 25, 122, 0.08);
  border-radius: var(--srh-radius-sm);
}

.order-form .my-info-checkbox label.col-md-2.control-label {
  display: inline;
  margin: 0;
}

.order-form .my-info-checkbox__input,
.order-form .my-info-checkbox input[type="checkbox"] {
  position: static;
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.15rem 0 0;
  accent-color: var(--srh-purple);
}

.order-form .my-info-checkbox__label,
.order-form .my-info-checkbox label {
  margin: 0;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--srh-text);
}

.order-form__field--birthday select {
  width: auto;
  max-width: 100%;
}

.order-form__birthday-fields select[name$="[day]"],
.order-form__birthday-fields select[id$="_dateBirth_day"] {
  min-width: 4.25rem;
}

.order-form__birthday-fields select[name$="[month]"],
.order-form__birthday-fields select[id$="_dateBirth_month"] {
  min-width: 7rem;
}

.order-form__birthday-fields select[name$="[year]"],
.order-form__birthday-fields select[id$="_dateBirth_year"] {
  min-width: 6rem;
}

.order-form__birthday-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.order-form__input:focus,
.order-form__field input:focus,
.order-form__field select:focus {
  outline: 2px solid rgba(56, 25, 122, 0.25);
  outline-offset: 1px;
  border-color: var(--srh-purple-light);
}

.order-form__field--error .order-form__input,
.order-form__field--error input,
.order-form__field--error select {
  border-color: #c62828;
}

.order-form__field .form-error,
.order-form__field ul.form-error {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  color: #c62828;
  font-size: 0.85rem;
}

.order-form__pdok-hint {
  margin: -0.35rem 0 0;
  font-size: 0.88rem;
  color: #5c5669;
  line-height: 1.45;
}

.order-form__pdok-status {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #5c5669;
}

.order-form__pdok-status.is-loading {
  color: var(--srh-purple);
}

.order-form__pdok-status.is-error {
  color: #c62828;
}

.order-form__input.is-pdok-loading,
.order-form__field input.is-pdok-loading,
.my-info-input.is-pdok-loading,
.my-info-field input.is-pdok-loading {
  background-image: linear-gradient(
    90deg,
    rgba(56, 25, 122, 0.04) 0%,
    rgba(56, 25, 122, 0.08) 50%,
    rgba(56, 25, 122, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: pdok-loading 1.2s ease-in-out infinite;
}

@keyframes pdok-loading {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.order-form__actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 1px solid rgba(56, 25, 122, 0.1);
}

.order-form__actions .button {
  margin: 0;
}

@media (max-width: 640px) {
  .order-form__grid--2,
  .order-form__grid--address {
    grid-template-columns: 1fr;
  }

  .order-form__actions {
    justify-content: stretch;
  }

  .order-form__actions .button {
    width: 100%;
  }
}

/* Content pages (Over ons, Bestuur, etc.) */
.content-page__header {
  margin-bottom: 1.5rem;
}

.content-page__header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--srh-purple);
  line-height: 1.2;
}

.content-page__body {
  width: 100%;
}

.content-page__prose {
  color: var(--srh-text);
  line-height: 1.7;
  font-size: 1.05rem;
}

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

.content-page__prose > :last-child {
  margin-bottom: 0;
}

.content-page__prose h2,
.content-page__prose h3,
.content-page__prose h4 {
  color: var(--srh-purple);
  line-height: 1.3;
  margin: 1.5rem 0 0.75rem;
}

.content-page__prose h2 {
  font-size: 1.35rem;
}

.content-page__prose h3 {
  font-size: 1.15rem;
}

.content-page__prose p {
  margin: 0 0 1rem;
}

.content-page__prose a {
  color: var(--srh-purple-light);
  font-weight: 600;
}

.content-page__prose a:hover {
  text-decoration: underline;
}

.content-page__prose ul,
.content-page__prose ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

/* CMS HTML: bootstrap-achtige kolommen uit de editor */
.cms-content .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem 1.5rem;
}

.cms-content .row > [class*="col-"] {
  box-sizing: border-box;
  padding: 0 0.75rem;
  min-width: 0;
  width: 100%;
}

@media (min-width: 768px) {
  .cms-content .col-sm-1 { width: 8.333333%; }
  .cms-content .col-sm-2 { width: 16.666667%; }
  .cms-content .col-sm-3 { width: 25%; }
  .cms-content .col-sm-4 { width: 33.333333%; }
  .cms-content .col-sm-5 { width: 41.666667%; }
  .cms-content .col-sm-6 { width: 50%; }
  .cms-content .col-sm-7 { width: 58.333333%; }
  .cms-content .col-sm-8 { width: 66.666667%; }
  .cms-content .col-sm-9 { width: 75%; }
  .cms-content .col-sm-10 { width: 83.333333%; }
  .cms-content .col-sm-11 { width: 91.666667%; }
  .cms-content .col-sm-12 { width: 100%; }
}

.cms-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--srh-radius-sm);
}

.cms-content img[style*="float"] {
  float: right;
  max-width: 180px;
  margin: 0.15rem 0 1rem 1.25rem;
}

.cms-content .col-sm-6 img[style*="float"],
.cms-content .col-sm-4 img[style*="float"],
.cms-content .col-sm-3 img[style*="float"] {
  max-width: 130px;
  margin: 0.15rem 0 0.75rem 1rem;
}

.cms-content p:has(img[style*="float"]) {
  overflow: hidden;
}

.content-page__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
}

.content-page__grid-item {
  min-width: 0;
  grid-column: span 12;
}

@media (min-width: 768px) {
  .content-page__grid-item--12 { grid-column: span 12; }
  .content-page__grid-item--11 { grid-column: span 11; }
  .content-page__grid-item--10 { grid-column: span 10; }
  .content-page__grid-item--9 { grid-column: span 9; }
  .content-page__grid-item--8 { grid-column: span 8; }
  .content-page__grid-item--7 { grid-column: span 7; }
  .content-page__grid-item--6 { grid-column: span 6; }
  .content-page__grid-item--5 { grid-column: span 5; }
  .content-page__grid-item--4 { grid-column: span 4; }
  .content-page__grid-item--3 { grid-column: span 3; }
  .content-page__grid-item--2 { grid-column: span 2; }
  .content-page__grid-item--1 { grid-column: span 1; }
}

.content-page__card {
  background: var(--srh-white);
  border-radius: var(--srh-radius);
  box-shadow: var(--srh-shadow);
  padding: 1.5rem 1.75rem;
  height: 100%;
}

.section--cream .content-page__card {
  box-shadow: 0 2px 16px rgba(26, 21, 35, 0.06);
}

.content-page__card-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--srh-purple);
  line-height: 1.3;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid rgba(56, 25, 122, 0.12);
}

.content-page__card .content-page__prose {
  font-size: 1rem;
}

@media (max-width: 767px) {
  .cms-content .row > [class*="col-"] {
    width: 100%;
  }

  .cms-content img[style*="float"] {
    float: none;
    display: block;
    max-width: 180px;
    margin: 0 0 1rem;
  }
}
