/*
 * Da Capo Rijen: huisstijl bovenop Quark 2.
 * Kleuren komen uit het logo. Tekst is wat groter dan standaard,
 * zodat de site ook voor oudere bezoekers goed leesbaar is.
 */

:root {
  --dc-blue: #4052a6;
  --dc-blue-dark: #2f3d80;
  --dc-blue-soft: #eef0f9;
  --dc-ink: #1d2233;

  --q2-bg: #f5f6fa;
  --q2-text: var(--dc-ink);
  --q2-text-strong: #111522;
  --q2-text-muted: #5b6070;
  --q2-header-height: 88px;
  --pico-font-size: 18px;
  --pico-line-height: 1.65;
}

/* Alleen een lichte weergave: het logo is gemaakt voor een lichte achtergrond */
.theme-toggle {
  display: none !important;
}

/* ---------- Kop ---------- */

#header {
  background: var(--dc-blue);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 4px solid var(--dc-blue-dark);
}

.dacapo-brand,
.dacapo-brand:hover {
  gap: 0.875rem;
  color: #ffffff;
}
.dacapo-brand img {
  height: 56px;
  border-radius: 4px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name {
  font-size: 1.15rem;
  color: #ffffff;
}
.brand-tagline {
  font-family: var(--pico-font-family-sans-serif);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

/* Menu in de blauwe kop; uitklapmenu's houden hun eigen witte paneel */
.dropmenu a {
  font-size: 1rem;
  font-weight: 600;
}
#header .dropmenu > ul > li > a {
  color: #ffffff;
}
#header .dropmenu > ul > li > a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}
#header .dropmenu > ul > li > a.active,
#header .dropmenu > ul > li > a.active:hover {
  background: #ffffff;
  color: var(--dc-blue-dark);
}

@media (max-width: 860px) {
  .brand-tagline {
    display: none;
  }
  .dacapo-brand img {
    height: 44px;
  }
  .brand-name {
    font-size: 1rem;
    max-width: 14rem;
  }
}

/* ---------- Inhoud ---------- */

a {
  color: var(--dc-blue);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--dc-blue-dark);
}

h1,
h2,
h3 {
  color: var(--dc-blue-dark);
}

#body-wrapper > .container > .content-item {
  border-top: 4px solid var(--dc-blue);
}

table th {
  background: var(--dc-blue-soft);
  color: var(--dc-blue-dark);
}

button,
[type="submit"] {
  background: var(--dc-blue);
  border-color: var(--dc-blue);
  color: #ffffff;
}
button:hover,
[type="submit"]:hover {
  background: var(--dc-blue-dark);
  border-color: var(--dc-blue-dark);
}

/* ---------- Homepagina ---------- */

.dacapo-welcome {
  background: var(--dc-blue);
  color: #ffffff;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(6rem, 12vw, 9rem);
}
.welcome-text {
  position: relative;
  max-width: 40rem;
}

/* Welkomstblok met foto: blauw verloop links houdt de tekst leesbaar */
.dacapo-welcome.has-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(26rem, 48vw, 38rem);
  padding-block: clamp(3rem, 7vw, 5rem);
  background-size: cover;
  background-position: center 30%;
}
.dacapo-welcome.has-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(47, 61, 128, 0.78) 0%,
    rgba(64, 82, 166, 0.58) 35%,
    rgba(64, 82, 166, 0.2) 65%,
    rgba(64, 82, 166, 0) 90%
  );
}
.dacapo-welcome.has-banner > .container {
  position: relative;
}
.dacapo-welcome.has-banner h1 {
  text-shadow: 0 2px 18px rgba(20, 26, 60, 0.45);
}
.dacapo-welcome.has-banner p {
  text-shadow: 0 1px 8px rgba(20, 26, 60, 0.6);
}
.dacapo-welcome .welcome-buttons a {
  text-shadow: none;
}
.dacapo-welcome.has-banner + #start .dacapo-home {
  padding-top: clamp(2.5rem, 5vw, 3.5rem) !important;
}
@media (max-width: 720px) {
  .dacapo-welcome.has-banner {
    background-position: 65% center;
  }
  .dacapo-welcome.has-banner::before {
    background: rgba(47, 61, 128, 0.65);
  }
}
.dacapo-welcome h1 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.dacapo-welcome p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
}
.dacapo-welcome a {
  color: #ffffff;
}

