/*
Theme Name: Kredit Spain
Theme URI: https://kreditspain.com/
Description: Custom lightweight theme for Kredit Spain. Replaces Divi while keeping the existing content (Divi shortcodes are rendered by a compatibility layer), the lead form, the /thank-you/ page and the tracking flow.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: kredit
*/

/* ------------------------------------------------------------------ tokens */
:root {
	--navy: #0B1F44;
	--navy-2: #13295A;
	--blue: #1D48C0;
	--blue-dark: #163A9C;
	--accent: #C2481A;
	--accent-light: #F7A27F;
	--accent-bg: #F26B3A;
	--green: #13764A;
	--green-bg: #E2F3EA;
	--bg: #F5F7FB;
	--white: #FFFFFF;
	--line: #E3E8F2;
	--text: #0B1F44;
	--text-2: #36456A;
	--text-3: #4A5878;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(11, 31, 68, .06), 0 8px 24px rgba(11, 31, 68, .08);
	--wrap: 1200px;
	--gutter: 16px;
	--font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--accent-bg); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--white); padding: 10px 14px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: 760px; }
.wrap--narrow { max-width: 560px; }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent; font: inherit; font-weight: 800; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; text-align: center; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); color: var(--white); }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: #A63B12; color: var(--white); }
.btn--light { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--light:hover { background: rgba(255,255,255,.2); color: var(--white); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--line); }
.btn--link { background: none; color: var(--blue); padding-left: 0; padding-right: 0; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }
.more { font-weight: 800; text-decoration: none; }
.kd-btnwrap { margin: 1.2em 0; }

.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.eyebrow--light { color: var(--accent-light); }

