/* ============================================================
   DESIGN SYSTEEM: RECHTVOORZIJNRAAP.ORG (v5.0 - DEFINITIEF)
   ============================================================ */

/* 1. VARIABELEN */
:root {
  --heading-font: 'DM Sans', -apple-system, sans-serif;
  --body-font: 'DM Sans', -apple-system, sans-serif;
  --accent-red: #e64e4e; 
  --bg-body: #f5f7f9;
  --white: #ffffff;
  --text-main: #333333;
  --text-dark: #000000;
  --shadow-luxe: 0 10px 40px rgba(0, 0, 0, 0.08);
  --radius: 12px;
}

/* 2. BASIS LAYOUT & VERWIJDEREN ZIJBALK */
body {
  font-family: var(--body-font) !important;
  background-color: var(--bg-body) !important;
  color: var(--text-main);
  line-height: 1.8 !important;
}

.mh-sidebar, .customize-partial-edit-shortcut {
  display: none !important;
}

.mh-wrapper, .mh-main-content, .mh-content, article, .mh-section {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
}

.mh-wrapper {
  background: var(--white) !important;
  max-width: 950px !important; 
  margin: 50px auto !important;
  padding: 70px !important; 
  border-radius: var(--radius);
  box-shadow: var(--shadow-luxe);
  border: 1px solid rgba(0,0,0,0.03);
  box-sizing: border-box;
}

/* 3. KOPPEN */
h1, .entry-title, .page-title {
  font-weight: 900 !important;
  text-align: center !important;
  color: var(--text-dark) !important;
  font-size: 3rem !important;
  margin-bottom: 2rem !important;
}

h2 {
  font-weight: 800 !important;
  font-size: 1.8rem !important;
  margin-top: 3em !important;
  margin-bottom: 1.2em !important;
  text-align: center !important;
}

h4 {
  font-weight: 700 !important;
  font-size: 1.45rem !important;
  color: var(--accent-red) !important;
  margin-top: 2.5em !important;
  margin-bottom: 0.8em !important;
}

/* 4. TYPOGRAFIE & LIJSTEN */
p { font-size: 17px; margin-bottom: 1.8em; }

.entry-content ul li {
  font-size: 17px;
  margin-bottom: 0.8em;
  list-style: none;
  position: relative;
}

.entry-content ul li::before {
  content: "•";
  color: var(--accent-red);
  font-weight: bold;
  margin-right: 10px;
}

/* 5. HEADER & NAVIGATIE */
.mh-header-columns, .mh-main-nav-wrap {
  background-color: var(--accent-red) !important;
}

.mh-main-nav li a {
  color: var(--white) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  padding: 20px 25px !important;
}

/* 6. KNOPPEN */
.button, a.button {
  background-color: var(--accent-red) !important;
  color: var(--white) !important;
  padding: 12px 25px !important;
  border-radius: 6px !important;
  display: inline-block;
  text-decoration: none !important;
  font-weight: bold;
}

/* 7. FOOTER & COPYRIGHT FIX */
.mh-footer, .mh-footer-area {
  background-color: #2a2a2a !important;
  color: #ffffff !important;
  padding: 40px 0 !important;
}

.mh-footer-area .mh-row {
  padding: 0 40px !important;
  display: flex !important;
}

.mh-footer-widget {
  padding: 0 20px !important;
}

.mh-footer-widget-title {
  color: var(--accent-red) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  margin-bottom: 20px !important;
}

.mh-footer a { color: #ffffff !important; }

/* De specifieke Copyright Fix */
.mh-copyright {
  background-color: #1a1a1a !important;
  padding: 20px 0 !important;
  font-size: 0 !important; 
  text-align: center !important;
}

.mh-copyright::before {
  content: "© 2026 Stichting Recht voor zijn Raap"; 
  font-size: 13px !important; 
  color: #999999 !important;
  visibility: visible;
}

/* 8. MOBIEL */
@media (max-width: 768px) {
  .mh-wrapper { margin: 0 auto !important; padding: 35px 20px !important; border-radius: 0; }
  h1 { font-size: 2.2rem !important; }
}

/* RONDE HOEKEN VOOR FOTO'S IN DE TEKST */
.entry-content img {
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* VERBERG KOPAFBEELDING ENKEL OP DE HOMEPAGE */
.home .mh-header-image {
    display: none !important;
}

/* OPTIONEEL: Extra witruimte boven de witte kaart op de home */
.home .mh-wrapper {
    margin-top: 30px !important;
}

/* VERBETERDE FOTO OVERLAY & KNOPPEN */
.foto-container {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden; /* Zorgt dat alles binnen de hoeken blijft */
    border-radius: 12px;
}

.overlay-foto {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(50%) contrast(110%); /* Iets donkerder voor beter contrast */
}

.overlay-tekst {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff !important;
    text-align: center;
    width: 90%;
    z-index: 10; /* Forceert de tekst naar de voorgrond */
}

.overlay-tekst h3 {
    color: #ffffff !important;
    font-size: clamp(1.5rem, 5vw, 2.5rem) !important; /* Schaalt mee op iPad/Mobiel */
    margin-bottom: 15px !important;
    font-weight: 900 !important;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.8);
}

.overlay-tekst p {
    color: #ffffff !important;
    font-size: 1.2rem !important;
    margin-bottom: 25px !important;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.8);
}
/* 1. VERBERG PAGINATITEL 'HOME' ENKEL OP HOMEPAGE */
.home .entry-title {
    display: none !important;
}

