/* ==========================================================================
   SUPPORTPORTAL — template/css/support-portal.css (23-10-2026, fase 2)
   Op alle www-domeinen geladen door PHP/Blocks/Block_Css.php (eigen versienummer
   $Version_Support). Was blok 16 van eventinfo-theme.css; daar weggehaald zodat er
   één bron is voor eventinfo.pro, freesavethedate.online en de kaartensites.

   Kleuren: eventinfo.pro en freesavethedate.online hebben de --ei-*-variabelen in hun
   eigen stylesheet. De kaartensites (custom_<site>.css) niet: daar vallen de regels terug
   op hun eigen variabelen (--ink, --ink-2, --muted, --rule, --paper, --display ...).
   Daarom staat bij elke var(--ei-...) een terugvalwaarde.
   ========================================================================== */

/* CUSTOMER PORTAL (www, 23-10-2026; was blok 16 van eventinfo-theme.css) =====================================
   A. Supporthomepage /support/ (PHP/Blocks/Block_Faq_Home.php, klassen ei-sp-*)
   B. Componenten in de supportartikelen (Faq_Articles.XX_Long_Description,
      binnen .article-format in Block_Faq_Artikel.php). Bron:
      Vault/Skills/eventinfo-support-artikel/references/componenten.css,
      hier omgezet naar de variabelen van dit thema.
   ========================================================================== */

