/*
 * Eduma Child – David Brohn — component styles
 *
 * Everything the rebuilt pages need, applied through each element's
 * "Extra class name" (el_class) field. No page carries an inline style.
 *
 * Blocks: sections, type, buttons, cards, credentials, steps, price cards,
 * quotes. Responsive: every multi-column row stacks at 768px.
 */

/* ---------------------------------------------------------------- sections */

.vc_row.db-section {
	position: relative;
	padding: 88px 0;
	background: var(--db-surface);
	color: var(--db-ink);
	font-family: var(--db-font-body);
}

.vc_row.db-section.db-section--compact { padding: 28px 0; }
.vc_row.db-section.db-section--tight { padding: 72px 0; }

.vc_row.db-section--alt {
	background: var(--db-surface-alt);
	border-top: 1px solid var(--db-line);
	border-bottom: 1px solid var(--db-line);
}

.vc_row.db-section--dark {
	background: var(--db-ink);
	color: #ffffff;
}

.vc_row.db-section--dark h1,
.vc_row.db-section--dark h2,
.vc_row.db-section--dark h3 { color: #ffffff; }

.vc_row.db-section--dark p,
.vc_row.db-section--dark li { color: var(--db-on-dark-muted); }

/* graph paper: 1px lines on a 24px grid */
.vc_row.db-section--paper {
	background-color: var(--db-surface-alt);
	background-image:
		linear-gradient(to right, rgba(0, 117, 143, 0.07) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(0, 117, 143, 0.07) 1px, transparent 1px);
	background-size: 24px 24px, 24px 24px;
}

.vc_row.db-section--tint {
	background-color: var(--db-brand-tint);
	background-image:
		linear-gradient(to right, rgba(0, 117, 143, 0.07) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(0, 117, 143, 0.07) 1px, transparent 1px);
	background-size: 24px 24px, 24px 24px;
}

/* inner content wrapper: max width, centred, 24px side padding */
.db-wrap {
	max-width: var(--db-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

.db-section--centred .db-wrap {
	max-width: 820px;
	text-align: center;
}

.vc_row.db-section .wpb_wrapper > :first-child { margin-top: 0; }
.vc_row.db-section .wpb_wrapper > :last-child { margin-bottom: 0; }

/* -------------------------------------------------------------------- type */

.vc_row.db-section h1,
.vc_row.db-section h2 {
	font-family: var(--db-font-head);
	font-weight: 700;
	letter-spacing: -0.01em;
}

.vc_row.db-section h1 {
	font-size: var(--db-fs-1);
	line-height: 1.05;
	margin: 0 0 var(--db-space-5);
}

.vc_row.db-section h2 {
	font-size: var(--db-fs-2);
	line-height: 1.15;
	margin: 0 0 var(--db-space-4);
}

.vc_row.db-section h3 {
	font-family: var(--db-font-head);
	font-size: var(--db-fs-3);
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 var(--db-space-3);
}

.db-eyebrow {
	display: block;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--db-brand-strong);
	margin: 0 0 var(--db-space-3);
}

.db-section--dark .db-eyebrow { color: var(--db-brand); }

.db-lead {
	font-size: 18px;
	line-height: 1.6;
	color: var(--db-ink-soft);
	margin: 0 0 var(--db-space-5);
}

@media (min-width: 768px) {
	.db-lead { font-size: 19px; }
}

.db-section--dark .db-lead { color: var(--db-on-dark-muted); }

.db-small {
	font-size: var(--db-fs-6);
	color: var(--db-ink-muted);
	margin: var(--db-space-4) 0 0;
}

.db-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--db-space-3);
	align-items: center;
	margin: 0 0 var(--db-space-4);
}

/* ----------------------------------------------------------------- buttons */

.vc_btn3.db-btn--cta,
.vc_btn3.db-btn--outline {
	min-height: 44px;
	border-radius: var(--db-radius);
	font-weight: 600;
	font-size: 16px;
	padding: 16px 24px;
	line-height: 1.2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-shadow: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.vc_btn3.db-btn--cta {
	background: var(--db-cta);
	border: 1px solid var(--db-cta);
	color: var(--db-on-cta);
}

.vc_btn3.db-btn--cta:hover,
.vc_btn3.db-btn--cta:focus {
	background: var(--db-cta-hover);
	border-color: var(--db-cta-hover);
	color: var(--db-on-cta);
}

.vc_btn3.db-btn--outline {
	background: #ffffff;
	border: 1px solid var(--db-ink);
	color: var(--db-ink);
}

.vc_btn3.db-btn--outline:hover,
.vc_btn3.db-btn--outline:focus {
	background: var(--db-ink);
	border-color: var(--db-ink);
	color: #ffffff;
}

/* ------------------------------------------------------------------- cards */

.db-card {
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	padding: 28px;
	height: 100%;
}

.db-card--flush { padding: 20px; }

.db-card .db-card__title {
	font-family: var(--db-font-head);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 var(--db-space-3);
}

.db-card p:last-child { margin-bottom: 0; }

.db-card__link {
	display: inline-block;
	margin-top: var(--db-space-4);
	font-weight: 600;
	color: var(--db-brand-strong);
	text-decoration: none;
}

.db-card__link:hover { text-decoration: underline; }

/* the hero figure sits in a white card with a hairline border */
.db-figure {
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	padding: 16px;
}

.db-figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--db-radius);
}

.db-caption {
	font-size: var(--db-fs-6);
	color: var(--db-ink-muted);
	margin: var(--db-space-3) 0 0;
	text-align: center;
}

/* ------------------------------------------------------------- credentials */

.db-credentials .wpb_wrapper { width: 100%; }

/* 4 across on desktop; 2 on tablet and 1 on phone are set in the addendum block
   at the end of this file. minmax(0,1fr) keeps long credential titles from
   widening a track. */
.db-credentials {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--db-space-5);
}

.db-credential {
	border-left: 2px solid var(--db-brand);
	padding-left: var(--db-space-4);
}

.db-credential__title {
	display: block;
	font-family: var(--db-font-head);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
	color: #ffffff;
	margin: 0 0 6px;
}

.db-credential__sub {
	display: block;
	font-size: 14px;
	line-height: 1.45;
	color: var(--db-on-dark-muted);
}

/* ------------------------------------------------------------------- steps */

.db-step {
	position: relative;
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	padding: 24px 24px 24px 80px;
	height: 100%;
}

.db-step__num {
	position: absolute;
	left: 24px;
	top: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--db-ink);
	color: #ffffff;
	font-family: var(--db-font-head);
	font-size: 20px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.db-step h3 { margin: 0 0 var(--db-space-2); }

.db-step p {
	margin: 0;
	font-size: var(--db-fs-5);
	color: var(--db-ink-soft);
}

/* -------------------------------------------------------------- price cards */

.db-price {
	font-family: var(--db-font-head);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--db-ink);
	margin: 0 0 var(--db-space-3);
}

.db-price-note {
	font-size: var(--db-fs-6);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--db-brand-strong);
	margin: 0 0 var(--db-space-2);
}

.db-price-card--featured {
	border: 3px solid var(--db-brand);
	padding: calc(28px - 2px);
}

/* ------------------------------------------------------------------ quotes */

.db-quote {
	border-left: 3px solid var(--db-brand);
	padding-left: var(--db-space-5);
}

.db-quote__text {
	font-family: var(--db-font-head);
	font-size: 20px;
	line-height: 1.5;
	color: var(--db-ink);
	margin: 0 0 var(--db-space-3);
}

.db-quote__name {
	font-weight: 600;
	font-size: var(--db-fs-5);
	color: var(--db-ink);
	margin: 0;
}

.db-quote__role {
	font-size: 14px;
	color: var(--db-ink-muted);
	margin: 2px 0 0;
}

/* ------------------------------------------------------- course/testimonial */

.db-courses .course-item,
.db-courses .course {
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	overflow: hidden;
	height: 100%;
}

.db-quotes .thim-testimonial-slider .item {
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	padding: 28px;
}

.db-quotes .thim-testimonial-slider .content,
.db-quotes .thim-testimonial-slider p {
	font-family: var(--db-font-head);
	font-size: 20px;
	line-height: 1.5;
	color: var(--db-ink);
}

.db-quotes .thim-testimonial-slider .title,
.db-quotes .thim-testimonial-slider .regency {
	font-family: var(--db-font-body);
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 991px) {
	.vc_row.db-section { padding: 64px 0; }
	.db-credentials .vc_col-sm-3 { width: 50%; }
}

@media (max-width: 767px) {
	.vc_row.db-section { padding: 48px 0; }
	.vc_row.db-section.db-section--compact { padding: 24px 0; }
	.db-wrap { padding-left: 20px; padding-right: 20px; }

	/* every multi-column row stacks */
	.vc_row.db-section .vc_column_container,
	.db-credentials .vc_col-sm-3,
	.db-credentials .vc_col-sm-6 {
		width: 100% !important;
		float: none !important;
	}

	.db-card,
	.db-step { margin-bottom: var(--db-space-4); }

	.db-step { padding: 20px 20px 20px 72px; }
	.db-step__num { left: 20px; top: 20px; width: 40px; height: 40px; font-size: 18px; }

	.db-actions .vc_btn3 { width: 100%; }
}

/* never scroll sideways */
.vc_row.db-section,
.vc_row.db-section .wpb_wrapper,
.db-wrap,
.db-card,
.db-step,
.db-quote { max-width: 100%; box-sizing: border-box; }

.db-courses img,
.db-quotes img,
.db-figure img { max-width: 100%; height: auto; }

/* ------------------------------------------------- hero split + button flow */

@media (min-width: 768px) {
	/* hero is text 55% / image 45% */
	.db-col-text--hero { width: 55% !important; }
	.db-col-hero { width: 45% !important; }
}

/* WPBakery wraps each button; keep them on one line with breathing room */
.vc_btn3-container {
	display: inline-block;
	margin: 0 12px 12px 0;
	vertical-align: middle;
}

.db-col-cta .vc_btn3-container { margin: 0; }

.db-section--centred .vc_btn3-container {
	display: block;
	margin: 8px 0 0;
}

/* stacked cards in a column need spacing between them */
.db-col-steps .db-step + .db-step { margin-top: var(--db-space-4); }

/* ============================================================================
   T4.1 ADDENDUM — responsive contract
   Desktop >= 1024 · Tablet 768–1023 · Phone < 768
   These rules come last so they win over the first-pass breakpoints above.
   ========================================================================== */

/* base: type floor, wrapping, touch targets ------------------------------- */

.vc_row.db-section {
	font-size: 16px;              /* body text never below 16px */
	overflow-wrap: anywhere;      /* long words break rather than widen the page */
	word-break: break-word;
}

.vc_row.db-section h1,
.vc_row.db-section h2,
.vc_row.db-section h3,
.vc_row.db-section p,
.vc_row.db-section li,
.vc_row.db-section a { overflow-wrap: anywhere; }

/* every button is a 44px target */
.vc_btn3.db-btn--cta,
.vc_btn3.db-btn--outline { min-height: 44px !important; }

/* standalone links (card CTAs, review link, about links) are 44px tall too */
.db-card__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 0;
}

/* hero image: WebP with PNG fallback, never overflow */
.db-figure picture { display: block; width: 100%; }
.db-figure img,
.db-figure picture img {
	display: block;
	width: 100% !important;   /* WPBakery sets width:auto on .vc_single_image-img */
	height: auto !important;
	max-width: 100%;
}

/* tablet: 768–1023 ---------------------------------------------------------- */

@media (max-width: 1023px) {
	.vc_row.db-section { padding: 64px 0; }
	.vc_row.db-section.db-section--compact { padding: 28px 0; }
	.vc_row.db-section.db-section--tight { padding: 56px 0; }

	/* credentials: 2 columns */
	.db-credentials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.db-credentials .vc_col-sm-3 { width: 50% !important; }

	/* card rows: 3- and 4-up become 2-up */
	.db-col-card { width: 50% !important; }
}

/* phone: below 768 --------------------------------------------------------- */

@media (max-width: 767px) {
	.vc_row.db-section { padding: 48px 0; }
	.vc_row.db-section.db-section--compact { padding: 24px 0; }
	.vc_row.db-section.db-section--tight { padding: 48px 0; }

	/* 16px side padding */
	.db-wrap { padding-left: 16px !important; padding-right: 16px !important; }

	/* every multi-column row is one column */
	.vc_row.db-section .vc_column_container,
	.db-credentials .vc_col-sm-3,
	.db-col-card,
	.db-col-text,
	.db-col-hero,
	.db-col-image,
	.db-col-cta {
		width: 100% !important;
		float: none !important;
	}

	/* hero: text first, image below, image full width */
	.db-col-text--hero { order: 1; }
	.db-col-hero { order: 2; }
	.db-col-hero .db-figure { width: 100%; }

	/* credentials: 1 column */
	.db-credentials { grid-template-columns: 1fr; }
	.db-credentials .vc_col-sm-3 { width: 100% !important; }

	/* small/muted never below 14px on phone */
	.db-eyebrow,
	.db-price-note { font-size: 14px; }
	.db-caption,
	.db-small,
	.db-quote__role,
	.db-credential__sub { font-size: 14px; }

	/* hero + package buttons: full width, stacked, 12px apart.
	   Scoped to the section, not to a column: WPBakery puts the hero buttons in
	   their own nested row, so a column-scoped selector never reaches them. */
	.vc_row.db-section .vc_btn3-container {
		display: block;
		width: 100%;
		margin: 0 0 12px 0;
	}

	.vc_row.db-section .vc_btn3 {
		display: flex;
		width: 100%;
		justify-content: center;
	}

	/* Phone type: 40px H1 / 32px H2.
	   The clamp tokens resolve against Eduma's html{font-size:15px}, so 2.5rem is
	   37.5px, not 40. These are the addendum's target sizes at this width. */
	.vc_row.db-section h1 { font-size: 40px; line-height: 1.05; }
	.vc_row.db-section h2 { font-size: 32px; }

	/* teams band: text and button stack, button full width */
	.db-col-cta { margin-top: var(--db-space-4); }

	.db-card,
	.db-step { height: auto; }
}

/* ============================================================================
   T4.1c — bring /home-new/ fully on brand
   Buttons · packages · reviews · course cards · header
   The class lives on the vc_btn3 CONTAINER, not on the anchor, so every button
   rule is written as .vc_btn3-container.db-btn--x .vc_btn3 — that is what beats
   WPBakery's .vc_general.vc_btn3 without needing !important.
   ========================================================================== */

/* 1) buttons ---------------------------------------------------------------- */

.vc_btn3-container.db-btn--cta .vc_btn3,
.vc_btn3-container.db-btn--cta .vc_btn3:visited {
	background-color: var(--db-cta) !important;   /* plugin writes style="" on the anchor */
	background-image: none !important;
	border: 0 !important;
	color: var(--db-on-cta) !important;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	padding: 16px 24px;
	border-radius: var(--db-radius);
	min-height: 44px;
	box-shadow: none;
	text-shadow: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color .15s ease, color .15s ease;
}

.vc_btn3-container.db-btn--cta .vc_btn3:hover,
.vc_btn3-container.db-btn--cta .vc_btn3:focus {
	background-color: var(--db-cta-hover) !important;
	color: var(--db-on-cta) !important;
}

.vc_btn3-container.db-btn--outline .vc_btn3,
.vc_btn3-container.db-btn--outline .vc_btn3:visited {
	background-color: #ffffff !important;
	background-image: none !important;
	border: 1px solid var(--db-ink) !important;
	color: var(--db-ink) !important;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	padding: 16px 24px;
	border-radius: var(--db-radius);
	min-height: 44px;
	box-shadow: none;
	text-shadow: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color .15s ease, color .15s ease;
}

.vc_btn3-container.db-btn--outline .vc_btn3:hover,
.vc_btn3-container.db-btn--outline .vc_btn3:focus {
	background-color: var(--db-ink) !important;
	border-color: var(--db-ink) !important;
	color: #ffffff !important;
}

.vc_btn3-container.db-btn--cta .vc_btn3:focus-visible,
.vc_btn3-container.db-btn--outline .vc_btn3:focus-visible,
.vc_btn3-container.db-btn--cta .vc_btn3:focus,
.vc_btn3-container.db-btn--outline .vc_btn3:focus {
	outline: 2px solid var(--db-brand-strong);
	outline-offset: 2px;
	box-shadow: none;
}

/* 2) packages: white cards inside the dark section -------------------------- */

.vc_row.db-section--dark .db-card {
	color: var(--db-ink);
	background: #ffffff;
}

.vc_row.db-section--dark .db-card .db-eyebrow {
	color: var(--db-brand-strong);
}

.vc_row.db-section--dark .db-card .db-price {
	color: var(--db-ink);
	font-family: var(--db-font-head);
	font-size: 36px;
	font-weight: 600;
	line-height: 1.1;
}

.vc_row.db-section--dark .db-card p,
.vc_row.db-section--dark .db-card .db-price-note {
	color: var(--db-ink-soft);
}

/* 3) reviews: static grid from [db_testimonials] --------------------------- */

.db-testimonials {
	display: grid;
	gap: var(--db-space-5);
	align-items: stretch;
}

.db-testimonials--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.db-testimonials--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.db-testimonials--cols-1 { grid-template-columns: 1fr; }

.db-testimonials .db-card {
	display: flex;
	flex-direction: column;
	gap: var(--db-space-4);
	height: 100%;
	margin: 0;
}

.db-quote__text {
	margin: 0;
	font-family: var(--db-font-head);
	font-size: 20px;
	line-height: 1.45;
	font-weight: 400;
	color: var(--db-ink);
	flex: 1 1 auto;
}

.db-quote__text::before { content: "\201C"; }
.db-quote__text::after  { content: "\201D"; }

.db-quote__person {
	display: flex;
	align-items: center;
	gap: var(--db-space-3);
	margin-top: auto;
}

.db-quote__initial,
.db-quote__avatar {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--db-brand-tint);
	color: var(--db-brand-strong);
	font-weight: 600;
	font-size: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	object-fit: cover;
}

.db-quote__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.db-quote__name {
	font-weight: 600;
	color: var(--db-ink);
}

.db-quote__role {
	font-size: 14px;
	color: var(--db-ink-muted);
}

/* 4) course cards — scoped to this page's section only --------------------- */

.db-courses .thim-course-grid { margin: 0; }

.db-courses .course-item {
	background: #ffffff;
	border: 1px solid var(--db-line) !important;   /* Eduma sets border:none !important */
	border-radius: var(--db-radius-lg);
	box-shadow: none;
	overflow: hidden;
	text-align: left;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.db-courses .course-thumbnail {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	height: auto;
	display: grid;
	grid-template-columns: 1fr;
}

/* the thumbnail carries its own 4:3 <img>; make the 16:9 box a grid cell and
   stretch the image into it, cropping with object-fit. (An absolutely positioned
   img resolved height:100% against the aspect-ratio box as 0px.) */
.db-courses .course-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;   /* the box that crops, not the container: reliable at any width */
	object-fit: cover;
}

.db-courses .course-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* no overlays on the image */
.db-courses .course-readmore { display: none; }

.db-courses .thim-course-content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: var(--db-space-3);
	flex: 1 1 auto;
	text-align: left;
}

/* hide the avatar circles and the lesson/student icons, keep the numbers */
.db-courses .course-author img.avatar { display: none; }
.db-courses .course-lesson i,
.db-courses .course-students i { display: none; }

.db-courses .course-item .thim-course-content .course-author .value,
.db-courses .course-item .thim-course-content .course-author .value a {
	font-size: 14px;
	line-height: 1.4;
	color: var(--db-ink-muted);
	font-weight: 400;
}

.db-courses .course-item .thim-course-content h2.course-title {
	margin: 0;
	font-family: var(--db-font-head);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
}

.db-courses .course-item .thim-course-content h2.course-title a { color: var(--db-ink); }

.db-courses .course-item .thim-course-content .course-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--db-space-3);
	margin-top: auto;
}

