/* DEPB.Platform: home page sections (templates/home). Brand: navy #011d39,
   gold #d3a341, white. Gold is used on dark grounds, rules, icons and
   buttons (navy text), never as small text on white. */
:root {
	--h-navy: #011d39;
	--h-navy-2: #0a2f5c;
	--h-navy-3: #071a33;
	--h-gold: #d3a341;
	--h-gold-hi: #e2bb63;
	--h-gold-deep: #ad7c1c;
	--h-paper: #f8f6f1;
	--h-ink: #1a202c;
	--h-ink-2: #4a5568;
	--h-on-dark: rgba(255, 255, 255, .82);
}

/* ── Section shells ───────────────────────────────────────── */
.depb-home { padding: clamp(3.5rem, 7vw, 6rem) 1.5rem; margin: 0 !important; }
.depb-home > * { max-width: 1200px; margin-left: auto !important; margin-right: auto !important; }
.depb-home-why, .depb-home-board { background: var(--h-navy); color: var(--h-on-dark); }
.depb-home-standards { background: var(--h-paper); color: var(--h-ink); }
.depb-home-standards h2, .depb-home-standards .depb-section-title { color: var(--h-navy) !important; }
.depb-home-cta { background: linear-gradient(135deg, var(--h-navy) 0%, var(--h-navy-2) 100%); color: var(--h-on-dark); border-top: 3px solid var(--h-gold); }
.depb-home h2, .depb-home h3 { margin-top: 0; }
.depb-home-why h2, .depb-home-why h3, .depb-home-board h2, .depb-home-cta h2 { color: #fff; }

.depb-kicker {
	display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .75rem;
	font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--h-gold);
}
.depb-kicker::before { content: ""; width: 1.75rem; height: 2px; background: var(--h-gold); }
.has-text-align-center.depb-kicker { display: flex; justify-content: center; }
.depb-home-standards .depb-kicker { color: var(--h-gold-deep); }
.depb-home-standards .depb-kicker::before { background: var(--h-gold-deep); }
.depb-section-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; margin-bottom: 1rem; }
.depb-lede { font-size: 1.15rem; line-height: 1.65; }
.depb-home-why .depb-lede, .depb-home-cta .depb-lede { color: #fff; }
.depb-home-standards .depb-lede { color: var(--h-ink-2); max-width: 46rem; margin-left: auto; margin-right: auto; }

/* ── Trust strip ──────────────────────────────────────────── */
.depb-home-trust { background: var(--h-navy-3); padding: 1.6rem 1.5rem; border-top: 1px solid rgba(211, 163, 65, .35); border-bottom: 1px solid rgba(211, 163, 65, .2); }
.depb-trust-items { gap: 1.5rem !important; margin: 0 !important; }
.depb-trust-item {
	position: relative; margin: 0; padding-left: 3.2rem; min-height: 2.4rem; display: block;
	color: var(--h-on-dark); font-size: .98rem; line-height: 1.35; padding-top: .3rem;
}
.depb-trust-item strong { color: #fff; font-weight: 600; }
.depb-trust-item::before {
	content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 2.4rem; height: 2.4rem; border-radius: 50%;
	background: rgba(211, 163, 65, .14) center / 1.2rem no-repeat; border: 1px solid rgba(211, 163, 65, .5);
}
.depb-i-shield::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d3a341' stroke-width='2'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6z'/%3E%3C/svg%3E"); }
.depb-i-scale::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d3a341' stroke-width='2'%3E%3Cpath d='M12 3v18M5 21h14M6 7h12M6 7l-3 6a3 3 0 0 0 6 0zM18 7l-3 6a3 3 0 0 0 6 0z'/%3E%3C/svg%3E"); }
.depb-i-review::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d3a341' stroke-width='2'%3E%3Cpath d='M9 4h6v3H9zM7 5H5v16h14V5h-2M9 13l2 2 4-4'/%3E%3C/svg%3E"); }
.depb-i-check::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d3a341' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E"); }

/* ── Why it matters ───────────────────────────────────────── */
.depb-why-intro { gap: clamp(2rem, 5vw, 5rem) !important; margin-bottom: 3.5rem !important; }
.depb-pillars { gap: 1.25rem !important; }
.depb-pillar {
	background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-top: 3px solid var(--h-gold);
	border-radius: 12px; padding: 1.75rem 1.6rem;
}
.depb-pillar h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.depb-pillar p { margin: 0; line-height: 1.6; }
.depb-pillar .depb-pillar-num { font-family: var(--depb-font-head, serif); font-size: 1rem; font-weight: 600; color: var(--h-gold); margin-bottom: .5rem; letter-spacing: .05em; }

/* ── Credential row (kept card on the right) ─────────────── */
.depb-home-credential .depb-section-title { color: #fff; }
.depb-home-credential .depb-lede { color: var(--h-on-dark); }
.depb-path { list-style: none; counter-reset: depb-step; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.depb-path li {
	counter-increment: depb-step; position: relative; margin: 0; padding: 0 0 0 3.6rem; min-height: 2.6rem;
	color: var(--h-on-dark); line-height: 1.55;
}
.depb-path li::before {
	content: counter(depb-step); position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%;
	display: grid; place-items: center; background: var(--h-gold); color: var(--h-navy); font-weight: 700;
	font-family: var(--depb-font-head, serif); font-size: 1.1rem;
}
.depb-path li:not(:last-child)::after {
	content: ""; position: absolute; left: 1.25rem; top: 2.7rem; bottom: -1rem; width: 2px; background: rgba(211, 163, 65, .35);
}
.depb-path li strong { display: block; color: #fff; font-size: 1.08rem; margin-bottom: .15rem; }

/* ── Standards ────────────────────────────────────────────── */
.depb-standards-grid {
	list-style: none; counter-reset: depb-std; margin: 2.5rem 0 0; padding: 0;
	display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.depb-standards-grid li {
	counter-increment: depb-std; margin: 0; background: #fff; border: 1px solid #e7e2d6; border-radius: 12px;
	padding: 1.4rem 1.4rem 1.5rem; box-shadow: 0 10px 28px -24px rgba(1, 29, 57, .45);
}
.depb-standards-grid li::before {
	content: counter(depb-std, decimal-leading-zero); display: block; font-family: var(--depb-font-head, serif);
	font-weight: 700; font-size: 1.05rem; color: var(--h-gold-deep); margin-bottom: .55rem;
}
.depb-standards-grid strong { display: block; font-family: var(--depb-font-head, serif); font-size: 1.2rem; color: var(--h-navy); margin-bottom: .35rem; }
.depb-standards-grid span { color: var(--h-ink-2); font-size: .95rem; line-height: 1.55; }
.depb-standards-grid .depb-standards-cta { counter-increment: none; display: flex; align-items: center; justify-content: center; background: var(--h-navy); border-color: var(--h-navy); }
.depb-standards-grid .depb-standards-cta::before { content: none; }
.depb-standards-grid .depb-standards-cta a { color: #fff; font-weight: 600; text-decoration: none; }
.depb-standards-grid .depb-standards-cta a:hover { color: var(--h-gold-hi); }

/* ── Board ────────────────────────────────────────────────── */
.depb-statement { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.2; margin-bottom: 1.25rem; }
.depb-home-board p { font-size: 1.08rem; line-height: 1.75; }
.depb-text-link a { color: var(--h-gold); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(211, 163, 65, .5); }
.depb-text-link a:hover { color: var(--h-gold-hi); }

/* ── Kept Kadence buttons: navy text on gold (white is too faint on gold) ── */
/* Only the gold buttons: hero "Explore DEP™" (first) and the card's button. */
.depb-home-hero .kb-btn542_bb341b-e7.kb-button, .depb-home-credential .kb-button { color: var(--h-navy) !important; font-weight: 600; }
.depb-home-hero .kb-btn542_bb341b-e7.kb-button:hover, .depb-home-credential .kb-button:hover,
.depb-home-hero .kb-btn542_bb341b-e7.kb-button:focus, .depb-home-credential .kb-button:focus { color: #fff !important; }
.depb-home-credential .depb-kicker { margin-bottom: 0 !important; }
.depb-home-credential .depb-section-title { margin-top: .4rem !important; }

/* Certification card (white top): readable description, deep-gold title. */
.depb-home-credential .wp-block-kadence-column:last-child .kt-adv-heading,
.depb-home-credential .wp-block-kadence-column:last-child h2,
.depb-home-credential .wp-block-kadence-column:last-child h3 { color: var(--h-gold-deep) !important; }
.depb-home-credential .wp-block-kadence-column:last-child p { color: var(--h-ink) !important; }
.depb-home-credential .wp-block-kadence-column:last-child .kt-svg-icon-list-text { color: #fff !important; }

/* ── Kept Kadence rows: bring onto the navy family ────────── */
.wp-block-kadence-rowlayout.depb-home-credential { background: var(--h-navy-3) !important; }
.wp-block-kadence-rowlayout.depb-home-testimonials { background: var(--h-navy-3) !important; }
.wp-block-kadence-rowlayout.depb-home-faq { background: var(--h-navy) !important; }
.depb-home-testimonials .depb-section-title, .depb-home-faq h2 { color: #fff; }
.depb-home-testimonials .kt-testimonial-content { color: var(--h-on-dark); font-family: var(--depb-font-head, serif); font-size: 1.15rem; }
.depb-home-faq .kt-blocks-accordion-header {
	background: rgba(255, 255, 255, .04) !important; border: 1px solid rgba(255, 255, 255, .1) !important; border-radius: 8px !important;
}
.depb-home-faq .kt-accordion-panel-active .kt-blocks-accordion-header,
.depb-home-faq .kt-blocks-accordion-header:hover { border-color: var(--h-gold) !important; }
.depb-home-faq .kt-accordion-panel-inner { background: transparent !important; color: var(--h-on-dark); }
.depb-home-faq .kt-blocks-accordion-header, .depb-home-faq .kt-blocks-accordion-title,
.depb-home-faq .kt-accordion-panel-active .kt-blocks-accordion-header,
.depb-home-faq .kt-accordion-panel-active .kt-blocks-accordion-title { color: #fff !important; }
.depb-home-faq .kt-accordion-panel-active .kt-blocks-accordion-title { color: var(--h-gold-hi) !important; }
.depb-home-faq .kt-blocks-accordion-icon-trigger:before, .depb-home-faq .kt-blocks-accordion-icon-trigger:after { background: var(--h-gold) !important; }

/* ── Closing CTA ──────────────────────────────────────────── */
.depb-cta-buttons { margin-top: 2rem; gap: 1rem; }
.depb-btn-gold .wp-block-button__link {
	background: var(--h-gold) !important; color: var(--h-navy) !important; font-weight: 600; border-radius: 8px; padding: .95rem 2rem;
}
.depb-btn-gold .wp-block-button__link:hover { background: var(--h-gold-hi) !important; }
.depb-btn-ghost .wp-block-button__link {
	background: transparent !important; color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .55) !important;
	border-radius: 8px; padding: .9rem 1.9rem; font-weight: 600;
}
.depb-btn-ghost .wp-block-button__link:hover { border-color: var(--h-gold) !important; color: var(--h-gold-hi) !important; }

@media (max-width: 781px) {
	.depb-trust-items { gap: .9rem !important; }
	.depb-path li { padding-left: 3.2rem; }
}

/* Closing CTA: colleague purchase line */
.depb-home-cta .depb-colleague-link { margin-top: 1.25rem; font-size: .98rem; opacity: .9; }
.depb-home-cta .depb-colleague-link a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ── About page (templates/about/about.html) ─────────────────────────────── */
.depb-about-hero, .depb-about-why, .depb-about-what, .depb-about-principles, .depb-about-people { padding: clamp(3rem, 7vw, 5.5rem) 16px; }
.depb-about-hero { background: radial-gradient(900px 420px at 80% -10%, rgba(211, 163, 65, .18), transparent 60%), linear-gradient(160deg, var(--h-navy) 0%, var(--h-navy-2) 80%);
	color: var(--h-on-dark); border-bottom: 3px solid var(--h-gold); }
.depb-about-hero .depb-about-title { color: #fff !important; font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.12; margin: .6rem 0 1.1rem; }
.depb-about-hero .depb-lede { color: #d5deea; max-width: 44rem; margin: 0 auto 1.8rem; }
.depb-about-why { background: #fff; color: var(--h-ink-2); }
.depb-about-why .depb-kicker { color: var(--h-gold-deep); }
.depb-about-why .depb-kicker::before { background: var(--h-gold-deep); }
.depb-about-why h2 { color: var(--h-navy) !important; }
.depb-about-why p { font-size: 1.1rem; line-height: 1.75; }
.depb-about-what { background: #f5f7fa; }
.depb-about-what .depb-kicker { color: var(--h-gold-deep); }
.depb-about-what .depb-kicker::before { background: var(--h-gold-deep); }
.depb-about-what h2 { color: var(--h-navy) !important; }
.depb-about-cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 820px) { .depb-about-cards { grid-template-columns: repeat(3, 1fr); } }
.depb-about-card { display: flex; flex-direction: column; gap: .5rem; background: #fff; border-radius: 14px; padding: 1.6rem; border-top: 3px solid var(--h-gold);
	box-shadow: 0 1px 2px rgba(1, 29, 57, .06), 0 10px 28px rgba(1, 29, 57, .08); color: var(--h-ink-2); text-decoration: none; }
.depb-about-card h3 { color: var(--h-navy) !important; font-size: 1.35rem; margin: 0; }
.depb-about-card p { margin: 0; line-height: 1.65; flex: 1; }
.depb-about-card a, .depb-about-card span { color: var(--h-gold-deep); font-weight: 600; text-decoration: none; margin-top: .4rem; }
.depb-about-num { font-weight: 700; letter-spacing: .08em; color: var(--h-gold-deep) !important; margin: 0 !important; }
.depb-about-principles { background: var(--h-navy); color: var(--h-on-dark); }
.depb-about-split { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .depb-about-split { grid-template-columns: 1fr 1.25fr; gap: 3.5rem; } }
.depb-about-split h2 { color: #fff !important; }
.depb-about-split > div p { font-size: 1.08rem; line-height: 1.75; }
.depb-about-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.depb-about-list li { padding: 1rem 1.2rem; border-radius: 12px; background: rgba(255, 255, 255, .06); border-left: 3px solid var(--h-gold); line-height: 1.6; }
.depb-about-list strong { color: #fff; }
.depb-about-people { background: #fff; color: var(--h-ink-2); }
.depb-about-people .depb-kicker { color: var(--h-gold-deep); }
.depb-about-people .depb-kicker::before { background: var(--h-gold-deep); }
.depb-about-people h2 { color: var(--h-navy) !important; }
.depb-about-people-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 820px) { .depb-about-people-grid { grid-template-columns: 1.6fr 1fr; } }
.depb-about-person.depb-about-advisors { align-self: start; }
.depb-about-photo { flex: 0 0 96px; width: 96px !important; height: 96px !important; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(211, 163, 65, .6); }
@media (max-width: 600px) { .depb-about-photo { flex-basis: 72px; width: 72px !important; height: 72px !important; } }
.depb-about-disclosure { font-size: .88rem; color: #5b6472; border-top: 1px solid rgba(1, 29, 57, .1); padding-top: .75rem; margin-top: 1rem !important; }
.depb-about-person { display: flex; gap: 1.25rem; padding: 1.6rem; border-radius: 14px; background: #f5f7fa; }
.depb-about-person h3 { color: var(--h-navy) !important; margin: 0 0 .15rem; font-size: 1.3rem; }
.depb-about-person p { margin: .35rem 0 0; line-height: 1.65; }
.depb-about-person p:not(.depb-about-role) + p { margin-top: 1.75rem !important; } /* clear gaps between bio paragraphs */
.depb-about-role { color: var(--h-gold-deep); font-weight: 600; margin-top: 0 !important; }
.depb-about-avatar { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--h-navy); color: var(--h-gold); font-weight: 700; font-size: 1.4rem; }
.depb-about-advisors { border: 1px dashed rgba(173, 124, 28, .5); background: #fffdf7; }
.depb-about-advisors a { display: inline-block; margin-top: .8rem; color: var(--h-gold-deep); font-weight: 600; text-decoration: none; }
.depb-about-involve .depb-about-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.depb-about-involve .depb-about-card { transition: transform .15s ease, box-shadow .15s ease; }
.depb-about-cta { padding: clamp(3rem, 7vw, 5rem) 16px; }
.depb-about-why > * { max-width: 860px !important; }
.depb-about-cta .depb-text-link { margin-top: 2rem; }
body:has(.depb-about-hero) .content-area { margin-bottom: 0; }
body:has(.depb-about-hero) .site-main .entry { margin-bottom: 0; }

/* ── Home hero: navy gradient + the sample certificate (no stock photo) ─── */
.depb-home-hero { background: radial-gradient(1000px 480px at 85% -10%, rgba(211, 163, 65, .16), transparent 60%), linear-gradient(160deg, var(--h-navy) 0%, var(--h-navy-2) 75%) !important; }
.depb-home-hero > .kt-row-layout-overlay { display: none !important; }
.depb-home-hero .inner-column-2 > .kt-inside-inner-col { display: flex; align-items: center; justify-content: center; height: 100%; }
.depb-hero-cert { margin: 0; width: 85%; max-width: 476px; }
.depb-hero-cert img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(211, 163, 65, .4); }
@media (max-width: 767px) { .depb-hero-cert { max-width: 357px; margin: 2rem auto 0; } }
