/* ==========================================================================
   Studiebijbel (SV Bijbelmodule) en BijbelLink in de kleuren van het thema.
   Alleen geladen als Thema-opties › Algemeen › "Studiebijbel in themakleuren" aan staat.
   De plugin zelf wordt niet aangepast; we overschrijven alleen kleuren en letters.
   De donkere stand en "Studieblauw" van de Studiebijbel blijven zoals ze zijn.
   ========================================================================== */

/* --- Studiebijbel ----------------------------------------------------------- */
html body .svbm-lezer:not(.svbm-donker):not(.svbm-thema-studieblauw),
html body .svbm-zoeken:not(.svbm-donker),
html body .svbm-overzicht:not(.svbm-donker) {
	--svbm-oxblood: var(--sat-groen, #60734e);
	--svbm-oxblood-dark: #46553a;
	--svbm-goud: var(--sat-goud-tekst, #8c6d22);
	--svbm-parchment-1: var(--sat-achtergrond, #faf8f6);
	--svbm-parchment-2: var(--sat-band, #f3f1ec);
	--svbm-papier: #fff;
	--svbm-inkt: var(--sat-donker, #2a2a2a);
	--svbm-inkt-zacht: #5c5a56;
	--svbm-inkt-licht: #7a7772;
	--svbm-rand: #e7e3db;
	--svbm-rand-zacht: #efece6;
	--svbm-rand-stip: #d6d0c4;
	--svbm-veld-bg: #fff;
	--svbm-veld-glans: #fdfcfa;
	--svbm-lijn: #e7e3db;
	--svbm-lijn-zacht: #efece6;
	--svbm-accent: var(--sat-groen, #60734e);
	--svbm-donkerrood: var(--sat-groen, #60734e);
	--svbm-lettertype-titel: "EB Garamond", Georgia, serif;
	--svbm-lettertype-tekst: "EB Garamond", Georgia, serif;
	--svbm-lettertype-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	box-shadow: 0 1px 2px rgba(30, 25, 15, .04), 0 10px 30px rgba(30, 25, 15, .06);
}

/* --- BijbelLink: verwijzingen in de tekst -------------------------------- */
/* BijbelLink zet de kleur met een script in de tekst zelf; daarom hier !important. */
html body .sbl-reference { color: var(--sat-groen, #60734e) !important; }

/* --- BijbelLink: popup (lichte stand) -------------------------------------- */
html body .sbl-tooltip:not(.sbl-theme-dark) {
	background: var(--sat-achtergrond, #faf8f6);
	color: var(--sat-donker, #2a2a2a);
	border: 1px solid #e7e3db;
	border-top: 4px solid var(--sat-groen, #60734e);
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(30, 25, 15, .05), 0 16px 40px rgba(30, 25, 15, .14);
	font-family: "EB Garamond", Georgia, serif;
}
html body .sbl-tooltip:not(.sbl-theme-dark)::before { border-left-color: #e7e3db; border-top-color: #e7e3db; }
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-tooltip-header {
	font-family: "EB Garamond", Georgia, serif; font-weight: 600; color: var(--sat-donker, #2a2a2a); border-bottom-color: #ece8e0;
}
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-tooltip-translation-label { color: var(--sat-goud-tekst, #8c6d22); font-family: "Inter", system-ui, sans-serif; }
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-tooltip-verse-num { color: var(--sat-goud-tekst, #8c6d22); font-family: "Inter", system-ui, sans-serif; }
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-tooltip-chapter-link { border-top-color: #ece8e0; }
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-tooltip-chapter-link a,
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-crossref-preview-link a,
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-commentary-link {
	color: var(--sat-groen, #60734e); font-family: "Inter", system-ui, sans-serif;
}
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-tooltip-chapter-link a:hover,
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-crossref-preview-link a:hover,
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-commentary-link:hover { color: var(--sat-donker, #2a2a2a); }
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-tooltip-empty { color: #6b6b6b; }
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-extras { border-top-color: #ece8e0; }
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-details summary { color: var(--sat-groen, #60734e); font-family: "Inter", system-ui, sans-serif; }
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-crossref-chip {
	background: var(--sat-band, #f3f1ec); border-color: #e7e3db; color: var(--sat-groen, #60734e);
}
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-crossref-chip.sbl-active { background: #e6e2d8; }
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-crossref-preview { background: #fff; border-left-color: var(--sat-groen, #60734e); }
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-annotation-lemma { color: var(--sat-groen, #60734e); }
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-commentary-item { border-bottom-color: #ece8e0; }
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-commentary-title { font-family: "EB Garamond", Georgia, serif; color: var(--sat-donker, #2a2a2a); }
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-commentary-excerpt { color: #4a4a4a; }
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-tooltip-brand {
	background: var(--sat-band, #f3f1ec); border-top-color: #e7e3db;
	font-family: "Inter", system-ui, sans-serif; letter-spacing: .14em;
}
html body .sbl-tooltip:not(.sbl-theme-dark) .sbl-tooltip-brand a { color: var(--sat-groen, #60734e); }