.db-courses .course-item .thim-course-content .course-price {
	margin-left: auto;
	color: var(--db-ink);
	font-size: 22px;
	font-weight: 600;
}

.db-courses .course-item .thim-course-content .course-price .course-item-price { color: inherit; }

.db-courses .course-item .thim-course-content .course-price del,
.db-courses .course-item .thim-course-content .course-price .origin-price {
	color: var(--db-ink-muted);
	font-size: 14px;
	font-weight: 400;
	margin-right: 6px;
}

/* 5) header and menu CTA --------------------------------------------------- */

#masthead.site-header {
	background: #ffffff;
	border-bottom: 1px solid var(--db-line);
	box-shadow: none;
}

#masthead .width-navigation .menu-main-menu > li > a.tc-menu-inner {
	font-size: 15px;
	font-weight: 500;
	color: var(--db-ink);
}

#masthead .width-navigation .menu-main-menu > li > a.tc-menu-inner:hover,
#masthead .width-navigation .menu-main-menu > li.current-menu-item > a.tc-menu-inner {
	color: var(--db-brand-strong);
}

/* the log-in button and the test CTA were sitting 4px apart and read as one control */
#masthead .width-navigation .menu-main-menu > li.db-menu-cta {
	margin-left: 12px;
}

#masthead .width-navigation .menu-main-menu > li.db-menu-cta > a.tc-menu-inner {
	background: var(--db-cta);
	color: var(--db-on-cta);
	font-weight: 600;
	padding: 12px 18px;
	border-radius: var(--db-radius);
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

#masthead .width-navigation .menu-main-menu > li.db-menu-cta > a.tc-menu-inner:hover {
	background: var(--db-cta-hover);
	color: var(--db-on-cta);
}

/* On the page the CTA points at, WordPress marks the item current-menu-item and the
   "current" colour rule repainted the label teal on a teal button — invisible text. */
#masthead .width-navigation .menu-main-menu > li.db-menu-cta.current-menu-item > a.tc-menu-inner,
#masthead .width-navigation .menu-main-menu > li.db-menu-cta.current-menu-ancestor > a.tc-menu-inner,
#masthead .width-navigation .menu-main-menu > li.db-menu-login.current-menu-item > a.tc-menu-inner {
	color: var(--db-on-cta) !important;
}

#masthead .width-navigation .menu-main-menu > li.db-menu-login.current-menu-item > a.tc-menu-inner {
	color: #ffffff !important;
}

/* Mobile menu: the links were #5A6E7F on the navy panel — about 2.3:1, so the menu
   looked empty. White, with the CTA left alone because it carries its own colours. */
.mobile-menu-wrapper li:not(.db-menu-cta) > a,
.mobile-menu-container li:not(.db-menu-cta) > a {
	color: #ffffff !important;
}

.mobile-menu-wrapper li:not(.db-menu-cta) > a:hover,
.mobile-menu-container li:not(.db-menu-cta) > a:hover {
	color: var(--db-cta) !important;
}

.mobile-menu-wrapper li.db-menu-cta > a,
.mobile-menu-container li.db-menu-cta > a {
	color: var(--db-on-cta) !important;
}

/* the hamburger and the drawer's close X were #666 and #5A6E7F on a navy bar */
#masthead .menu-mobile-effect.navbar-toggle {
	color: #ffffff;
}

#masthead .menu-mobile-effect.navbar-toggle:hover {
	color: var(--db-cta);
}

#masthead .menu-mobile-effect.navbar-toggle .icon-bar,
#masthead .menu-mobile-effect.navbar-toggle span {
	background-color: #ffffff;
}

.mobile-menu-wrapper .icon-menu-back {
	color: #ffffff;
}

.mobile-menu-wrapper .icon-menu-back:hover {
	color: var(--db-cta);
}

/* mobile menu: the CTA is a full-width orange button */
.mobile-menu-wrapper li.db-menu-cta > a.tc-menu-inner,
.mobile-menu-container li.db-menu-cta > a.tc-menu-inner {
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: center;
	min-height: 44px;
	background: var(--db-cta);
	color: var(--db-on-cta);
	font-weight: 600;
	border-radius: var(--db-radius);
	margin-top: var(--db-space-3);
}

/* responsive: reviews and course cards ------------------------------------ */

@media (max-width: 1023px) {
	.db-testimonials--cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.db-testimonials--cols-3,
	.db-testimonials--cols-2 { grid-template-columns: 1fr; }
}

/* ============================================================================
   T4.2 — white header, cyan CTA, teal hero, dark sketch
   Colour contract (addendum overrides T4.2): CTA is cyan #00B4DB with NAVY text
   (--db-on-cta). White text on the CTA is never used. Header stays white.
   ========================================================================== */

/* buttons on the teal hero -------------------------------------------------- */

.vc_btn3-container.db-btn--outline-light .vc_btn3,
.vc_btn3-container.db-btn--outline-light .vc_btn3:visited {
	background-color: transparent !important;
	background-image: none !important;
	border: 1px solid var(--db-brand-tint) !important;
	color: var(--db-brand-tint) !important;
	font-weight: 600;
	font-size: 16px;
	padding: 16px 24px;
	border-radius: var(--db-radius);
	min-height: 44px;
	box-shadow: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color .15s ease, color .15s ease;
}

.vc_btn3-container.db-btn--outline-light .vc_btn3:hover,
.vc_btn3-container.db-btn--outline-light .vc_btn3:focus {
	background-color: var(--db-surface) !important;
	border-color: var(--db-surface) !important;
	color: var(--db-ink) !important;
}

.vc_btn3-container.db-btn--outline-light .vc_btn3:focus-visible,
.vc_btn3-container.db-btn--outline-light .vc_btn3:focus {
	outline: 2px solid var(--db-brand-tint);
	outline-offset: 2px;
}

/* "Log in" in the main menu: navy 1px outline button ------------------------ */

#masthead .width-navigation .menu-main-menu > li.db-menu-login > a.tc-menu-inner {
	background: transparent;
	border: 1px solid var(--db-ink);
	color: var(--db-ink);
	font-weight: 600;
	padding: 10px 16px;
	border-radius: var(--db-radius);
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

#masthead .width-navigation .menu-main-menu > li.db-menu-login > a.tc-menu-inner:hover {
	background: var(--db-ink);
	border-color: var(--db-ink);
	color: var(--db-surface);
}

.mobile-menu-wrapper li.db-menu-login > a.tc-menu-inner,
.mobile-menu-container li.db-menu-login > a.tc-menu-inner {
	border: 1px solid var(--db-ink);
	border-radius: var(--db-radius);
	color: var(--db-ink);
	min-height: 44px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: var(--db-space-2);
}

/* hero S1 on brand teal ----------------------------------------------------- */

.vc_row.db-section--hero {
	background-color: var(--db-brand-strong);
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
	background-size: 32px 32px;
	color: var(--db-brand-tint);
}

.vc_row.db-section--hero h1,
.vc_row.db-section--hero h2,
.vc_row.db-section--hero h3 {
	color: var(--db-surface);
}

.vc_row.db-section--hero .db-eyebrow {
	color: var(--db-brand-tint);
}

.vc_row.db-section--hero .db-lead,
.vc_row.db-section--hero p,
.vc_row.db-section--hero .db-hero__meta,
.vc_row.db-section--hero .db-price-line,
.vc_row.db-section--hero figcaption {
	color: var(--db-brand-tint);
}

.vc_row.db-section--hero .db-card {
	background: var(--db-surface);
	color: var(--db-ink);
}

.vc_row.db-section--hero .db-card p,
.vc_row.db-section--hero .db-card .db-lead { color: var(--db-ink-soft); }

/* the signup card in the hero: white, cyan CTA with navy text --------------- */

.db-card--signup {
	display: flex;
	flex-direction: column;
	gap: var(--db-space-3);
	max-width: 420px;
}

.db-card--signup .db-card__title {
	font-family: var(--db-font-head);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--db-ink);
	margin: 0;
}

/* footer (builder rows, navy) ---------------------------------------------- */

.vc_row.db-footer {
	padding-top: 56px;
	padding-bottom: 32px;
}

.db-footer__brand {
	font-family: var(--db-font-head);
	font-size: 22px;
	font-weight: 700;
	color: var(--db-surface);
	margin-bottom: 8px;
}

.db-footer__head {
	color: var(--db-surface);
	font-weight: 600;
	margin-bottom: 8px;
}

.vc_row.db-footer p {
	color: var(--db-on-dark-muted);
	line-height: 1.9;
	margin: 0;
}

.vc_row.db-footer a,
.vc_row.db-footer a:visited {
	color: var(--db-on-dark-muted);
	text-decoration: none;
}

.vc_row.db-footer a:hover,
.vc_row.db-footer a:focus {
	color: var(--db-surface);
	text-decoration: underline;
}

.vc_row.db-footer .db-footer__legal-row {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	margin-top: 16px;
	padding-top: 20px;
}

.db-footer__legal { font-size: 14px; }

.db-footer__legal--links a { margin-right: 20px; }

/* hero figure sits straight on the teal: no plate, the grid shows through --- */

.vc_row.db-section--hero .db-figure {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

/* signup card: the class lands on the column, so pad the inner wrapper ----- */

.db-card--signup {
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	padding: 0 !important;
	box-shadow: none;
}

.db-card--signup > .vc_column-inner { padding: 24px; }

.db-card--signup .vc_btn3-container { margin-bottom: 0; }

/* footer headings must beat the generic .vc_row.db-footer p colour rule ------ */

.vc_row.db-footer p.db-footer__brand,
.vc_row.db-footer p.db-footer__head {
	color: var(--db-surface);
}

.vc_row.db-footer p.db-footer__brand { font-weight: 700; }
.vc_row.db-footer p.db-footer__head { font-weight: 600; }

/* full-bleed section backgrounds ------------------------------------------
   Eduma wraps page content in a 1110px container, so a section background
   stopped short of the viewport edge (invisible on white, obvious on teal).
   Pull each .db-section out to the viewport edges; .db-wrap keeps the inner
   content at its max width and centred. Backgrounds only — no content moves. */

.vc_row.db-section {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.vc_row.db-section > .wpb_column,
.vc_row.db-section > .vc_column_container {
	width: 100%;
}

.vc_row.db-section .db-wrap {
	width: 100%;
	max-width: var(--db-max);
	margin-left: auto;
	margin-right: auto;
}

/* ==========================================================================
   T4.3 — the Brohn Test page (/test-your-self/)

   Page-specific blocks for the rebuilt test page: compact hero, step cards,
   two offer cards, the FAQ accordion, and the plugin's own .bt-* output
   restyled through tokens. Nothing here targets a plugin file; every rule is
   scoped under .db-test, .db-hero--compact or .db-faq.
   ========================================================================== */

/* compact hero: 64px top and bottom, 820px measure ------------------------- */

.vc_row.db-section.db-hero--compact { padding: 64px 0; }
.vc_row.db-hero--compact .db-wrap { max-width: 820px; }

/* steps: equal-height cards, number circle from components ------------------ */

.db-step .wpb_wrapper { height: 100%; }

/* offer cards: price and button pinned to the bottom ------------------------ */

.db-card.db-offer .wpb_wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.db-offer__price {
	display: block;
	font-family: var(--db-font-head);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--db-ink);
	margin: var(--db-space-3) 0 var(--db-space-4);
}

.db-card.db-offer .vc_btn3-container { margin-top: auto; }

/* FAQ accordion ------------------------------------------------------------ */

.db-faq { border-top: 1px solid var(--db-line); margin-top: var(--db-space-5); }

.db-faq .vc_accordion_tab,
.db-faq .wpb_accordion_section { border-bottom: 1px solid var(--db-line); }

.db-faq .vc_accordion_header,
.db-faq .wpb_accordion_header { margin: 0; padding: 0; background: none; border: 0; }

.db-faq .vc_accordion_header > a,
.db-faq .wpb_accordion_header > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--db-space-4);
	min-height: 44px;
	padding: 20px 0;
	font-family: var(--db-font-head);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--db-ink);
	text-decoration: none;
}

.db-faq .vc_accordion_header > a:hover,
.db-faq .wpb_accordion_header > a:hover { color: var(--db-brand-strong); }

.db-faq .vc_accordion_header > a:focus-visible,
.db-faq .wpb_accordion_header > a:focus-visible,
.db-faq .vc_accordion_header > a:focus,
.db-faq .wpb_accordion_header > a:focus {
	outline: 2px solid var(--db-brand-strong);
	outline-offset: 2px;
}

/* + / − indicator */
.db-faq .vc_accordion_header > a::after,
.db-faq .wpb_accordion_header > a::after {
	content: "+";
	flex: 0 0 auto;
	font-family: var(--db-font-body);
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
	color: var(--db-brand-strong);
}

.db-faq .ui-accordion-header-active > a::after,
.db-faq .vc_accordion_tab.ui-state-active > .vc_accordion_header > a::after,
.db-faq .wpb_accordion_section.ui-state-active > .wpb_accordion_header > a::after {
	content: "\2212";
}

.db-faq .vc_accordion_content,
.db-faq .wpb_accordion_content {
	padding: 0 0 var(--db-space-5);
	color: var(--db-ink-soft);
	font-size: var(--db-fs-5);
}

.db-faq .vc_accordion_content p:last-child,
.db-faq .wpb_accordion_content p:last-child { margin-bottom: 0; }

/* the plugin's own output, restyled through tokens -------------------------- */

.db-test .bt-root {
	--ink: var(--db-ink);
	--muted: var(--db-ink-muted);
	--rule: var(--db-line);
	--paper: var(--db-surface);
	--sheet: var(--db-surface);
	--tint: var(--db-surface-alt);
	--accent: var(--db-brand-strong);
	--accent-soft: var(--db-brand-tint);
	--on-accent: var(--db-surface);
	--good: #1d7a46;
	--bad: #b3361d;
	max-width: 100%;
	font-family: var(--db-font-body);
	font-size: var(--db-fs-4);
	color: var(--db-ink);
}

.db-test .bt-root h1,
.db-test .bt-root h2,
.db-test .bt-root h3,
.db-test .bt-root h4 {
	font-family: var(--db-font-head);
	color: var(--db-ink);
}

.db-test .bt-root .bt-eyebrow { color: var(--db-brand-strong); }

/* buttons: the site CTA, never the plugin's blue */
.db-test .bt-root .bt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 24px;
	background-color: var(--db-cta);
	border: 1px solid var(--db-cta);
	border-radius: var(--db-radius);
	color: var(--db-on-cta);
	font-family: var(--db-font-body);
	font-size: var(--db-fs-4);
	font-weight: 600;
	line-height: 1.2;
}

.db-test .bt-root .bt-btn:hover,
.db-test .bt-root .bt-btn:focus {
	background-color: var(--db-cta-hover);
	border-color: var(--db-cta-hover);
	color: var(--db-on-cta);
	filter: none;
}

.db-test .bt-root .bt-btn:focus-visible {
	outline: 2px solid var(--db-brand-strong);
	outline-offset: 2px;
}

/* inputs: the DB Signup treatment */
.db-test .bt-root .bt-form input[type="email"],
.db-test .bt-root .bt-form input[type="text"] {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	font-family: var(--db-font-body);
	font-size: 16px;
	line-height: 46px;
	color: var(--db-ink);
	background: var(--db-surface);
	border: 1px solid #6B7F91;
	border-radius: var(--db-radius);
	box-shadow: none;
}

.db-test .bt-root .bt-form input[type="email"]:focus,
.db-test .bt-root .bt-form input[type="text"]:focus {
	border-color: var(--db-brand-strong);
	box-shadow: 0 0 0 3px rgba(0, 180, 219, 0.35);
	outline: none;
}

/* cards: white, hairline, large radius */
.db-test .bt-root .bt-question,
.db-test .bt-root .bt-capture,
.db-test .bt-root .bt-cta,
.db-test .bt-root .bt-summary {
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	padding: var(--db-space-5);
}

.db-test .bt-root .bt-capture { background: var(--db-surface); }

.db-test .bt-root .bt-option {
	background: var(--db-surface);
	border-color: var(--db-line);
	border-radius: var(--db-radius-lg);
}

.db-test .bt-root .bt-option:hover:not(:disabled) {
	border-color: var(--db-brand-strong);
	box-shadow: 0 0 0 3px var(--db-brand-tint);
}

.db-test .bt-root .bt-tabs { border-bottom: 1px solid var(--db-line); }

.db-test .bt-root .bt-tab {
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius) var(--db-radius) 0 0;
	background: var(--db-surface-alt);
}

.db-test .bt-root .bt-tab.is-active {
	background: var(--db-surface);
	border-bottom-color: var(--db-surface);
	color: var(--db-ink);
}

/* phone: nothing may push the page sideways */
@media (max-width: 767px) {
	.db-test .bt-root .bt-capture,
	.db-test .bt-root .bt-cta {
		grid-template-columns: minmax(0, 1fr);
	}

	.db-test .bt-root .bt-root,
	.db-test .bt-root { padding-left: 0; padding-right: 0; }
}

/* T4.3 follow-ups ---------------------------------------------------------- */

/* centred sections: the CTA sits under the text, not flush left */
.vc_row.db-section--centred .vc_btn3-container { text-align: center; }
.vc_row.db-section--centred .vc_btn3 { margin-left: auto; margin-right: auto; }

/* the plugin prints its own eyebrow and title above the frames; the page's own
   H2 and the hero already say it, so the duplicates are hidden and the quote
   and lede are kept. */
.db-test .bt-root .bt-head > .bt-eyebrow,
.db-test .bt-root .bt-head > .bt-title { display: none; }

/* active frame tab: clearly the current one -------------------------------- */

.db-test .bt-root .bt-tabs .bt-tab {
	background: var(--db-surface);
	border: 1px solid var(--db-line);
}

.db-test .bt-root .bt-tabs .bt-tab.is-active {
	background: var(--db-brand-tint);
	border-color: var(--db-brand-strong);
	box-shadow: inset 0 3px 0 var(--db-brand-strong);
}

/* ==========================================================================
   Hero alignment — the sketch and the signup card share one right-hand
   column, so their left and right edges match; the copy sits opposite and is
   vertically centred against the pair.

   Before: three 1/2 columns in one float row. Text 634px, sketch 518px, card
   420px — the card wrapped under the sketch but 98px narrower and 98px short
   of the right edge, and the copy's tail ran past the card's top.
   ========================================================================== */

@media (min-width: 992px) {
	.vc_row.db-section--hero.db-hero--split .db-wrap {
		display: grid;
		grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
		column-gap: var(--db-space-7);
		row-gap: var(--db-space-6);
		align-items: start;
	}

	.vc_row.db-section--hero.db-hero--split .db-wrap > .wpb_column {
		width: 100% !important;
		float: none;
		margin-bottom: 0 !important;
	}

	.vc_row.db-section--hero.db-hero--split .db-col-text--hero {
		grid-column: 1;
		grid-row: 1 / span 2;
		align-self: center;
	}

	.vc_row.db-section--hero.db-hero--split .db-col-hero {
		grid-column: 2;
		grid-row: 1;
	}

	.vc_row.db-section--hero.db-hero--split .db-card--signup {
		grid-column: 2;
		grid-row: 2;
		width: 100%;
		max-width: none;
	}
}

/* tablet portrait (Eduma keeps its columns side by side to 767px, which left the
   card stranded under the copy while the sketch sat opposite) — stack the three
   blocks in one column so every edge lines up. */
@media (min-width: 768px) and (max-width: 991px) {
	.vc_row.db-section--hero.db-hero--split .db-wrap {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--db-space-5);
	}

	.vc_row.db-section--hero.db-hero--split .db-wrap > .wpb_column {
		width: 100% !important;
		float: none;
		margin-bottom: 0 !important;
	}

	.vc_row.db-section--hero.db-hero--split .db-col-text--hero,
	.vc_row.db-section--hero .db-col-hero,
	.vc_row.db-section--hero.db-hero--split .db-card--signup {
		grid-column: 1;
		grid-row: auto;
		max-width: none;
	}

	.vc_row.db-section--hero.db-hero--split .db-col-hero { max-width: 520px; }
}

