.diagonal-bg {
            background: linear-gradient(to bottom right, #f3f4f6 50%, white 50%);
        }
        .fade-in {
            animation: fadeIn 0.35s ease-in-out;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(4px); }
            to { opacity: 1; transform: translateY(0); }
        }

/* Houd de rode footer onderaan, ook als de tussenliggende inhoud verwijderd is. */
body.act-page { min-height: 100vh; display: flex; flex-direction: column; }
body.act-page .act-footer { margin-top: auto; }

/* Footer blijft zichtbaar, ook als Tailwind niet wordt geladen. */
body.act-page .act-footer {
    display: block;
    width: 100%;
    background-color: #B51F24;
    color: #ffffff;
    padding-top: 2rem;
    padding-bottom: 2rem;
    flex-shrink: 0;
}
body.act-page .act-footer a,
body.act-page .act-footer button { color: #ffffff; }

/* CMS-content: behouden met eigen ruimte tussen de nieuwe header en footer. */
.act-main { color: #374151; padding: 32px 0 48px;}
.act-main #content { background: #fff; }
.act-main .padding { padding-top: 12px; }
/* Bootstrap 3 .hidden overschrijft Tailwind bij het mobiele menu: laat Tailwind bepalen. */
@media (min-width: 1024px) { #mobile-menu { display: none !important; } }

/* Mobiel menu: eigen open/dicht status, onafhankelijk van Bootstrap/Tailwind hidden. */
#mobile-menu { display: none !important; }
@media (max-width: 1023px) {
  #mobile-menu.act-menu-open { display: block !important; }
  body.act-page #act-cms-content { padding-left: 15px; padding-right: 15px; box-sizing: border-box; }
  body.act-page #act-cms-content > .container { width: 100%; max-width: 100%; padding-left: 0; padding-right: 0; }
  body.act-page #act-cms-content .row { margin-left: 0; margin-right: 0; }
  body.act-page #act-cms-content .row > [class*="col-"] { padding-left: 0; padding-right: 0; }
}
body.act-page .act-page-title { font-size: clamp(1.7rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.25; color: #222; margin: 0 0 1.5rem; }

/* Mobiel menu: alleen tonen wanneer de knop aria-expanded=true heeft. */
#mobile-menu { display: none !important; }
@media (max-width: 1023px) {
  #mobile-menu.act-menu-open { display: block !important; }
  /* 15 px witte ruimte links en rechts van de CMS-tekst. */
  body.act-page #act-cms-content { background: #fff; padding-left: 15px; padding-right: 15px; }
  body.act-page #act-cms-content > .container { width: 100%; max-width: 100%; }
}

/* Centreer de inhoudscontainer en beperk deze tot 1200px. */
body.act-page #act-cms-content > .container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  body.act-page #act-cms-content > .container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
}

/* Tekst en skyscraper: naast elkaar op brede schermen, onder elkaar op mobiel. */
body.act-page #act-cms-content .act-content-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; width: 100%; }
body.act-page #act-cms-content .act-article,
body.act-page #act-cms-content .act-skyscraper { min-width: 0; overflow-wrap: anywhere; }
body.act-page #act-cms-content .act-skyscraper img,
body.act-page #act-cms-content .act-article img { max-width: 100%; height: auto; }
@media (min-width: 768px) {
  body.act-page #act-cms-content .act-content-layout.act-has-skyscraper {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
  }
}
@media (max-width: 767px) {
  body.act-page #act-cms-content .act-content-layout { gap: 24px; }
  body.act-page #act-cms-content .act-skyscraper { width: 100%; }
}
header nav a i.fa-chevron-down {
    display: inline-block;
    text-decoration: none !important;
}
header nav a:hover {
    text-decoration: none !important;
}

header nav a i.fa-chevron-down {
    text-decoration: none !important;
}
/* Opsommingstekens herstellen binnen CMS-pagina's */

.act-article ul {
    list-style-type: disc !important;
    list-style-position: outside !important;
    padding-left: 25px !important;
    margin: 12px 0 !important;
}

.act-article ol {
    list-style-type: decimal !important;
    list-style-position: outside !important;
    padding-left: 25px !important;
    margin: 12px 0 !important;
}

.act-article li {
    display: list-item !important;
    margin-bottom: 6px;
    padding-left: 4px;
}

/* Rode bullets passend bij ACT Inclusief */

.act-article li::marker {
    color: #b71920;
}

/* Sitemap uitzonderen */

.act-article .act-sitemap ul {
    list-style: none !important;
}
/* Groter lettertype voor CMS-inhoud */

.act-article {
    font-size: 15px;
    line-height: 1.5;
}

.act-article p,
.act-article li {
    font-size: 15px;
    line-height: 1.5;
}

.act-article li {
    margin-bottom: 7px;
}

/* Mobiele weergave */

@media screen and (max-width: 600px) {
    .act-article,
    .act-article p,
    .act-article li {
        font-size: 14px;
        line-height: 1.4;
    }
}
/* Contactknop: witte tekst bij mouse-over */

header nav a.bg-act-red,
header nav a.bg-act-red:hover,
header nav a.bg-act-red:focus {
    color: #ffffff !important;
    text-decoration: none !important;
}