/* ------------------------------------------------------------------ top bar & header */
.topbar { background: var(--navy); color: #C9D3E8; font-size: 14px; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar__links { display: flex; gap: 20px; }
.topbar__link { color: var(--white); text-decoration: none; font-weight: 700; }
.topbar__link:hover { color: var(--accent-light); }
@media (max-width: 767px) { .topbar { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo img, .custom-logo { max-height: 44px; width: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -8px; border: 0; background: none; color: var(--navy); cursor: pointer; }
.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav__list a { display: block; padding: 10px 12px; color: var(--navy); font-weight: 700; text-decoration: none; border-radius: 8px; }
.nav__list a:hover, .nav__list .current-menu-item > a { color: var(--blue); background: var(--bg); }
.lang { font-size: 14px; }
.lang select { font: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; background: var(--white); }
.lang a { text-decoration: none; }

@media (max-width: 1023px) {
	.nav-open .nav { display: flex; flex-direction: column; align-items: stretch; gap: 12px; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; box-shadow: var(--shadow); }
	.nav-open .nav__list { flex-direction: column; }
	.nav-open .nav__list a { padding: 14px 8px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
}
@media (min-width: 1024px) {
	.nav-toggle { display: none; }
	.nav { display: flex; align-items: center; gap: 12px; }
	.nav__cta { min-height: 44px; padding: 10px 18px; }
}

/* ------------------------------------------------------------------ hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #1D3E8A 0%, transparent 60%), var(--navy); color: var(--white); padding: 40px 0 48px; }
.hero__in { display: grid; gap: 32px; align-items: start; }
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero__lead { font-size: 18px; color: #D3DCEE; max-width: 40em; }
.hero__bullets { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.hero__bullets li { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.hero__bullets .tick { color: var(--accent-light); flex: none; }
.hero__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.hero__fine { font-size: 14px; color: #AFC0E0; margin-top: 12px; }
.hero__form { scroll-margin-top: 90px; }
@media (min-width: 768px) { .hero__bullets { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
	.hero { padding: 64px 0 72px; }
	.hero__in { grid-template-columns: 1.15fr .85fr; gap: 56px; }
	.hero__links--mobile { display: none; }
}
@media (max-width: 1023px) { .hero--page .hero__fine { margin-bottom: 0; } }

/* ------------------------------------------------------------------ form */
.kf { background: var(--white); color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 20px; display: grid; gap: 14px; scroll-margin-top: 90px; }
@media (min-width: 768px) { .kf { padding: 28px; } }
.kf__title { font-size: 24px; margin: 0; }
.kf__sub { margin: -6px 0 0; color: var(--text-3); font-size: 15px; }
.kf__field { display: grid; gap: 6px; font-size: 15px; font-weight: 700; color: var(--text); }
.kf input[type=text], .kf input[type=email], .kf input[type=tel], .kf select, .kf textarea {
	width: 100%; font: inherit; font-size: 16px; font-weight: 500; color: var(--text); background: var(--white);
	border: 1.5px solid #C9D2E3; border-radius: var(--radius-sm); padding: 12px 14px; min-height: 50px;
}
.kf textarea { min-height: 96px; resize: vertical; }
.kf input:focus, .kf select:focus, .kf textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 72, 192, .2); }
.kf [aria-invalid=true] { border-color: #B42318; }
.kf__err { color: #B42318; font-size: 14px; font-weight: 700; }
.kf__check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; color: var(--text-2); }
.kf__check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.kf__check .kf__err { grid-column: 2; }
.kf__alert { margin: 0; padding: 10px 12px; border-radius: 8px; background: #FDECEC; color: #8A1C12; font-weight: 700; font-size: 15px; }
.kf__alert[hidden] { display: none; }
.kf__note { margin: 0; font-size: 13px; color: var(--text-3); text-align: center; }
.kf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kf__submit { min-height: 54px; font-size: 17px; }
.grecaptcha-badge { visibility: hidden; }

/* ------------------------------------------------------------------ figures */
.figures { background: var(--white); border-bottom: 1px solid var(--line); }
.figures__in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); padding: 0; }
.figure { background: var(--white); padding: 20px 16px; display: flex; flex-direction: column; gap: 2px; }
.figure__n { font-size: 26px; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }
.figure__l { font-size: 14px; color: var(--text-3); font-weight: 600; }
@media (max-width: 767px) { .figures__in > .figure:last-child:nth-child(odd) { grid-column: span 2; } }
@media (min-width: 768px) {
	.figures__in { grid-template-columns: repeat(5, 1fr); background: none; padding-top: 28px; padding-bottom: 28px; }
	.figures__in--4 { grid-template-columns: repeat(4, 1fr); }
	.figure { padding: 0 20px; border-left: 1px solid var(--line); }
	.figure:first-child { border-left: 0; padding-left: 0; }
	.figure__n { font-size: 32px; }
}

/* ------------------------------------------------------------------ bands & sections */
.band { padding: 56px 0; }
.band--white { background: var(--white); }
@media (min-width: 1024px) { .band { padding: 88px 0; } }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head p { color: var(--text-2); font-size: 18px; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }

.options { display: grid; gap: 20px; }
@media (min-width: 900px) { .options { grid-template-columns: 1fr 1fr; gap: 28px; } }
.option { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.option img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.option__body { padding: 24px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.option__body p { color: var(--text-2); }
.option .more { margin-top: auto; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--text-2); }
.ticks .tick { color: var(--green); margin-top: 3px; }
.ticks--lg li { font-size: 18px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps__item { background: var(--bg); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.steps__item span:last-child { color: var(--text-2); font-size: 16px; }
.steps__n { width: 36px; height: 36px; border-radius: 999px; background: var(--blue); color: var(--white); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }

.trust { display: grid; gap: 20px; }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.trust__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.trust__item svg { color: var(--blue); margin-bottom: 12px; }
.trust__item p { color: var(--text-2); margin: 0; }

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split--docs { align-items: start; }
.split__img { margin: 0; }
.split__img img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }

.plans { display: grid; gap: 16px; }
@media (min-width: 768px) { .plans--2 { grid-template-columns: repeat(2, 1fr); } .plans--3 { grid-template-columns: repeat(3, 1fr); } }
.plan { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); }
.plan__n { display: inline-block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 6px; }
.plan p { color: var(--text-2); margin: 0; }
.note { margin-top: 20px; padding: 14px 16px; border-left: 4px solid var(--accent-bg); background: #FFF4EE; border-radius: 0 8px 8px 0; color: var(--text-2); }

.conditions dl { margin: 0; display: grid; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.conditions dl > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); }
.conditions dl > div:first-child { border-top: 0; }
.conditions dt { font-weight: 800; }
.conditions dd { margin: 0; color: var(--text-2); }
.docs .ticks { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }

/* ------------------------------------------------------------------ cards */
.kd-cards { display: grid; gap: 20px; }
@media (min-width: 700px) { .kd-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .kd-cards { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.card__title { font-size: 19px; line-height: 1.3; }
.card__meta { margin-top: auto; font-size: 14px; color: var(--text-3); }
.band--white .card { background: var(--bg); border-color: transparent; }

/* ------------------------------------------------------------------ closing & footer */
.closing { background: var(--blue); color: var(--white); padding: 48px 0; }
.closing h2 { color: var(--white); }
.closing p { color: #DCE5FA; margin: 0; }
.closing__in { display: grid; gap: 24px; align-items: center; }
.closing__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .closing__in { grid-template-columns: 1fr auto; } }

.site-footer { background: var(--navy); color: #C9D3E8; padding: 48px 0 24px; font-size: 15px; }
.site-footer__in { display: grid; gap: 28px; }
@media (min-width: 768px) { .site-footer__in { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer strong { color: var(--white); display: block; margin-bottom: 8px; }
.site-footer a { color: #C9D3E8; text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--white); }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }

/* Sticky mobile action bar */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(11,31,68,.08); }
.actionbar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--radius-sm); font-weight: 800; text-decoration: none; }
.actionbar__btn--call { background: var(--blue); color: var(--white); }
.actionbar__btn--wa { background: var(--green); color: var(--white); }
.actionbar__btn--form { background: var(--accent); color: var(--white); }
.actionbar__btn:hover { color: var(--white); filter: brightness(.95); }
.actionbar .kd-icon { width: 20px; height: 20px; }
@media (max-width: 1023px) { body:not(.page-template-thank-you) .site-footer { padding-bottom: calc(90px + env(safe-area-inset-bottom)); } }
@media (min-width: 1024px) { .actionbar { display: none; } }

/* ------------------------------------------------------------------ thank-you / 404 */
.thanks { padding: 56px 0 72px; }
.thanks__icon { width: 64px; height: 64px; border-radius: 999px; background: var(--green-bg); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.thanks__icon .kd-icon { width: 32px; height: 32px; stroke-width: 2.5; }
.thanks__lead { font-size: 19px; color: var(--text-2); }
.thanks__box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 8px; margin: 24px 0; }
.thanks__box span { color: var(--text-2); font-size: 16px; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ------------------------------------------------------------------ page / post */
.page-head { background: var(--navy); color: var(--white); padding: 40px 0; }
.page-head h1 { color: var(--white); margin: 0; }
.post-head { padding: 40px 0 16px; }
.post-head h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); }
.post-head__meta, .crumbs { color: var(--text-3); font-size: 15px; margin: 0 0 12px; }
.crumbs a { text-decoration: none; font-weight: 700; }
.post-hero { margin: 8px auto 24px; }
.post-hero img { width: 100%; border-radius: var(--radius); }
.prose { font-size: 18px; color: var(--text-2); padding-bottom: 32px; }
.prose h2, .prose h3 { color: var(--text); margin-top: 1.6em; }
.prose h2 { font-size: 1.7rem; }
.prose img { border-radius: var(--radius-sm); margin: 1em 0; }
.prose a { font-weight: 700; }
.prose li { margin-bottom: .4em; }
.post-cta { padding-bottom: 56px; }
.post-cta__box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }
.post-cta__box .kf { box-shadow: none; padding: 0; }
.pager { margin-top: 32px; }
.pager .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pager .page-numbers { padding: 8px 14px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.pager .current { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ------------------------------------------------------------------ Divi content (compat layer) */
.kd-section { padding: 48px 0; }
@media (min-width: 1024px) { .kd-section { padding: 72px 0; } }
.kd-section--tint { background: var(--white); }
.kd-section--dark { background: var(--navy); color: #D3DCEE; }
.kd-section--dark h1, .kd-section--dark h2, .kd-section--dark h3 { color: var(--white); }
.kd-section--dark a:not(.btn) { color: var(--accent-light); }
.kd-section--image { position: relative; background: linear-gradient(rgba(11,31,68,.82), rgba(11,31,68,.82)), var(--kd-bg) center / cover no-repeat; color: #D3DCEE; }
.kd-section--image h1, .kd-section--image h2, .kd-section--image h3 { color: var(--white); }
.entry--divi .kd-section--first:not(.kd-section--dark):not(.kd-section--image) { background: var(--navy); color: #D3DCEE; }
.entry--divi .kd-section--first:not(.kd-section--dark):not(.kd-section--image) h1,
.entry--divi .kd-section--first:not(.kd-section--dark):not(.kd-section--image) h2 { color: var(--white); }
.kd-row { display: grid; grid-template-columns: 1fr; gap: 24px; }
.kd-row + .kd-row { margin-top: 32px; }
@media (min-width: 900px) {
	.kd-row { grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: start; }
	.kd-span-12 { grid-column: span 12; } .kd-span-10 { grid-column: span 10; } .kd-span-9 { grid-column: span 9; }
	.kd-span-8 { grid-column: span 8; } .kd-span-7 { grid-column: span 7; } .kd-span-6 { grid-column: span 6; }
	.kd-span-5 { grid-column: span 5; } .kd-span-4 { grid-column: span 4; } .kd-span-3 { grid-column: span 3; }
	.kd-span-2 { grid-column: span 2; }
}
.kd-col > * + * { margin-top: 16px; }
.kd-text { font-size: 17px; }
.kd-text > *:last-child { margin-bottom: 0; }
.kd-text ul { padding-left: 1.2em; }
.kd-image { margin: 0; }
.kd-image img { border-radius: var(--radius); width: 100%; height: auto; }
.kd-blurb { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; color: var(--text-2); }
.kd-section--dark .kd-blurb, .kd-section--image .kd-blurb { color: var(--text-2); }
.kd-blurb__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #E8EEFC; color: var(--blue); display: flex; align-items: center; justify-content: center; }
.kd-blurb__title { font-size: 16px; margin: 0 0 4px; color: var(--text); letter-spacing: 0; text-transform: uppercase; }
.kd-blurb__title a { color: inherit; text-decoration: none; }
.kd-blurb__body > *:last-child { margin-bottom: 0; }
.kd-blurb__body a { font-weight: 800; }
.kd-blurb--note { background: #FFF4EE; border-color: #FBD9C8; font-weight: 800; color: var(--text); }
.kd-blurb--note .kd-blurb__icon { background: var(--accent-bg); color: var(--white); }
.kd-blurb__img img { width: 64px; height: auto; }
.kd-accordion, .kd-col > .kd-toggle + .kd-toggle { margin-top: 0; }
.kd-toggle { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; color: var(--text-2); }
.kd-toggle summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 800; color: var(--text); position: relative; }
.kd-toggle summary::-webkit-details-marker { display: none; }
.kd-toggle summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--blue); }
.kd-toggle[open] summary::after { content: '–'; }
.kd-toggle__body { padding: 0 18px 16px; }
.kd-toggle__body > *:last-child { margin-bottom: 0; }
.kd-divider { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.kd-cta { background: var(--white); border-radius: var(--radius); padding: 28px; }
.kd-section .kf { max-width: 640px; }
.kd-section--dark .kf, .kd-section--image .kf, .entry--divi .kd-section--first .kf { color: var(--text); }
.kd-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.post-body .kd-section, .prose .kd-section { padding: 0; background: none; color: inherit; }
.post-body .kd-wrap, .prose .kd-wrap { padding: 0; max-width: none; }
.post-body .kd-row + .kd-row { margin-top: 0; }
.kd-section .kd-blurb__title, .kd-section .kd-blurb__title a { color: var(--text); }
.kd-section .kd-blurb a:not(.btn) { color: var(--blue); }
.kd-text h1 br, .kd-text h2 br { display: none; }
.kd-toggle summary, .kd-section .kd-toggle summary { color: var(--text); }
.kd-section--dark .kd-toggle a, .kd-section--image .kd-toggle a { color: var(--blue); }
.kd-section .kf .kf__title, .hero .kf .kf__title { color: var(--text); }