/* 2. FOTO OVER DE VOLLE BREEDTE EN BOVENAAN */
.home .foto-container {
    width: calc(100% + 140px) !important;
    margin-left: -70px !important;
    margin-top: -70px !important;
    height: 80vh !important; /* Neemt 80% van de hoogte van je scherm in */
    border-radius: 0 !important; /* Geen ronde hoeken meer voor een strakke look */
}

.home .overlay-foto {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Zorgt dat de foto de hele ruimte vult zonder te vervormen */
    border-radius: 0 !important;
}

/* 3. ZORG DAT DE WITTE KAART BOVENAAN BEGINT */
.home .mh-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* De Knoppen container */
.overlay-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Voorkomt dat knoppen buiten beeld vallen op mobiel */
}

/* De Knoppen zelf */
.btn-overlay {
    padding: 14px 28px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 6px !important;
    transition: 0.3s;
    display: inline-block;
    min-width: 160px;
}

.btn-red {
    background-color: #e64e4e !important;
    color: #ffffff !important;
    border: 2px solid #e64e4e !important;
}

.btn-white {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    backdrop-filter: blur(5px);
}

.btn-overlay:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
    transform: scale(1.05);
}
/* VERWIJDER WITRUIMTE RONDOM FOTO OP HOME */
/* 1. FORCEER DE HELE WRAPPER NAAR 100% OP DE HOME */
.home .mh-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-top: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* 2. DE FOTO OVER DE VOLLE BREEDTE */
.home .foto-container {
    width: 100% !important;
    height: 90vh !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

.home .overlay-foto {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* 3. VERBERG DE TITEL 'HOME' */
.home .entry-title {
    display: none !important;
}

/* 4. ZORG DAT DE TEKST ONDER DE FOTO WEL WEER NETJES IN HET MIDDEN STAAT */
.home .entry-content > *:not(.foto-container) {
    max-width: 950px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px;
    padding-right: 20px;
    display: block;
}

/* Extra: verwijder witruimte van de main content area */
.home .mh-content {
    padding: 0 !important;
}
/* VERWIJDER LAATSTE WITRUIMTE BOVEN EN ONDER OP HOME */
.home #main-content {
    padding-top: 0 !important;
}

.home .mh-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.home article {
    margin-bottom: 0 !important;
}

/* De container waarin de foto staat nog strakker trekken */
.home .entry-content {
    margin-top: 0 !important;
}

.home .foto-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
/* DONATIE PAGINA ONTWERP */
.donatie-sectie {
    text-align: center;
    padding: 20px 0;
}

.donatie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.btn-donatie {
    display: inline-block;
    padding: 20px 10px !important;
    background-color: #ffffff !important;
    color: var(--accent-red) !important;
    border: 2px solid var(--accent-red) !important;
    border-radius: 8px !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-donatie:hover {
    background-color: var(--accent-red) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 78, 78, 0.3);
}

/* Styling voor de 'Vrij bedrag' knop */
.vrij-bedrag-container {
    margin-top: 20px;
}

.btn-vrij {
    width: 100%;
    max-width: 400px;
    background-color: var(--accent-red) !important;
    color: #ffffff !important;
    padding: 15px !important;
}

.btn-vrij:hover {
    background-color: #333 !important;
    border-color: #333 !important;
}
/* --- DONATIE PAGINA: VOLLEDIGE & CONSISTENTE STYLING --- */

.donatie-sectie {
    text-align: center;
    padding: 20px 0;
}

/* De IBAN box voor handmatige overboekingen */
.donatie-info-box {
    background-color: #f9f9f9;
    border: 2px dashed var(--accent-red);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.iban-display {
    font-size: 1.6rem !important;
    font-weight: 900;
    color: var(--accent-red);
    letter-spacing: 1px;
    margin: 10px 0 !important;
    display: block;
}

/* Het grid met de bedragen (€5, €10, etc.) */
.donatie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

/* De algemene stijl voor elke donatieknop */
.btn-donatie {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px !important;
    background-color: #ffffff !important;
    color: var(--accent-red) !important;
    border: 2px solid var(--accent-red) !important;
    border-radius: 8px !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-donatie:hover {
    background-color: var(--accent-red) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 78, 78, 0.3);
}

/* De 'Kies eigen bedrag' knop (Springt er extra uit) */
.vrij-bedrag-container {
    margin-top: 25px;
}

.btn-vrij {
    width: 100%;
    max-width: 450px;
    background-color: var(--accent-red) !important;
    color: #ffffff !important;
    padding: 18px !important;
    margin: 0 auto;
    display: block;
}

.btn-vrij:hover {
    background-color: #333 !important;
    border-color: #333 !important;
}
/* STANDAARDISATIE KOP 4 */
h4 {
    color: var(--accent-red) !important;
    font-size: 1.5rem !important; /* Pas dit aan als je hem groter/kleiner wilt */
    font-weight: 800 !important;
    text-transform: none !important; /* Verwijder dit als je ALLES in hoofdletters wilt */
    margin-bottom: 20px !important;
    text-align: center; /* Zorgt dat de kop netjes boven de knoppen gecentreerd blijft */
}

/* Zorg dat de tekst onder de kop ook gecentreerd blijft */
.donatie-sectie > p {
    text-align: center;
    margin-bottom: 30px;
}
/* Betaalmethoden badges */
.donatie-betaalmethoden {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.betaal-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    border: 1px solid #D9C9B8;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 500;
}
