/* JCI - Ask me AInything. Bouwt op styles.css, lunch-ama.css en ama.css:
   alleen wat JCI extra heeft (co-branding, fotostapel, stappen en formulier). */

/* Co-branding in de header: TwoFeetUp x JCI Nederland. */
.jci-cobrand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.jci-cobrand-x { color: rgba(5, 0, 52, 0.55); font-size: 1rem; line-height: 1; }
.jci-logo { height: 30px; width: auto; display: block; }
@media (max-width: 399px) {
  .jci-cobrand { gap: 6px; }
  .jci-logo { height: 22px; }
}

/* Hero */
.jci-hero-fotos {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1.12;
  margin: 0 auto;
  min-width: 0;
}
.jci-hero-fotos .hero-visual { position: absolute; }
.jci-hero-fotos .jci-foto-podcast {
  width: 58%;
  top: 2.5%;
  left: 2.5%;
  transform: rotate(-4deg);
}
.jci-hero-fotos .jci-foto-podium {
  width: 60%;
  right: 2.5%;
  bottom: 2.5%;
  transform: rotate(4deg);
}
.jci-hero-fotos .hero-visual img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) {
  [data-page='jci'] .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); }
}
.jci-eerste { margin: -8px 0 22px; color: var(--black); }
.jci-eerste strong { color: var(--purple); }
.jci-hero-acties { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.jci-link { color: var(--purple); font-weight: 700; text-underline-offset: 3px; }
.jci-link:hover { color: var(--purple-hover); }

/* Zo werkt het */
.jci-hoe { background: var(--white); }
.jci-stappen {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}
.jci-stappen li {
  min-width: 0;
  padding: 22px 20px;
  border: 1px solid rgba(5, 0, 52, 0.08);
  border-radius: var(--radius-m);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.jci-stappen h3 { margin: 10px 0 6px; font-size: 1.1rem; color: var(--black); }
.jci-stappen p { margin: 0; color: rgba(5, 0, 52, 0.8); }
.jci-stap-nr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-weight: 700;
}
@media (min-width: 760px) {
  .jci-stappen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.btn-ics svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* De .ics-knoppen: TwoFeetUp-zwart op oranje, want wit op oranje haalt geen AA. */
[data-page^='jci'] .btn-ics {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
  max-width: 100%;
  white-space: normal;
}

/* Formulier */
.jci-gratis { margin: 0 0 20px; color: rgba(5, 0, 52, 0.8); }
.jci-gratis strong { color: var(--purple); font-size: 1.25rem; margin-right: 4px; }
.success[hidden], #jciForm[hidden], #successIcsBlok[hidden] { display: none; }
.success:focus { outline: none; }
.jci-success-momenten { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.jci-success-momenten li {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  background: var(--lavender, #eaeaf4);
  color: var(--black);
}

/* De momenten delen de paginabreedte; tekstvelden blijven prettig leesbaar. */
[data-page='jci'] .slot-grid { grid-template-columns: minmax(0, 1fr); }
#jciForm > .field-row,
#jciForm > .field:not(.slots),
#jciForm > .consent,
#jciForm > .ama-note,
#jciForm > .form-privacy { max-width: 760px; }
.jci-status-opties {
  display: inline-flex;
  max-width: 100%;
  padding: 4px;
  gap: 4px;
  border: 1px solid rgba(5, 0, 52, 0.18);
  border-radius: var(--radius-s);
  background: var(--lavender, #eaeaf4);
}
.jci-status-opties label { position: relative; margin: 0; cursor: pointer; }
.jci-status-opties input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.jci-status-opties span { display: block; padding: 10px 16px; border-radius: 4px; font-weight: 700; }
.jci-status-opties input:checked + span { background: var(--purple); color: var(--white); }
.jci-status-opties input:focus-visible + span { outline: 3px solid var(--purple); outline-offset: 2px; }
@media (min-width: 620px) {
  [data-page='jci'] .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  [data-page='jci'] .slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

[data-page='jci'] .slot-day { font-size: 1.12rem; font-weight: 700; color: var(--black); }
[data-page='jci'] .slot-time { font-size: 1rem; font-weight: 400; color: rgba(5, 0, 52, 0.78); }
.jci-minimum { max-width: 760px; margin: 0 0 24px; padding: 16px; border-left: 4px solid var(--purple); background: var(--lavender, #eaeaf4); color: var(--black); }

/* Houd nieuwe uitleg en vraaglabels leesbaar, zonder een los slotwoord. */
body[data-page="jci"] p,
body[data-page="jci"] label {
  text-wrap: pretty;
}