/* the sketch must share the card's edges: the column's 15px inner padding and
   the figure's old white-plate padding both inset it */
@media (min-width: 992px) {
	.vc_row.db-section--hero.db-hero--split .db-col-hero > .vc_column-inner {
		padding-left: 0;
		padding-right: 0;
	}

	.vc_row.db-section--hero.db-hero--split .db-col-hero .db-figure {
		padding: 0;
		margin: 0;
		width: 100%;
	}

	.vc_row.db-section--hero.db-hero--split .db-col-hero .db-figure img {
		width: 100%;
		height: auto;
		display: block;
	}
}

/* ==========================================================================
   Test page — design pass (hero depth, preview strip, section rhythm)
   ========================================================================== */

/* the compact hero gets a wider measure and a little depth ------------------ */

.vc_row.db-section.db-hero--compact {
	padding: 84px 0 64px;
}

.vc_row.db-hero--compact .db-wrap {
	max-width: 920px;
}

.vc_row.db-hero--compact h1 {
	font-size: clamp(38px, 4.2vw, 60px);
	line-height: 1.06;
	letter-spacing: -0.012em;
	margin: 0 0 var(--db-space-4);
	text-wrap: balance;
}

.vc_row.db-hero--compact .db-eyebrow {
	letter-spacing: 0.16em;
	font-size: 13px;
}

.vc_row.db-hero--compact .db-lead {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
	font-size: clamp(17px, 1.35vw, 20px);
	line-height: 1.6;
}

.vc_row.db-hero--compact .vc_btn3-container {
	margin-top: var(--db-space-5);
}

/* soft light from the top and a slight foot, over the grid */
.vc_row.db-section--hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(120% 80% at 50% -10%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 58%),
		linear-gradient(to bottom, rgba(3, 10, 15, 0), rgba(3, 10, 15, 0.18));
}

.vc_row.db-section--hero > .wpb_column,
.vc_row.db-section--hero .db-wrap {
	position: relative;
	z-index: 1;
}

/* the three frames as a preview strip ------------------------------------- */

.db-hero__frames {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--db-space-4);
	margin-top: var(--db-space-7);
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

.db-hero__frames > .wpb_column {
	width: 100% !important;
	float: none;
	margin-bottom: 0 !important;
}

.db-frame-card .wpb_wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 10px 10px 2px;
	background: var(--db-surface);
	border-radius: var(--db-radius-lg);
	box-shadow: 0 10px 28px rgba(3, 10, 15, 0.18);
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.db-frame-card a {
	display: block;
}

.db-frame-card:hover .wpb_wrapper {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(3, 10, 15, 0.24);
}

.db-frame-card__img,
.db-frame-card__img .vc_single_image-wrapper,
.db-frame-card__img img {
	display: block;
	width: 100%;
}

.db-frame-card__img img {
	height: auto;
	border-radius: var(--db-radius);
}

.db-frame-card__label {
	margin: 10px 0;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--db-ink-muted);
}

/* steps get a touch of lift on hover -------------------------------------- */

.db-step {
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.db-step:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(3, 10, 15, 0.07);
}

@media (max-width: 767px) {
	.vc_row.db-section.db-hero--compact {
		padding: 56px 0 44px;
	}

	.db-hero__frames {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--db-space-3);
		margin-top: var(--db-space-5);
	}

	.db-frame-card:nth-child(n + 2) {
		display: none;
	}

	.db-hero__frames {
		grid-template-columns: minmax(0, 1fr);
		max-width: 260px;
	}
}

/* the strip is placed explicitly: auto-placement was putting the cards in
   columns 2, 3 and then a second row (WPBakery's own column rules interfere) */
.db-hero__frames {
	grid-auto-flow: row;
}

.db-hero__frames > .wpb_column:nth-child(1) {
	grid-column: 1 / 2;
	grid-row: 1 / 2;
}

.db-hero__frames > .wpb_column:nth-child(2) {
	grid-column: 2 / 3;
	grid-row: 1 / 2;
}

.db-hero__frames > .wpb_column:nth-child(3) {
	grid-column: 3 / 4;
	grid-row: 1 / 2;
}

/* labels sit on white cards, so the hero's pale paragraph colour must not win */
.vc_row.db-section--hero p.db-frame-card__label {
	color: var(--db-ink-muted);
	font-size: 12.5px;
}

/* T4.3d refinements: even cards, legible labels, CTA still the loudest thing */

.vc_row.db-section.db-hero--compact {
	padding: 84px 0 56px;
}

.vc_row.db-hero--compact .vc_btn3-container .vc_btn3 {
	padding: 18px 32px;
	font-size: 17px;
}

.db-hero__frames {
	margin-top: var(--db-space-6);
}

.db-frame-card .wpb_wrapper {
	padding: 8px 8px 0;
}

.db-frame-card__img {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--db-radius);
	background: #fff;
}

.db-frame-card__img .vc_single_image-wrapper,
.db-frame-card__img a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.db-frame-card__img img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
	border-radius: 0;
}

.vc_row.db-section--hero p.db-frame-card__label {
	margin: 0;
	padding: 9px 0 11px;
	color: var(--db-ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

/* a touch more air between the CTA and the frame cards */
.db-hero__frames {
	margin-top: 40px;
}

/* the browser gives <blockquote> a 40px inline margin; the quote sits inside a
   card, so that indent left a narrow measure and a big empty gutter on phones */
.vc_row.db-section blockquote.db-quote {
	margin-left: 0;
	margin-right: 0;
}

@media (max-width: 767px) {
	.vc_row.db-section blockquote.db-quote {
		padding-left: 14px;
	}

	.db-quote__text {
		font-size: 18px;
		line-height: 1.45;
	}
}

/* the method section's illustration: a white plate so the coloured line work
   reads against the tinted band, sitting under the golden-rule quote */
.vc_row.db-section .db-figure--method {
	margin: var(--db-space-5) 0 0;
	padding: 18px;
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
}

.vc_row.db-section .db-figure--method img {
	display: block;
	width: 100%;
	max-width: 340px;
	height: auto;
	margin: 0 auto;
}

@media (max-width: 767px) {
	.vc_row.db-section .db-figure--method {
		padding: 12px;
	}
}

/* ---------------------------------------------------------------------------
   Reviews cards: one rule, one measure.

   The cards were drawing two vertical rules — the legacy .db-quote 3px cyan
   border plus the theme's own 5px blockquote bar — with 24px and 20px of left
   padding between them, so the quote was squeezed into 302px of a 358px card.
   --------------------------------------------------------------------------- */

.db-testimonials figure.db-quote {
	border-left: 0;
	padding: var(--db-space-5);
}

.db-testimonials figure.db-quote blockquote.db-quote__text,
.db-testimonials figure.db-quote .db-quote__text {
	border: 0;
	padding: 0;
	margin: 0;
	background: none;
	text-wrap: pretty;
}

.db-testimonials .db-quote__role,
.db-testimonials .db-quote__name {
	text-wrap: pretty;
}

/* the quote keeps the space, the attribution sits on the card floor */
.db-testimonials figure.db-quote {
	justify-content: space-between;
}

/* ---------------------------------------------------------------------------
   "Training a graduate intake?" — copy and button on one line.

   The button sat 168px in from the right edge, level with the heading, so the
   band read as stray text with a floating box. Copy left, button flush right
   and centred against it; a hairline above separates the band from the dark
   packages strip.
   --------------------------------------------------------------------------- */

@media (min-width: 768px) {
	.vc_row.db-section .db-wrap--cta-row {
		display: flex;
		align-items: center;
	}

	.vc_row.db-section .db-wrap--cta-row > .wpb_column {
		float: none;
	}
}

.vc_row.db-section--cta-row {
	border-top: 1px solid var(--db-line);
}

.vc_row.db-section .db-col-cta {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.vc_row.db-section .db-col-cta > .vc_column-inner {
	width: 100%;
}

.vc_row.db-section .db-col-cta .wpb_wrapper {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
}

.vc_row.db-section .db-col-cta .vc_btn3-container {
	margin: 0;
}

@media (max-width: 767px) {
	.vc_row.db-section .db-col-cta {
		justify-content: flex-start;
		margin-top: var(--db-space-4);
	}
}


/* nudge the lead so the band does not break on a short orphan line */
.vc_row.db-section--cta-row .db-lead {
	text-wrap: pretty;
	max-width: 68ch;
}

/* the team-quote band gains a picture: image, copy, button ------------------- */

@media (min-width: 768px) {
	.vc_row.db-section .db-wrap--cta-row {
		gap: var(--db-space-6);
	}

	.vc_row.db-section .db-wrap--cta-row > .db-cta-figure {
		flex: 0 0 220px;
	}

	.vc_row.db-section .db-wrap--cta-row > .db-col-text {
		flex: 1 1 auto;
		min-width: 0;
	}

	.vc_row.db-section .db-wrap--cta-row > .db-col-cta {
		flex: 0 0 auto;
	}
}

.vc_row.db-section .db-figure--cta {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: var(--db-radius-lg);
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(3, 10, 15, 0.10);
}

.vc_row.db-section .db-figure--cta img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

@media (max-width: 767px) {
	.vc_row.db-section .db-cta-figure {
		max-width: 200px;
		margin-bottom: var(--db-space-4);
	}
}

/* ---------------------------------------------------------------------------
   Test app: the chosen answer has to look chosen.

   The app has always set .is-chosen on the picked option, but no rule existed
   for it, so a selection looked like a no-op until marking.
   --------------------------------------------------------------------------- */

.db-test .bt-root .bt-option.is-chosen {
	border-color: var(--db-brand-strong);
	background: var(--db-brand-tint);
	box-shadow: 0 0 0 3px rgba(0, 180, 219, 0.35);
}

.db-test .bt-root .bt-option.is-chosen .bt-letter {
	background: var(--db-brand-strong);
	color: #ffffff;
	border-radius: 4px;
	padding: 1px 6px;
}

.db-test .bt-root .bt-option.is-chosen .bt-opt-name {
	color: var(--db-brand-strong);
}

/* a sticky site header would otherwise cover the top of the test after a jump */
.db-test .bt-root,
.db-test .bt-summary,
.db-test .bt-question {
	scroll-margin-top: 96px;
}

/* ===========================================================================
   Brohn Test results (page 3253, /test-your-self/results/)

   The first build printed every diagram at full column width: 24 figures of
   ~512x490, a 13,466px page. The diagrams are evidence, not the content, so they
   are capped small and set beside their verdict; the long prose and the models
   fold away behind a disclosure. Same cards, rules and tokens as the rest of
   the site.
   =========================================================================== */

.db-test-results .bt-root.bt-results {
	color: var(--db-ink);
	font-family: var(--db-font-body);
	max-width: none;
}

/* score band -------------------------------------------------------------- */

.db-test-results .bt-results__score {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 40px;
	align-items: center;
	justify-content: space-between;
	padding: 28px 32px;
	border-radius: var(--db-radius-lg);
	background: var(--db-brand-strong);
	color: var(--db-surface);
}

.db-test-results .bt-results__eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #e6f7fb;
}

.db-test-results .bt-results__scoreline {
	margin: 0;
	font-family: var(--db-font-head);
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.15;
	color: #ffffff;
}

.db-test-results .bt-results__scoreline b {
	font-size: 1.4em;
	color: #ffffff;
}

.db-test-results .bt-results__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.db-test-results .bt-results__chips li {
	flex: 1 1 0;
	min-width: 120px;
	padding: 10px 16px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.3;
	color: #e6f7fb;
}

.db-test-results .bt-results__chips li b {
	display: block;
	color: #ffffff;
	font-weight: 600;
}

.db-test-results .bt-results__chips li.is-all {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.6);
}

/* one card per frame ------------------------------------------------------ */

.db-test-results .bt-results__frame {
	margin-top: 28px;
	padding: 26px 30px 8px;
	background: #ffffff;
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
}

.db-test-results .bt-results__framehead {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	align-items: baseline;
	justify-content: space-between;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--db-line);
}

.db-test-results .bt-results__framehead h2 {
	margin: 0;
	font-family: var(--db-font-head);
	font-size: clamp(20px, 2.2vw, 26px);
	line-height: 1.2;
}

.db-test-results .bt-results__framehead p {
	margin: 0;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	background: var(--db-brand-tint);
	color: var(--db-brand-strong);
}

.db-test-results .bt-results__framehead p.is-all {
	background: #e7f6ec;
	color: #1d7a3c;
}

/* the three answers: label, your diagram, the correct diagram, the reason -- */

.db-test-results .bt-results__row {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas:
		"label yours correct"
		"text  text  text";
	gap: 8px 24px;
	padding: 20px 0;
	border-bottom: 1px solid var(--db-line);
}

.db-test-results .bt-results__row:last-child {
	border-bottom: 0;
}

.db-test-results .bt-results__rowlabel {
	grid-area: label;
}

.db-test-results .bt-results__rowlabel h3 {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--db-ink);
}

.db-test-results .bt-results__verdict {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
}

.db-test-results .bt-results__row.is-right .bt-results__verdict {
	color: #1d7a3c;
}

.db-test-results .bt-results__row.is-wrong .bt-results__verdict {
	color: var(--db-danger);
}

.db-test-results .bt-result-mini {
	grid-area: yours;
	margin: 0;
	max-width: 300px;
}

.db-test-results .bt-result-mini.is-correct {
	grid-area: correct;
}

.db-test-results .bt-result-mini svg {
	display: block;
	width: 100%;
	height: auto;
	max-height: 170px;
}

.db-test-results .bt-result-mini figcaption {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--db-ink-soft);
}

/* a right answer leaves the comparison column empty; say why */
.db-test-results .bt-results__nothing {
	grid-area: correct;
	max-width: 300px;
	align-self: center;
	margin: 0;
	padding: 12px 14px;
	border-left: 3px solid #1d7a3c;
	border-radius: 4px;
	background: #f2faf4;
	font-size: 14px;
	line-height: 1.45;
	color: #1d7a3c;
}

.db-test-results .bt-result-mini figcaption b {
	color: var(--db-ink);
	font-weight: 600;
}

.db-test-results .bt-results__rowtext {
	grid-area: text;
	/* measured: 787px at 15px was ~95 characters a line; 640px is ~66 */
	max-width: 640px;
}

.db-test-results .bt-results__rowtext p {
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.6;
}

.db-test-results .bt-results__rowtext .bt-rule {
	margin: 0;
	font-size: 14px;
	color: var(--db-brand-strong);
}

/* folded prose and models ------------------------------------------------ */

.db-test-results .bt-results__fold {
	border-top: 1px solid var(--db-line);
}

.db-test-results .bt-results__fold summary {
	position: relative;
	padding: 16px 34px 16px 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--db-brand-strong);
	cursor: pointer;
	list-style: none;
}

.db-test-results .bt-results__fold summary::-webkit-details-marker {
	display: none;
}

.db-test-results .bt-results__fold summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	line-height: 1;
	font-weight: 400;
	color: var(--db-brand-strong);
}

.db-test-results .bt-results__fold[open] summary::after {
	content: "−";
}

.db-test-results .bt-results__fold summary:focus-visible {
	outline: 2px solid var(--db-cta);
	outline-offset: 3px;
}

.db-test-results .bt-results__foldbody {
	padding: 4px 0 20px;
}

.db-test-results .bt-results__foldbody p {
	max-width: 640px;
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.6;
}

/* videos ----------------------------------------------------------------- */

.db-test-results .bt-results__videos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	padding: 20px 0;
	border-top: 1px solid var(--db-line);
}

.db-test-results .bt-video {
	margin: 0;
	max-width: 460px;
}

.db-test-results .bt-video-head {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--db-ink-muted);
}

.db-test-results .bt-video-box {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--db-radius);
	background: #0f1e2e;
}

.db-test-results .bt-video-box iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* explore --------------------------------------------------------------- */

.db-test-results .bt-explore-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	align-items: center;
	margin-bottom: 16px;
}

.db-test-results .bt-explore-frames {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}

.db-test-results .bt-explore-frames figure {
	margin: 0;
	max-width: 380px;
}

.db-test-results .bt-explore-frames figcaption {
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--db-ink-muted);
}

.db-test-results .bt-explore-frames svg {
	width: 100%;
	height: auto;
	max-height: 220px;
}

/* recommended course ---------------------------------------------------- */

.db-test-results .bt-results__course {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 40px;
	align-items: center;
	justify-content: space-between;
	margin-top: 28px;
	padding: 28px 32px;
	border-radius: var(--db-radius-lg);
	background: #0f1e2e;
	color: var(--db-surface);
}

.db-test-results .bt-results__course h2 {
	margin: 0 0 8px;
	font-family: var(--db-font-head);
	font-size: clamp(20px, 2.2vw, 26px);
	color: #ffffff;
}

.db-test-results .bt-results__course p {
	max-width: 60ch;
	margin: 0;
	color: var(--db-on-dark-muted);
}

.db-test-results .bt-results__course .bt-eyebrow {
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #e6f7fb;
}

.db-test-results .bt-results__courseaction {
	text-align: right;
}

.db-test-results .bt-results__courseaction .bt-price {
	margin: 0 0 10px;
	font-family: var(--db-font-head);
	font-size: 26px;
	color: #ffffff;
}

.db-test-results .bt-results__courseaction .bt-btn {
	display: inline-block;
	padding: 12px 22px;
	border: 0;
	border-radius: 8px;
	background: var(--db-cta);
	color: var(--db-on-cta);
	font-weight: 700;
	text-decoration: none;
}

.db-test-results .bt-results__courseaction .bt-btn:hover,
.db-test-results .bt-results__courseaction .bt-btn:focus-visible {
	background: var(--db-cta-hover);
	color: var(--db-on-cta);
}

.db-test-results .bt-results__courseaction .bt-small {
	margin: 10px 0 0;
	font-size: 13px;
}

.db-test-results .bt-results__courseaction .bt-small a {
	color: var(--db-surface);
	text-decoration: underline;
}

/* narrow screens -------------------------------------------------------- */

@media (max-width: 767px) {
	.db-test-results .bt-results__score,
	.db-test-results .bt-results__frame,
	.db-test-results .bt-results__course {
		padding: 20px 18px;
	}

	.db-test-results .bt-results__row {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas:
			"label label"
			"yours correct"
			"text  text";
	}

	.db-test-results .bt-result-mini {
		max-width: none;
	}

	.db-test-results .bt-result-mini svg {
		max-height: 150px;
	}

	.db-test-results .bt-results__courseaction {
		text-align: left;
	}
}

/* ===========================================================================
   CiSB Prep (page 2149, /cisb-prep/)

   WPBakery columns do the layout; these rules only dress the elements tagged
   through el_class. Written to survive Eduma's row/column clearfixes, so no new
   display:grid containers here — .db-stat tiles are the columns themselves.
   =========================================================================== */

/* S1 hero: the package card */
.db-hero--split .db-card--package {
	margin: 0;
	padding: 26px 28px 24px;
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	box-shadow: 0 12px 28px rgba(15, 30, 46, 0.12);
}

.db-hero--split .db-card--package .db-eyebrow {
	display: block;
	margin-bottom: 14px;
}

.db-checklist {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.db-checklist li {
	position: relative;
	margin: 0 0 10px;
	padding-left: 26px;
	font-size: 16px;
	line-height: 1.45;
	color: var(--db-ink);
}

.db-checklist li:last-child {
	margin-bottom: 0;
}

.db-checklist li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	color: var(--db-brand-strong);
}

.db-hero--split .db-card--package .db-price {
	margin: 0 0 16px;
	font-family: var(--db-font-head);
	font-size: 34px;
	line-height: 1.1;
	color: var(--db-ink);
}

.db-hero--split .db-card--package .db-btn--cta {
	display: inline-block;
	width: 100%;
	text-align: center;
}

/* S2 stat tiles */
.db-stat {
	position: relative;
	padding: 22px 24px 24px;
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	box-shadow: 0 1px 2px rgba(15, 30, 46, 0.04);
}