.welcome-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.welcome-buttons a {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.welcome-buttons .button-light {
  background: #ffffff;
  color: var(--dc-blue-dark);
}
.welcome-buttons .button-light:hover {
  background: var(--dc-blue-soft);
}
.welcome-buttons .button-outline {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
}
.welcome-buttons .button-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.dacapo-home {
  padding-top: 0 !important;
}

.group-photo {
  margin: calc(-1 * clamp(4.5rem, 10vw, 7rem)) 0 2.5rem;
}
.group-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 18px 40px -18px rgba(20, 26, 60, 0.45);
}

.info-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.info-block {
  background: #ffffff;
  border-radius: 14px;
  border-top: 4px solid var(--dc-blue);
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 1px 2px rgba(19, 19, 22, 0.05), 0 8px 24px -10px rgba(19, 19, 22, 0.12);
}
.info-block h2 {
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.info-block p:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 1.6rem;
}
.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.news-item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--dc-ink);
  box-shadow: 0 1px 2px rgba(19, 19, 22, 0.05), 0 8px 24px -10px rgba(19, 19, 22, 0.12);
}
.news-item img {
  width: 100%;
  height: auto;
  display: block;
}
.news-date {
  padding: 0.9rem 1.25rem 0;
  font-size: 0.85rem;
  color: var(--q2-text-muted);
}
.news-title {
  padding: 0.2rem 1.25rem 1.1rem;
  font-weight: 600;
  color: var(--dc-blue-dark);
}
.news-item:hover .news-title {
  text-decoration: underline;
}

/* ---------- Voettekst ---------- */

#footer.dacapo-footer {
  background: var(--dc-blue);
  color: rgba(255, 255, 255, 0.88);
  border-top: 0;
  font-size: 1rem;
  text-align: left;
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}
.dacapo-footer .footer-title {
  color: #ffffff;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 2rem;
}
.dacapo-footer .footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.5rem 2rem;
}
.dacapo-footer h3 {
  color: #ffffff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.dacapo-footer p {
  margin: 0;
}
.dacapo-footer a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#footer.dacapo-footer .footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.9rem;
}

/* ---------- Leesbaarheid ---------- */

/* Koppen iets ruimer gespatieerd: Cal Sans is van zichzelf erg compact */
h1,
h2,
h3,
.brand-name {
  letter-spacing: 0.01em;
}
h1 {
  font-weight: 600;
}

/* Streepje boven tussenkoppen in de huiskleur, niet in blokken en voettekst */
h2::before {
  background: var(--dc-blue);
}
.info-block h2::before,
.dacapo-footer h2::before,
.dacapo-welcome h2::before {
  display: none;
}

/* Voettekst: witte tekst op blauw, ook waar Quark de kleur zelf zet */
#footer.dacapo-footer p,
#footer.dacapo-footer li {
  color: rgba(255, 255, 255, 0.9);
}
#footer.dacapo-footer a,
#footer.dacapo-footer h2,
#footer.dacapo-footer h3 {
  color: #ffffff;
}

/* Brede tabellen (agenda) op de telefoon zijwaarts laten scrollen */
@media (max-width: 720px) {
  .content-item table {
    display: block;
    overflow-x: auto;
  }
}

/* ---------- Nieuws ---------- */

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}
.photo-gallery a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
}
.photo-gallery img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
}
.photo-gallery a:hover img {
  transform: scale(1.03);
}
.e-content blockquote {
  border-left: 4px solid var(--dc-blue);
  background: var(--dc-blue-soft);
  padding: 1rem 1.25rem;
  border-radius: 0 10px 10px 0;
}
.content-title h1 a,
.card-title a {
  color: var(--dc-blue-dark);
  text-decoration: none;
}
.card-title a:hover {
  text-decoration: underline;
}
.pagination li.active span {
  background: var(--dc-blue);
  border-color: var(--dc-blue);
  color: #ffffff;
}
.pagination a {
  color: var(--dc-blue-dark);
}

/* ---------- Agenda ---------- */

