
/* ==========================================
   ECHO DER PEEL — HOMEPAGE HERO
   ========================================== */

/* Witruimte boven de homepage-inhoud verwijderen */
.home #content,
.home .site-content,
.home .site-content > .ast-container,
.home .content-area,
.home .site-main,
.home article,
.home .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Hero-groep */
.home .hero-section {
  min-height: 550px;
  margin-top: 0 !important;
  margin-bottom: 0;
  padding-top: 0 !important;
  padding-bottom: 0;
}

/* Kolommen naast elkaar */
.home .hero-section .wp-block-columns {
  display: flex;
  align-items: stretch;
  min-height: 550px;
  margin-top: 0 !important;
  margin-bottom: 0;
  gap: 0;
}

/* Kolommen */
.home .hero-section .wp-block-column {
  min-width: 0;
  margin-bottom: 0;
}

/* Afbeeldingsblok */
.home .hero-section .hero-fade-image {
  width: 100%;
  height: 550px;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* Afbeelding vullen en bijsnijden */
.home .hero-section .hero-fade-image img {
  display: block;
  width: 100%;
  height: 550px;
  max-width: none;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
  vertical-align: bottom;

  /* Vloeiende fade naar links */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.20) 12%,
    rgba(0, 0, 0, 0.65) 35%,
    black 65%
  ) !important;

  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.20) 12%,
    rgba(0, 0, 0, 0.65) 35%,
    black 65%
  ) !important;
}

/* Geen extra ruimte onder de afbeelding */
.home .hero-section .hero-fade-image figure {
  margin: 0;
  padding: 0;
}

/* ==========================================
   MOBIEL
   ========================================== */

@media (max-width: 768px) {
  .home .hero-section {
    min-height: 0;
  }

  .home .hero-section .wp-block-columns {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .home .hero-section .hero-fade-image {
    height: 300px;
  }

  .home .hero-section .hero-fade-image img {
    height: 300px;
  }
}

/* ==========================================
   RUIMTE BOVEN DE TEKST LINKS
   ========================================== */

.home .hero-section .wp-block-column:first-child {
  padding-top: 40px;
}

/* ==========================================
   ECHO DER PEEL — HERO TITEL
   ========================================== */

.home .hero-section .hero-title {
  font-size: clamp(3.5rem, 5.5vw, 5.25rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
  color: #292929;
}

/* Eerste woord: magenta */
.home .hero-section .hero-title .magenta-word {
  color: #B51F68;
}

/* Mobiele titel */
@media (max-width: 768px) {
  .home .hero-section .hero-title {
    font-size: clamp(3rem, 12vw, 4.25rem);
    line-height: 1;
  }
}


/* ==========================================
   ECHO DER PEEL — AGENDA
   ========================================== */


/* ==========================================
   ECHO DER PEEL — AGENDA
   ========================================== */

.home .agenda-bar {
  background: #B51F68 !important;
  color: #FFFFFF !important;
  width: 100%;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 36px 32px;
  border-radius: 0;
}

.home .agenda-bar .agenda-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.home .agenda-bar .agenda-kicker {
  color: #FFFFFF !important;
  font-size: 13px;
  letter-spacing: 1.2px;
  margin: 0 0 8px;
}

.home .agenda-bar h2 {
  color: #FFFFFF !important;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 24px;
}

/* Evenementinformatie */
.home .agenda-bar,
.home .agenda-bar p,
.home .agenda-bar span,
.home .agenda-bar time,
.home .agenda-bar a,
.home .agenda-bar h3,
.home .agenda-bar .tribe-events-widget-events-list__event-title {
  color: #FFFFFF !important;
}

.home .agenda-bar a {
  text-decoration: none;
}

.home .agenda-bar a:hover {
  color: #F5F0E7 !important;
  text-decoration: underline;
}

/* Verwijder extra witruimte uit de widget */
.home .agenda-bar .tribe-events-widget,
.home .agenda-bar .tribe-events-widget-events-list,
.home .agenda-bar .tribe-events-widget-events-list__events {
  margin: 0;
  padding: 0;
}

.home .agenda-bar .tribe-events-widget-events-list__view-more {
  margin-top: 16px;
}

/* Mobiel */
@media (max-width: 768px) {
  .home .agenda-bar {
    padding: 28px 20px;
  }

  .home .agenda-bar h2 {
    margin-bottom: 20px;
  }
}



/* ECHO DER PEEL — FOOTER */

.edp-footer {
  --edp-footer-dark: #292929;
  --edp-footer-cream: #F5F0E7;
  --edp-footer-magenta: #E75A9B;

  background: var(--edp-footer-dark);
  color: var(--edp-footer-cream);
  width: 100%;
  box-sizing: border-box;
  padding: 54px 32px 0;
  margin: 0;
}

.edp-footer *,
.edp-footer *::before,
.edp-footer *::after {
  box-sizing: border-box;
}

.edp-footer__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1fr;
  gap: 64px;
  padding-bottom: 44px;
}

.edp-footer__column {
  min-width: 0;
}

.edp-footer__logo {
  display: inline-block;
  color: var(--edp-footer-cream);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.3;
  text-decoration: none;
  margin-bottom: 18px;
}

.edp-footer__logo span {
  color: var(--edp-footer-magenta);
}

.edp-footer__column h3 {
  color: var(--edp-footer-cream);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 4px 0 22px;
}

.edp-footer__column p {
  color: #D6D0C8;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 14px;
}

.edp-footer__brand > p:first-of-type {
  max-width: 300px;
}

.edp-footer__column .edp-footer__small {
  color: #AFA8A1;
  font-size: 13px;
  margin-top: 20px;
}

.edp-footer__column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.edp-footer__column li {
  margin: 0 0 12px;
  padding: 0;
}

.edp-footer__column li a {
  color: #D6D0C8;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.edp-footer__column li a:hover,
.edp-footer__column li a:focus-visible {
  color: var(--edp-footer-magenta);
}

.edp-footer__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 12px 18px;
  border: 1px solid var(--edp-footer-magenta);
  border-radius: 5px;
  color: var(--edp-footer-cream);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.edp-footer__button:hover,
.edp-footer__button:focus-visible {
  background: var(--edp-footer-magenta);
  color: #FFFFFF;
}

.edp-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 19px 0 22px;
  border-top: 1px solid #4A4542;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.edp-footer__bottom p {
  margin: 0;
  color: #AFA8A1;
  font-size: 12px;
  line-height: 1.6;
}

/* Houd de footer goed leesbaar op tablets en mobiel */
@media (max-width: 780px) {
  .edp-footer {
    padding: 40px 24px 0;
  }

  .edp-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
    padding-bottom: 32px;
  }

  .edp-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .edp-footer {
    padding: 34px 22px 0;
  }

  .edp-footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .edp-footer__brand {
    grid-column: auto;
  }

  .edp-footer__logo {
    font-size: 23px;
  }

  .edp-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding: 18px 0;
  }
}


