/* ==========================================================================
   Campaign Landing Pages & Featured Boxes (Contrast & Mobile Optimization)
   ========================================================================== */
.featured-box {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  margin-bottom: 1.5rem !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  text-align: left;
}

.featured-box:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}

.featured-box .box-content {
  padding: 1.5rem !important;
  background: transparent !important;
}

.featured-box h4 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #004767 !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.35 !important;
}

.featured-box p {
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
  color: #1e293b !important; /* Crisp, dark slate for high contrast */
  margin-bottom: 1rem !important;
}

.featured-box p:last-child {
  margin-bottom: 0 !important;
}

/* E-paper & Outline CTA Buttons inside Featured Box */
.featured-box .btn-outline-primary {
  border: 2px solid #a83f5e !important;
  color: #a83f5e !important;
  background-color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  transition: all 0.2s ease-in-out !important;
}

.featured-box .btn-outline-primary:hover,
.featured-box .btn-outline-primary:focus {
  background-color: #a83f5e !important;
  border-color: #a83f5e !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(168, 63, 94, 0.25) !important;
}

/* Standout Bottom Conversion Card (Deep OZK Blue with Pure White Text & Gold Button) */
.featured-box.featured-box-secundary,
.featured-box-secundary {
  background: linear-gradient(135deg, #004767 0%, #002b3d 100%) !important;
  border: 1px solid #001f2d !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 71, 103, 0.25) !important;
}

.featured-box.featured-box-secundary .box-content,
.featured-box-secundary .box-content {
  padding: 2.25rem 1.75rem !important;
  text-align: center !important;
  background: transparent !important;
}

.featured-box.featured-box-secundary h4,
.featured-box-secundary h4 {
  color: #ffffff !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.85rem !important;
  text-align: center !important;
}

.featured-box.featured-box-secundary p,
.featured-box-secundary p {
  color: #f8fafc !important; /* Pure crisp bright text */
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1.5rem !important;
  text-align: center !important;
}

/* Full-width Touch-Friendly Buttons for Mobile Conversion */
.btn-full {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  padding: 0.9rem 1.5rem !important;
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  min-height: 48px !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  word-wrap: break-word !important;
}

.featured-box-secundary .btn-primary,
.featured-box.featured-box-secundary .btn-primary {
  background-color: #f5c518 !important;
  border-color: #f5c518 !important;
  color: #002738 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(245, 197, 24, 0.4) !important;
}

.featured-box-secundary .btn-primary:hover,
.featured-box-secundary .btn-primary:focus,
.featured-box.featured-box-secundary .btn-primary:hover,
.featured-box.featured-box-secundary .btn-primary:focus {
  background-color: #deb10f !important;
  border-color: #deb10f !important;
  color: #001924 !important;
  box-shadow: 0 6px 18px rgba(245, 197, 24, 0.55) !important;
}

@media (max-width: 576px) {
  .featured-box .box-content {
    padding: 1.25rem !important;
  }
  .featured-box-secundary .box-content,
  .featured-box.featured-box-secundary .box-content {
    padding: 1.75rem 1.25rem !important;
  }
  .featured-box h4 {
    font-size: 1.15rem !important;
  }
  .featured-box-secundary h4,
  .featured-box.featured-box-secundary h4 {
    font-size: 1.35rem !important;
  }
  .btn-full {
    padding: 0.85rem 1rem !important;
    font-size: 1.02rem !important;
  }
}

/* ==========================================================================
   2x2 Grid USP Kaarten op partnerpagina's (Exact screenshot styling)
   ========================================================================== */
.landing-usps-grid {
  display: flex !important;
  flex-wrap: wrap !important;
}

.landing-usps-grid > .col-6 {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  width: 50% !important;
}

.landing-usps-grid .featured-box,
.landing-usps-grid .landing-usp-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  margin-bottom: 0 !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  text-align: left;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.landing-usps-grid .featured-box:hover,
.landing-usps-grid .landing-usp-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}

.landing-usps-grid .featured-box .box-content,
.landing-usps-grid .landing-usp-card .box-content {
  padding: 1.5rem !important;
  background: transparent !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.landing-usps-grid .featured-box h4,
.landing-usps-grid .landing-usp-title {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #004767 !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.35 !important;
  display: flex !important;
  align-items: center !important;
}

.landing-usps-grid .featured-box h4 svg,
.landing-usps-grid .landing-usp-title svg {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  fill: #C13C62 !important;
  flex-shrink: 0 !important;
}

.landing-usps-grid .featured-box p,
.landing-usps-grid .landing-usp-text {
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
  color: #1e293b !important;
  margin-bottom: 0 !important;
}

@media (max-width: 575.98px) {
  .landing-usps-grid {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
    margin-left: -4px !important;
    margin-right: -4px !important;
  }
  .landing-usps-grid > .col-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    margin-bottom: 8px !important;
  }
  .landing-usps-grid .featured-box,
  .landing-usps-grid .landing-usp-card {
    border-radius: 8px !important;
  }
  .landing-usps-grid .featured-box .box-content,
  .landing-usps-grid .landing-usp-card .box-content {
    padding: 10px 8px !important;
  }
  .landing-usps-grid .featured-box h4,
  .landing-usps-grid .landing-usp-title {
    font-size: 0.88rem !important;
    margin-bottom: 6px !important;
    line-height: 1.25 !important;
  }
  .landing-usps-grid .featured-box h4 svg,
  .landing-usps-grid .landing-usp-title svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
  }
  .landing-usps-grid .featured-box p,
  .landing-usps-grid .landing-usp-text {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    color: #495057 !important;
  }
}


/* Landingspagina's met een Bootstrap-rij in de body (/opwekking, /newwine, /betteld, /jongerendag):
   op mobiel stonden intro, knop en tekst op 24px van de rand, de titel en de foto op 12px
   (Richard 16-11-2026: bredere marge en de uitlijning links klopt niet).
   Oorzaak: ozk-blokken.css 3.0 zet onder 768px de negatieve marge van een `.row` in het bodyveld op 0
   (bedoeld voor rijen die in een kolom met padding staan), terwijl de kolommen hun goot van 12px
   houden. Hier staat de rij niet in zo'n kolom, dus die 12px komt er bovenop. Onder 768px staan de
   kolommen onder elkaar en heeft de horizontale goot geen functie: op 0, dan lijnt alles op 12px. */
@media (max-width: 767.98px) {
    .field--name-body > .row.landing-main-row {
        --bs-gutter-x: 0;
    }
}