/* Op de telefoon wordt elke regel van de agenda een kaartje */
@media (max-width: 720px) {
  .agenda-page .content-item table,
  .agenda-page .content-item tbody,
  .agenda-page .content-item tr,
  .agenda-page .content-item td {
    display: block;
    width: 100%;
  }
  .agenda-page .content-item table {
    overflow: visible;
  }
  .agenda-page .content-item thead {
    display: none;
  }
  .agenda-page .content-item tr {
    background: var(--dc-blue-soft);
    border-left: 4px solid var(--dc-blue);
    border-radius: 0 10px 10px 0;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
  }
  .agenda-page .content-item td {
    border: 0;
    background: none;
    padding: 0.2rem 0;
  }
  .agenda-page .content-item td::before {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dc-blue-dark);
  }
  .agenda-page .content-item td:nth-child(1)::before { content: "Datum"; }
  .agenda-page .content-item td:nth-child(2)::before { content: "Tijd"; }
  .agenda-page .content-item td:nth-child(3)::before { content: "Wat"; }
  .agenda-page .content-item td:nth-child(4)::before { content: "Waar"; }
}

/* ---------- Extra's: staafjesmotief uit het logo ---------- */

:root {
  --dc-bars-page: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20195%20100%27%20preserveAspectRatio%3D%27none%27%3E%3Cg%20fill%3D%27%23fbfbfc%27%3E%3Crect%20x%3D%272.5%27%20y%3D%2744%27%20width%3D%2710%27%20height%3D%2756%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2717.5%27%20y%3D%2754%27%20width%3D%2710%27%20height%3D%2746%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2732.5%27%20y%3D%2759%27%20width%3D%2710%27%20height%3D%2741%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2747.5%27%20y%3D%2754%27%20width%3D%2710%27%20height%3D%2746%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2762.5%27%20y%3D%2744%27%20width%3D%2710%27%20height%3D%2756%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2777.5%27%20y%3D%2736%27%20width%3D%2710%27%20height%3D%2764%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2792.5%27%20y%3D%2718%27%20width%3D%2710%27%20height%3D%2782%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27107.5%27%20y%3D%270%27%20width%3D%2710%27%20height%3D%27100%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27122.5%27%20y%3D%2718%27%20width%3D%2710%27%20height%3D%2782%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27137.5%27%20y%3D%2736%27%20width%3D%2710%27%20height%3D%2764%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27152.5%27%20y%3D%2744%27%20width%3D%2710%27%20height%3D%2756%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27167.5%27%20y%3D%2723%27%20width%3D%2710%27%20height%3D%2777%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27182.5%27%20y%3D%270%27%20width%3D%2710%27%20height%3D%27100%27%20rx%3D%271.5%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --dc-bars-blue: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20195%20100%27%20preserveAspectRatio%3D%27none%27%3E%3Cg%20fill%3D%27%234052a6%27%3E%3Crect%20x%3D%272.5%27%20y%3D%2744%27%20width%3D%2710%27%20height%3D%2756%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2717.5%27%20y%3D%2754%27%20width%3D%2710%27%20height%3D%2746%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2732.5%27%20y%3D%2759%27%20width%3D%2710%27%20height%3D%2741%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2747.5%27%20y%3D%2754%27%20width%3D%2710%27%20height%3D%2746%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2762.5%27%20y%3D%2744%27%20width%3D%2710%27%20height%3D%2756%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2777.5%27%20y%3D%2736%27%20width%3D%2710%27%20height%3D%2764%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2792.5%27%20y%3D%2718%27%20width%3D%2710%27%20height%3D%2782%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27107.5%27%20y%3D%270%27%20width%3D%2710%27%20height%3D%27100%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27122.5%27%20y%3D%2718%27%20width%3D%2710%27%20height%3D%2782%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27137.5%27%20y%3D%2736%27%20width%3D%2710%27%20height%3D%2764%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27152.5%27%20y%3D%2744%27%20width%3D%2710%27%20height%3D%2756%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27167.5%27%20y%3D%2723%27%20width%3D%2710%27%20height%3D%2777%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27182.5%27%20y%3D%270%27%20width%3D%2710%27%20height%3D%27100%27%20rx%3D%271.5%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --dc-bars-faint: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20195%20100%27%20preserveAspectRatio%3D%27none%27%3E%3Cg%20fill%3D%27%23ffffff%27%20fill-opacity%3D%270.09%27%3E%3Crect%20x%3D%272.5%27%20y%3D%2744%27%20width%3D%2710%27%20height%3D%2756%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2717.5%27%20y%3D%2754%27%20width%3D%2710%27%20height%3D%2746%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2732.5%27%20y%3D%2759%27%20width%3D%2710%27%20height%3D%2741%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2747.5%27%20y%3D%2754%27%20width%3D%2710%27%20height%3D%2746%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2762.5%27%20y%3D%2744%27%20width%3D%2710%27%20height%3D%2756%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2777.5%27%20y%3D%2736%27%20width%3D%2710%27%20height%3D%2764%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2792.5%27%20y%3D%2718%27%20width%3D%2710%27%20height%3D%2782%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27107.5%27%20y%3D%270%27%20width%3D%2710%27%20height%3D%27100%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27122.5%27%20y%3D%2718%27%20width%3D%2710%27%20height%3D%2782%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27137.5%27%20y%3D%2736%27%20width%3D%2710%27%20height%3D%2764%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27152.5%27%20y%3D%2744%27%20width%3D%2710%27%20height%3D%2756%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27167.5%27%20y%3D%2723%27%20width%3D%2710%27%20height%3D%2777%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27182.5%27%20y%3D%270%27%20width%3D%2710%27%20height%3D%27100%27%20rx%3D%271.5%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --dc-bars-page-anim: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20195%20100%27%20preserveAspectRatio%3D%27none%27%3E%3Cstyle%3Erect%7Btransform-box%3Afill-box%3Btransform-origin%3A50%25%20100%25%3Banimation%3Ab%20ease-in-out%20infinite%20alternate%7D%40keyframes%20b%7Bto%7Btransform%3AscaleY%28var%28--s%29%29%7D%7D%3C%2Fstyle%3E%3Cg%20fill%3D%27%23fbfbfc%27%3E%3Crect%20x%3D%272.5%27%20y%3D%2744%27%20width%3D%2710%27%20height%3D%2756%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.55%3Banimation-duration%3A2.2s%3Banimation-delay%3A-0.00s%27%2F%3E%3Crect%20x%3D%2717.5%27%20y%3D%2754%27%20width%3D%2710%27%20height%3D%2746%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.7%3Banimation-duration%3A1.7s%3Banimation-delay%3A-0.40s%27%2F%3E%3Crect%20x%3D%2732.5%27%20y%3D%2759%27%20width%3D%2710%27%20height%3D%2741%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.6%3Banimation-duration%3A2.6s%3Banimation-delay%3A-0.00s%27%2F%3E%3Crect%20x%3D%2747.5%27%20y%3D%2754%27%20width%3D%2710%27%20height%3D%2746%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.75%3Banimation-duration%3A1.9s%3Banimation-delay%3A-0.50s%27%2F%3E%3Crect%20x%3D%2762.5%27%20y%3D%2744%27%20width%3D%2710%27%20height%3D%2756%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.5%3Banimation-duration%3A2.4s%3Banimation-delay%3A-0.50s%27%2F%3E%3Crect%20x%3D%2777.5%27%20y%3D%2736%27%20width%3D%2710%27%20height%3D%2764%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.65%3Banimation-duration%3A1.6s%3Banimation-delay%3A-0.20s%27%2F%3E%3Crect%20x%3D%2792.5%27%20y%3D%2718%27%20width%3D%2710%27%20height%3D%2782%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.6%3Banimation-duration%3A2.1s%3Banimation-delay%3A-0.90s%27%2F%3E%3Crect%20x%3D%27107.5%27%20y%3D%270%27%20width%3D%2710%27%20height%3D%27100%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.7%3Banimation-duration%3A2.8s%3Banimation-delay%3A-0.10s%27%2F%3E%3Crect%20x%3D%27122.5%27%20y%3D%2718%27%20width%3D%2710%27%20height%3D%2782%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.55%3Banimation-duration%3A1.8s%3Banimation-delay%3A-0.10s%27%2F%3E%3Crect%20x%3D%27137.5%27%20y%3D%2736%27%20width%3D%2710%27%20height%3D%2764%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.65%3Banimation-duration%3A2.3s%3Banimation-delay%3A-1.20s%27%2F%3E%3Crect%20x%3D%27152.5%27%20y%3D%2744%27%20width%3D%2710%27%20height%3D%2756%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.75%3Banimation-duration%3A2.0s%3Banimation-delay%3A-0.50s%27%2F%3E%3Crect%20x%3D%27167.5%27%20y%3D%2723%27%20width%3D%2710%27%20height%3D%2777%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.6%3Banimation-duration%3A2.7s%3Banimation-delay%3A-1.10s%27%2F%3E%3Crect%20x%3D%27182.5%27%20y%3D%270%27%20width%3D%2710%27%20height%3D%27100%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.7%3Banimation-duration%3A1.9s%3Banimation-delay%3A-0.70s%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --dc-bars-blue-anim: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20195%20100%27%20preserveAspectRatio%3D%27none%27%3E%3Cstyle%3Erect%7Btransform-box%3Afill-box%3Btransform-origin%3A50%25%20100%25%3Banimation%3Ab%20ease-in-out%20infinite%20alternate%7D%40keyframes%20b%7Bto%7Btransform%3AscaleY%28var%28--s%29%29%7D%7D%3C%2Fstyle%3E%3Cg%20fill%3D%27%234052a6%27%3E%3Crect%20x%3D%272.5%27%20y%3D%2744%27%20width%3D%2710%27%20height%3D%2756%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.55%3Banimation-duration%3A2.2s%3Banimation-delay%3A-0.00s%27%2F%3E%3Crect%20x%3D%2717.5%27%20y%3D%2754%27%20width%3D%2710%27%20height%3D%2746%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.7%3Banimation-duration%3A1.7s%3Banimation-delay%3A-0.40s%27%2F%3E%3Crect%20x%3D%2732.5%27%20y%3D%2759%27%20width%3D%2710%27%20height%3D%2741%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.6%3Banimation-duration%3A2.6s%3Banimation-delay%3A-0.00s%27%2F%3E%3Crect%20x%3D%2747.5%27%20y%3D%2754%27%20width%3D%2710%27%20height%3D%2746%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.75%3Banimation-duration%3A1.9s%3Banimation-delay%3A-0.50s%27%2F%3E%3Crect%20x%3D%2762.5%27%20y%3D%2744%27%20width%3D%2710%27%20height%3D%2756%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.5%3Banimation-duration%3A2.4s%3Banimation-delay%3A-0.50s%27%2F%3E%3Crect%20x%3D%2777.5%27%20y%3D%2736%27%20width%3D%2710%27%20height%3D%2764%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.65%3Banimation-duration%3A1.6s%3Banimation-delay%3A-0.20s%27%2F%3E%3Crect%20x%3D%2792.5%27%20y%3D%2718%27%20width%3D%2710%27%20height%3D%2782%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.6%3Banimation-duration%3A2.1s%3Banimation-delay%3A-0.90s%27%2F%3E%3Crect%20x%3D%27107.5%27%20y%3D%270%27%20width%3D%2710%27%20height%3D%27100%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.7%3Banimation-duration%3A2.8s%3Banimation-delay%3A-0.10s%27%2F%3E%3Crect%20x%3D%27122.5%27%20y%3D%2718%27%20width%3D%2710%27%20height%3D%2782%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.55%3Banimation-duration%3A1.8s%3Banimation-delay%3A-0.10s%27%2F%3E%3Crect%20x%3D%27137.5%27%20y%3D%2736%27%20width%3D%2710%27%20height%3D%2764%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.65%3Banimation-duration%3A2.3s%3Banimation-delay%3A-1.20s%27%2F%3E%3Crect%20x%3D%27152.5%27%20y%3D%2744%27%20width%3D%2710%27%20height%3D%2756%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.75%3Banimation-duration%3A2.0s%3Banimation-delay%3A-0.50s%27%2F%3E%3Crect%20x%3D%27167.5%27%20y%3D%2723%27%20width%3D%2710%27%20height%3D%2777%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.6%3Banimation-duration%3A2.7s%3Banimation-delay%3A-1.10s%27%2F%3E%3Crect%20x%3D%27182.5%27%20y%3D%270%27%20width%3D%2710%27%20height%3D%27100%27%20rx%3D%271.5%27%20style%3D%27--s%3A0.7%3Banimation-duration%3A1.9s%3Banimation-delay%3A-0.70s%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --dc-bars-mini: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2022%2014%27%3E%3Cg%20fill%3D%27%234052a6%27%3E%3Crect%20x%3D%270%27%20y%3D%276%27%20width%3D%275%27%20height%3D%278%27%20rx%3D%271%27%2F%3E%3Crect%20x%3D%278.5%27%20y%3D%270%27%20width%3D%275%27%20height%3D%2714%27%20rx%3D%271%27%2F%3E%3Crect%20x%3D%2717%27%20y%3D%273%27%20width%3D%275%27%20height%3D%2711%27%20rx%3D%271%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

/* Staafjesrand onderaan het welkomstblok en de titelband */
.dacapo-welcome,
.page-band {
  position: relative;
  overflow: hidden;
}
.dacapo-welcome::after,
.page-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 34px;
  background: var(--dc-bars-page) repeat-x left bottom / 230px 34px;
  pointer-events: none;
  z-index: 1;
}

