/* =========================================================
   MoesApp – WP homepage overrides (alleen voor .moesapp-home)
   Doel: dezelfde look als theme-frontpage, maar editbaar via pagina.
   Laadt alleen op /home_nieuw/ (via functions.php)
   ========================================================= */


/* ---------------------------------------------------------
   1) HERO / INTRO (afbeelding + overlay tekst)
   --------------------------------------------------------- */

html body .moesapp-home #intro {
  position: relative;
}

/* Intro-afbeelding: full width zoals op de echte homepage */
html body .moesapp-home #intro-image {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Zorg dat het beeld lekker breed is en niet “smal” wordt */
html body .moesapp-home #intro-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;

  /* duidelijke ronding onderaan */
  border-bottom-left-radius: 70px;
  border-bottom-right-radius: 70px;
}

/* Tekst over de afbeelding: hoger zetten */
html body .moesapp-home #intro-message {
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;              /* hoger/lager tunen: 20–70px */
  text-align: center;
  z-index: 10;
  pointer-events: none;
}

/* Intro-tekst: LICHT, contrasterend (zoals jij wil) */
html body .moesapp-home #intro-message h1 {
  margin: 0.15em 0;
  font-weight: 900;
  color: #ffffff;         /* expliciet wit werkt het best op de foto */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* Mobiel: iets minder ronding en tekst iets lager */
@media (max-width: 760px) {
  html body .moesapp-home #intro-image img {
    border-bottom-left-radius: 42px;
    border-bottom-right-radius: 42px;
  }

  html body .moesapp-home #intro-message {
    top: 32px;
  }
}


/* ---------------------------------------------------------
   2) TEASER: "Registreer" link in de lijst
   --------------------------------------------------------- */

html body .moesapp-home #teaser-text ul {
  margin: 0.5rem 0 0.75rem 0;
  padding-left: 1.25rem;
}

html body .moesapp-home #teaser-text ul li {
  margin: 0.35rem 0;
}

html body .moesapp-home #teaser-text ul li a {
  font-weight: 900;
  color: var(--dark-text-color);
  text-decoration: none;
  border-bottom: 2px solid var(--dark-text-color);
  padding-bottom: 1px;
}

html body .moesapp-home #teaser-text ul li a:hover {
  background-color: var(--dark-background-color);
  color: var(--background-color);
  border-bottom-color: transparent;
  border-radius: 4px;
  padding: 2px 6px;
}


/* ---------------------------------------------------------
   3) CTA: links onderaan als knoppen
   --------------------------------------------------------- */

html body .moesapp-home a.wp-cta-button {
  display: inline-block;
  text-decoration: none;

  border-radius: 8px;
  min-height: 36px;
  padding: 10px 25px;
  margin: 4px 2px;

  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  background-color: var(--dark-background-color);
  color: #ffffff;

  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2),
              0 2px 2px 0 rgba(0, 0, 0, 0.14),
              0 1px 5px 0 rgba(0, 0, 0, 0.12);

  transition: background-color 0.3s ease;
}

html body .moesapp-home a.wp-cta-button:hover {
  background-color: #4aab56;
  color: #ffffff;
}