/* cards that carry an icon: only the ones we gave a modifier class */
.db-stat--time,
.db-stat--questions,
.db-stat--pass,
.db-stat--award {
	padding-top: 88px;
}

/* the tinted disc */
.db-stat--time::before,
.db-stat--questions::before,
.db-stat--pass::before,
.db-stat--award::before {
	content: "";
	position: absolute;
	top: 24px;
	left: 24px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--db-brand-tint, #f2fbfd);
}

/* the icon itself: a masked SVG, so it takes the brand colour and stays crisp */
.db-stat--time::after,
.db-stat--questions::after,
.db-stat--pass::after,
.db-stat--award::after {
	content: "";
	position: absolute;
	top: 35px;
	left: 35px;
	width: 24px;
	height: 24px;
	background-color: var(--db-brand-strong);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 24px 24px;
	mask-size: 24px 24px;
}

/* clock */
.db-stat--time::after {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

/* multiple-choice list */
.db-stat--questions::after {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M8 6h11M8 12h11M8 18h11'/%3E%3Cpath d='M3.5 6h.01M3.5 12h.01M3.5 18h.01'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M8 6h11M8 12h11M8 18h11'/%3E%3Cpath d='M3.5 6h.01M3.5 12h.01M3.5 18h.01'/%3E%3C/svg%3E");
}

/* pass mark: a target */
.db-stat--pass::after {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1.2'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1.2'/%3E%3C/svg%3E");
}

/* designation: a certificate */
.db-stat--award::after {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect x='4' y='3' width='16' height='13' rx='2'/%3E%3Cpath d='M8 8h8M8 12h5'/%3E%3Cpath d='M9.5 16l-1 5 3.5-2 3.5 2-1-5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect x='4' y='3' width='16' height='13' rx='2'/%3E%3Cpath d='M8 8h8M8 12h5'/%3E%3Cpath d='M9.5 16l-1 5 3.5-2 3.5 2-1-5'/%3E%3C/svg%3E");
}

.db-stat:hover {
	border-color: var(--db-brand);
	box-shadow: 0 10px 26px rgba(15, 30, 46, 0.10);
}

.db-stat__figure {
	margin: 0 0 6px;
	font-family: var(--db-font-head);
	font-size: clamp(26px, 3.2vw, 38px);
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: var(--db-brand-strong);
}

.db-stat__label {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--db-ink-muted);
}

.db-note {
	max-width: 72ch;
	margin: 18px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--db-ink-muted);
}

.db-note a {
	color: var(--db-brand-strong);
	text-decoration: underline;
}

/* S4 two columns of picture + copy */
.db-text-image .db-figure {
	margin: 0 0 18px;
}

.db-text-image .db-figure img {
	display: block;
	width: 100%;
	max-width: 320px;
	height: auto;
	border-radius: var(--db-radius);
}

.db-figure--book img {
	max-width: 240px;
}

/* S5 course-only card gets its price from [db_course_price] */
.db-section--dark .db-card .db-offer__price {
	display: block;
	margin: 0 0 12px;
	font-family: var(--db-font-head);
	font-size: 32px;
	line-height: 1.1;
	color: var(--db-ink);
}

/* phones ---------------------------------------------------------------- */

@media (max-width: 767px) {
	.db-hero--split .db-card--package {
		padding: 20px 18px;
	}

	.db-stat {
		margin-bottom: 12px;
	}

	.db-text-image .db-figure img {
		max-width: 100%;
	}
}

/* CiSB Prep — review fixes */

/* the eyebrow inside the white card was inheriting the hero's near-white colour */
.db-hero--split .db-card--package .db-eyebrow,
.page-id-2149 .db-card .db-eyebrow {
	color: var(--db-brand-strong);
}

/* balance the split hero: the package card sits against the middle of the copy */
@media (min-width: 992px) {
	.db-hero--split .db-col-hero {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}

/* three step cards: headings of different lengths pushed the body copy out of line */
@media (min-width: 992px) {
	.page-id-2149 .db-step h3 {
		min-height: 2.4em;
	}
}

/* pin the package buttons to the card floor so the three CTAs share a line */
.page-id-2149 .db-section--dark .db-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.page-id-2149 .db-section--dark .db-card .db-btn {
	margin-top: auto;
}

/* ---------------------------------------------------------------------------
   Prices come from WooCommerce (T4.7). A sale shows the old price struck
   through, in the muted ink, then the price that will be charged.
   --------------------------------------------------------------------------- */

.db-amount,
.db-offer__price .db-amount {
	white-space: nowrap;
}

.db-amount del {
	color: var(--db-ink-muted);
	text-decoration: line-through;
	font-weight: 400;
	margin-right: 6px;
}

.db-amount ins {
	text-decoration: none;
	color: inherit;
	font-weight: 700;
}

.db-amount del .woocommerce-Price-amount,
.db-amount ins .woocommerce-Price-amount {
	color: inherit;
	font-weight: inherit;
}

/* ===========================================================================
   Courses catalogue (/courses/) — T4.9a
   Template: child-theme/learnpress/archive-course.php, loaded by the
   learn_press_locate_template filter. Everything here is presentation only.
   =========================================================================== */

.db-catalogue .db-section--filters {
	padding-top: 0;
	padding-bottom: 0;
}

/* chips ---------------------------------------------------------------- */

.db-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: -8px;
}

.db-chip {
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--db-line);
	border-radius: 999px;
	background: var(--db-surface);
	color: var(--db-ink);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

.db-chip:hover {
	border-color: var(--db-brand-strong);
	color: var(--db-brand-strong);
}

.db-chip.is-active {
	background: var(--db-brand-strong);
	border-color: var(--db-brand-strong);
	color: #ffffff;
}

.db-chip:focus-visible {
	outline: 2px solid var(--db-cta);
	outline-offset: 3px;
}

/* grid ----------------------------------------------------------------- */

.db-catalogue__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	align-items: stretch;
}

@media (max-width: 991px) {
	.db-catalogue__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 639px) {
	.db-catalogue__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}
}

/* cards ---------------------------------------------------------------- */

/* The filter chips hide cards with the `hidden` attribute. An author-level
   `display: flex` beats the browser's `[hidden] { display: none }`, so nothing
   disappeared and the chips looked dead. Make the attribute win. */
.db-course-card[hidden],
.db-catalogue__empty[hidden] {
	display: none !important;
}

.db-course-card {
	position: relative;
	display: flex;
	padding: 0;
	overflow: hidden;
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.db-course-card:hover {
	border-color: var(--db-brand);
	box-shadow: 0 16px 34px rgba(15, 30, 46, 0.14);
	transform: translateY(-2px);
}

.db-course-card__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.db-course-card__link:hover,
.db-course-card__link:focus {
	color: inherit;
	text-decoration: none;
}

/* the whole card is the target, so the focus ring goes round the card */
.db-course-card__link:focus-visible {
	outline: 3px solid var(--db-cta);
	outline-offset: -3px;
	border-radius: var(--db-radius-lg);
}

.db-course-card__media {
	position: relative;
	/* every course thumbnail is 600x400 (3:2); a 16:9 box cropped the tops and
	   bottoms off the diagrams, which is what made them look cut */
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #e8eef3;
}

.db-course-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.db-course-card:hover .db-course-card__media img {
	transform: scale(1.03);
}

/* a soft foot to the picture, so the level and preview chips always read */
.db-course-card__scrim {
	position: absolute;
	inset: auto 0 0 0;
	height: 58%;
	background: linear-gradient(to top, rgba(9, 24, 36, 0.8), rgba(9, 24, 36, 0.35) 45%, rgba(9, 24, 36, 0));
	pointer-events: none;
}

.db-badge {
	position: absolute;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.db-badge--start {
	top: 12px;
	left: 12px;
	background: var(--db-brand-strong);
	color: #ffffff;
}

.db-course-card__chips {
	position: absolute;
	right: 12px;
	bottom: 12px;
	left: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	pointer-events: none;
}

.db-chip-level,

.db-chip-level {
	background: rgba(255, 255, 255, 0.92);
	color: var(--db-ink);
}

.db-chip-level--beginner {
	background: var(--db-cta);
	color: var(--db-on-cta);
}

.db-chip-level--intermediate {
	background: #fbbf24;
	color: #3a2400;
}

.db-chip-level--advanced {
	background: #f97316;
	color: #2b1200;
}


.db-course-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding: 16px 18px 18px;
}

.db-course-card__title {
	margin: 0;
	font-family: var(--db-font-head);
	font-size: 19px;
	line-height: 1.25;
	color: var(--db-ink);
}

.db-course-card__meta {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--db-ink-muted);
}

.db-course-card__summary {
	display: -webkit-box;
	margin: 4px 0 0;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.5;
	color: var(--db-ink-soft);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.db-course-card__more {
	font-weight: 700;
	color: var(--db-brand-strong);
	white-space: nowrap;
}

.db-course-card__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: baseline;
	justify-content: space-between;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--db-line);
}

.db-course-card__foot .db-price {
	font-family: var(--db-font-head);
	font-size: 20px;
	color: var(--db-ink);
}

.db-course-card__cta {
	font-size: 14px;
	font-weight: 700;
	color: var(--db-brand-strong);
}

.db-catalogue__empty {
	margin: 26px 0 0;
	font-size: 16px;
	color: var(--db-ink-muted);
}

/* intro paragraph ------------------------------------------------------- */

.db-section--intro .db-wrap {
	max-width: 720px;
}

.db-section--intro p {
	font-size: 17px;
	line-height: 1.65;
	color: var(--db-ink);
}

.db-section--intro a {
	color: var(--db-brand-strong);
	text-decoration: underline;
}

/* catalogue hero: the teal grid, scoped here so the compact hero on other pages
   is unaffected */
.db-catalogue .db-section--hero {
	padding: 60px 0 52px;
	background-color: var(--db-brand-strong);
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
	background-size: 32px 32px;
	color: #ffffff;
	text-align: center;
}

.db-catalogue .db-section--hero h1 {
	margin: 0 auto;
	max-width: 18ch;
	color: #ffffff;
}

.db-catalogue .db-section--hero .db-eyebrow {
	display: block;
	margin-bottom: 10px;
	color: #e6f7fb;
}

.db-catalogue .db-section--hero .db-lead {
	max-width: 68ch;
	margin: 14px auto 0;
	color: #e6f7fb;
}

.db-catalogue .db-section--filters {
	padding: 22px 0 0;
}

.db-catalogue .db-chips {
	margin-top: 0;
}

.db-catalogue .db-section--catalogue {
	padding-top: 22px;
}


/* homepage "Video courses" band: heading and the way out on one line -------- */

.db-courses-head {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 32px;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 30px;
}

.db-courses-head > div {
	flex: 1 1 420px;
	min-width: 0;
}

.db-courses-head h2 {
	margin: 0 0 10px;
}

.db-courses-head .db-lead {
	max-width: 60ch;
	margin: 0;
}

.db-link-arrow {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 16px;
	font-weight: 700;
	color: var(--db-brand-strong);
	text-decoration: none;
	white-space: nowrap;
}

.db-link-arrow:hover,
.db-link-arrow:focus-visible {
	color: var(--db-brand-strong);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* grid variants ----------------------------------------------------------- */

.db-catalogue__grid.db-catalogue__grid--cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

/* the modifier classes have to out-rank the fluid base rule further down */
.db-catalogue__grid.db-catalogue__grid--cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.db-catalogue__grid.db-catalogue__grid--cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* The column modifiers above are written .db-catalogue__grid.db-catalogue__grid--cols-N
   (two classes). A single-class media rule loses to them, so the homepage grid stayed at
   four 58px columns on a phone and every course title wrapped one character per line.
   Match the specificity here. */
@media (max-width: 1199px) {
	.db-catalogue__grid.db-catalogue__grid--cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.db-catalogue__grid.db-catalogue__grid--cols-4,
	.db-catalogue__grid.db-catalogue__grid--cols-3,
	.db-catalogue__grid.db-catalogue__grid--cols-2 {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* a four-up card carries less copy, so it is set a little tighter */
.db-catalogue__grid--cols-4 .db-course-card__body {
	gap: 6px;
	padding: 16px 16px 18px;
}

.db-catalogue__grid--cols-4 .db-course-card__title {
	font-size: 19px;
}

.db-catalogue__grid--cols-4 .db-course-card__meta,
.db-catalogue__grid--cols-4 .db-course-card__summary {
	font-size: 13px;
}

.db-catalogue__grid--cols-4 .db-course-card__foot .db-price {
	font-size: 20px;
}

.db-catalogue__grid--cols-4 .db-course-card__cta {
	font-size: 14px;
}

/* ===========================================================================
   Single course page (LearnPress / Eduma defaults), T4.9a follow-up.

   Eduma prints the course page as a full-bleed picture band, a strap of tabs
   touching both edges and a 848px column hard against the left of a 1170px
   container, with the sidebar floating in white space. These rules put the page
   on the same 1200px wrap as the rest of the site and give every block the
   spacing the other pages use. Nothing here changes markup or behaviour.
   =========================================================================== */

.single-lp_course .content-area {
	padding-bottom: 72px;
}

/* the picture band: keep it, but at a sane height and with the title on the wrap */
.single-lp_course .top_heading_out {
	max-height: 300px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}

.single-lp_course .top_heading_out .heading__title,
.single-lp_course .top_heading_out .container,
.single-lp_course .top_heading_out .wrap {
	max-width: var(--db-max);
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

.single-lp_course .top_heading_out h1,
.single-lp_course .top_heading_out .entry-title {
	margin: 0;
	font-family: var(--db-font-head);
	font-size: clamp(26px, 3.2vw, 40px);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

/* the content column and its sidebar share the site wrap and a real gutter */
.single-lp_course .site-content {
	max-width: var(--db-max);
	margin: 0 auto;
	padding: 44px 24px 0;
}

.single-lp_course .site-content > .row {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	margin-left: 0;
	margin-right: 0;
}

.single-lp_course #main.site-main {
	float: none;
	width: auto;
	flex: 1 1 640px;
	min-width: 0;
	padding: 0;
}

.single-lp_course .sidebar-right .widget-area,
.single-lp_course aside.widget-area {
	float: none;
	width: auto;
	flex: 0 1 320px;
	min-width: 0;
	padding: 0;
}

/* the course summary block: a card, not a bare column */
.single-lp_course .course-summary.learn-press {
	padding: 0;
}

.single-lp_course .course-info {
	margin-bottom: 32px;
}

/* title, meta and price get room to breathe */
.single-lp_course .course-title {
	margin: 0 0 18px;
	font-family: var(--db-font-head);
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.15;
	color: var(--db-ink);
}

.single-lp_course .course-meta.course-meta-single {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	align-items: center;
	margin: 0 0 26px;
	padding: 16px 20px;
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
}

.single-lp_course .course-meta .course-price,
.single-lp_course .course-meta .price {
	font-family: var(--db-font-head);
	font-size: 24px;
	color: var(--db-ink);
}

/* the course picture sits in the same card language as the rest of the site */
.single-lp_course .course-thumbnail img,
.single-lp_course .course-summary .course-image img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
}

/* tabs: a proper strip on the wrap, not a bar touching both edges */
.single-lp_course .course-tabs {
	margin-top: 30px;
}

.single-lp_course #learn-press-course-tabs .nav-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 26px;
	padding: 0 0 14px;
	border: 0;
	border-bottom: 1px solid var(--db-line);
}

.single-lp_course #learn-press-course-tabs .nav-tabs > li {
	float: none;
	margin: 0;
}

.single-lp_course #learn-press-course-tabs .nav-tabs > li > a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	color: var(--db-ink);
	text-decoration: none;
}

.single-lp_course #learn-press-course-tabs .nav-tabs > li > a:hover {
	border-color: var(--db-line);
	color: var(--db-brand-strong);
}

.single-lp_course #learn-press-course-tabs .nav-tabs > li.active > a,
.single-lp_course #learn-press-course-tabs .nav-tabs > li.active > a:focus {
	background: var(--db-brand-strong);
	border-color: var(--db-brand-strong);
	color: #ffffff;
}

/* the curriculum list: section headings and lesson rows on a card */
.single-lp_course .course-curriculum ul.curriculum-sections {
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	overflow: hidden;
}

.single-lp_course .course-curriculum ul.curriculum-sections li.section {
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--db-line);
}

.single-lp_course .course-curriculum ul.curriculum-sections li.section:last-child {
	border-bottom: 0;
}

.single-lp_course .course-curriculum .section-header,
.single-lp_course .course-curriculum .section-title {
	padding: 16px 20px;
	font-size: 16px;
	font-weight: 700;
	color: var(--db-ink);
	background: var(--db-surface-alt);
}

.single-lp_course .course-curriculum .course-item,
.single-lp_course .course-curriculum .section-item {
	padding: 12px 20px;
	border-top: 1px solid var(--db-line);
}

/* body copy: the paragraph width the rest of the site uses */
.single-lp_course .course-summary .course-description,
.single-lp_course .course-summary-content p,
.single-lp_course #tab-overview p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--db-ink);
}

/* sidebar widgets: cards, spaced, not floating in white space */
.single-lp_course aside.widget-area .widget,
.single-lp_course .sidebar-right .widget {
	margin: 0 0 22px;
	padding: 22px;
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
}

.single-lp_course aside.widget-area .widget .widget-title,
.single-lp_course .sidebar-right .widget .widget-title {
	margin: 0 0 14px;
	font-family: var(--db-font-head);
	font-size: 18px;
	line-height: 1.25;
	color: var(--db-ink);
}

.single-lp_course aside.widget-area .widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.single-lp_course aside.widget-area .widget li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	font-size: 15px;
	border-bottom: 1px solid var(--db-line);
}

.single-lp_course aside.widget-area .widget li:last-child {
	border-bottom: 0;
}

/* phones --------------------------------------------------------------- */
@media (max-width: 991px) {
	.single-lp_course .site-content > .row {
		gap: 24px;
	}

	.single-lp_course #main.site-main,
	.single-lp_course .sidebar-right .widget-area,
	.single-lp_course aside.widget-area {
		flex: 1 1 100%;
	}

	/* on a phone the heading needs the room; clipping it was worse than a taller band */
	.single-lp_course .top_heading_out {
		max-height: none;
		min-height: 190px;
		display: flex;
		align-items: center;
	}

	.single-lp_course .top_heading_out h1,
	.single-lp_course .top_heading_out .entry-title {
		font-size: 22px;
		line-height: 1.25;
	}
}

/* single course: the sidebar is .widget-area.col-sm-3, not an <aside>, so it kept
   Bootstrap's 25% and the main column never filled the row */
.single-lp_course .site-content .widget-area,
.single-lp_course .site-content .col-sm-3 {
	float: none;
	width: auto;
	flex: 0 1 320px;
	min-width: 0;
	padding-left: 0;
	padding-right: 0;
}

.single-lp_course .site-content #main.site-main {
	float: none;
	width: auto;
	flex: 1 1 0;
	min-width: 0;
	padding-left: 0;
	padding-right: 0;
}

/* Eduma's floating course menu repeats the tabs, the price and the CTA, and it
   cuts across the course picture. The tabs below carry the same navigation. */
.single-lp_course .thim-course-menu-landing {
	display: none;
}

/* the theme's sidebar is empty on course pages and was taking 320px of the wrap,
   squeezing the course into 736px; the main column takes the full wrap instead */
.single-lp_course .site-content .widget-area {
	display: none;
}

.single-lp_course .site-content #main.site-main {
	flex: 1 1 100%;
	max-width: 100%;
}

/* the course-features panel was floated inside the copy, narrowing every paragraph */
.single-lp_course .thim-course-info {
	float: none;
	width: auto;
	max-width: 340px;
	margin: 0 0 26px;
	padding: 20px 22px;
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
}

.single-lp_course .thim-course-info .title,
.single-lp_course .thim-course-info h3,
.single-lp_course .thim-course-info h4 {
	margin: 0 0 12px;
	font-family: var(--db-font-head);
	font-size: 17px;
}

/* Eduma gives each tab 25% of the strip; with the pill gaps that pushed Reviews
   onto a second line, so the tabs size to their labels instead */