/* Staafjesrand bovenop de voettekst */
#footer.dacapo-footer {
  position: relative;
  margin-top: 34px;
}
#footer.dacapo-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -33px;
  height: 34px;
  background: var(--dc-bars-blue) repeat-x left bottom / 230px 34px;
  pointer-events: none;
}

/* Tussenkoppen: drie staafjes in plaats van een streepje */
h2::before {
  width: 22px;
  height: 14px;
  border-radius: 0;
  background: var(--dc-bars-mini) no-repeat left bottom / contain;
  opacity: 1;
}

/* ---------- Titelband op gewone pagina's en nieuws ---------- */

.page-band {
  background:
    var(--dc-bars-faint) no-repeat right 6% bottom 20px / 460px 236px,
    linear-gradient(135deg, var(--dc-blue) 0%, var(--dc-blue-dark) 100%);
  color: #ffffff;
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(5.5rem, 10vw, 7rem);
}
.page-band .container {
  max-width: 960px;
}
.page-band h1 {
  color: #ffffff;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin: 0;
}
.page-band-label {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.page-band-extra {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}
.page-band-extra .blog-date,
.page-band-extra .blog-date i {
  color: rgba(255, 255, 255, 0.85);
}

/* De witte inhoud schuift over de band heen, net als op de homepagina */
.page-band + #start #body-wrapper {
  padding-top: 0;
  display: flow-root; /* voorkomt dat de negatieve marge de hele sectie omhoog trekt */
  background: transparent;
}
.page-band + #start .content-item.has-band,
.page-band + #start .blog-grid {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * clamp(3.5rem, 7vw, 4.5rem));
}
/* Meldingen (bijv. "U bent ingelogd") nemen die plek in; anders vallen ze achter de kaart */
.page-band + #start #messages {
  position: relative;
  z-index: 3;
  max-width: 960px;
  margin: calc(-1 * clamp(3.5rem, 7vw, 4.5rem)) auto 0;
}
.page-band + #start #messages + .content-item.has-band {
  margin-top: 0;
}
#body-wrapper > .container > .content-item.has-band,
.content-item.has-band {
  border-top: 0;
  box-shadow: 0 2px 4px rgba(20, 26, 60, 0.04), 0 22px 48px -24px rgba(20, 26, 60, 0.35);
}
.has-band > h2:first-child {
  margin-top: 0;
}

