/* Exam Insiders license and CE page templates.
   Every rule is scoped under .ei-tpl so nothing else on the site changes.
   The markup is core blocks with class names; remove this file and the
   content falls back to default Gutenberg styling. */

.ei-tpl {
	/* Palette from the logo: indigo #393384 and champagne gold #D1B993. */
	--ei-ink: #221E58;
	--ei-body: #3B3858;
	--ei-muted: #625E80;
	--ei-ground: #F5F4FA;
	--ei-line: #DDDAEC;
	--ei-line-soft: #ECEAF5;
	--ei-pill: #F0EEF8;
	--ei-accent: #393384;
	--ei-accent-dark: #2A2567;
	--ei-gold: #D1B993;
	--ei-gold-soft: #F6F0E4;
	--ei-gold-text: #7A5F33;
	--ei-link: #393384;
	--ei-display: 'Archivo', system-ui, sans-serif;
	--ei-text: 'Public Sans', system-ui, sans-serif;
	--ei-mono: 'Commissioner', 'Public Sans', system-ui, sans-serif;

	--ei-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--ei-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
	--ei-i-warn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2 21h20L12 3z'/%3E%3Cpath d='M12 10v5M12 18h.01'/%3E%3C/svg%3E");
	--ei-i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	--ei-i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
	--ei-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--ei-i-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E");
	--ei-i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");

	font-family: var(--ei-text);
	color: var(--ei-ink);
	background: var(--ei-ground);
	font-size: 16px;
	line-height: 1.6;
}

/* ---------- Resets against theme and block-gap defaults ---------- */
body .ei-tpl :is(p, h1, h2, h3, h4, ul, ol, figure, details) { margin: 0; }
body .ei-tpl .is-layout-flow > *,
body .ei-tpl .is-layout-constrained > * { margin-block-start: 0; margin-block-end: 0; }
body .ei-tpl :where(.is-layout-constrained) > * { max-width: none; }
body .ei-tpl :is(h1, h2, h3) { color: var(--ei-ink); font-family: var(--ei-display); }
body .ei-tpl a { color: var(--ei-link); }
body .ei-tpl a:hover { color: var(--ei-ink); }
body .entry-content > .ei-tpl,
body .entry-content[ast-blocks-layout] > .ei-tpl { max-width: none; width: 100%; margin: 0; }
/* Astra caps direct children of a group that has a background (inherit-container-width) at the content width; bands are full-bleed. */
body .entry-content[ast-blocks-layout] > .ei-tpl > *,
body .entry-content[ast-blocks-layout] > .inherit-container-width.ei-tpl > * { max-width: none; margin-left: 0; margin-right: 0; }
html { scroll-behavior: smooth; }

.ei-tpl .ei-wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }

.ei-tpl .ei-icon-mask::before,
.ei-tpl .ei-chips li:first-child::before,
.ei-tpl .ei-btn-primary .wp-block-button__link::after,
.ei-tpl .ei-callout::before,
.ei-tpl .ei-accordion summary::after,
.ei-tpl .ei-check li::before,
.ei-tpl .ei-cities a::after,
.ei-tpl .ei-cta .wp-block-button__link::after {
	content: '';
	display: inline-block;
	flex: 0 0 auto;
	background: currentColor;
	-webkit-mask: var(--ei-icon) center / contain no-repeat;
	mask: var(--ei-icon) center / contain no-repeat;
}