/* A. Supporthomepage */
.ei-sp-head .rk-lede { margin-inline: auto; }
.ei-sp-search { position: relative; max-width: 640px; margin: var(--ei-space-6, 2rem) auto 0; }
.ei-sp-search__icon { position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--ei-muted, var(--muted, #665f54)); pointer-events: none; }
.ei-sp-search__input {
  width: 100%; min-height: 60px; padding: 0 1.25rem 0 3.25rem;
  font-size: 1.05rem; color: var(--ei-text, var(--ink-2, #4a453d)); background: #fff;
  border: 1px solid var(--ei-line-strong, var(--rule, #dcd6cc)); border-radius: var(--ei-radius-pill, 999px);
  box-shadow: var(--ei-shadow, 0 0 35px rgba(140,152,164,.125)); -webkit-appearance: none; appearance: none;
}
.ei-sp-search__input:focus { outline: none; border-color: var(--ei-ink, var(--ink, #211f1b)); box-shadow: var(--ei-focus, 0 0 0 3px rgba(33,31,27,.2)); }
.ei-sp-results { list-style: none; max-width: 640px; margin: var(--ei-space-3, .75rem) auto 0; padding: var(--ei-space-2, .5rem); text-align: left;
  background: #fff; border: 1px solid var(--ei-line, var(--rule-soft, #e6e0d7)); border-radius: var(--ei-radius, .8rem); box-shadow: var(--ei-shadow-lg, 0 2px 4px rgba(33,31,27,.06), 0 18px 40px rgba(33,31,27,.12)); }
.ei-sp-results a { display: block; padding: var(--ei-space-3, .75rem) var(--ei-space-4, 1rem); border-radius: var(--ei-radius-sm, .6rem); text-decoration: none; color: var(--ei-text, var(--ink-2, #4a453d)); }
.ei-sp-results a:hover, .ei-sp-results a:focus-visible { background: var(--ei-soft, var(--paper, #f4f1ec)); }
.ei-sp-results__t { display: block; font-weight: 600; color: var(--ei-ink, var(--ink, #211f1b)); }
.ei-sp-results__c { display: block; font-size: .8rem; color: var(--ei-accent-text, var(--brand-dark, #425853)); text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
.ei-sp-results__d { display: block; font-size: .92rem; color: var(--ei-muted, var(--muted, #665f54)); margin-top: 4px; }
.ei-sp-none { max-width: 640px; margin: var(--ei-space-4, 1rem) auto 0; color: var(--ei-muted, var(--muted, #665f54)); }

.ei-sp-band h2 { margin-bottom: var(--ei-space-6, 2rem); }
/* 23-10-2026: meer ruimte boven "Van idee tot gastenboek" en "Populaire artikelen" (gelijk aan de witte band "Meer onderwerpen") */
body:not(.layout-admin) .ei-sp-band:not(.rk-band--deep) { padding-top: var(--ei-section-y, var(--band-y, clamp(3rem, 2rem + 3.5vw, 5rem))); }
.ei-sp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ei-space-5, 1.5rem); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ei-sp-step { display: flex; flex-direction: column; gap: var(--ei-space-4, 1rem); }
.ei-sp-step__label { display: flex; align-items: center; gap: var(--ei-space-3, .75rem); margin: 0; font-weight: 600; color: var(--ei-ink, var(--ink, #211f1b)); }
.ei-sp-step__nr { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: var(--ei-ink, var(--ink, #211f1b)); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }
.ei-sp-grid { display: grid; gap: var(--ei-space-5, 1.5rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ei-sp-cat { display: flex; gap: var(--ei-space-4, 1rem); align-items: flex-start; height: 100%; padding: var(--ei-space-5, 1.5rem);
  background: #fff; border: 1px solid var(--ei-line, var(--rule-soft, #e6e0d7)); border-radius: var(--ei-radius, .8rem); box-shadow: var(--ei-shadow-sm, 0 1px 2px rgba(33,31,27,.06));
  color: var(--ei-text, var(--ink-2, #4a453d)); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.ei-sp-cat:hover, .ei-sp-cat:focus-visible { box-shadow: var(--ei-shadow-lg, 0 2px 4px rgba(33,31,27,.06), 0 18px 40px rgba(33,31,27,.12)); transform: translateY(-2px); color: var(--ei-text, var(--ink-2, #4a453d)); }
.ei-sp-cat__icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: var(--ei-soft, var(--paper, #f4f1ec)); color: var(--ei-ink, var(--ink, #211f1b));
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.ei-sp-cat__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ei-sp-cat__t { font-weight: 600; font-size: 1.05rem; color: var(--ei-ink, var(--ink, #211f1b)); }
.ei-sp-cat__d { font-size: .92rem; color: var(--ei-muted, var(--muted, #665f54)); line-height: 1.45; }
.ei-sp-cat__n { font-size: .8rem; color: var(--ei-accent-text, var(--brand-dark, #425853)); margin-top: 2px; }

.ei-sp-popular { list-style: none; margin: 0 0 var(--ei-space-7, 3rem); padding: 0; columns: 2; column-gap: var(--ei-space-7, 3rem); }
.ei-sp-popular li { break-inside: avoid; border-bottom: 1px solid var(--ei-line, var(--rule-soft, #e6e0d7)); }
.ei-sp-popular a { display: block; padding: var(--ei-space-3, .75rem) 0; color: var(--ei-ink, var(--ink, #211f1b)); text-decoration: none; font-weight: 500; }
.ei-sp-popular a::after { content: "\2192"; float: right; color: var(--ei-muted, var(--muted, #665f54)); }
.ei-sp-popular a:hover { color: var(--ei-ink-strong, var(--ink, #211f1b)); text-decoration: underline; }
.ei-sp-cta { max-width: 720px; }
.ei-sp-cta .rk-actions { display: flex; }
.ei-sp-cta .rk-btn { width: auto; padding-inline: var(--ei-space-6, 2rem); }

@media (max-width: 1199.98px) {
  .ei-sp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ei-sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .ei-sp-steps, .ei-sp-grid { grid-template-columns: 1fr; }
  .ei-sp-popular { columns: 1; }
  .ei-sp-search__input { min-height: 54px; font-size: 1rem; }
}

/* B. Componenten in de artikelen */
.article-format { font-size: 17px; line-height: 1.7; color: var(--ei-text, var(--ink-2, #4a453d)); }
.article-format .lead { font-size: 19px; line-height: 1.6; color: var(--ei-muted, var(--muted, #665f54)); margin: 0 0 28px; }
.article-format h2 { font-family: var(--ei-font-display, var(--display, 'Fraunces', Georgia, serif)); font-weight: 400; font-size: 28px; line-height: 1.2; color: var(--ei-ink-strong, var(--ink, #211f1b)); margin: 40px 0 12px; }
.article-format p, .article-format ul { margin: 0 0 18px; }
.article-format ul { padding-left: 1.2em; }
.article-format li { margin-bottom: 6px; }
.ei-steps { list-style: none; counter-reset: s; margin: 0 0 24px; padding: 0; }
.ei-steps > li { counter-increment: s; position: relative; padding: 3px 0 0 48px; margin-bottom: 14px; min-height: 32px; }
.ei-steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--ei-ink, var(--ink, #211f1b)); color: #fff; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
/* 23-10-2026 (3): beelden en onderschrift gecentreerd, onderschrift dichter bij het beeld, meer ruimte boven en onder */
.ei-shot { margin: 36px auto 40px; text-align: center; }
.ei-shot img { display: block; width: auto; max-width: 100%; height: auto; margin-inline: auto; border-radius: 12px; border: 1px solid var(--ei-line, var(--rule-soft, #e6e0d7)); box-shadow: var(--ei-shadow, 0 0 35px rgba(140,152,164,.125)); }
.ei-shot-narrow { max-width: 420px; }
.ei-shot figcaption { font-size: 14px; line-height: 1.45; color: var(--ei-muted, var(--muted, #665f54)); margin-top: 6px; text-align: center; }
.ei-shot-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; justify-content: center; margin: 36px 0 32px; }
.ei-shot-row .ei-shot { margin-block: 0 8px; }
.ei-shot-row .ei-shot { flex: 1 1 260px; margin-bottom: 12px; }
.ei-shot-row .ei-shot-narrow { flex: 0 1 300px; }
.ei-tip, .ei-note { border-radius: var(--ei-radius, .8rem); padding: 18px 22px; margin: 0 0 28px; font-size: 16px; line-height: 1.6; }
.ei-tip { background: var(--ei-soft-warm, var(--paper-deep, #eae5dd)); color: #3d2c0b; }
.ei-note { background: var(--ei-soft, var(--paper, #f4f1ec)); color: var(--ei-ink-strong, var(--ink, #211f1b)); }
.ei-next { border-top: 1px solid var(--ei-line, var(--rule-soft, #e6e0d7)); padding-top: 20px; margin-top: 36px; font-weight: 600; }
.ei-next a { color: var(--ei-ink, var(--ink, #211f1b)); }

/* 23-10-2026 (3): kruimelpad op alle supportpagina's + categoriepagina (Block_Faq_Category.php) */
.ei-sp-crumbs .breadcrumb { margin: 0 0 var(--ei-space-5, 1.5rem); padding: 0; background: none; font-size: .9rem; }
.ei-sp-crumbs .breadcrumb-item a { color: var(--ei-ink, var(--ink, #211f1b)); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ei-line-strong, var(--rule, #dcd6cc)); }
.ei-sp-crumbs .breadcrumb-item a:hover { text-decoration-color: currentColor; }
.ei-sp-crumbs .breadcrumb-item.active { color: var(--ei-muted, var(--muted, #665f54)); }
.ei-sp-crumbs .breadcrumb-item + .breadcrumb-item::before { color: var(--ei-muted, var(--muted, #665f54)); content: "\203A"; }
.ei-sp-head .ei-sp-crumbs .breadcrumb { justify-content: center; }
.ei-sp-head--cat .ei-sp-crumbs .breadcrumb { justify-content: flex-start; }
.ei-sp-article { padding-top: var(--ei-space-7, 3rem); }
body:not(.layout-admin) .ei-sp-band--cat { padding-top: var(--ei-space-6, 2rem); }

.ei-sp-list { list-style: none; margin: 0 0 var(--ei-space-7, 3rem); padding: 0; display: grid; gap: var(--ei-space-3, .75rem); }
.ei-sp-item { display: flex; align-items: center; gap: var(--ei-space-4, 1rem); padding: var(--ei-space-4, 1rem) var(--ei-space-5, 1.5rem);
  background: #fff; border: 1px solid var(--ei-line, var(--rule-soft, #e6e0d7)); border-radius: var(--ei-radius, .8rem); box-shadow: var(--ei-shadow-sm, 0 1px 2px rgba(33,31,27,.06));
  color: var(--ei-text, var(--ink-2, #4a453d)); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.ei-sp-item:hover, .ei-sp-item:focus-visible { box-shadow: var(--ei-shadow-lg, 0 2px 4px rgba(33,31,27,.06), 0 18px 40px rgba(33,31,27,.12)); transform: translateY(-1px); color: var(--ei-text, var(--ink-2, #4a453d)); }
.ei-sp-item__body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.ei-sp-item__badge { align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ei-accent-text, var(--brand-dark, #425853)); background: var(--ei-soft-warm, var(--paper-deep, #eae5dd)); border-radius: var(--ei-radius-pill, 999px); padding: 2px 10px; }
.ei-sp-item__t { font-weight: 600; font-size: 1.05rem; color: var(--ei-ink, var(--ink, #211f1b)); }
.ei-sp-item__d { font-size: .95rem; color: var(--ei-muted, var(--muted, #665f54)); line-height: 1.5; }
.ei-sp-item__arrow { color: var(--ei-muted, var(--muted, #665f54)); flex: 0 0 auto; }
.ei-sp-article .link-normal[aria-current="page"] { font-weight: 600; color: var(--ei-ink, var(--ink, #211f1b)); }

/* Support-icoon naast de taalknop (23-10-2026, Block_Header.php).
   Zelfde maat als #dropdownLangSelect, maar cirkel en rand transparant: het icoon staat
   los op de header, ook als die bij scrollen wit wordt. Alleen bij hover/focus een zachte tint. */
#headerSupportLink {
  width: 40px; height: 40px; min-height: 40px;
  padding: 0 !important;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid transparent;
  color: var(--ei-ink, var(--ink, #211f1b));
}
/* core.css zet een svg in .btn.rounded-circle absoluut (left:0; right:0): dat centreert tekst,
   maar een svg van 20px bleef links staan. Terug in de flexbox, die centreert hem. */
#headerSupportLink > svg { position: static; transform: none; flex: 0 0 auto; }
#headerSupportLink:hover { background: var(--ei-soft, var(--paper, #f4f1ec)); color: var(--ei-ink-strong, var(--ink, #211f1b)); }
#headerSupportLink:focus-visible { outline: 0; box-shadow: var(--ei-focus, 0 0 0 3px rgba(33,31,27,.2)); }