/* ---------- Welkomstblok ---------- */

.dacapo-welcome.has-banner {
  background: var(--dc-blue);
}
.welcome-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform-origin: 70% 40%;
  animation: dc-slow-zoom 24s ease-in-out infinite alternate;
}
.welcome-bg {
  z-index: 0;
}
.dacapo-welcome.has-banner::before {
  z-index: 1;
}
.dacapo-welcome.has-banner > .container {
  z-index: 2;
}
.dacapo-welcome::after {
  z-index: 3;
}
/* Staafjes onder het welkomstblok en boven de voettekst bewegen zachtjes, als een equalizer */
@media (prefers-reduced-motion: no-preference) {
  .dacapo-welcome::after {
    height: 64px;
    background-image: var(--dc-bars-page-anim);
    background-size: 230px 64px;
  }
  #footer.dacapo-footer {
    margin-top: 64px;
  }
  #footer.dacapo-footer::before {
    top: -63px;
    height: 64px;
    background-image: var(--dc-bars-blue-anim);
    background-size: 230px 64px;
  }
}
@keyframes dc-slow-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
@media (max-width: 720px) {
  .welcome-bg {
    background-position: 65% center;
  }
}

.welcome-buttons a {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.welcome-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(10, 14, 40, 0.6);
}

/* ---------- Kaarten ---------- */

