/* ┌──────────────────────────────────────────────────────────────┐
   │ BRAND-IMAGE-CONTACT-CARD — module.css                       │
   │ Classes: bic-*                                              │
   │                                                              │
   │ Desktop: 3 kolommen                                          │
   │ Tablet: 2 kolommen                                           │
   │ Mobiel: 1 kolom                                              │
   └──────────────────────────────────────────────────────────────┘ */


/* ══════════════════════════════════════════════
   1. BASIS
   ══════════════════════════════════════════════ */

.bic-4cee,
.bic-4cee * {
  box-sizing: border-box;
}

.bic-4cee {
  width: 100%;
  color: #030024;
}


/* ══════════════════════════════════════════════
   2. GRID
   ══════════════════════════════════════════════ */

.bic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 350px;
  gap: 32px;
  align-items: stretch;
}


.bic-grid > * {
  min-width: 0;
}


/* ══════════════════════════════════════════════
   3. VISUAL
   ══════════════════════════════════════════════ */

.bic-visual {
  position: relative;

  width: 100%;
  height: 350px;
  min-height: 0;

  display: flex;
  justify-content: center;

  border-radius: 15px;
  overflow: hidden;

  background: #eff0fd;
}


.bic-visual::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 2;

  pointer-events: none;

  background:
    radial-gradient(
      ellipse 67.28% 78.63% at 0% 100%,
      rgba(85, 209, 182, 0.49) 0%,
      rgba(0, 188, 148, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(48, 55, 191, 0) 12%,
      rgba(48, 55, 191, 0.10) 38%,
      rgba(48, 55, 191, 0.30) 70%,
      rgba(110, 127, 251, 0.45) 100%
    );
}

.bic-visual img {
  position: relative;
  z-index: 1;
}


/* Visualmodus: volledige afbeelding zichtbaar */

.bic-visual-mode--visual.bic-visual--center {
  align-items: center;
  padding: 40px;
}

.bic-visual-mode--visual.bic-visual--top {
  align-items: flex-start;
  padding: 0 40px 40px;
}

.bic-visual-mode--visual.bic-visual--bottom {
  align-items: flex-end;
  padding: 40px 40px 0;
}

.bic-visual-mode--visual img {
  display: block;

  width: auto;
  height: 100%;

  max-width: 100%;
  max-height: 100%;

  object-fit: contain;
}

.bic-card__link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  width: 100%;
  height: 100%;

  color: inherit;
  text-decoration: none !important;
}

.bic-card__link:hover,
.bic-card__link:focus,
.bic-card__link:active {
  color: inherit;
  text-decoration: none !important;
}

.bic-card__link:focus-visible {
  outline: 2px solid #6e7ffb;
  outline-offset: 4px;
}

/* Covermodus: afbeelding vult het vlak */

.bic-visual-mode--cover img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;
}

.bic-visual-mode--cover.bic-visual--top img {
  object-position: center top;
}

.bic-visual-mode--cover.bic-visual--center img {
  object-position: center center;
}

.bic-visual-mode--cover.bic-visual--bottom img {
  object-position: center bottom;
}



/* ══════════════════════════════════════════════
   5. KAART
   ══════════════════════════════════════════════ */

.bic-card {
  width: 100%;
  min-width: 0;
  height: 350px;
  min-height: 0;

  display: flex;
  flex-direction: column;

  padding: clamp(24px, 2.3vw, 32px);

  background: #ffffff;

  border: 1px solid #ced3fa;
  border-radius: 15px;

  color: #030024;

  cursor: pointer;
  text-decoration: none !important;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.bic-card:hover {
  transform: translateY(-3px);

  border-color: #aeb7fb;

  box-shadow:
    0 8px 20px rgba(110, 127, 251, 0.08),
    0 18px 40px rgba(110, 127, 251, 0.10);

  text-decoration: none !important;
}

.bic-card:hover .bic-card__arrow {
  color: #6e7ffb;
}

.bic-card:hover .bic-card__arrow svg {
  transform: translate(2px, -2px);
}

.bic-card *,
.bic-card:hover * {
  text-decoration: none !important;
}


/* Geen link */

.bic-card--no-link {
  cursor: default;
}

.bic-card--no-link:hover {
  transform: none;
  border-color: #ced3fa;
  box-shadow: none;
}


/* Subtiel onderscheid e-mailkaart */

.bic-card--email {
  background:
    radial-gradient(
      circle at 100% 100%,
      rgba(110, 127, 251, 0.09) 0%,
      rgba(110, 127, 251, 0) 52%
    ),
    #ffffff;
}


/* ══════════════════════════════════════════════
   6. KAARTKOP
   ══════════════════════════════════════════════ */

.bic-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 24px;
}

.bic-card__heading {
  min-width: 0;
}


/* Label */

.bic-card__label {
  display: block;

  margin: 0 0 14px;

  font-family: "Onest", system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.04em !important;

  text-transform: uppercase;

  color: #6e7ffb !important;
}