.single-lp_course #learn-press-course-tabs .nav-tabs > li {
	flex: 0 0 auto;
	width: auto;
	max-width: none;
}

/* ===========================================================================
   Catalogue wrap and column count.

   The "never scroll sideways" safety rule sets .db-wrap to max-width:100%, which
   is right for wrappers inside .vc_row.db-section but not for the catalogue,
   whose template prints its own <section> — so the cards ran the full width of
   the monitor. Cap the wrapper here and let the grid breathe out to four columns.
   =========================================================================== */

.db-catalogue .db-wrap {
	width: 100%;
	max-width: var(--db-max);
	margin-left: auto;
	margin-right: auto;
}

.db-catalogue__grid {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 22px;
}

/* ===========================================================================
   Multi-seat licences (/multi-licence-purchases/) — T4.10
   Reuses the tile, step and FAQ patterns; adds the price unit, the tiles that
   carry a heading, and a house style for the WPForms quote form.
   =========================================================================== */

.db-price__unit {
	display: inline-block;
	margin-left: 4px;
	font-family: var(--db-font-body);
	font-size: 15px;
	font-weight: 400;
	color: var(--db-ink-muted);
}

/* the "who it is for" tiles carry a heading, not a figure */
.db-stat h3 {
	margin: 0 0 8px;
	font-family: var(--db-font-head);
	font-size: 20px;
	line-height: 1.25;
	color: var(--db-ink);
}

.db-stat p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--db-ink-soft);
}

/* the quote form: a card on the tinted band, matching the field styling used
   elsewhere on the site */
.db-section--tint .wpforms-container {
	/* WPForms draws the button from these variables; setting them keeps the brand
	   colours without fighting its stylesheet */
	--wpforms-button-background-color: #00b4db;
	--wpforms-button-text-color: #0f1e2e;
	--wpforms-button-background-color-hover: #0099bc;
	--wpforms-button-text-color-hover: #0f1e2e;
	--wpforms-field-text-color: #0f1e2e;
	--wpforms-label-color: #0f1e2e;
	max-width: 760px;
	margin: 0 auto;
	padding: 28px 28px 24px;
	text-align: left;
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	box-shadow: 0 12px 28px rgba(15, 30, 46, 0.08);
}

.db-section--tint .wpforms-container .wpforms-field-label {
	font-size: 14px;
	font-weight: 700;
	color: var(--db-ink);
}

.db-section--tint .wpforms-container input[type="text"],
.db-section--tint .wpforms-container input[type="email"],
.db-section--tint .wpforms-container input[type="tel"],
.db-section--tint .wpforms-container input[type="number"],
.db-section--tint .wpforms-container select,
.db-section--tint .wpforms-container textarea {
	min-height: 48px;
	padding: 10px 14px;
	font-size: 16px;
	color: var(--db-ink);
	background: #ffffff;
	border: 1px solid #6b7f91;
	border-radius: 8px;
	box-shadow: none;
}

.db-section--tint .wpforms-container textarea {
	min-height: 140px;
}

.db-section--tint .wpforms-container input:focus,
.db-section--tint .wpforms-container select:focus,
.db-section--tint .wpforms-container textarea:focus {
	outline: 3px solid rgba(0, 180, 219, 0.35);
	outline-offset: 1px;
	border-color: var(--db-brand-strong);
}

/* WPForms ships a stylesheet that loads after ours, so the submit needs a little
   weight to take the brand colour. */
.db-section--tint .wpforms-container .wpforms-submit-container button.wpforms-submit,
.db-section--tint .wpforms-container button.wpforms-submit,
.db-section--tint .wpforms-container input[type="submit"].wpforms-submit {
	min-height: 48px;
	padding: 12px 26px;
	font-size: 16px;
	font-weight: 700;
	color: var(--db-on-cta) !important;
	background: var(--db-cta) !important;
	border: 0 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
}

.db-section--tint .wpforms-container .wpforms-submit:hover,
.db-section--tint .wpforms-container .wpforms-submit:focus {
	background: var(--db-cta-hover);
	color: var(--db-on-cta);
}

@media (max-width: 767px) {
	.db-section--tint .wpforms-container {
		padding: 20px 18px;
	}
}

/* licences page: rows of tiles should share a height, and a two-line step heading
   should not push its copy out of line with the others */
/* WPBakery renders an inner row as .wpb_row.vc_inner, not .vc_row_inner */
.page-id-1219 .db-wrap.wpb_row,
.page-id-1219 .db-wrap.vc_inner {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.page-id-1219 .db-wrap.wpb_row > .vc_column_container,
.page-id-1219 .db-wrap.vc_inner > .vc_column_container {
	display: flex;
}

.page-id-1219 .db-wrap.wpb_row > .vc_column_container > .vc_column-inner,
.page-id-1219 .db-wrap.vc_inner > .vc_column_container > .vc_column-inner {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.page-id-1219 .db-stat,
.page-id-1219 .db-step {
	/* height:100% on a flex item resolves against an auto height and falls back to
	   the content height, so stretch instead */
	height: auto;
	align-self: stretch;
	box-sizing: border-box;
}

@media (min-width: 992px) {
	.page-id-1219 .db-step h3 {
		min-height: 56px;
	}
}

/* ===========================================================================
   Learn hub — the posts page (/structural-engineering-blog/)

   The page's own builder sections are printed by home.php above the post list;
   these rules dress the post cards and the spacing between the two halves.
   =========================================================================== */

.db-learn__latest {
	padding-top: 64px;
}

.db-post-card {
	position: relative;
	display: flex;
	padding: 0;
	overflow: hidden;
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.db-post-card:hover {
	border-color: var(--db-brand);
	box-shadow: 0 14px 30px rgba(15, 30, 46, 0.12);
	transform: translateY(-2px);
}

.db-post-card__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.db-post-card__link:hover,
.db-post-card__link:focus {
	color: inherit;
	text-decoration: none;
}

.db-post-card__link:focus-visible {
	outline: 3px solid var(--db-cta);
	outline-offset: -3px;
	border-radius: var(--db-radius-lg);
}

.db-post-card__media {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #e8eef3;
}

.db-post-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.db-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 20px;
}

.db-post-card__body .db-course-card__cta {
	margin-top: auto;
	padding-top: 12px;
}

/* the "start with the topic" tiles carry a heading and a link, not a figure */
.db-learn .db-stat h3 {
	margin: 6px 0 8px;
}

.db-learn .db-stat .db-link-arrow {
	margin-top: 6px;
	font-size: 15px;
}

/* pagination, if the list ever runs past one page */
.db-learn .navigation.pagination {
	margin-top: 32px;
}

.db-learn .navigation.pagination .nav-links {
	display: flex;
	gap: 8px;
	align-items: center;
}

.db-learn .navigation.pagination a,
.db-learn .navigation.pagination span.current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--db-line);
	border-radius: 8px;
	color: var(--db-ink);
	text-decoration: none;
}

.db-learn .navigation.pagination span.current {
	background: var(--db-brand-strong);
	border-color: var(--db-brand-strong);
	color: #ffffff;
}

/* ===========================================================================
   About David (/background/) — T4.12
   The quoted evidence and the career timeline.
   =========================================================================== */

blockquote.db-quote {
	margin: 0;
	padding: 0;
	border: 0;
}

blockquote.db-quote p {
	margin: 0;
	font-family: var(--db-font-head);
	font-size: 20px;
	line-height: 1.45;
	color: var(--db-ink);
}

blockquote.db-quote p::before {
	content: "";
}

blockquote.db-quote cite {
	display: block;
	margin-top: 14px;
	font-style: normal;
	font-size: 14px;
	line-height: 1.5;
	color: var(--db-ink-muted);
}

.db-timeline {
	position: relative;
	margin: 8px 0 0;
	padding: 0 0 0 26px;
	border-left: 2px solid var(--db-line);
}

.db-timeline__item {
	position: relative;
	padding: 0 0 22px;
}

.db-timeline__item:last-child {
	padding-bottom: 0;
}

.db-timeline__item::before {
	content: "";
	position: absolute;
	left: -34px;
	top: 5px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--db-brand-strong);
	border: 3px solid var(--db-surface);
}

.db-timeline__year {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--db-brand-strong);
}

.db-timeline__item p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--db-ink);
}

/* About page: the paired quote cards need a gutter and a shared height */
.page-id-711 .db-wrap.wpb_row,
.page-id-711 .db-wrap.vc_inner {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.page-id-711 .db-wrap.wpb_row > .vc_column_container,
.page-id-711 .db-wrap.vc_inner > .vc_column_container {
	display: flex;
	padding-left: 12px;
	padding-right: 12px;
	box-sizing: border-box;
}

.page-id-711 .db-wrap.wpb_row > .vc_column_container > .vc_column-inner,
.page-id-711 .db-wrap.vc_inner > .vc_column_container > .vc_column-inner {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.page-id-711 .db-stat {
	height: auto;
	align-self: stretch;
}

/* ===========================================================================
   LearnPress account screen (/lp-profile/) — T4.13

   The banner photograph goes, the two forms stop competing, and the panel added by
   login-panel.js explains what an account is for. Field styling matches the quote
   form and the test.
   =========================================================================== */

.learnpress-profile .top_heading_out {
	display: none;
}

.learnpress-profile .site-content {
	padding-top: 56px;
	padding-bottom: 72px;
}

.learnpress-profile .lp-user-profile {
	max-width: var(--db-max);
	margin: 0 auto;
}

/* The two-column split below was written for the logged-out login/register screen,
   where the form and the intro panel sit side by side. The signed-in profile uses the
   SAME wrapper for a header, a nav sidebar and the content column — so an unscoped
   two-column grid squeezed every course list and progress bar into a 309px column.
   Scope it to visitors, and give members a sidebar-plus-content grid. */
body:not(.logged-in) .learnpress-profile .lp-content-area {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 32px;
	align-items: start;
}

body.logged-in .learnpress-profile .lp-content-area {
	display: grid;
	grid-template-columns: 270px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

/* the cover-image placeholder is an empty grid item; it was taking a whole cell */
body.logged-in .learnpress-profile .lp-content-area > .lp-hidden {
	display: none !important;
}

body.logged-in .learnpress-profile .lp-content-area > .wrapper-profile-header {
	grid-column: 1 / -1;
	grid-row: 1;
}

body.logged-in .learnpress-profile .lp-content-area > aside {
	grid-column: 1;
	grid-row: 2;
	width: auto !important;
	float: none !important;
}

body.logged-in .learnpress-profile .lp-content-area > .lp-profile-content {
	grid-column: 2;
	grid-row: 2;
	width: auto !important;
	max-width: none !important;
	float: none !important;
	min-width: 0;
}

@media (max-width: 991px) {
	body.logged-in .learnpress-profile .lp-content-area {
		grid-template-columns: minmax(0, 1fr);
	}

	body.logged-in .learnpress-profile .lp-content-area > aside,
	body.logged-in .learnpress-profile .lp-content-area > .lp-profile-content {
		grid-column: 1;
		grid-row: auto;
	}
}

/* the panel that gives the page a purpose */
.db-auth-intro {
	padding: 30px 32px;
	border-radius: var(--db-radius-lg);
	background-color: var(--db-brand-strong);
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
	background-size: 32px 32px;
	color: #ffffff;
}

.db-auth-intro .db-eyebrow {
	display: block;
	margin-bottom: 10px;
	color: #e6f7fb;
}

.db-auth-intro h1,
.db-auth-intro h2 {
	margin: 0 0 18px;
	font-family: var(--db-font-head);
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.2;
	color: #ffffff;
}

.db-auth-intro .db-checklist li {
	color: #ffffff;
	font-size: 16px;
}

.db-auth-intro .db-checklist li::before {
	color: var(--db-cta);
}

.db-auth-intro__note {
	margin: 20px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: #e6f7fb;
}

.db-auth-intro__note a {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* the forms, in one column, register given the weight */
.db-auth-forms {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.db-auth-lead {
	margin: 18px 0 0;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--db-ink-muted);
}

.db-auth-lead--register {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--db-line);
	color: var(--db-brand-strong);
}

.learnpress-profile .learn-press-form {
	margin: 8px 0 0;
	padding: 24px 26px;
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
}

.learnpress-profile .learn-press-form-register {
	border-color: var(--db-brand);
	box-shadow: 0 14px 30px rgba(15, 30, 46, 0.08);
}

.learnpress-profile .learn-press-form h3 {
	margin: 0 0 16px;
	font-family: var(--db-font-head);
	font-size: 22px;
	line-height: 1.2;
	color: var(--db-ink);
}

.learnpress-profile .learn-press-form ul.form-fields {
	margin: 0;
	padding: 0;
	list-style: none;
}

.learnpress-profile .learn-press-form ul.form-fields li.form-field {
	margin: 0 0 14px;
}

.learnpress-profile .learn-press-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--db-ink);
}

.learnpress-profile .learn-press-form input[type="text"],
.learnpress-profile .learn-press-form input[type="email"],
.learnpress-profile .learn-press-form input[type="password"] {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	font-size: 16px;
	color: var(--db-ink);
	background: #ffffff;
	border: 1px solid #6b7f91;
	border-radius: 8px;
	box-shadow: none;
	box-sizing: border-box;
}

.learnpress-profile .learn-press-form input:focus {
	outline: 3px solid rgba(0, 180, 219, 0.35);
	outline-offset: 1px;
	border-color: var(--db-brand-strong);
}

.learnpress-profile .learn-press-form .form-field input[type="checkbox"] {
	width: 18px;
	height: 18px;
	min-height: 0;
	margin-right: 8px;
	vertical-align: -3px;
}

/* LearnPress prints its own button rule later in the cascade and sets white text;
   navy on cyan is the site's contrast pair, so this one needs to win outright. */
.learnpress-profile .learn-press-form button,
.learnpress-profile .learn-press-form input[type="submit"] {
	min-height: 48px;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 700;
	color: #0f1e2e !important;
	background: var(--db-cta) !important;
	border: 0 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	cursor: pointer;
}

.learnpress-profile .learn-press-form button:hover,
.learnpress-profile .learn-press-form input[type="submit"]:hover {
	background: var(--db-cta-hover);
}

.learnpress-profile .learn-press-form button:hover,
.learnpress-profile .learn-press-form input[type="submit"]:hover {
	background: var(--db-cta-hover) !important;
	color: #0f1e2e !important;
}

/* the panel is short beside two long forms; let it follow the reader */
@media (min-width: 992px) {
	.db-auth-intro {
		position: sticky;
		top: 96px;
	}
}

.learnpress-profile .learn-press-form .lp-lost-password-link,
.learnpress-profile .learn-press-form a {
	color: var(--db-brand-strong);
}

@media (max-width: 991px) {
	.learnpress-profile .lp-content-area {
		grid-template-columns: minmax(0, 1fr);
	}

	.db-auth-intro {
		padding: 24px 22px;
	}

	.learnpress-profile .learn-press-form {
		padding: 20px 18px;
	}
}

.db-auth-privacy {
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--db-ink-muted);
}

.db-auth-privacy a {
	color: var(--db-brand-strong);
	text-decoration: underline;
}

/* ===========================================================================
   Site footer — rendered through thim_copyright_area by functions.php
   =========================================================================== */

.db-footer {
	padding: 56px 0 0;
	background: #0f1e2e;
	color: var(--db-surface);
}

.db-footer__wrap {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	max-width: var(--db-max);
	margin: 0 auto;
	padding: 0 24px 44px;
}

.db-footer__name {
	display: block;
	margin-bottom: 12px;
	font-family: var(--db-font-head);
	font-size: 24px;
	line-height: 1.1;
	color: #ffffff;
}

.db-footer__line {
	max-width: 46ch;
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.72);
}