.info-block,
.news-item,
.blog-grid .card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.info-block:hover,
.news-item:hover,
.blog-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(20, 26, 60, 0.05), 0 22px 40px -20px rgba(20, 26, 60, 0.35);
}
.news-item,
.blog-grid .card .card-image {
  overflow: hidden;
}
.news-item img,
.blog-grid .card .card-image img {
  transition: transform 0.5s ease;
}
.news-item:hover img,
.blog-grid .card:hover .card-image img {
  transform: scale(1.05);
}
.blog-grid .card {
  border-top: 4px solid var(--dc-blue);
}

/* ---------- In beeld schuiven (alleen met JavaScript en zonder "minder beweging") ---------- */

.dc-reveal .info-block,
.dc-reveal .news-item,
.dc-reveal .blog-grid .card,
.dc-reveal .photo-gallery a,
.dc-reveal .content-item.has-band {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.6s ease, translate 0.6s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.dc-reveal .is-visible {
  opacity: 1 !important;
  translate: 0 0 !important;
}

/* ---------- Fotoviewer ---------- */

.photo-gallery a {
  cursor: zoom-in;
}
.dc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 16, 38, 0.92);
  padding: 3.5rem 4.5rem;
}
.dc-lightbox[hidden] {
  display: none;
}
.dc-lightbox-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.dc-lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.dc-lightbox-count {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}
.dc-lightbox button {
  position: absolute;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.dc-lightbox button:hover,
.dc-lightbox button:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}
.dc-lightbox-close {
  top: 1rem;
  right: 1rem;
}
.dc-lightbox-prev,
.dc-lightbox-next {
  top: 50%;
  translate: 0 -50%;
}
.dc-lightbox-prev {
  left: 1rem;
}
.dc-lightbox-next {
  right: 1rem;
}
body.dc-lightbox-open {
  overflow: hidden;
}
@media (max-width: 720px) {
  .dc-lightbox {
    padding: 4rem 0.5rem;
  }
  .dc-lightbox-prev,
  .dc-lightbox-next {
    top: auto;
    bottom: 1rem;
    translate: none;
  }
}