/* ---------- Hero ---------- */
.ei-tpl .ei-hero { background: var(--ei-ink); color: #FFFFFF; }
.ei-tpl .ei-hero-inner { padding-top: 28px; display: flex; flex-direction: column; gap: 28px; }
.ei-tpl .ei-crumbs { font-size: 14px; color: #C9C5E6; }
.ei-tpl .ei-crumbs a { color: #C9C5E6; text-decoration: none; }
.ei-tpl .ei-crumbs a:hover { color: #FFFFFF; }
.ei-tpl .ei-hero-copy { display: flex; flex-direction: column; gap: 20px; max-width: 860px; padding-top: 12px; }

.ei-tpl .ei-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ei-tpl .ei-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28); color: #ECEAF7; font-size: 13px; font-weight: 600; line-height: 1.3; }
.ei-tpl .ei-chips li:first-child { background: var(--ei-accent); border-color: var(--ei-accent); color: #FFFFFF; }
.ei-tpl .ei-chips li:first-child::before { --ei-icon: var(--ei-i-pin); width: 14px; height: 14px; }

body .ei-tpl h1.ei-h1 { color: #FFFFFF; font-weight: 800; font-size: 58px; line-height: 1.04; letter-spacing: -0.02em; }
.ei-tpl .ei-lead { font-size: 19px; line-height: 1.6; color: #D7D4EE; max-width: 720px; }

.ei-tpl .ei-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 4px; }
.ei-tpl .ei-hero-ctas .wp-block-buttons { gap: 12px; }
.ei-tpl .ei-btn-primary .wp-block-button__link,
.ei-tpl .ei-btn-ghost .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 10px; font-family: var(--ei-text); font-size: 16px; text-decoration: none; box-sizing: border-box; }
.ei-tpl .ei-btn-primary .wp-block-button__link { background: var(--ei-accent); color: #FFFFFF; font-weight: 700; border: 0; }
.ei-tpl .ei-btn-primary .wp-block-button__link::after { --ei-icon: var(--ei-i-arrow); width: 18px; height: 18px; }
.ei-tpl .ei-btn-ghost .wp-block-button__link { background: transparent; color: #FFFFFF; font-weight: 600; border: 1px solid rgba(255, 255, 255, 0.28); padding: 0 20px; }
.ei-tpl .ei-btn-primary .wp-block-button__link:hover { background: var(--ei-accent-dark); color: #FFFFFF; }
.ei-tpl .ei-btn-ghost .wp-block-button__link:hover { border-color: #FFFFFF; color: #FFFFFF; }
.ei-tpl .ei-verified { font-size: 14px; color: #C9C5E6; }

.ei-tpl .ei-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--ei-line); border-radius: 14px 14px 0 0; overflow: hidden; margin-top: 8px; }
.ei-tpl .ei-fact { background: #FFFFFF; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.ei-tpl .ei-fact-label { font-family: var(--ei-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ei-muted); }
.ei-tpl .ei-fact-value { font-family: var(--ei-display); font-weight: 700; font-size: 30px; line-height: 1.15; color: var(--ei-ink); }
.ei-tpl .ei-fact-note { font-size: 13px; line-height: 1.45; color: var(--ei-muted); }

/* ---------- Jump nav ----------
   Full-width bar of square buttons in the brand orange, so it reads as
   navigation at a glance. The section in view fills solid orange (JS sets
   aria-current); the orange is dark enough for white text at 4.5:1. */
.ei-tpl .ei-jump { position: sticky; top: var(--ei-sticky-top, 0px); z-index: 20; background: #FFFFFF; border-bottom: 1px solid var(--ei-line); box-shadow: 0 6px 16px rgba(34, 30, 88, 0.07); }
.ei-tpl .ei-jump-inner { max-width: none; margin: 0; padding: 12px 24px; box-sizing: border-box; display: flex; align-items: center; gap: 14px; }
.ei-tpl .ei-jump-label { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ei-ink); white-space: nowrap; }
.ei-tpl .ei-jump-label::before { content: ''; width: 18px; height: 18px; background: var(--ei-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h10M4 18h13'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h10M4 18h13'/%3E%3C/svg%3E") center / contain no-repeat; }
.ei-tpl .ei-jump ul { list-style: none; margin: 0; padding: 2px 0; min-width: 0; flex: 1 1 auto; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ei-tpl .ei-jump ul::-webkit-scrollbar { display: none; }
.ei-tpl .ei-jump li { flex: 1 0 auto; display: flex; --c: var(--ei-accent); }
.ei-tpl .ei-jump a { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 11px; border-radius: 4px; background: color-mix(in srgb, var(--c) 9%, #FFFFFF); border: 1px solid color-mix(in srgb, var(--c) 28%, #FFFFFF); border-bottom: 3px solid var(--c); color: var(--ei-ink); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; box-sizing: border-box; transition: background .15s, color .15s, transform .15s; }
.ei-tpl .ei-jump a::before { content: none; }
.ei-tpl .ei-jump a:hover { background: color-mix(in srgb, var(--c) 18%, #FFFFFF); color: var(--ei-ink); transform: translateY(-1px); }
.ei-tpl .ei-jump a:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.ei-tpl .ei-jump a[aria-current="true"] { background: var(--c); border-color: var(--c); color: #FFFFFF; }
/* When the buttons overflow (the JS adds .is-overflowing), fade the edge that has more. */
.ei-tpl .ei-jump ul.is-overflowing:not(.at-end) { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
.ei-tpl .ei-jump ul.is-overflowing.at-end:not(.at-start) { -webkit-mask-image: linear-gradient(to left, #000 85%, transparent); mask-image: linear-gradient(to left, #000 85%, transparent); }
@media (min-width: 641px) and (max-width: 1439px) {
	/* Keep the icon, drop the label text so all buttons fit on laptop widths. */
	.ei-tpl .ei-jump-label { font-size: 0; gap: 0; }
}
@media (max-width: 640px) {
	.ei-tpl .ei-jump-inner { flex-direction: column; align-items: stretch; gap: 6px; padding-top: 8px; padding-bottom: 8px; }
}

/* ---------- Bands ----------
   Every section sits in a full-bleed band, alternating tones, with generous
   vertical space; content inside stays on the 1240px container. */
.ei-tpl .ei-band { padding: 80px 0; }
.ei-tpl .ei-band-white { background: #FFFFFF; }
.ei-tpl .ei-band-ground { background: var(--ei-ground); }
.ei-tpl .ei-band-ink { background: var(--ei-ink); color: #FFFFFF; }
.ei-tpl .ei-band-white .ei-card,
.ei-tpl .ei-band-white .ei-stat,
.ei-tpl .ei-band-white .ei-related-card { background: #FAF9FD; }
.ei-tpl .ei-band-white .ei-accordion,
.ei-tpl .ei-band-white .ei-table { background: #FFFFFF; }
.ei-tpl .ei-band .ei-sec { gap: 24px; }
body .ei-tpl .ei-band .ei-sec h2 { font-size: 38px; }
@media (max-width: 640px) {
	.ei-tpl .ei-band { padding: 56px 0; }
	body .ei-tpl .ei-band .ei-sec h2 { font-size: 30px; }
}

/* ---------- Body layout ----------
   The checklist sits beside Overview at the top; every later section runs the
   full container width. Paragraphs keep a readable measure. */
.ei-tpl .ei-body { max-width: 1240px; margin: 0 auto; padding: 48px 32px 80px; box-sizing: border-box; }
.ei-tpl .ei-main { display: flex; flex-direction: column; gap: 64px; min-width: 0; }
body .ei-tpl .ei-intro { gap: 40px; align-items: flex-start; margin: 0; }
.ei-tpl .ei-side { display: flex; flex-direction: column; gap: 20px; }
.ei-tpl .ei-sec > p { max-width: 860px; }
.ei-tpl .ei-grid:has(> .ei-city) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) {
	.ei-tpl .ei-grid:has(> .ei-city) { grid-template-columns: 1fr; }
}

.ei-tpl .ei-sec { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: calc(var(--ei-sticky-top, 0px) + 80px); }
.ei-tpl .ei-kicker { font-family: var(--ei-mono); font-size: 13px; font-weight: 500; color: var(--ei-accent); }
.ei-tpl .ei-kicker + h2 { margin-top: -14px; }
body .ei-tpl .ei-sec h2 { font-size: 34px; line-height: 1.15; font-weight: 700; }
body .ei-tpl .ei-sec.ei-sec-sm h2 { font-size: 28px; }
.ei-tpl .ei-sec > p { font-size: 17px; line-height: 1.7; color: var(--ei-body); }
.ei-tpl .ei-note { font-size: 13px; line-height: 1.5; color: var(--ei-muted); }
.ei-tpl .ei-sec > p.ei-note { font-size: 13px; color: var(--ei-muted); }

/* ---------- Cards and grids ---------- */
.ei-tpl .ei-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ei-tpl .ei-grid-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 12px; }
.ei-tpl .ei-card { background: #FFFFFF; border: 1px solid var(--ei-line); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.ei-tpl .ei-card ul,
.ei-tpl .ei-card ol { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.55; color: var(--ei-body); }
.ei-tpl .ei-card p { font-size: 15px; line-height: 1.6; color: var(--ei-body); }
body .ei-tpl .ei-card h3 { font-size: 19px; font-weight: 700; line-height: 1.25; }
.ei-tpl .ei-card-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ei-body); }
.ei-tpl p.ei-card-label.ei-green { color: #2F6B45; }
.ei-tpl p.ei-card-label.ei-blue { color: var(--ei-accent); }

.ei-tpl .ei-stat { background: #FFFFFF; border: 1px solid var(--ei-line); border-radius: 6px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.ei-tpl .ei-stat-label { font-size: 13px; color: var(--ei-muted); }
.ei-tpl .ei-stat-value { font-family: var(--ei-display); font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--ei-ink); }

.ei-tpl .ei-callout { position: relative; background: var(--ei-gold-soft); border: 1px solid #E4D3B3; border-radius: 6px; padding: 20px 24px 20px 64px; display: flex; flex-direction: column; gap: 4px; color: #5C4524; }
.ei-tpl .ei-callout::before { --ei-icon: var(--ei-i-warn); position: absolute; left: 24px; top: 22px; width: 24px; height: 24px; color: var(--ei-accent-dark); }
.ei-tpl .ei-callout p { font-size: 15px; line-height: 1.6; color: #5C4524; }
.ei-tpl .ei-callout p:first-child { font-size: 16px; font-weight: 700; }

/* License type cards */
.ei-tpl .ei-type { gap: 14px; }
.ei-tpl .ei-type-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ei-tpl .ei-type-head p { font-size: 13px; color: var(--ei-muted); }
.ei-tpl .ei-type-head p.ei-code { font-family: var(--ei-mono); font-weight: 500; padding: 4px 10px; border-radius: 6px; background: var(--ei-pill); color: var(--ei-ink); }
body .ei-tpl .ei-type h3 { font-size: 22px; }
.ei-tpl .ei-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 14px; border-top: 1px solid var(--ei-line-soft); }
.ei-tpl .ei-dl p { font-size: 15px; font-weight: 600; color: var(--ei-ink); }
.ei-tpl .ei-dl p.ei-dt { font-size: 12px; font-weight: 400; color: var(--ei-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Tables ---------- */
.ei-tpl .ei-table { overflow-x: auto; background: #FFFFFF; border: 1px solid var(--ei-line); border-radius: 14px; }
.ei-tpl .ei-table table { width: 100%; min-width: 620px; border-collapse: collapse; border: 0; font-size: 15px; margin: 0; }
.ei-tpl .ei-table :is(th, td) { border: 0; text-align: left; vertical-align: top; }
.ei-tpl .ei-table thead { border: 0; }
.ei-tpl .ei-table thead th { background: var(--ei-pill); padding: 14px 20px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ei-body); }
.ei-tpl .ei-table tbody td { padding: 16px 20px; color: var(--ei-body); border-top: 1px solid var(--ei-line-soft); line-height: 1.5; }
.ei-tpl .ei-table tbody td:first-child { font-weight: 600; color: var(--ei-ink); }
.ei-tpl .ei-table-num td:last-child,
.ei-tpl .ei-table-num th:last-child { text-align: right; }
.ei-tpl .ei-table-num tbody td:last-child { font-family: var(--ei-mono); color: var(--ei-ink); white-space: nowrap; }
.ei-tpl .ei-table-total tbody tr:last-child td { border-top: 2px solid var(--ei-ink); background: #FAF9FD; font-family: var(--ei-display); font-weight: 700; font-size: 17px; color: var(--ei-ink); }
.ei-tpl .ei-table-total tbody tr:last-child td:last-child { font-weight: 800; font-size: 20px; }
.ei-tpl .ei-table-total tbody tr:last-child td:nth-child(2) { font-family: var(--ei-text); font-weight: 400; font-size: 14px; color: var(--ei-muted); }
.ei-tpl .ei-table tbody tr:first-child td { border-top: 0; }
.ei-tpl .ei-table-pick tbody tr:first-child { background: var(--ei-gold-soft); }

/* ---------- Steps roadmap ---------- */
.ei-tpl .ei-steps { list-style: none; padding: 0; counter-reset: ei-step; display: flex; flex-direction: column; }
.ei-tpl .ei-steps > li { counter-increment: ei-step; position: relative; padding: 8px 0 32px 64px; font-size: 16px; line-height: 1.65; color: var(--ei-body); min-height: 44px; }
.ei-tpl .ei-steps > li::before { content: counter(ei-step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 999px; background: var(--ei-ink); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: var(--ei-display); font-weight: 700; font-size: 18px; }
.ei-tpl .ei-steps > li::after { content: ''; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: #CFCBE3; }
.ei-tpl .ei-steps > li:last-child::after { display: none; }
.ei-tpl .ei-steps strong { font-family: var(--ei-display); font-size: 20px; font-weight: 700; color: var(--ei-ink); margin-right: 10px; }
.ei-tpl .ei-steps em { font-style: normal; font-family: var(--ei-mono); font-size: 13px; color: var(--ei-muted); }

/* ---------- Accordions (core Details blocks) ---------- */
.ei-tpl .ei-accordion { background: #FFFFFF; border: 1px solid var(--ei-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.ei-tpl .ei-accordion .wp-block-details { border-top: 1px solid var(--ei-line-soft); padding: 0; }
.ei-tpl .ei-accordion .wp-block-details:first-child { border-top: 0; }
.ei-tpl .ei-accordion .wp-block-details[hidden] { display: none; }
.ei-tpl .ei-accordion summary { list-style: none; cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; box-sizing: border-box; font-size: 16px; font-weight: 600; color: var(--ei-ink); }
.ei-tpl .ei-accordion summary::-webkit-details-marker { display: none; }
.ei-tpl .ei-accordion summary::after { --ei-icon: var(--ei-i-chevron); width: 20px; height: 20px; transition: transform 0.2s; }
.ei-tpl .ei-accordion details[open] > summary::after { transform: rotate(180deg); }
.ei-tpl .ei-faq summary::after { --ei-icon: var(--ei-i-plus); }
.ei-tpl .ei-faq details[open] > summary::after { transform: rotate(45deg); }
.ei-tpl .ei-accordion summary:focus-visible { outline: 2px solid var(--ei-link); outline-offset: -2px; }
.ei-tpl .ei-accordion .wp-block-details > :not(summary) { padding: 0 20px 20px; font-size: 15px; line-height: 1.65; color: var(--ei-body); }
.ei-tpl .ei-accordion .wp-block-details > ul { padding-left: 38px; }
.ei-tpl .ei-accordion .wp-block-details > * + :not(summary) { margin-top: -10px; }

.ei-tpl .ei-faq-search { position: relative; display: block; }
.ei-tpl .ei-faq-search::before { content: ''; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: var(--ei-muted); -webkit-mask: var(--ei-i-search) center / contain no-repeat; mask: var(--ei-i-search) center / contain no-repeat; }
.ei-tpl .ei-faq-search input { width: 100%; box-sizing: border-box; min-height: 52px; padding: 0 16px 0 46px; border-radius: 12px; border: 1px solid #CFCBE3; background: #FFFFFF; font: inherit; font-size: 16px; color: var(--ei-ink); }
.ei-tpl .ei-faq-empty { padding: 24px 20px; font-size: 15px; color: var(--ei-muted); }
.ei-tpl .ei-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Local, board, renewal ---------- */
.ei-tpl .ei-cities { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ei-tpl .ei-cities a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px; background: #FFFFFF; border: 1px solid var(--ei-line); color: var(--ei-ink); font-size: 15px; font-weight: 600; text-decoration: none; box-sizing: border-box; }
.ei-tpl .ei-cities a::after { --ei-icon: var(--ei-i-out); width: 14px; height: 14px; }
.ei-tpl .ei-cities a:hover { border-color: var(--ei-ink); color: var(--ei-ink); }

.ei-tpl .ei-split { display: flex; flex-wrap: wrap; gap: 16px; }
.ei-tpl .ei-split > * { flex: 1 1 300px; }
.ei-tpl .ei-dark { background: var(--ei-ink); border-color: var(--ei-ink); color: #FFFFFF; padding: 28px; gap: 12px; }
.ei-tpl .ei-dark p { color: #E4E2F3; }
.ei-tpl .ei-dark p.ei-fact-label { color: #C9C5E6; }
body .ei-tpl .ei-dark h3 { color: #FFFFFF; font-size: 22px; }
body .ei-tpl .ei-dark a { color: #FFFFFF; font-weight: 600; }

.ei-tpl .ei-cta { background: var(--ei-accent); border-radius: 14px; padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ei-tpl .ei-cta-copy { display: flex; flex-direction: column; gap: 4px; }
.ei-tpl .ei-cta-copy p { font-size: 15px; color: #E4E1F5; }
.ei-tpl .ei-cta-copy p:first-child { font-family: var(--ei-display); font-size: 21px; font-weight: 700; color: #FFFFFF; }
.ei-tpl .ei-cta .wp-block-button__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 8px; background: #FFFFFF; color: var(--ei-ink); font-weight: 700; font-size: 16px; text-decoration: none; }
.ei-tpl .ei-cta .wp-block-button__link::after { --ei-icon: var(--ei-i-arrow); width: 16px; height: 16px; }
.ei-tpl .ei-cta .wp-block-button__link:hover { background: var(--ei-ink); color: #FFFFFF; }

/* ---------- Sources and related ---------- */
.ei-tpl .ei-sources { padding: 20px 24px 20px 44px; background: #FFFFFF; border: 1px solid var(--ei-line); border-radius: 6px; display: flex; flex-direction: column; gap: 10px; font-family: var(--ei-mono); font-size: 14px; line-height: 1.55; color: var(--ei-body); }
.ei-tpl .ei-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.ei-tpl .ei-related-card { position: relative; background: #FFFFFF; border: 1px solid var(--ei-line); border-radius: 6px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.ei-tpl .ei-related-card:hover { border-color: var(--ei-ink); }
.ei-tpl .ei-related-card p:first-child { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ei-muted); }
.ei-tpl .ei-related-card p:last-child { font-size: 16px; font-weight: 700; }
.ei-tpl .ei-related-card a { color: var(--ei-ink); text-decoration: none; }
.ei-tpl .ei-related-card a::after { content: ''; position: absolute; inset: 0; }

/* ---------- Sidebar ---------- */
.ei-tpl .ei-side .ei-card { border-radius: 16px; gap: 16px; }
body .ei-tpl .ei-side h2 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.ei-tpl .ei-side h2 + p { font-size: 14px; color: var(--ei-muted); margin-top: -12px; }
.ei-tpl .ei-check { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ei-tpl .ei-card .ei-check { padding-left: 0; }
.ei-tpl .ei-check li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--ei-body); }
.ei-tpl .ei-check li::before { --ei-icon: var(--ei-i-check); width: 18px; height: 18px; margin-top: 2px; color: #2F6B45; }
.ei-tpl .ei-pick { border: 2px solid var(--ei-accent); }
.ei-tpl .ei-pick .ei-btn-primary .wp-block-button__link { width: 100%; justify-content: center; min-height: 48px; }
.ei-tpl .ei-pick .wp-block-buttons,
.ei-tpl .ei-pick .wp-block-button { width: 100%; }

/* ---------- Disclaimer strip ---------- */
.ei-tpl .ei-disclaimer { border-top: 1px solid var(--ei-line); background: #FFFFFF; }
.ei-tpl .ei-disclaimer p { max-width: 1240px; margin: 0 auto; padding: 28px 32px; box-sizing: border-box; font-size: 14px; color: var(--ei-muted); }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
	.ei-tpl .ei-wrap,
	.ei-tpl .ei-body,
	.ei-tpl .ei-jump-inner,
	.ei-tpl .ei-disclaimer p { padding-left: 16px; padding-right: 16px; }
	body .ei-tpl h1.ei-h1 { font-size: 38px; }
	body .ei-tpl .ei-sec h2 { font-size: 28px; }
	.ei-tpl .ei-fact-value { font-size: 26px; }
}

/* ---------- Buttons and links never wrap onto two lines ---------- */
.ei-tpl .wp-block-button__link,
.ei-tpl .ei-table a,
.ei-tpl .ei-cities a { white-space: nowrap; }
.ei-tpl .ei-table thead th { white-space: nowrap; }

/* ---------- Neutralise Astra's global button styling inside templates ---------- */
body .ei-tpl .wp-block-button__link { text-transform: none; letter-spacing: normal; line-height: 1.2; }

/* ---------- Neutralise Astra's block padding and flow margins around the template ---------- */
body .entry-content > .ei-tpl.wp-block-group { padding: 0; }
body .ei-tpl.ei-tpl > * { margin-top: 0; margin-bottom: 0; }

/* ---------- Sticky, translucent site header on template pages ----------
   This stylesheet only loads on template pages, so the theme header elsewhere
   is unchanged. The JS sets --ei-sticky-top to the header's bottom edge so the
   jump nav and sidebar stick just below it. */
body #masthead { position: sticky; top: 0; z-index: 99; }
body.admin-bar #masthead { top: 32px; }
@media (max-width: 782px) { body.admin-bar #masthead { top: 46px; } }
@media (max-width: 600px) { body.admin-bar #masthead { top: 0; } }
body #masthead .main-header-bar,
body #masthead .ast-primary-header-bar,
body #masthead .ast-mobile-header-wrap .main-header-bar {
	background-color: rgba(255, 255, 255, 0.72);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid rgba(34, 30, 88, 0.08);
}
body #masthead .site-header-section,
body #masthead .ast-builder-grid-row { background: transparent; }


body .ei-tpl .ei-city h3 { font-size: 19px; }

/* Astra's page-builder layout sets max-width:none on children of full-width
   blocks (0,4,0); this keeps the body capped at the container width. */
body .entry-content > .ei-tpl > .ei-body.ei-body { max-width: 1240px; margin-left: auto; margin-right: auto; }

/* ---------- Site pages (Home, About, Services, Contact) ---------- */
.ei-tpl .ei-hero-simple { padding-bottom: 72px; }
.ei-tpl .ei-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
@media (min-width: 1000px) { .ei-tpl .ei-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Five cards (How we review): all five in a row on wide screens, 3 + 2 in between, stacked on phones. Never 4 + 1. */
.ei-tpl .ei-grid-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ei-tpl .ei-grid-5 > * { grid-column: span 2; }
.ei-tpl .ei-grid-5 > :nth-child(n+4) { grid-column: span 3; }
@media (min-width: 1100px) {
	.ei-tpl .ei-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.ei-tpl .ei-grid-5 > *,
	.ei-tpl .ei-grid-5 > :nth-child(n+4) { grid-column: auto; }
}
@media (max-width: 700px) {
	.ei-tpl .ei-grid-5 { grid-template-columns: 1fr; }
	.ei-tpl .ei-grid-5 > *,
	.ei-tpl .ei-grid-5 > :nth-child(n+4) { grid-column: auto; }
}
body .ei-tpl .ei-card h3 a { color: var(--ei-ink); text-decoration: none; }
body .ei-tpl .ei-card h3 a:hover { color: var(--ei-accent); text-decoration: underline; }
.ei-tpl .ei-feature { border: 2px solid var(--ei-accent); }
.ei-tpl .ei-big { font-family: var(--ei-display); font-size: 20px; font-weight: 700; color: var(--ei-ink); }
.ei-tpl .ei-card p.ei-big { font-size: 20px; color: var(--ei-ink); }
.ei-tpl .ei-sec > .wp-block-buttons { margin-top: 8px; }

/* Latest posts (core Latest Posts block) as cards */
body .ei-tpl ul.ei-posts.wp-block-latest-posts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
@media (min-width: 1000px) { body .ei-tpl ul.ei-posts.is-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ei-tpl .ei-posts li { width: auto !important; margin: 0 !important; background: #FAF9FD; border: 1px solid var(--ei-line); border-radius: 6px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.ei-tpl .ei-posts .wp-block-latest-posts__post-title { font-family: var(--ei-display); font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ei-ink); text-decoration: none; }
.ei-tpl .ei-posts .wp-block-latest-posts__post-title:hover { color: var(--ei-accent); }
.ei-tpl .ei-posts .wp-block-latest-posts__post-date { font-family: var(--ei-mono); font-size: 12px; color: var(--ei-muted); }
.ei-tpl .ei-posts .wp-block-latest-posts__post-excerpt { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ei-body); }

/* Contact form (Fluent Forms inside a template card) */
.ei-tpl .ei-form-card { padding: 32px; gap: 16px; }
body .ei-tpl .ei-form-card h2 { font-size: 26px; }
.ei-tpl .ei-form-card .ff-el-group { margin-bottom: 18px; }
.ei-tpl .ei-form-card .ff-el-input--label label { font-size: 14px; font-weight: 600; color: var(--ei-ink); }
.ei-tpl .ei-form-card .ff-el-form-control { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #CFCBE3; border-radius: 8px; background: #FFFFFF; font: inherit; font-size: 16px; color: var(--ei-ink); box-sizing: border-box; }
.ei-tpl .ei-form-card textarea.ff-el-form-control { min-height: 140px; }
.ei-tpl .ei-form-card .ff-el-form-control:focus { outline: 2px solid var(--ei-link); outline-offset: 1px; border-color: var(--ei-link); }
body .ei-tpl .ei-form-card .ff-btn-submit { min-height: 52px; padding: 0 28px; border: 0; border-radius: 10px; background: var(--ei-accent) !important; color: #FFFFFF !important; font-family: var(--ei-text); font-size: 16px; font-weight: 700; text-transform: none; letter-spacing: normal; cursor: pointer; }
body .ei-tpl .ei-form-card .ff-btn-submit:hover { background: var(--ei-accent-dark) !important; }
.ei-tpl .ei-contact .ei-side { gap: 16px; }

/* ---------- License finder ([ei_license_finder]) ---------- */
.ei-tpl .ei-finder { display: flex; flex-direction: column; gap: 20px; }
.ei-tpl .ei-finder-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; padding: 20px; background: #FFFFFF; border: 1px solid var(--ei-line); border-radius: 14px; box-shadow: 0 8px 24px rgba(34, 30, 88, 0.06); }
.ei-tpl .ei-finder-full .ei-finder-form { position: sticky; top: calc(var(--ei-sticky-top, 0px) + 12px); z-index: 5; }
.ei-tpl .ei-finder-fields { flex: 1 1 640px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.ei-tpl .ei-finder-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.ei-tpl .ei-finder-label { font-family: var(--ei-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ei-muted); }
body .ei-tpl .ei-finder select,
body .ei-tpl .ei-finder input[type="search"] { width: 100%; min-height: 52px; margin: 0; padding: 0 44px 0 16px; border: 1px solid var(--ei-line); border-radius: 10px; background-color: var(--ei-ground); color: var(--ei-ink); font-family: var(--ei-text); font-size: 16px; font-weight: 600; box-sizing: border-box; box-shadow: none; }
body .ei-tpl .ei-finder select { -webkit-appearance: none; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1A2B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
body .ei-tpl .ei-finder input[type="search"] { padding: 0 16px 0 44px; font-weight: 500; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6676' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; background-size: 18px; }
body .ei-tpl .ei-finder select:focus,
body .ei-tpl .ei-finder input[type="search"]:focus { outline: 2px solid var(--ei-link); outline-offset: 1px; border-color: var(--ei-link); background-color: #FFFFFF; }
body .ei-tpl .ei-finder select:has(option:checked:not([value=""])) { border-color: var(--ei-accent); background-color: var(--ei-gold-soft); }
.ei-tpl .ei-finder-actions { display: flex; align-items: center; gap: 16px; }
body .ei-tpl .ei-finder-go { min-height: 52px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--ei-accent); color: #FFFFFF; font-family: var(--ei-text); font-size: 16px; font-weight: 700; white-space: nowrap; cursor: pointer; text-transform: none; letter-spacing: normal; }
body .ei-tpl .ei-finder-go:hover { background: var(--ei-accent-dark); color: #FFFFFF; }
.ei-tpl .ei-finder-full.is-live .ei-finder-go { display: none; }
.ei-tpl .ei-finder-reset { font-size: 15px; font-weight: 600; white-space: nowrap; }
.ei-tpl .ei-finder-bar { display: flex; justify-content: space-between; align-items: center; }
.ei-tpl .ei-finder-count { font-family: var(--ei-mono); font-size: 14px; color: var(--ei-muted); }
.ei-tpl .ei-finder-results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.ei-tpl .ei-finder-item[hidden] { display: none; }
.ei-tpl .ei-finder-item a { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 10px; padding: 22px; background: #FFFFFF; border: 1px solid var(--ei-line); border-radius: 6px; color: var(--ei-ink); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.ei-tpl .ei-finder-item a:hover,
.ei-tpl .ei-finder-item a:focus-visible { border-color: var(--ei-accent); box-shadow: 0 10px 28px rgba(34, 30, 88, 0.10); transform: translateY(-2px); color: var(--ei-ink); }
.ei-tpl .ei-finder-kicker { font-family: var(--ei-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ei-accent); }
.ei-tpl .ei-finder-title { font-family: var(--ei-display); font-size: 20px; font-weight: 700; line-height: 1.25; }
.ei-tpl .ei-finder-classes { display: flex; flex-wrap: wrap; gap: 6px; }
.ei-tpl .ei-finder-classes span { padding: 3px 10px; border-radius: 999px; background: var(--ei-pill); color: var(--ei-body); font-size: 13px; font-weight: 600; }
.ei-tpl .ei-finder-classes .ei-finder-more { background: transparent; color: var(--ei-muted); }
.ei-tpl .ei-finder-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ei-line-soft); }
.ei-tpl .ei-finder-fact { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ei-tpl .ei-finder-fact span { font-size: 12px; color: var(--ei-muted); line-height: 1.3; }
.ei-tpl .ei-finder-fact strong { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.ei-tpl .ei-finder-open { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ei-link); }
.ei-tpl .ei-finder-open::after { content: ''; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--ei-i-arrow) center / contain no-repeat; mask: var(--ei-i-arrow) center / contain no-repeat; }
.ei-tpl .ei-finder.is-single .ei-finder-item:not([hidden]) a { border: 2px solid var(--ei-accent); }
.ei-tpl .ei-finder-empty { padding: 28px; border: 1px dashed var(--ei-line); border-radius: 6px; background: #FFFFFF; text-align: center; color: var(--ei-body); }
.ei-tpl .ei-finder-empty[hidden] { display: none; }
@media (max-width: 640px) {
	.ei-tpl .ei-finder-full .ei-finder-form { position: static; }
	.ei-tpl .ei-finder-form { padding: 16px; }
	.ei-tpl .ei-finder-actions { width: 100%; }
	.ei-tpl .ei-finder-compact .ei-finder-go { flex: 1; }
	.ei-tpl .ei-finder-results { grid-template-columns: 1fr; }
}

/* ---------- Home: finder-first hero ---------- */
.ei-tpl .ei-home-hero { display: flex; align-items: center; min-height: calc(100svh - var(--ei-header-h, 80px)); padding: 56px 0 72px; box-sizing: border-box; background: linear-gradient(180deg, #FFFFFF 0%, var(--ei-ground) 100%); }
.ei-tpl .ei-home-hero-inner { width: 100%; max-width: 1160px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
body .ei-tpl .ei-home-hero h1.ei-h1 { color: var(--ei-ink); font-size: 64px; }
.ei-tpl .ei-home-hero .ei-lead { color: var(--ei-body); max-width: 640px; }
.ei-tpl .ei-home-hero .ei-finder { width: 100%; margin-top: 12px; text-align: left; }
.ei-tpl .ei-home-hero .ei-finder-form { padding: 24px; border-radius: 18px; box-shadow: 0 18px 48px rgba(34, 30, 88, 0.12); }
body .ei-tpl .ei-home-hero .ei-finder select,
body .ei-tpl .ei-home-hero .ei-finder-go { min-height: 60px; }
.ei-tpl .ei-home-hero .ei-finder-reset { display: none; }
.ei-tpl .ei-home-browse { font-size: 15px; color: var(--ei-muted); }
.ei-tpl .ei-home-browse a { font-weight: 600; text-decoration: none; }
@media (min-width: 1000px) { .ei-tpl .ei-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.ei-tpl .ei-home-hero { min-height: 0; padding: 40px 0 48px; }
	body .ei-tpl .ei-home-hero h1.ei-h1 { font-size: 40px; }
	.ei-tpl .ei-home-hero .ei-finder-form { padding: 16px; }
}

/* ---------- Exam references (books) ---------- */
.ei-tpl .ei-books-block { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; padding: 24px; background: #FFFFFF; border: 1px solid var(--ei-line); border-radius: 6px; }
.ei-tpl .ei-books-block h3 { font-size: 20px; }
.ei-tpl .ei-books td:last-child { white-space: nowrap; font-weight: 600; }

/* ---------- CE pages ---------- */
.ei-tpl .ei-glance-card { gap: 12px; }
.ei-tpl .ei-glance table { min-width: 0; table-layout: fixed; }
.ei-tpl .ei-glance tbody td { padding: 10px 14px; font-size: 15px; overflow-wrap: anywhere; }
.ei-tpl .ei-glance tbody td:first-child { width: 40%; }
.ei-tpl .ei-glance tbody tr:first-child td { border-top: 0; }
.ei-tpl .ei-glance tr:nth-child(odd) td { background: var(--ei-ground); }

/* ---------- Logo gold on dark surfaces ---------- */
.ei-tpl .ei-hero .ei-btn-primary .wp-block-button__link { background: var(--ei-gold); color: var(--ei-ink); }
.ei-tpl .ei-hero .ei-btn-primary .wp-block-button__link:hover { background: #E2CFAD; color: var(--ei-ink); }
.ei-tpl .ei-chips li:first-child { background: var(--ei-gold); border-color: var(--ei-gold); color: var(--ei-ink); }
.ei-tpl .ei-hero .ei-btn-ghost .wp-block-button__link:hover { border-color: var(--ei-gold); color: var(--ei-gold); }
.ei-tpl .ei-kicker { color: var(--ei-gold-text); }
.ei-tpl .ei-cta .wp-block-button__link:hover { background: var(--ei-gold); color: var(--ei-ink); }

/* ---------- Home: background gradients (logo indigo and gold) ---------- */
.ei-tpl.ei-site-home .ei-home-hero {
	background:
		radial-gradient(900px 420px at 50% 0%, rgba(209, 185, 147, 0.30), transparent 70%),
		radial-gradient(720px 420px at 92% 100%, rgba(57, 51, 132, 0.12), transparent 70%),
		radial-gradient(620px 380px at 6% 90%, rgba(57, 51, 132, 0.08), transparent 70%),
		linear-gradient(180deg, #FFFFFF 0%, #F3F1FA 100%);
}
.ei-tpl.ei-site-home .ei-band:has(#guides) { background: linear-gradient(180deg, #F3F1FA 0%, #FFFFFF 55%); }
/* What we cover: photo band. The Group block carries the image (Background panel, Fixed = parallax); this adds the tint, slanted edges and frame. */
.ei-tpl .ei-band-photo { position: relative; isolation: isolate; padding: 128px 0; color: #FFFFFF; clip-path: polygon(0 0, 100% 56px, 100% 100%, 0 calc(100% - 56px)); }
.ei-tpl .ei-band-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(34, 30, 88, 0.86) 0%, rgba(34, 30, 88, 0.72) 100%); }
.ei-tpl .ei-frame { position: relative; padding: 56px 64px; border: 1px solid rgba(255, 255, 255, 0.55); }
.ei-tpl .ei-frame::after { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(255, 255, 255, 0.3); pointer-events: none; }
body .ei-tpl .ei-band-photo .ei-sec h2 { color: #FFFFFF; }
.ei-tpl .ei-band-photo .ei-kicker { color: var(--ei-gold); }
.ei-tpl .ei-band-photo .ei-sec > p { color: rgba(255, 255, 255, 0.85); max-width: 720px; }
.ei-tpl .ei-fields { gap: 28px 32px; margin-top: 12px; }
.ei-tpl .ei-field { position: relative; padding-left: 56px; display: flex; flex-direction: column; gap: 4px; }
.ei-tpl .ei-field::before { content: ''; position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ei-gold); }
.ei-tpl .ei-field::after { content: ''; position: absolute; left: 11px; top: 11px; width: 18px; height: 18px; background: var(--ei-ink); -webkit-mask: var(--ei-i-check) center / contain no-repeat; mask: var(--ei-i-check) center / contain no-repeat; }
body .ei-tpl .ei-field h3 { color: #FFFFFF; font-size: 22px; line-height: 1.2; margin: 0; }
.ei-tpl .ei-field p { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); margin: 0; }
@media (max-width: 782px) {
	.ei-tpl .ei-band-photo { padding: 88px 0; clip-path: polygon(0 0, 100% 28px, 100% 100%, 0 calc(100% - 28px)); }
	.ei-tpl .ei-frame { padding: 32px 24px; }
	.ei-tpl .ei-frame::after { inset: 6px; }
}
.ei-tpl.ei-site-home .ei-band:has(#how-we-review) {
	background:
		radial-gradient(640px 360px at 100% 0%, rgba(209, 185, 147, 0.20), transparent 70%),
		linear-gradient(180deg, #FFFFFF 0%, #F7F6FC 100%);
}
.ei-tpl.ei-site-home .ei-band:has(#trust) {
	background:
		radial-gradient(760px 420px at 85% 0%, rgba(209, 185, 147, 0.22), transparent 70%),
		linear-gradient(135deg, #221E58 0%, #393384 100%);
}
.ei-tpl.ei-site-home .ei-band:has(#trust) h2 { color: #FFFFFF; }
.ei-tpl.ei-site-home .ei-band:has(#trust) .ei-kicker { color: var(--ei-gold); }
.ei-tpl.ei-site-home .ei-band:has(#latest) { background: linear-gradient(180deg, #FFFFFF 0%, #F3F1FA 100%); }
.ei-tpl.ei-site-home .ei-band:has(.ei-cta) { background: linear-gradient(180deg, #F3F1FA 0%, #FFFFFF 100%); }
.ei-tpl.ei-site-home .ei-cta { background: linear-gradient(120deg, #393384 0%, #221E58 100%); }
/* Cards stand out as white on the tinted bands. */
.ei-tpl.ei-site-home .ei-band .ei-card,
.ei-tpl.ei-site-home .ei-band .ei-posts li { background: #FFFFFF; box-shadow: 0 6px 18px rgba(34, 30, 88, 0.06); }