.db-footer__cta {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 20px;
	border-radius: 8px;
	background: var(--db-cta);
	color: var(--db-on-cta);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.db-footer__cta:hover,
.db-footer__cta:focus-visible {
	background: var(--db-cta-hover);
	color: var(--db-on-cta);
	text-decoration: none;
}

.db-footer__head {
	margin: 0 0 14px;
	font-family: var(--db-font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.db-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.db-footer__list li {
	margin: 0 0 2px;
}

.db-footer__list a {
	display: inline-block;
	padding: 7px 0;
	font-size: 15px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
}

.db-footer__list a:hover,
.db-footer__list a:focus-visible {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.db-footer__list--muted a {
	color: rgba(255, 255, 255, 0.6);
	font-size: 14px;
}

.db-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	align-items: center;
	justify-content: space-between;
	max-width: var(--db-max);
	margin: 0 auto;
	padding: 18px 24px 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.db-footer__copy {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
}

.db-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.db-footer__legal-list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
}

.db-footer__legal-list a:hover {
	color: #ffffff;
	text-decoration: underline;
}

@media (max-width: 991px) {
	.db-footer__wrap {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}
}

@media (max-width: 575px) {
	.db-footer {
		padding-top: 40px;
	}

	.db-footer__wrap {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
		padding-bottom: 32px;
	}
}

/* ===========================================================================
   Legal pages — privacy, terms, shipping and returns
   Long-form prose needs a measure and a rhythm; nothing here is decorative.
   =========================================================================== */

.db-legal {
	max-width: 72ch;
}

.db-legal h2 {
	margin: 40px 0 12px;
	font-family: var(--db-font-head);
	font-size: clamp(20px, 2.2vw, 26px);
	line-height: 1.25;
	color: var(--db-ink);
}

.db-legal h2:first-child {
	margin-top: 0;
}

.db-legal h3 {
	margin: 26px 0 8px;
	font-family: var(--db-font-body);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--db-ink);
}

.db-legal p,
.db-legal li {
	font-size: 16px;
	line-height: 1.7;
	color: var(--db-ink-soft);
}

.db-legal p {
	margin: 0 0 14px;
}

.db-legal ul,
.db-legal ol {
	margin: 0 0 18px;
	padding-left: 22px;
}

.db-legal li {
	margin: 0 0 8px;
}

.db-legal strong {
	color: var(--db-ink);
}

.db-legal a {
	color: var(--db-brand-strong);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* the two facts still outstanding are meant to be seen, not buried */
.db-legal strong:only-child {
	color: #8a4b00;
}

/* ===========================================================================
   404
   =========================================================================== */

.db-404 {
	padding: 64px 0 72px;
}

.db-404 h1 {
	margin: 8px 0 12px;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.12;
}

.db-404 .db-lead {
	max-width: 62ch;
	margin-bottom: 32px;
}

.db-404__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.db-404__list a {
	display: block;
	height: 100%;
	padding: 20px;
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	background: var(--db-surface);
	text-decoration: none;
}

.db-404__list a:hover,
.db-404__list a:focus-visible {
	border-color: var(--db-brand-strong);
	text-decoration: none;
}

.db-404__title {
	display: block;
	margin-bottom: 6px;
	font-family: var(--db-font-head);
	font-size: 20px;
	color: var(--db-ink);
}

.db-404__note {
	display: block;
	font-size: 14px;
	line-height: 1.55;
	color: var(--db-ink-muted);
}

.db-404__search {
	max-width: 460px;
	margin-bottom: 24px;
}

.db-404__home {
	font-weight: 600;
}

@media (max-width: 767px) {
	.db-404__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ===========================================================================
   Model kit page: price line, steps list, comparison table
   =========================================================================== */

.db-price-line {
	margin: 0 0 20px;
	font-family: var(--db-font-head);
	font-size: 30px;
	line-height: 1.2;
	color: var(--db-ink);
}

.db-price-line .woocommerce-Price-amount,
.db-price-line ins {
	font-weight: 400;
	text-decoration: none;
}

.db-price-line del {
	margin-right: 8px;
	font-size: 18px;
	color: var(--db-ink-muted);
}

.db-steps-list {
	margin: 0 0 20px;
	padding: 0;
	counter-reset: db-step;
	list-style: none;
	max-width: 74ch;
}

.db-steps-list li {
	position: relative;
	margin: 0 0 18px;
	padding-left: 44px;
}

.db-steps-list li::before {
	counter-increment: db-step;
	content: counter(db-step);
	position: absolute;
	left: 0;
	top: -2px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--db-brand-tint);
	color: var(--db-brand-strong);
	font-size: 14px;
	font-weight: 700;
}

.db-compare {
	width: 100%;
	margin: 8px 0 16px;
	border-collapse: collapse;
	font-size: 15px;
}

.db-compare th,
.db-compare td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--db-line);
	text-align: left;
	vertical-align: top;
}

.db-compare thead th {
	font-family: var(--db-font-head);
	font-size: 16px;
	font-weight: 400;
	color: var(--db-ink);
	border-bottom: 2px solid var(--db-ink);
}

.db-compare tbody th {
	font-weight: 600;
	color: var(--db-ink);
	width: 22%;
}

.db-compare__price td {
	font-family: var(--db-font-head);
	font-size: 20px;
	color: var(--db-ink);
}

.db-compare__saving td {
	color: var(--db-brand-strong);
	font-weight: 600;
}

@media (max-width: 767px) {
	.db-compare {
		font-size: 14px;
	}

	.db-compare th,
	.db-compare td {
		padding: 9px 8px;
	}

	.db-compare tbody th {
		width: 30%;
	}
}

/* homepage band: the book and the kit */
.db-notjust__row {
	align-items: start;
	gap: 32px;
}

.db-notjust__row .db-figure--card,
.db-notjust__row .db-figure--card .vc_single_image-wrapper,
.db-notjust__row .db-figure--card figure {
	width: 100% !important;
	max-width: none !important;
}

.db-notjust__row .db-figure--card img {
	width: 100% !important;
	height: 340px !important;
	max-height: 340px !important;
	/* contain, not cover: this product image carries its own words, and cropping
	   it cut the title off the top and the feature strip off the bottom */
	object-fit: contain;
	object-position: center;
	border-radius: var(--db-radius-lg);
}

.db-notjust h3 {
	margin: 18px 0 8px;
	font-size: 22px;
}

.db-notjust .db-card-price {
	margin: 4px 0 14px;
	font-family: var(--db-font-head);
	font-size: 22px;
	color: var(--db-ink);
}

.db-notjust .db-note {
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid var(--db-line);
}

/* catalogue: ways to buy */
.db-section--compare {
	padding-top: 8px;
}

.db-section--compare .db-compare {
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	overflow: hidden;
}

.db-section--compare .db-compare th,
.db-section--compare .db-compare td {
	border-bottom: 1px solid var(--db-line);
}

.db-section--compare .db-compare tr:last-child th,
.db-section--compare .db-compare tr:last-child td {
	border-bottom: 0;
}

/* saving note under a product price */
.db-saving-note {
	margin: -6px 0 16px;
	padding: 8px 12px;
	display: inline-block;
	border-radius: 6px;
	background: var(--db-brand-tint);
	color: var(--db-brand-strong);
	font-size: 14px;
	font-weight: 600;
}

/* comparison table on a narrow screen: fixed layout so the label column keeps its width */
@media (max-width: 575px) {
	.db-compare {
		table-layout: fixed;
		font-size: 13px;
	}

	.db-compare th:first-child,
	.db-compare td:first-child {
		width: 30%;
	}

	.db-compare th,
	.db-compare td {
		padding: 8px 5px;
		overflow-wrap: normal;
		word-break: normal;
		hyphens: none;
	}

	.db-compare thead th {
		font-size: 13px;
		line-height: 1.25;
	}
}

@media (max-width: 575px) {
	.db-compare {
		font-size: 12px;
	}

	.db-compare th,
	.db-compare td {
		padding: 6px 4px;
	}

	/* the regular price sits above the sale price instead of beside it */
	.db-compare del {
		display: block;
		font-size: 11px;
		line-height: 1.2;
	}
}

/* Comparison table on a phone: one block per row, each cell labelled by its column.
   Labels come from data-label attributes so no value is left unidentified. */
@media (max-width: 640px) {
	.db-compare thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}

	.db-compare,
	.db-compare tbody,
	.db-compare tr,
	.db-compare th,
	.db-compare td {
		display: block;
		width: auto;
	}

	.db-compare {
		border: 1px solid var(--db-line);
		border-radius: var(--db-radius-lg);
		padding: 4px 14px;
		background: var(--db-surface);
	}

	.db-compare tr {
		padding: 12px 0;
		border-bottom: 1px solid var(--db-line);
	}

	.db-compare tr:last-child {
		border-bottom: 0;
	}

	.db-compare tbody th {
		width: auto;
		padding: 0 0 6px;
		font-size: 13px;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--db-ink-muted);
		border: 0;
	}

	.db-compare td {
		padding: 3px 0;
		border: 0;
	}

	.db-compare td::before {
		content: attr(data-label) " ";
		font-size: 13px;
		color: var(--db-ink-muted);
	}

	.db-compare td[data-label=""]::before,
	.db-compare td:not([data-label])::before {
		content: "";
	}

	.db-compare__price td {
		font-size: 17px;
	}
}

/* the parts photograph on the kit page */
.db-figure--parts img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
	margin: 0 0 28px;
	border-radius: var(--db-radius-lg);
}

@media (max-width: 767px) {
	.db-figure--parts img {
		max-height: 320px;
	}
}

/* WPBakery wraps a single image in an inline-block; make the parts photo span the column */
.db-figure--parts,
.db-figure--parts .vc_single_image-wrapper {
	display: block;
	width: 100%;
}

.db-figure--parts img {
	width: 100% !important;
	max-width: 100%;
}

/* the parts photo must take the whole column, whatever the theme sets on the wrapper */
.vc_row .db-figure--parts,
.vc_row .db-figure--parts .vc_single_image-wrapper,
.vc_row .db-figure--parts .vc_single_image-wrapper img,
.vc_row .db-figure--parts img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
}

/* the theme pins vc_figure to a fixed width; the parts photo needs the column */
.db-figure--parts figure,
.db-figure--parts .vc_single_image-wrapper,
.db-figure--parts img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
}

/* the contents photo reads best at a contained width, not stretched edge to edge */
.db-figure--parts {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

.db-figure--parts img {
	max-height: none !important;
	height: auto !important;
}

@media (max-width: 767px) {
	.db-figure--parts {
		max-width: 100%;
	}
}

/* the LearnPress buy button, now a cart button */
.db-course-buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 24px;
	text-transform: none;
	letter-spacing: 0;
	font-size: 15px;
	font-weight: 600;
}

.db-course-buy:hover,
.db-course-buy:focus-visible {
	filter: brightness(0.95);
}

/* ===========================================================================
   Course page conversion flow
   =========================================================================== */

.db-flow {
	max-width: 960px;
	margin: 0 auto;
	padding: 8px 0 64px;
}

.db-flow h2 {
	margin: 0 0 18px;
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.2;
}

.db-flow__section {
	padding: 40px 0;
	border-top: 1px solid var(--db-line);
}

.db-flow__section--alt {
	background: var(--db-brand-tint);
	border-top: 0;
	border-radius: var(--db-radius-lg);
	padding: 40px 32px;
	margin: 8px 0;
}

.db-flow__outcomes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: flow-out;
}

.db-flow__outcomes li {
	position: relative;
	padding-left: 30px;
	line-height: 1.55;
}

.db-flow__outcomes li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 1px;
	color: var(--db-brand-strong);
	font-weight: 700;
}

.db-flow__meta {
	margin: 0 0 14px;
	color: var(--db-ink-muted);
	font-size: 15px;
}

.db-flow__curriculum {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: flow-sec;
}

.db-flow__curriculum li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	counter-increment: flow-sec;
}

.db-flow__curriculum li::before {
	content: counter(flow-sec);
	flex: 0 0 26px;
	color: var(--db-brand-strong);
	font-weight: 700;
}

.db-flow__sec-name {
	flex: 1 1 auto;
	font-weight: 600;
}

.db-flow__sec-count {
	color: var(--db-ink-muted);
	white-space: nowrap;
	font-size: 14px;
}

.db-flow__for {
	margin: 0 0 12px;
	padding-left: 20px;
	line-height: 1.6;
}

.db-flow__quotes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.db-flow__quotes blockquote {
	margin: 0;
	padding: 22px 20px;
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	background: var(--db-surface);
}

.db-flow__quotes p {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.55;
}

.db-flow__quotes cite {
	font-style: normal;
	font-weight: 700;
	font-size: 14px;
	color: var(--db-brand-strong);
}

.db-flow__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 20px;
}

.db-flow__card {
	display: flex;
	flex-direction: column;
	padding: 24px 22px;
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	background: #fff;
}

.db-flow__card--primary {
	border: 2px solid var(--db-brand-strong);
}

.db-flow__card h3 {
	margin: 0 0 10px;
	font-size: 19px;
}

.db-flow__price {
	margin: 0 0 4px;
	font-family: var(--db-font-head);
	font-size: 30px;
	line-height: 1.1;
	color: var(--db-ink);
}

.db-flow__saving {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 700;
	color: var(--db-brand-strong);
}

.db-flow__note {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--db-ink-muted);
	flex: 1 1 auto;
}

.db-flow__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 22px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	text-align: center;
}

.db-flow__btn--cta {
	background: var(--db-cta);
	color: var(--db-on-cta);
}

.db-flow__btn--cta:hover,
.db-flow__btn--cta:focus-visible {
	background: var(--db-cta-hover);
	color: var(--db-on-cta);
}

.db-flow__btn--outline {
	border: 1px solid var(--db-ink);
	color: var(--db-ink);
}

.db-flow__btn--outline:hover {
	background: var(--db-ink);
	color: #fff;
}

.db-flow__risk {
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid var(--db-line);
	font-size: 14px;
	color: var(--db-ink-muted);
}

.db-flow__faq details {
	border-bottom: 1px solid var(--db-line);
	padding: 14px 0;
}

.db-flow__faq summary {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.db-flow__faq summary::-webkit-details-marker {
	display: none;
}

.db-flow__faq summary::after {
	content: "+";
	color: var(--db-brand-strong);
	font-weight: 700;
}

.db-flow__faq details[open] summary::after {
	content: "\2212";
}

.db-flow__faq p {
	margin: 12px 0 0;
	max-width: 72ch;
	color: var(--db-ink-muted);
}

/* sticky buy bar, phones only */
.db-sticky-buy {
	display: none;
}

@media (max-width: 767px) {
	.db-flow__outcomes,
	.db-flow__cards,
	.db-flow__quotes {
		grid-template-columns: minmax(0, 1fr);
	}

	.db-flow__section--alt {
		padding: 28px 20px;
	}

	.db-sticky-buy {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 16px;
		background: #fff;
		border-top: 1px solid var(--db-line);
		box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
	}

	.db-sticky-buy__price {
		font-family: var(--db-font-head);
		font-size: 22px;
	}

	.db-sticky-buy__btn {
		display: inline-flex;
		align-items: center;
		min-height: 46px;
		padding: 0 22px;
		border-radius: 8px;
		background: var(--db-cta);
		color: var(--db-on-cta);
		font-weight: 700;
		text-decoration: none;
	}
}

/* the three price cards should share a baseline even when one has no saving */
.db-flow__saving {
	min-height: 1.2em;
}

.db-flow__card:first-child .db-flow__saving {
	color: var(--db-ink-muted);
	font-weight: 600;
}

/* course page hero: a 16:9 banner, not a full-height photo */
.learn-press .course-thumbnail {
	margin-bottom: 26px;
}

.learn-press .course-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 320px;
	aspect-ratio: 8 / 3;
	object-fit: cover;
	border-radius: var(--db-radius-lg);
}

@media (max-width: 767px) {
	.learn-press .course-thumbnail img {
		max-height: 180px;
		border-radius: 10px;
	}
}

/* ---------------------------------------------------------------------------
   Header: dark bar with white type (the white header made the logo read pale)
   --------------------------------------------------------------------------- */

#masthead.site-header {
	background: var(--db-ink);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* the supplied logo is a dark wordmark on white: force it to solid white on navy */
#masthead .thim-logo img {
	filter: brightness(0) invert(1);
}

#masthead .width-navigation .menu-main-menu > li > a.tc-menu-inner {
	color: #ffffff;
}

#masthead .width-navigation .menu-main-menu > li > a.tc-menu-inner:hover,
#masthead .width-navigation .menu-main-menu > li.current-menu-item > a.tc-menu-inner {
	color: var(--db-cta);
}

/* log in keeps an outline, now in white */
#masthead .width-navigation .menu-main-menu > li.db-menu-login > a.tc-menu-inner {
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: var(--db-radius);
	padding: 10px 18px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

#masthead .width-navigation .menu-main-menu > li.db-menu-login > a.tc-menu-inner:hover {
	background: #ffffff;
	color: var(--db-ink);
	border-color: #ffffff;
}

/* search and cart icons sit on the dark bar */
#masthead .search-icon,
#masthead .thim-search-form-wrapper .search-icon,
#masthead .widget_shopping_cart_content .cart-icon,
#masthead .site-header-right .search-btn,
#masthead .site-header-right a {
	color: #ffffff;
}

/* the sticky bar after scrolling uses the same treatment */
#masthead.site-header.affix,
#masthead.site-header.is-sticky {
	background: var(--db-ink);
}

/* mobile menu panel: white type on the same navy */
.mobile-menu-wrapper,
.mobile-menu-container,
.thim-mobile-menu,
.offcanvas-menu-inner {
	background: var(--db-ink);
}

.mobile-menu-wrapper a,
.mobile-menu-container a,
.thim-mobile-menu a,
.offcanvas-menu-inner a {
	color: #ffffff;
}

/* ---------------------------------------------------------------------------
   Course hero: white type on the teal field, sketch card on the right
   --------------------------------------------------------------------------- */

.db-course-hero {
	position: relative;
	margin: 0 0 34px;
	border-radius: var(--db-radius-lg);
	background-color: var(--db-brand-strong);
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
	background-size: 32px 32px, 32px 32px;
	overflow: hidden;
}

.db-course-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	padding: 44px 44px 44px 48px;
}

.db-course-hero__eyebrow {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #e6f7fb;
}

.db-course-hero h2 {
	margin: 0 0 14px;
	font-size: clamp(26px, 3.1vw, 40px);
	line-height: 1.12;
	color: #ffffff;
}

.db-course-hero__lead {
	margin: 0 0 18px;
	max-width: 46ch;
	font-size: 16px;
	line-height: 1.6;
	color: #e6f7fb;
}

.db-course-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.db-course-hero__facts li {
	position: relative;
	padding-left: 18px;
	font-size: 14px;
	color: #e6f7fb;
}

.db-course-hero__facts li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: var(--db-cta);
	font-weight: 700;
}

.db-course-hero__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	margin: 0;
}

.db-course-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 26px;
	border-radius: 8px;
	background: var(--db-cta);
	color: var(--db-on-cta);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.db-course-hero__btn:hover,
.db-course-hero__btn:focus-visible {
	background: var(--db-cta-hover);
	color: var(--db-on-cta);
}

.db-course-hero__link {
	color: #ffffff;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.db-course-hero__link:hover {
	color: var(--db-cta);
}

.db-course-hero__art img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 340px;
	object-fit: contain;
}

/* the standalone thumbnail is replaced by the hero on the course page itself.
   Scoped hard: an unscoped rule also hid the picture in every card on the page,
   including the "You May Like" carousel, which then showed a floating avatar. */
.single-lp_course .course-summary .course-thumbnail,
.single-lp_course .learn-press-course .course-thumbnail {
	display: none;
}

/* and the related-course cards keep theirs */
.single-lp_course .thim-related-course .course-item .course-thumbnail {
	display: block;
}

@media (max-width: 991px) {
	.db-course-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		padding: 32px 28px;
	}

	.db-course-hero__art img {
		max-height: 260px;
	}
}

@media (max-width: 575px) {
	.db-course-hero {
		margin-bottom: 44px;
	}

	.db-course-hero__inner {
		padding: 26px 20px 32px;
	}

	.db-course-hero__btn {
		width: 100%;
	}
}

/* the cyan button needs a little separation from the teal field behind it */
.db-course-hero__btn {
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.db-course-hero__btn:hover,
.db-course-hero__btn:focus-visible {
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55);
}

/* phones: the summary price bar duplicates the hero CTA and the sticky bar */
@media (max-width: 767px) {
	.single-lp_course .course-payment,
	.single-lp_course .lp-course-buttons {
		display: none;
	}
}

/* ---------------------------------------------------------------------------
   Course reviews (replaces LearnPress's rating-only list)
   --------------------------------------------------------------------------- */

.db-course-reviews__title {
	margin: 0 0 20px;
	font-size: 22px;
	color: var(--db-ink);
}

.db-course-reviews__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.db-course-reviews__item {
	padding: 22px 0;
	border-top: 1px solid var(--db-line);
}

.db-course-reviews__item:first-child {
	border-top: 0;
	padding-top: 0;
}

.db-course-reviews__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin-bottom: 8px;
}

.db-course-reviews__author {
	font-weight: 700;
	color: var(--db-ink);
}

.db-course-reviews__date {
	font-size: 13px;
	color: var(--db-ink-muted);
}

.db-course-reviews__text {
	max-width: 72ch;
	color: var(--db-ink);
	line-height: 1.65;
}

.db-course-reviews__text p {
	margin: 0 0 10px;
}

.db-course-reviews__text p:last-child {
	margin-bottom: 0;
}

.db-course-reviews__empty {
	color: var(--db-ink-muted);
}

.db-course-reviews__pager {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid var(--db-line);
	font-size: 14px;
}

.db-course-reviews__pager a {
	color: var(--db-brand-strong);
	font-weight: 600;
}

.db-course-reviews__count {
	color: var(--db-ink-muted);
}

/* the "Review ★★★★★" widget cannot show a rating we do not collect */
.meta-item-review .review-stars-rated {
	display: none;
}

.db-review-count {
	display: block;
	margin-top: 4px;
	font-weight: 700;
	color: var(--db-brand-strong);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------------------------------------------------------------------------
   "You May Like" cards
   Eduma positions the instructor avatar with a negative margin so it overlaps
   the course image. If that image is missing the avatar is pushed above the
   card and clipped, which is what chopped the heads. Give the avatar its own
   box instead, so it cannot depend on the image above it.
   --------------------------------------------------------------------------- */

.single-lp_course .thim-related-course .course-item .instructor-avatar {
	display: block;
	width: 52px;
	height: 52px;
	margin: 14px auto 8px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--db-surface, #fff);
}

.single-lp_course .thim-related-course .course-item .instructor-avatar img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: cover;
	border-radius: 50%;
}

.single-lp_course .thim-related-course .course-item .instructor-display-name {
	display: block;
	text-align: center;
}

.single-lp_course .thim-related-course .course-item .course-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 10px 10px 0 0;
}

/* ---------------------------------------------------------------------------
   Front page: one footer, the same one every other page uses
   The theme renders a sidebar column (a "Recent Posts" block widget) after
   <main>, which landed directly on top of the navy footer and read as a second,
   different footer. No other page shows it.
   --------------------------------------------------------------------------- */

.home #sidebar,
.page-id-3228 #sidebar {
	display: none;
}

.home #main.site-main,
.page-id-3228 #main.site-main {
	width: 100%;
	max-width: 100%;
	float: none;
}

/* ---------------------------------------------------------------------------
   Homepage: "Training a graduate intake?" band
   Was a 220px thumbnail beside a stranded outline button. Now a half-width
   photograph and a proper pitch, on the same hairline-and-tint language as the
   rest of the page.
   --------------------------------------------------------------------------- */