/* ---------- Bladmuziek (ledenpagina) ---------- */

.leden-welkom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--dc-blue-soft);
}

.muziekstukken,
.partijen {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  max-width: 36rem;
}
.muziekstukken li,
.partijen li {
  margin: 0;
  list-style: none;
  border-bottom: 1px solid var(--dc-blue-soft);
}
/* Grote regels: makkelijk aan te klikken, ook op de telefoon */
.muziekstukken a,
.partij-download {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.6rem 0.5rem;
  color: var(--dc-blue);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
}
.muziekstukken a::after {
  content: "\203A";
  margin-left: auto;
  font-size: 1.6rem;
  line-height: 1;
}
.muziekstukken a:hover,
.muziekstukken a:focus-visible,
.partij-download:hover,
.partij-download:focus-visible {
  background: var(--dc-blue-soft);
  color: var(--dc-blue-dark);
}
.muziekstukken .leeg {
  border: 0;
}

.terug a {
  font-weight: 600;
}

/* ---------- Minder beweging ---------- */

@media (prefers-reduced-motion: reduce) {
  .welcome-bg {
    animation: none;
  }
  .info-block,
  .news-item,
  .blog-grid .card,
  .news-item img,
  .blog-grid .card .card-image img,
  .welcome-buttons a {
    transition: none;
  }
  .info-block:hover,
  .news-item:hover,
  .blog-grid .card:hover,
  .welcome-buttons a:hover {
    transform: none;
  }
}

/* Nieuwsberichten staan dieper genest dan gewone pagina's: zelf de witte kaart geven */
.content-item.has-band {
  background: var(--q2-bg-elev);
  border-radius: var(--q2-radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.25rem);
}

/* ---------- Inlogscherm ---------- */

/* Labels links boven de velden, opties op één lijn, knop over de hele breedte.
   "section" erbij, want login.css van de plugin wordt na dit bestand geladen. */
section#grav-login {
  text-align: left;
}
section#grav-login h1 {
  text-align: center;
  font-size: 2.5rem;
}
section#grav-login .button-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
}
section#grav-login .rememberme {
  float: none;
  padding: 0;
}
section#grav-login .rememberme .form-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
section#grav-login .rememberme input,
section#grav-login .rememberme label {
  margin: 0;
}
section#grav-login .button-wrapper a[href$="/magic_login"],
section#grav-login .button-wrapper button {
  flex-basis: 100%;
}
section#grav-login .button-wrapper button {
  margin: 0.5rem 0 0;
}
section#grav-login .login-intro {
  margin-bottom: 1.25rem;
}
section#grav-login .login-intro p {
  margin: 0;
  font-size: inherit;
  text-align: left;
}
