/**
 * MysteryBril — 13 · Gratis bril (actiepagina)
 * ---------------------------------------------------------------------------
 * Pagina-hero, knoppen en social links komen uit 06-blocks.css.
 * Hieronder: de intro, de stappen-tijdlijn en de voorwaardenkaart.
 *
 * Alle iconen zijn CSS-achtergronden (inline SVG als data-URI). Zo blijven de
 * blokken in de editor gewone tekstblokken die de klant kan aanpassen, zonder
 * losse afbeeldingen in de mediabibliotheek.
 * ---------------------------------------------------------------------------
 */

/* --- Introtekst onder de titel --- */
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-lead {
  /* 640 i.p.v. de 620 uit het designbestand: daarmee breekt de intro op
     dezelfde plek af als in het ontwerp (twee regels in plaats van drie). */
  max-width: 640px;
  margin: 0 0 44px !important;
  font-family: var(--mb-font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--mb-white) !important;
}

/* --- Tijdlijn met drie stappen --- */
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-timeline {
  position: relative;
  margin: 8px 0 0 !important;
}

/* De verticale lijn tussen de bolletjes */
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--mb-orange-dim), var(--mb-line-soft));
}

:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-timeline__step {
  position: relative;
  display: flex;
  gap: 24px;
  margin: 0 !important;
  padding-bottom: 38px;
}
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-timeline__step:last-child {
  padding-bottom: 0;
}

/* Het oranje bolletje met icoon */
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-timeline__step::before {
  content: "";
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--mb-orange);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
}

/* Stap 1 — camera */
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-timeline__step--film::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E");
}
/* Stap 2 — apenstaartje */
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-timeline__step--tag::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8'/%3E%3C/svg%3E");
}
/* Stap 3 — cadeau */
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-timeline__step--gift::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13'/%3E%3Cpath d='M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7'/%3E%3Cpath d='M7.5 8a2.5 2.5 0 0 1 0-5C11 3 12 8 12 8'/%3E%3Cpath d='M16.5 8a2.5 2.5 0 0 0 0-5C13 3 12 8 12 8'/%3E%3C/svg%3E");
}

:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-timeline__body {
  margin: 0 !important;
  padding-top: 8px;
}
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-timeline__title {
  margin: 0 0 6px !important;
  font-family: var(--mb-font-display);
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--mb-white) !important;
}
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-timeline__desc {
  max-width: 460px;
  margin: 0 !important;
  font-family: var(--mb-font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--mb-white) !important;
}

/* --- Voorwaardenkaart --- */
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-ticket {
  position: relative;
  max-width: 680px;
  margin: 56px 0 0 !important;
  padding: 40px 36px;
  border: 1.5px dashed var(--mb-orange-dim);
  background: var(--mb-card);
}

/* Het schuine "Gratis"-stempel rechtsboven */
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-ticket::before {
  content: "Gratis";
  position: absolute;
  top: -16px;
  right: 20px;
  transform: rotate(-8deg);
  padding: 7px 14px;
  border: 3px solid var(--mb-orange);
  background: var(--mb-black);
  font-family: var(--mb-font-display);
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mb-orange);
}

:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-ticket__title {
  margin: 0 0 22px !important;
  font-family: var(--mb-font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--mb-orange) !important;
}

/* --- Lijst met voorwaarden --- */
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-conditions {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-conditions li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 !important;
  font-family: var(--mb-font-body);
  font-size: 14.5px;
  line-height: 1.65;
  color: #d8d8d8;
}
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-conditions li::before {
  content: "";
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  background: no-repeat center / contain;
}

/* Het icoon hoort bij de plek in de lijst. Wordt er een regel toegevoegd of
   verplaatst, pas dan ook de nth-child-nummers hieronder aan.
   1 bril · 2 euro · 3 hashtag · 4 delen · 5 klok */
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-conditions li:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cc4e00' stroke-width='1.8'%3E%3Ccircle cx='6' cy='14' r='3.2'/%3E%3Ccircle cx='18' cy='14' r='3.2'/%3E%3Cpath d='M9.2 14h5.6'/%3E%3Cpath d='M2.5 12 4 8h2'/%3E%3Cpath d='M21.5 12 20 8h-2'/%3E%3C/svg%3E");
}
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-conditions li:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cc4e00' stroke-width='1.8'%3E%3Cpath d='M4 10h12'/%3E%3Cpath d='M4 14h9'/%3E%3Cpath d='M18.4 6.4A8 8 0 1 0 18.4 17.6'/%3E%3C/svg%3E");
}
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-conditions li:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cc4e00' stroke-width='1.8'%3E%3Cline x1='4' y1='9' x2='20' y2='9'/%3E%3Cline x1='4' y1='15' x2='20' y2='15'/%3E%3Cline x1='10' y1='3' x2='8' y2='21'/%3E%3Cline x1='16' y1='3' x2='14' y2='21'/%3E%3C/svg%3E");
}
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-conditions li:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cc4e00' stroke-width='1.8'%3E%3Cpath d='M17 1l4 4-4 4'/%3E%3Cpath d='M3 11V9a4 4 0 0 1 4-4h14'/%3E%3Cpath d='M7 23l-4-4 4-4'/%3E%3Cpath d='M21 13v2a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E");
}
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-conditions li:nth-child(5)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cc4e00' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpolyline points='12 7 12 12 16 14'/%3E%3C/svg%3E");
}

/* --- Social links gecentreerd onder de kaart --- */
:is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-page-socials--center {
  justify-content: center;
  margin-top: 44px !important;
}

/* --- Mobiel --- */
@media (max-width: 880px) {
  :is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-lead {
    font-size: 15px;
    margin-bottom: 32px !important;
  }
  :is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-timeline::before {
    left: 19px;
  }
  :is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-timeline__step {
    gap: 18px;
    padding-bottom: 28px;
  }
  :is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-timeline__step::before {
    width: 40px;
    height: 40px;
    background-size: 19px 19px;
  }
  :is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-timeline__title {
    font-size: 17px;
  }
  :is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-timeline__desc {
    font-size: 13px;
  }
  :is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-ticket {
    margin-top: 40px !important;
    padding: 28px 20px;
  }
  :is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-ticket::before {
    top: -14px;
    right: 14px;
    font-size: 12px;
    padding: 6px 12px;
  }
  :is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-conditions li {
    font-size: 13.5px;
    gap: 12px;
  }
  :is(.entry-content, .editor-styles-wrapper, .block-editor-block-list__layout) .mb-page-socials--center {
    margin-top: 32px !important;
  }
}