.db-section--teams {
	padding: 56px 0 !important;
	background: var(--db-brand-tint, #f2fbfd);
	border-top: 1px solid var(--db-line);
	border-bottom: 1px solid var(--db-line);
}

.db-teams {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}

/* place the two halves explicitly: WPBakery's floats and percentage widths make
   auto-placement unpredictable, and it was dropping each into its own row */
.db-teams__figure {
	grid-column: 1;
	grid-row: 1;
}

.db-teams__copy {
	grid-column: 2;
	grid-row: 1;
}

/* WPBakery columns are floated and carry their own percentage width; as grid
   items that width shrinks them to half a track. Reset both. */
.db-teams > .wpb_column,
.db-teams > .vc_column_container,
.db-teams > .wpb_column > .vc_column-inner {
	width: auto !important;
	max-width: none !important;
	float: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.db-teams__figure,
.db-teams__figure .vc_single_image-wrapper,
.db-teams__figure .wpb_single_image {
	width: 100% !important;
	max-width: none !important;
}

.db-teams__figure img {
	display: block;
	width: 100% !important;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--db-radius-lg);
	box-shadow: 0 18px 40px rgba(15, 30, 46, 0.14);
}

.db-teams__copy h2 {
	margin: 8px 0 14px;
	font-size: clamp(26px, 2.6vw, 34px);
	line-height: 1.15;
}

.db-teams__copy .db-lead {
	margin: 0 0 20px;
	max-width: 44ch;
}

.db-teams__copy .db-checklist {
	margin-bottom: 26px;
}

.db-teams__copy .db-checklist li {
	font-size: 15px;
}

.db-teams__copy .vc_btn3-container {
	display: inline-block;
	margin: 0 12px 0 0;
	vertical-align: middle;
}

.db-teams__copy .vc_btn3-container.db-btn--after {
	margin-right: 0;
}

@media (max-width: 991px) {
	.db-teams {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.db-teams__figure,
	.db-teams__copy {
		grid-column: 1;
		grid-row: auto;
	}

	.db-section--teams {
		padding: 40px 0;
	}

	.db-teams__figure img {
		aspect-ratio: 16 / 10;
	}
}



/* tighter optics: flush buttons, no matte around the photo, shorter run to the CTA */
.db-teams__figure figure,
.db-teams__figure .vc_figure,
.db-teams__figure .vc_single_image-wrapper {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}

.db-teams__copy .vc_btn3-container {
	margin-left: 0 !important;
	padding-left: 0 !important;
}

.db-teams__copy .db-checklist {
	margin-bottom: 20px;
}

/* the builder wraps single images in a padded white box; drop it so the photo
   meets its own rounded corners */
.db-teams__figure .wpb_single_image {
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	margin: 0 !important;
}

/* ---------------------------------------------------------------------------
   Landing-page template: no white gap under the header
   The theme pads .site-content by 60px to clear a page-title banner. This
   template prints no banner, so the padding cleared nothing and left a band of
   empty page between the header and the first section.
   --------------------------------------------------------------------------- */

.page-template-landing-page .site-content,
.page-template-landing-page .content-area,
.page-template-landing-page #main-content {
	padding-top: 0 !important;
}

/* ---------------------------------------------------------------------------
   Reviews page (/reviews/)
   Eduma's carousel printed "undefined" and broken avatars. This is a static
   grid: initials instead of images, first names only.
   --------------------------------------------------------------------------- */

/* two classes deep: .vc_row.db-section sets a white background and would win */
.vc_row.db-hero--reviews {
	position: relative;
	padding: 64px 0 56px;
	background-color: var(--db-brand-strong);
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
	background-size: 32px 32px, 32px 32px;
}

.db-hero--reviews h1 {
	margin: 6px 0 14px;
	font-size: clamp(30px, 3.6vw, 46px);
	line-height: 1.1;
	color: #ffffff;
}

.db-hero--reviews .db-eyebrow {
	color: #e6f7fb;
}

.db-hero--reviews .db-lead {
	margin: 0;
	max-width: 62ch;
	color: #e6f7fb;
}

.db-section--reviews {
	padding: 60px 0;
}

.db-section--reviews h2 {
	margin: 0 0 8px;
	font-size: clamp(24px, 2.4vw, 32px);
}

.db-section--reviews .db-lead {
	margin: 0 0 32px;
	max-width: 60ch;
}

/* testimonials and reviews share one card language */
.db-testimonials,
.db-reviews-grid {
	display: grid;
	gap: 22px;
}

.db-testimonials--cols-3,
.db-reviews-grid--cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.db-testimonials--cols-2,
.db-reviews-grid--cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.db-testimonials--cols-1,
.db-reviews-grid--cols-1 {
	grid-template-columns: minmax(0, 1fr);
}

.db-quote,
.db-review {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin: 0;
	padding: 26px 26px 22px;
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-left: 3px solid var(--db-brand);
	border-radius: var(--db-radius-lg);
}

.db-quote__text,
.db-review__text {
	margin: 0 0 20px;
	font-family: var(--db-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--db-ink);
}

.db-quote__person,
.db-review__person {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
}

.db-quote__initial,
.db-review__initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--db-brand-tint, #f2fbfd);
	color: var(--db-brand-strong);
	font-weight: 700;
	font-size: 16px;
	text-transform: uppercase;
}

.db-quote__meta,
.db-review__meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.db-quote__name,
.db-review__name {
	font-weight: 700;
	font-size: 15px;
	color: var(--db-ink);
}

.db-quote__role,
.db-review__course {
	font-size: 13px;
	line-height: 1.4;
	color: var(--db-ink-muted);
}

@media (max-width: 991px) {
	.db-testimonials--cols-3,
	.db-reviews-grid--cols-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.db-testimonials--cols-3,
	.db-testimonials--cols-2,
	.db-reviews-grid--cols-3,
	.db-reviews-grid--cols-2 {
		grid-template-columns: minmax(0, 1fr);
	}

	.db-section--reviews,
	.db-hero--reviews {
		padding: 40px 0;
	}
}

/* ---------------------------------------------------------------------------
   Header icons: the cart and search glyphs were dark on the navy bar
   They are icon-font characters, so the colour lives on the element and not on
   an image.
   --------------------------------------------------------------------------- */

#masthead .minicart_hover,
#masthead .minicart_hover i,
#masthead .cart-items-number,
#masthead .cart-items-number i,
#masthead .search-form .search-submit,
#masthead .search-form button,
#masthead .search-form i,
#masthead .search-icon,
#masthead .thim-search-form-wrapper .search-icon {
	color: #ffffff !important;
}

#masthead .minicart_hover:hover,
#masthead .minicart_hover:hover i,
#masthead .minicart_hover:focus i,
#masthead .search-form .search-submit:hover,
#masthead .search-form button:hover,
#masthead .search-icon:hover {
	color: var(--db-cta) !important;
}

/* the magnifier is an icon-font glyph on .search-form::after, not an image */
#masthead .search-form::after {
	color: #ffffff !important;
}

#masthead .search-form:hover::after {
	color: var(--db-cta) !important;
}

/* and the count sits on the cyan dot: navy reads, grey does not */
#masthead .items-number,
#masthead .wrapper-items-number {
	color: var(--db-on-cta) !important;
	font-weight: 700;
}

/* ---------------------------------------------------------------------------
   Button pairs inside a paragraph
   Two [vc_btn] in one vc_column_text become two inline-block containers with
   different line-heights, so one sits 10px lower than the other. Give them a
   common height and align them on the top edge.
   --------------------------------------------------------------------------- */

.db-section .vc_btn3-container,
.db-hero--reviews .vc_btn3-container {
	display: inline-block;
	vertical-align: top;
	margin: 0 12px 10px 0;
}

.db-section .vc_btn3-container:last-child {
	margin-right: 0;
}

.db-section .vc_btn3 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	min-height: 52px;
	line-height: 1.2;
	box-sizing: border-box;
	padding-top: 0;
	padding-bottom: 0;
}

/* ---------------------------------------------------------------------------
   CiSB Prep: the two package product cards
   --------------------------------------------------------------------------- */

.db-section--products {
	padding: 56px 0;
}

.db-products {
	display: grid !important;   /* Eduma sets .vc_row to flex */
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 28px;
	align-items: stretch;
}

/* builder columns are floated; as grid items that halves them */
.db-products > .wpb_column,
.db-products > .vc_column_container,
.db-products > .wpb_column > .vc_column-inner {
	width: auto !important;
	max-width: none !important;
	float: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* explicit placement: auto-placement put each card in its own row */
.db-products > .db-product-card:nth-child(1) {
	grid-column: 1;
	grid-row: 1;
}

.db-products > .db-product-card:nth-child(2) {
	grid-column: 2;
	grid-row: 1;
}

/* same for the package cards: the grid reset strips their inset */
.db-products > .db-product-card {
	padding-left: 24px !important;
	padding-right: 24px !important;
}

.db-product-card {
	display: flex;
	flex-direction: column;
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	overflow: hidden;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.db-product-card:hover {
	border-color: var(--db-brand);
	box-shadow: 0 14px 34px rgba(15, 30, 46, 0.12);
}

/* image area: a tinted plate so different shapes sit together */
.db-product-card .wpb_single_image,
.db-product-card figure,
.db-product-card .vc_single_image-wrapper {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: var(--db-brand-tint, #f2fbfd) !important;
}

.db-product-card .db-figure--product img {
	display: block;
	width: 100% !important;
	height: auto;
	aspect-ratio: 3 / 2;   /* both card images are 3:2, so neither is letterboxed */
	object-fit: contain;
	object-position: center;
}

.db-product-card .wpb_text_column {
	padding: 26px 28px 28px;
}

.db-product-card .db-eyebrow {
	margin: 0 0 8px;
}

.db-product-card h3 {
	margin: 0 0 10px;
	font-size: clamp(20px, 2vw, 24px);
	line-height: 1.2;
}

.db-product-card p {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--db-ink-soft);
}

.db-product-card .db-card-price {
	margin: 0 0 16px;
	font-family: var(--db-font-head);
	font-size: 26px;
	color: var(--db-ink);
}

.db-product-card .vc_btn3-container {
	margin: 0 !important;
}

@media (max-width: 991px) {
	.db-products {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 22px;
	}

	.db-products > .db-product-card:nth-child(1),
	.db-products > .db-product-card:nth-child(2) {
		grid-column: 1;
		grid-row: auto;
	}

	.db-section--products {
		padding: 40px 0;
	}
}

/* ---------------------------------------------------------------------------
   Teams page: licence discount tiers
   The rates were 14px grey text inside flat boxes. The percentage now leads, the
   11-20 band is marked, and the 21+ band is a dark "talk to us" card.
   --------------------------------------------------------------------------- */

/* WPBakery's .vc_row clearfix uses ::before/::after — as grid items the first one
   eats column 1 and pushes every card one place across. Remove them inside our grids. */
.db-tiers::before, .db-tiers::after,
.db-products::before, .db-products::after,
.db-teams::before, .db-teams::after {
	content: none !important;
	display: none !important;
}

.db-tiers {
	display: grid !important;   /* Eduma sets .vc_row to flex */
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 18px;
	margin-top: 28px;
}

.db-tiers > .wpb_column,
.db-tiers > .vc_column_container,
.db-tiers > .wpb_column > .vc_column-inner {
	width: auto !important;
	max-width: none !important;
	float: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* the grid reset above also strips the card's own inset; put it back */
.db-tiers > .db-tier {
	padding-left: 24px !important;
	padding-right: 24px !important;
}

.db-tier {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 26px 24px 24px;
	background: var(--db-surface);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.db-tier:hover {
	border-color: var(--db-brand);
	box-shadow: 0 14px 30px rgba(15, 30, 46, 0.12);
	transform: translateY(-2px);
}

.db-tier .wpb_text_column {
	padding: 0;
}

.db-tier__seats {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--db-ink-muted);
}

.db-tier__value {
	display: flex;
	align-items: flex-end;
	min-height: 58px;   /* keeps "off the list price" on one baseline across all four */
	margin: 0 0 10px;
	font-family: var(--db-font-head);
	font-size: clamp(40px, 4.6vw, 58px);
	line-height: 0.95;
	letter-spacing: -0.02em;
	color: var(--db-brand-strong);
}

.db-tier__value span {
	font-size: 0.55em;
	margin-left: 2px;
}

.db-tier__value--words {
	font-size: clamp(24px, 2.6vw, 30px);
	line-height: 1.1;
}

.db-tier__note {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	color: var(--db-ink-soft);
}

/* best value: the 11-20 band */
.db-tier--best {
	background: var(--db-brand-strong);
	border-color: var(--db-brand-strong);
}

.db-tier--best .db-tier__value {
	color: #ffffff;
}

.db-tier--best .db-tier__seats {
	color: #ffffff;
}

.db-tier--best .db-tier__note {
	color: #e6f7fb;
}

.db-tier--best::after {
	content: "Best value";
	position: absolute;
	top: 18px;
	right: 18px;
	padding: 4px 11px;
	border-radius: 999px;
	background: #ffffff;
	color: var(--db-brand-strong);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* 21+: a cohort conversation */
.db-tier--custom {
	background: var(--db-ink);
	border-color: var(--db-ink);
}

.db-tier--custom .db-tier__value {
	color: #ffffff;
}

.db-tier--custom .db-tier__seats,
.db-tier--custom .db-tier__note {
	color: var(--db-on-dark-muted, #cfd8e3);
}

.db-tiers__cta {
	margin: 26px 0 0;
}

@media (max-width: 991px) {
	.db-tiers {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 560px) {
	.db-tiers {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.db-tier__value {
		font-size: 46px;
	}
}

/* ---------------------------------------------------------------------------
   Teams page: the quote form
   The card sat in a 1200px row at 700px wide, leaving half the section empty.
   Centre it on a comfortable measure and keep the two half-width fields paired.
   --------------------------------------------------------------------------- */

#enquiry .wpforms-container {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

#enquiry .wpforms-field {
	padding-bottom: 18px;
}

#enquiry .wpforms-field-label {
	font-weight: 600;
}

#enquiry .wpforms-submit-container {
	padding-top: 4px;
}

#enquiry .wpforms-submit {
	width: 100%;
	min-height: 52px;
}

/* Eduma flattens every WPForms field to a full-width block, so WPForms' own field
   sizes never paired. A grid on the form puts the two half-width fields back on one
   line and leaves the rest full width. */
@media (min-width: 601px) {
	/* the fields live inside .wpforms-field-container, so that is the grid parent */
	#enquiry .wpforms-field-container {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 16px;
		align-items: start;
	}

	#enquiry .wpforms-field-container > .wpforms-field {
		grid-column: 1 / -1;
		min-width: 0;
	}

	/* WPForms puts the size class on the input, not the field wrapper, so match the
	   wrapper that holds a half-width control */
	#enquiry .wpforms-field-container > .wpforms-field:has(.wpforms-field-medium) {
		grid-column: auto;
	}

	/* fallback for browsers without :has() — the two half-width fields are 5th and 6th */
	#enquiry .wpforms-field-container > .wpforms-field:nth-child(5),
	#enquiry .wpforms-field-container > .wpforms-field:nth-child(6) {
		grid-column: auto;
	}
}

@media (max-width: 600px) {
	#enquiry .wpforms-field-medium,
	#enquiry .wpforms-field-small {
		width: 100% !important;
	}

	/* the form was down to 260px of usable width from stacked padding */
	#enquiry .vc_column-inner {
		padding-left: 0;
		padding-right: 0;
	}

	#enquiry .wpforms-container {
		padding-left: 14px;
		padding-right: 14px;
	}
}

/* ---------------------------------------------------------------------------
   Kit page: the book section
   The menu calls this page "Book & kit" and it only sold the kit. This is the
   textbook, with its live price, above "Three ways to buy".
   --------------------------------------------------------------------------- */

.db-section--book {
	padding: 64px 0;
}

.db-book {
	display: grid !important;
	grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr) !important;
	gap: 44px;
	align-items: center;
}

/* WPBakery's row clearfix pseudo-elements are grid items; remove them inside our grids */
.db-book::before,
.db-book::after {
	content: none !important;
	display: none !important;
}