/* Footer achtergrond over de volledige schermbreedte */
.site-primary-footer-wrap,
.site-below-footer-wrap,
.site-above-footer-wrap {
  width: 100%;
  max-width: 100%;
}

/* Laat de HTML-footer de volledige breedte gebruiken */
.edp-footer {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* Agenda: alle tekst en links goed leesbaar */
.home .agenda-bar a,
.home .agenda-bar a:visited,
.home .agenda-bar a:active,
.home .agenda-bar .tribe-events-widget-events-list__view-more a,
.home .agenda-bar .tribe-events-widget-events-list__event-title a {
  color: #FFFFFF !important;
}

.home .agenda-bar a:hover {
  color: #F5F0E7 !important;
  text-decoration: underline;
}


/* Echo der Peel — gelijke afbeeldingen in de fotogalerij */

.home .edp-gallery .wp-block-column {
  min-width: 0;
}

.home .edp-gallery .wp-block-image {
  width: 100%;
  height: 260px;
  margin: 0;
  overflow: hidden;
}

.home .edp-gallery .wp-block-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Mobiel */
@media (max-width: 768px) {
  .home .edp-gallery .wp-block-image {
    height: 220px;
  }
}


/* ==========================================
   ECHO DER PEEL — FOOTER VOLLEDIG BREED
   ========================================== */

/* Maak de Astra-footerachtergrond zwart over de hele breedte */
.site-primary-footer-wrap,
.site-below-footer-wrap,
.site-above-footer-wrap {
    background-color: #292929 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Verwijder de grijze achtergrond rond de eigen HTML-footer */
.site-primary-footer-wrap .ast-builder-grid-row,
.site-below-footer-wrap .ast-builder-grid-row,
.site-above-footer-wrap .ast-builder-grid-row {
    background-color: #292929 !important;
}

/* Eigen footer: volledig breed en zwart */
.edp-footer {
    background-color: #292929 !important;
    color: #F5F0E7;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

/* Maak de drie footer-kopjes magenta */
.edp-footer__column h3 {
    color: #E75A9B !important;
}

/* Ook de merknaam-accentkleur magenta */
.edp-footer__logo span {
    color: #E75A9B !important;
}

/* Magenta bij hover op links en knop */
.edp-footer__column li a:hover,
.edp-footer__column li a:focus-visible {
    color: #E75A9B !important;
}

/* Verwijder eventuele grijze rand of schaduw rond de footer */
.site-primary-footer-wrap,
.site-below-footer-wrap {
    box-shadow: none !important;
    border: 0 !important;
}