/* Titel */

.bic-card__title {
  margin: 0 !important;

  font-family: "Onest", system-ui, sans-serif !important;
  font-size: clamp(25px, 2.1vw, 32px) !important;
  font-weight: 500 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.02em !important;

  overflow-wrap: anywhere;

  color: #030024 !important;
}

.bic-card__title em,
.bic-card__title i {
  font-family: "Instrument Serif", serif !important;
  font-size: calc(1em + 4px) !important;
  font-weight: 400 !important;
  font-style: italic !important;
  letter-spacing: 0 !important;
}


/* ══════════════════════════════════════════════
   7. PIJL
   ══════════════════════════════════════════════ */

.bic-card__arrow {
  flex: 0 0 18px;

  width: 18px;
  height: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #030024;

  transition: color 0.28s ease;
}

.bic-card__arrow svg {
  display: block;

  width: 18px;
  height: 18px;

  transition: transform 0.28s ease;
}

.bic-card__arrow path {
  stroke: currentColor;
}


/* ══════════════════════════════════════════════
   8. KAARTTEKST
   ══════════════════════════════════════════════ */

.bic-card__save {
  display: flex;
  flex-direction: column;
  justify-content: space-between;   /* duwt body naar onderen */
  height: 100%;                     /* vult de hele kaart */
  text-decoration: none;
  color: inherit;
}

.bic-card__body {
  margin-top: auto;
  padding-top: 32px;
}

.bic-card__body,
.bic-card__body p,
.bic-card__body div,
.bic-card__body li {
  font-family: "Onest", system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;

  color: #030024 !important;
  opacity: 1 !important;
}

.bic-card__body p,
.bic-card__body div {
  margin-top: 0 !important;
}

.bic-card__body > *:last-child {
  margin-bottom: 0 !important;
}

.bic-card__body em,
.bic-card__body i {
  font-family: "Instrument Serif", serif !important;
  font-size: calc(1em + 4px) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}


/* ══════════════════════════════════════════════
   9. LIJSTEN
   ══════════════════════════════════════════════ */

.bic-card__body ul {
  display: flex;
  flex-direction: column;

  gap: 12px;

  margin: 20px 0 0 !important;
  padding: 0 !important;

  list-style: none !important;
}

.bic-card__body ul li {
  display: flex !important;
  align-items: flex-start !important;

  gap: 10px;

  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}

.bic-card__body ul li::before {
  content: "";

  width: 16px;
  height: 16px;

  margin-top: 5px;

  flex: 0 0 16px;

  border-radius: 50%;
  background-color: #e5e4f3;
}


/* ══════════════════════════════════════════════
   10. KLEINERE DESKTOP / TABLET
   ══════════════════════════════════════════════ */

@media (max-width: 1180px) {

  .bic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 350px;
    gap: 28px;
  }

  .bic-visual,
  .bic-card {
    height: 350px;
    min-height: 0;
  }

}

  /*
   * De derde kaart komt op deze breedte op een tweede rij.
   * Door de breedte op twee kolommen te houden blijven
   * de kaarten goed leesbaar.
   */
}


/* ══════════════════════════════════════════════
   11. TABLET
   ══════════════════════════════════════════════ */

@media (max-width: 1024px) {

  .bic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 350px;
  }

  .bic-visual,
  .bic-card {
    height: 350px;
    min-height: 0;
  }

  .bic-visual-mode--visual {
    padding: 32px;
  }

  .bic-visual-mode--visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

}


/* ══════════════════════════════════════════════
   12. MOBIEL
   ══════════════════════════════════════════════ */

@media (max-width: 768px) {

  .bic-grid {
    grid-template-columns: 1fr;
  }

  .bic-visual-mode--cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .bic-visual-mode--visual {
    padding: 24px;
  }

  .bic-visual-mode--visual img {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .bic-card {
    min-height: 300px;
    padding: 24px;
  }

  .bic-card__head {
    gap: 20px;
  }

  .bic-card__title {
    font-size: 28px !important;
    line-height: 1.22 !important;
  }

  .bic-card__body {
    padding-top: 28px;
  }

  .bic-card__body,
  .bic-card__body p,
  .bic-card__body div,
  .bic-card__body li {
    font-size: 16px !important;
  }

}


/* ══════════════════════════════════════════════
   13. KLEINE MOBIELE SCHERMEN
   ══════════════════════════════════════════════ */

@media (max-width: 480px) {
  .bic-card {
    min-height: 280px;
    padding: 22px;
  }

  .bic-card__label {
    font-size: 12px !important;
  }

  .bic-card__title {
    font-size: 26px !important;
  }
}


/* ══════════════════════════════════════════════
   14. REDUCED MOTION
   ══════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .bic-card,
  .bic-card__arrow,
  .bic-card__arrow svg {
    transition: none !important;
  }
}