.db-book > .wpb_column,
.db-book > .vc_column_container,
.db-book > .wpb_column > .vc_column-inner {
	width: auto !important;
	max-width: none !important;
	float: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.db-book__figure {
	grid-column: 1;
	grid-row: 1;
}

.db-book__copy {
	grid-column: 2;
	grid-row: 1;
}

.db-book__figure .wpb_single_image,
.db-book__figure figure,
.db-book__figure .vc_single_image-wrapper {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.db-book__image img {
	display: block;
	width: 100% !important;
	height: auto;
	max-height: 520px;
	object-fit: contain;
	border-radius: var(--db-radius-lg);
	box-shadow: 0 18px 40px rgba(15, 30, 46, 0.14);
}

.db-book__copy .db-eyebrow {
	margin: 0 0 10px;
}

.db-book__copy h2 {
	margin: 0 0 14px;
}

.db-book__price {
	margin: 22px 0 6px;
	font-family: var(--db-font-head);
	font-size: 30px;
	line-height: 1.1;
	color: var(--db-ink);
}

.db-book__note {
	margin: 0 0 22px;
	font-size: 15px;
	color: var(--db-ink-muted);
}

.db-book__cta {
	margin: 0;
}

@media (max-width: 991px) {
	.db-book {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 26px;
	}

	.db-book__figure,
	.db-book__copy {
		grid-column: 1;
		grid-row: auto;
	}

	.db-section--book {
		padding: 40px 0;
	}
}

/* ---------------------------------------------------------------------------
   About David: the four-figure band, made bold
   Four white cards with 16px figures was the quietest thing on the page, and the
   numbers are the strongest credentials on it. Full-bleed navy, figure leading.
   --------------------------------------------------------------------------- */

/* .vc_row.db-section--alt sets a light background, so match its specificity */
.vc_row.db-section--figures {
	background: var(--db-ink) !important;
	border-top: 0 !important;
	border-bottom: 0 !important;
	padding: 0 !important;
}

.db-stats-bold {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 0;
	max-width: var(--db-max);
	margin: 0 auto;
	padding: 0;
}

/* WPBakery's row clearfix pseudo-elements are grid items; drop them inside our grids */
.db-stats-bold::before,
.db-stats-bold::after {
	content: none !important;
	display: none !important;
}

.db-stats-bold > .wpb_column,
.db-stats-bold > .vc_column_container,
.db-stats-bold > .wpb_column > .vc_column-inner {
	width: auto !important;
	max-width: none !important;
	float: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.db-stat--bold {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 56px 34px 52px !important;
	position: relative;
}

/* a hairline between the figures, not a box around each */
.db-stat--bold + .db-stat--bold {
	box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.14) !important;
}

/* the figure leads */
.db-stat--bold .db-stat__figure {
	margin: 0 0 18px;
	padding-top: 22px;
	font-family: var(--db-font-head);
	font-size: clamp(48px, 5.4vw, 76px);
	line-height: 0.9;
	letter-spacing: -0.03em;
	color: #ffffff;
	position: relative;
}

/* the teal rule above each figure */
.db-stat--bold .db-stat__figure::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 44px;
	height: 4px;
	border-radius: 2px;
	background: var(--db-cta);
}

.db-stat--bold .db-stat__label {
	margin: 0;
	font-size: 16px;
	line-height: 1.45;
	color: #cfd8e3;
	max-width: 24ch;
}

.db-stat--bold:hover {
	background: rgba(255, 255, 255, 0.03) !important;
}

/* the outer columns sit flush with the page grid, so the band lines up with the copy
   below it rather than starting 34px in */
@media (min-width: 992px) {
	.db-stat--bold:first-child {
		padding-left: 0 !important;
	}

	.db-stat--bold:last-child {
		padding-right: 0 !important;
	}
}

@media (max-width: 991px) {
	.db-stats-bold {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.db-stat--bold {
		padding: 34px 24px 34px !important;
	}

	.db-stat--bold + .db-stat--bold {
		box-shadow: none !important;
	}

	.db-stat--bold:nth-child(even) {
		box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.14) !important;
	}

	.db-stat--bold:nth-child(n + 3) {
		border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
	}
}

@media (max-width: 560px) {
	.db-stats-bold {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.db-stat--bold:nth-child(even),
	.db-stat--bold:nth-child(n + 3) {
		box-shadow: none !important;
		border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
	}

	.db-stat--bold .db-stat__figure {
		font-size: 46px;
	}
}

/* ---------------------------------------------------------------------------
   Catalogue: the teams call-to-action band and the closing intro
   The band was a heading with a button floating to its right — no container, no
   hierarchy. The intro was 86 words across a 1152px measure with no styling.
   --------------------------------------------------------------------------- */

.db-section--team-call {
	padding: 56px 0;
}

.db-team-call {
	display: grid !important;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) !important;
	gap: 40px;
	align-items: center;
	background: var(--db-brand-tint, #f2fbfd);
	border: 1px solid var(--db-line);
	border-left: 4px solid var(--db-brand-strong);
	border-radius: var(--db-radius-lg);
	padding: 40px 44px;
}

/* WPBakery's row clearfix pseudo-elements are grid items; drop them inside our grids */
.db-team-call::before,
.db-team-call::after {
	content: none !important;
	display: none !important;
}

.db-team-call > .wpb_column,
.db-team-call > .vc_column_container,
.db-team-call > .wpb_column > .vc_column-inner {
	width: auto !important;
	max-width: none !important;
	float: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.db-team-call__copy {
	grid-column: 1;
	grid-row: 1;
}

.db-team-call__actions {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
}

.db-team-call__copy .db-eyebrow {
	margin: 0 0 10px;
}

.db-team-call__copy h2 {
	margin: 0 0 12px;
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.15;
}

.db-team-call__copy .db-lead {
	margin: 0 0 18px;
	max-width: 56ch;
}

.db-team-call__copy .db-checklist {
	margin: 0;
	display: grid;
	gap: 8px;
	font-size: 16px;
}

/* the container is inline-block, so width:100% on the button only matched the text */
.db-team-call__actions .vc_btn3-container {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
}

.db-team-call__actions .vc_btn3 {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 52px;
}

@media (max-width: 991px) {
	.db-team-call {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 24px;
		padding: 30px 26px;
	}

	.db-team-call__copy,
	.db-team-call__actions {
		grid-column: 1;
		grid-row: auto;
	}

	.db-section--team-call {
		padding: 40px 0;
	}
}

/* the closing intro: a readable measure instead of one 1152px line */
.db-section--intro {
	padding: 56px 0;
}

.db-prose {
	max-width: 68ch;
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.7;
	color: var(--db-ink-soft);
}

.db-prose .db-eyebrow {
	margin: 0 0 14px;
}

.db-prose p {
	margin: 0 0 16px;
}

.db-prose p:last-child {
	margin-bottom: 0;
}

.db-prose a {
	color: var(--db-brand-strong);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.db-prose a:hover {
	color: var(--db-cta-hover);
}

@media (max-width: 767px) {
	.db-section--intro {
		padding: 40px 0;
	}

	.db-prose {
		font-size: 17px;
		line-height: 1.65;
	}
}


/* The Eduma page banner prints the course *category* — "CASE STUDIES" over a stock construction
   photograph — on every course page, directly above our hero. It names the section, not the course,
   and it put two headlines about different things one above the other. Hidden on single courses only;
   archives, the shop and pages keep their banner. */
body.single-lp_course .top_heading_out { display: none !important; }

/* --- testimonials on course pages (brohn-core 0.15.0) --- */
.db-section--testimonials { padding-block: clamp(32px, 5vw, 64px); background: var(--db-brand-tint); }
.db-section--testimonials .db-h2 { margin: 0 0 24px; }
.db-section--testimonials .db-testimonials { align-items: stretch; }
.db-section--testimonials .db-quote { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; height: 100%; margin: 0; }
.db-quote__text { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--db-ink); }
.db-quote__cite { display: flex; flex-direction: column; gap: 2px; font-style: normal; }
.db-quote__name { font-weight: 600; color: var(--db-ink); }
.db-quote__role { font-size: 0.875rem; color: var(--db-ink-muted); }
.db-quote__source { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--db-brand-strong); }

/* --- instructor cards (shortcode [db_instructors]) ------------------------------------------------ */
.db-instructors {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: var(--db-gap, 24px);
	margin: 0 0 32px;
}
.db-instructor-card {
	background: var(--db-card, #fff);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	padding: 24px;
	display: flex;
	flex-direction: column;
}
.db-instructor-card__name {
	margin: 0 0 4px;
	font-size: 1.25rem;
	line-height: 1.3;
}
.db-instructor-card__name a { color: var(--db-ink); text-decoration: none; }
.db-instructor-card__name a:hover { color: var(--db-brand-strong); }
.db-instructor-card__creds {
	margin: 0 0 12px;
	font-size: 0.85rem;
	letter-spacing: 0.02em;
	color: var(--db-ink-muted);
}
.db-instructor-card__summary {
	margin: 0 0 20px;
	color: var(--db-ink);
}
.db-instructor-card__link { margin: auto 0 0; }
.db-instructor-card__link .db-btn { display: inline-block; }

/* LearnPress hides the instructor's biography (.instructor-description) on the profile page, and the winning
   rule comes from a stylesheet we cannot override by specificity alone — hence !important here. The biography
   is the substance of the page, so it has to be visible. */
.lp-single-instructor .instructor-description {
	display: block !important;
	max-width: 68ch;
	line-height: 1.7;
	color: var(--db-ink);
}
.lp-single-instructor .instructor-description p { margin: 0 0 1em; }
.lp-single-instructor .instructor-description p:last-child { margin-bottom: 0; }

/* --- instructors page (page 1751) ---------------------------------------------------------------- */
.db-inst-hero {
	margin-bottom: 8px;
}
.db-inst-hero__kicker {
	margin: 0 0 12px;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--db-brand-strong);
}
.db-inst-hero__lede {
	font-size: 1.25rem;
	line-height: 1.6;
	color: var(--db-ink);
	font-weight: 500;
}
.db-inst-stats {
	background: var(--db-brand-tint, #eef6f9);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	padding: 20px 24px;
}
.db-inst-stats__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.db-inst-stats__list li {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--db-line);
}
.db-inst-stats__list li:last-child { border-bottom: 0; }
.db-inst-stats__num {
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1;
	color: var(--db-brand-strong);
	min-width: 56px;
}
.db-inst-stats__label {
	font-size: 0.95rem;
	color: var(--db-ink-muted);
	line-height: 1.4;
}

.db-inst-person {
	padding: 32px 0;
	border-top: 1px solid var(--db-line);
}
.db-inst-person__photo img {
	width: 100%;
	max-width: 260px;
	border-radius: 50%;
	display: block;
	margin: 0 auto;
}
.db-inst-person h2 {
	margin: 0 0 4px;
	font-size: 1.6rem;
	line-height: 1.25;
}
.db-inst-person__role {
	margin: 0 0 16px;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	color: var(--db-brand-strong);
	font-weight: 600;
}
.db-inst-person__teaches {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px dashed var(--db-line);
	color: var(--db-ink-muted);
}
.db-inst-person .db-btn { margin-top: 8px; }

.db-inst-why {
	margin: 32px 0;
	padding: 32px;
	background: var(--db-brand-tint, #eef6f9);
	border-radius: var(--db-radius-lg);
}
.db-inst-why h2 { margin-top: 0; }

.db-inst-cta {
	padding: 32px 0 8px;
	border-top: 1px solid var(--db-line);
}
.db-inst-cta .db-btn { margin-right: 12px; }

@media (max-width: 767px) {
	.db-inst-person__photo img { max-width: 180px; margin-bottom: 20px; }
	.db-inst-stats { margin-top: 20px; }
}

/* --- honours and milestones timeline (instructor profiles) ---------------------------------------- */
.db-awards {
	margin: 36px 0 0;
	padding-top: 28px;
	border-top: 2px solid var(--db-line);
}
.db-awards__title {
	margin: 0 0 24px;
	font-size: 1.35rem;
}
.db-awards__list {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}
.db-awards__list::before {
	content: "";
	position: absolute;
	left: 92px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: var(--db-line);
}
.db-awards__item {
	display: flex;
	gap: 28px;
	padding: 0 0 28px;
	position: relative;
}
.db-awards__year {
	flex: 0 0 84px;
	text-align: right;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--db-brand-strong);
	padding-top: 2px;
}
.db-awards__item::after {
	content: "";
	position: absolute;
	left: 87px;
	top: 6px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--db-cta, #00b4db);
	border: 2px solid #fff;
	box-sizing: content-box;
}
.db-awards__body {
	flex: 1 1 auto;
	min-width: 0;
}
.db-awards__heading {
	margin: 0 0 6px;
	font-size: 1.05rem;
	line-height: 1.35;
	color: var(--db-ink);
}
.db-awards__body p {
	margin: 0 0 12px;
	color: var(--db-ink-muted);
	line-height: 1.65;
}
.db-awards__figure {
	margin: 12px 0 0;
	max-width: 460px;
}
.db-awards__figure img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--db-radius-lg);
	border: 1px solid var(--db-line);
}
.db-awards__gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin: 8px 0 0;
}
.db-awards__gallery img {
	width: 100%;
	max-width: 460px;
	height: auto;
	display: block;
	border-radius: var(--db-radius-lg);
	border: 1px solid var(--db-line);
}

@media (max-width: 767px) {
	.db-awards__list::before { left: 6px; }
	.db-awards__item { flex-direction: column; gap: 6px; padding-left: 26px; }
	.db-awards__year { text-align: left; flex: none; }
	.db-awards__item::after { left: 1px; top: 4px; }
}

.db-awards__note {
	margin: 20px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--db-line);
	font-size: 0.85rem;
	color: var(--db-ink-muted);
	line-height: 1.6;
}

/* On narrow screens the instructor header keeps the photo beside the text, squeezing the biography into a
   214px column. Stack it so the biography gets the full width. */
@media (max-width: 767px) {
	.lp-single-instructor__info__wrapper {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
	.lp-single-instructor__info__right {
		width: 100%;
		flex: 1 1 auto;
	}
	.lp-single-instructor__info__left {
		flex: 0 0 auto;
	}
}

/* --- persistent cookie-settings tab ---------------------------------------------------------------
   Complianz renders this as a half-hidden tab (bottom: -35px) that slides up on hover, so at rest it
   reads as a clipped white stub floating over the footer. Made it a small, fully visible pill at the
   bottom-right gutter, clear of the back-to-top button above it and off the reading column, which is
   where it was sitting on top of card text. Withdrawal of consent has to be as easy as giving it. */
#cmplz-manage-consent .cmplz-manage-consent {
	bottom: 20px !important;
	top: auto !important;
	left: auto !important;
	right: 30px !important;
	transform: none !important;
	animation: none !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 8px 16px !important;
	font-size: 12px !important;
	letter-spacing: 0.04em;
	background: var(--db-brand-strong, #00758f) !important;
	color: #fff !important;
	box-shadow: 0 2px 10px rgba(15, 30, 46, 0.18);
	line-height: 1.2;
}
#cmplz-manage-consent .cmplz-manage-consent:hover,
#cmplz-manage-consent .cmplz-manage-consent:focus {
	animation: none !important;
	transform: none !important;
	background: var(--db-cta, #00b4db) !important;
	color: var(--db-on-cta, #0f1e2e) !important;
}

/* the plugin hides it under 769px; keep it available */
@media (max-width: 768px) {
	#cmplz-manage-consent .cmplz-manage-consent {
		display: inline-flex !important;
		align-items: center;
		bottom: 20px !important;
		left: auto !important;
		right: 10px !important;
		padding: 7px 12px !important;
		font-size: 11px !important;
	}
}

/* the plugin fixes this at 50px tall, which makes a chunky block over the page; a slim pill reads as a control */
#cmplz-manage-consent .cmplz-manage-consent {
	height: auto !important;
	min-height: 0 !important;
	padding: 7px 14px !important;
	font-size: 11px !important;
}

/* --- page titles the theme does not print -------------------------------------------------------- */
.db-page-title {
	margin: 0 0 20px;
	font-size: 1.9rem;
	line-height: 1.25;
	color: var(--db-ink);
}

/* --- FAQ ----------------------------------------------------------------------------------------- */
.db-faq-intro { margin-bottom: 8px; }
.db-faq-intro__title { margin: 0 0 10px; font-size: 1.5rem; }
.db-faq-intro__lede {
	font-size: 1.1rem;
	line-height: 1.65;
	color: var(--db-ink-muted);
	max-width: 70ch;
}
.db-faq-section {
	padding: 22px 0;
	border-top: 1px solid var(--db-line);
}
.db-faq__heading {
	margin: 0 0 18px;
	font-size: 1.2rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--db-brand-strong);
}
.db-faq-section h3 {
	margin: 26px 0 6px;
	padding-left: 14px;
	border-left: 3px solid var(--db-cta, #00b4db);
	font-size: 1.05rem;
	line-height: 1.4;
	color: var(--db-ink);
	scroll-margin-top: 90px;
}
.db-faq-section h3:first-of-type { margin-top: 8px; }
.db-faq-section p {
	margin: 0 0 4px;
	padding-left: 17px;
	line-height: 1.7;
	color: var(--db-ink-muted);
	max-width: 78ch;
}

/* --- exam preparation ---------------------------------------------------------------------------- */
.db-exam-intro { margin-bottom: 12px; }
.db-exam-intro__kicker {
	margin: 0 0 10px;
	font-size: 0.9rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--db-brand-strong);
}
.db-exam-intro__lede {
	font-size: 1.2rem;
	line-height: 1.6;
	color: var(--db-ink);
	font-weight: 500;
}
.db-exam-box {
	background: var(--db-brand-tint, #eef6f9);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
	padding: 20px 24px;
}
.db-exam-box__title { margin: 0 0 12px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--db-brand-strong); }
.db-exam-box__list { margin: 0; padding-left: 18px; }
.db-exam-box__list li { margin-bottom: 8px; line-height: 1.5; color: var(--db-ink); }
.db-exam-section {
	padding: 26px 0;
	border-top: 1px solid var(--db-line);
}
.db-exam-section h3.db-exam-sub {
	margin: 22px 0 6px;
	font-size: 1.05rem;
	color: var(--db-ink);
}
.db-exam-section p { max-width: 78ch; line-height: 1.7; }
.db-exam-faq { background: var(--db-brand-tint, #eef6f9); border-radius: var(--db-radius-lg); padding: 28px 32px; margin: 24px 0; }
.db-exam-faq h3 { margin: 20px 0 6px; font-size: 1.02rem; color: var(--db-ink); }
.db-exam-faq p { margin: 0 0 4px; color: var(--db-ink-muted); max-width: 74ch; line-height: 1.7; }
.db-exam-cta { padding: 28px 0 8px; border-top: 1px solid var(--db-line); }
.db-exam-cta .db-btn { margin-right: 12px; margin-bottom: 10px; }

@media (max-width: 767px) {
	.db-faq-section h3 { padding-left: 10px; }
	.db-faq-section p { padding-left: 13px; }
	.db-exam-faq { padding: 20px; }
}

/* --- customer reviews on course pages ------------------------------------------------------------ */
.db-reviews { margin: 8px 0 0; }
.db-reviews__title {
	margin: 0 0 20px;
	font-size: 1.25rem;
}
.db-reviews__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}
.db-reviews__item {
	margin: 0;
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	background: var(--db-brand-tint, #eef6f9);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-lg);
}
.db-reviews__quote {
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--db-ink);
}
/* the quote mark was escaped as \\201C, which prints the literal characters instead of the glyph, and it was
   absolutely positioned so it sat on top of the review text; set it above the quote as its own line instead */
.db-reviews__quote { position: static; padding-top: 0; }
.db-reviews__quote::before {
	content: "\201C";
	display: block;
	margin: 0 0 4px;
	font-size: 1.7rem;
	line-height: 0.8;
	color: var(--db-cta, #00b4db);
	opacity: 0.55;
}
.db-reviews__quote p { margin: 0; }
.db-reviews__item .db-reviews__quote p + p { margin-top: 10px; }
.db-reviews__meta {
	margin: auto 0 0;
	padding-top: 12px;
	font-size: 0.85rem;
	letter-spacing: 0.01em;
	color: var(--db-ink-muted);
}

/* the theme sets margins on paragraphs with higher specificity, which unpins the attribution; pin it explicitly */
.db-reviews__list .db-reviews__item .db-reviews__meta {
	margin-top: auto !important;
	margin-bottom: 0 !important;
	padding-top: 12px;
}

/* --- Downloads and podcasts pages ---------------------------------------------------------------- */
.db-page__lede {
	font-size: 1.1rem;
	line-height: 1.65;
	color: var(--db-ink-muted);
	max-width: 70ch;
	margin: 0 0 6px;
}

.db-dl {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	max-width: 74ch;
}
.db-dl__item {
	position: relative;
	margin: 0;
	padding: 20px 0 18px;
	border-top: 1px solid var(--db-line);
}
.db-dl__item:last-child { border-bottom: 1px solid var(--db-line); }
.db-dl__link {
	display: inline-block;
	font-size: 1.08rem;
	font-weight: 600;
	color: var(--db-brand-strong);
	text-decoration: none;
	border-bottom: 1px solid var(--db-brand-tint);
	transition: color 0.15s ease, border-color 0.15s ease;
}
.db-dl__link:hover,
.db-dl__link:focus {
	color: var(--db-cta-hover, #0099bc);
	border-bottom-color: var(--db-cta, #00b4db);
}
.db-dl__link::before {
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-right: 9px;
	vertical-align: -2px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v12m0 0l-4-4m4 4l4-4M4 19h16'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v12m0 0l-4-4m4 4l4-4M4 19h16'/%3E%3C/svg%3E") center/contain no-repeat;
}
.db-dl__meta {
	display: inline-block;
	margin-left: 10px;
	padding: 2px 8px;
	border: 1px solid var(--db-line);
	border-radius: 999px;
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--db-ink-muted);
	vertical-align: 3px;
}
.db-dl__text {
	margin: 8px 0 0;
	font-size: 0.97rem;
	line-height: 1.6;
	color: var(--db-ink-muted);
	max-width: 68ch;
}
.db-dl-cta { margin-top: 8px; }

.db-pod-episode {
	margin-bottom: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--db-line);
}
.db-pod__title {
	margin: 0 0 16px;
	font-size: 1.15rem;
	line-height: 1.35;
	color: var(--db-ink);
}
.db-pod__video .wpb_video_wrapper,
.db-pod__video .wpb_wrapper { border-radius: var(--db-radius-lg); overflow: hidden; }
.db-pod__video iframe { border-radius: var(--db-radius-lg); }
.db-pod-cta { margin-top: 4px; }

@media (max-width: 767px) {
	.db-dl__link { font-size: 1rem; }
	.db-dl__meta { margin-left: 0; margin-top: 6px; }
	.db-pod__title { font-size: 1.05rem; }
}

.db-letters-more { margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--db-line); }

/* --- checkout: the page-title banner is a 242px stock photograph of a building site, on the page where the
   buyer has already decided to pay. Drop the photo and the height, keep the title as a slim navy strip. ------- */
.woocommerce-checkout .top_site_main {
	background-image: none !important;
	background-color: var(--db-ink, #0f1e2e) !important;
	min-height: 0 !important;
	padding: 26px 0 24px !important;
}
.woocommerce-checkout .top_site_main .page-title-wrapper { padding: 0 !important; }
.woocommerce-checkout .top_site_main .page-title,
.woocommerce-checkout .top_site_main h1 {
	margin: 0 !important;
	font-size: 1.35rem !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase;
	line-height: 1.2 !important;
}
@media (max-width: 767px) {
	.woocommerce-checkout .top_site_main { padding: 18px 0 16px !important; }
	.woocommerce-checkout .top_site_main .page-title,
	.woocommerce-checkout .top_site_main h1 { font-size: 1.1rem !important; }
}

/* --- header menu: keep it on one row below 1650px -----------------------------------------------
   Ten top-level items plus the Brohn Test button overflowed the bar and wrapped onto a second row on
   laptop widths, which is what made the header look different from page to page. Tighten the item
   padding rather than drop a destination. ------------------------------------------------------- */
@media (min-width: 992px) and (max-width: 1650px) {
	.menu-main-menu > li > a {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
	.menu-main-menu > li.db-menu-item-cta > a,
	.menu-main-menu > li:last-child > a {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}
}
