/* Kevin Dundon rebuild components (2026-11). Colours come from the Elementor kit globals.
   Astra's body size (20px) sets html to 125%, so 1rem is 20px on this site: 0.9rem is 18px. */
:root {
	--kd-navy: var(--e-global-color-primary, #000B2B);
	--kd-navy-2: var(--e-global-color-secondary, #1B3463);
	--kd-lift: #0C1840; /* Cards and panels on navy. */
	--kd-paper: var(--e-global-color-text, #F9F9F9);
	--kd-teal: var(--e-global-color-accent, #53B7B4);
	--kd-btn: var(--e-global-color-btnteal, #2B7A77);
	--kd-btn-hover: var(--e-global-color-btnhover, #1F5F5C);
	--kd-ink: #000B2B;
	--kd-slate: #4A5568;
	--kd-line-dark: rgba(249, 249, 249, 0.16);
	--kd-line-light: rgba(0, 11, 43, 0.14);
	--kd-radius: 6px;
	--kd-header: 96px;
}

::selection { background: var(--kd-btn); color: #fff; }

/* Buttons and links ------------------------------------------------------- */
.kd-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	min-height: 52px; padding: 0.8em 1.6em;
	border-radius: var(--kd-radius); border: 0;
	font: 700 0.9rem/1.2 Nunito, sans-serif; text-decoration: none;
	transition: background-color 0.18s ease-out, transform 0.18s ease-out;
}
.kd-btn--primary { background: var(--kd-btn); color: #fff; }
.kd-btn--primary:hover, .kd-btn--primary:focus-visible { background: var(--kd-btn-hover); color: #fff; }
.kd-btn--primary:active { transform: translateY(1px); }
.kd-btn--block { display: flex; width: 100%; }
.kd-btn:focus-visible, .kd-buy__try:focus-visible, .kd-syllabus summary:focus-visible, .kd-faq summary:focus-visible, .kd-syllabus a:focus-visible {
	outline: 3px solid var(--kd-teal); outline-offset: 3px;
}

/* Course media ----------------------------------------------------------- */
.kd-media { border-radius: var(--kd-radius); overflow: hidden; background: var(--kd-navy-2); }
.kd-media--video { aspect-ratio: 16 / 9; }
.kd-media--video iframe { width: 100%; height: 100%; display: block; border: 0; }
.kd-media--image img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 35%; display: block; }

/* Buy box: a lifted navy panel, not a paper slab on the navy page ------------------ */
.kd-buy {
	background: var(--kd-lift); color: var(--kd-paper);
	border: 1px solid var(--kd-line-dark); border-radius: 8px; padding: 28px 28px 24px;
}
.kd-buy__price { margin: 0 0 14px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.kd-buy__amount { font: 600 2.4rem/1 Nunito, sans-serif; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.kd-buy__once { font-size: 0.8rem; opacity: 0.8; }
.kd-buy__list { list-style: none; margin: 0 0 22px; padding: 0; font-size: 0.9rem; line-height: 1.45; }
.kd-buy__list li { position: relative; padding: 8px 0 8px 30px; border-top: 1px solid var(--kd-line-dark); }
.kd-buy__list li::before {
	content: ""; position: absolute; left: 4px; top: 0.85em; width: 14px; height: 8px;
	border-left: 3px solid var(--kd-teal); border-bottom: 3px solid var(--kd-teal); transform: rotate(-45deg);
}
.kd-buy__try { display: block; margin-top: 14px; text-align: center; font-weight: 700; color: var(--kd-teal); text-decoration: underline; text-underline-offset: 3px; }
.kd-buy__try:hover { color: var(--kd-paper); }
.kd-buy__status { font: 600 1.2rem/1.2 Nunito, sans-serif; margin: 0 0 14px; }
.kd-buy__progress { height: 10px; border-radius: 5px; background: var(--kd-line-dark); overflow: hidden; }
.kd-buy__progress span { display: block; height: 100%; background: var(--kd-teal); }
.kd-buy__meta { margin: 10px 0 18px; opacity: 0.85; }
.kd-buy--enrolled .kd-btn { width: 100%; }
/* The rail card: course name, price, Buy. Shown only while the main buy box and closing band are off screen. */
.kd-buy--compact { padding: 22px 22px 18px; transition: opacity 0.2s ease-out, visibility 0s linear 0s; }
.kd-buy--compact.is-hidden { opacity: 0; visibility: hidden; transition: opacity 0.2s ease-out, visibility 0s linear 0.2s; }
.kd-buy__name { margin: 0 0 12px; font: 600 1.05rem/1.3 Nunito, sans-serif; text-wrap: balance; }
.kd-buy--compact .kd-buy__amount { font-size: 1.8rem; }

/* Sticky column on desktop: the Elementor container carrying the class. */
@media (min-width: 1025px) {
	/* Doubled: Elementor's `.e-con { position: relative }` (later in the cascade) and its stretch alignment would otherwise win. */
	.elementor .e-con.kd-sticky { --position: sticky; position: sticky; top: calc(var(--kd-header) + 24px); align-self: flex-start; }
}

/* Bottom bar on tablet and phone --------------------------------------------- */
.kd-buybar { display: none; }
@media (max-width: 1024px) {
	.kd-buybar {
		display: flex; align-items: center; justify-content: space-between; gap: 16px;
		position: fixed; z-index: 990; left: 0; right: 0; bottom: 0;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		background: var(--kd-navy); color: var(--kd-paper);
		border-top: 1px solid var(--kd-line-dark);
		box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, 0.6);
	}
	.kd-buybar__text { margin: 0; line-height: 1.25; }
	.kd-buybar__text strong { display: block; font-size: 1.2rem; font-weight: 600; font-variant-numeric: tabular-nums; }
	.kd-buybar__text span { font-size: 0.75rem; opacity: 0.85; }
	.kd-buybar .kd-btn { flex: 0 0 auto; }
	.kd-buybar { transition: transform 0.25s ease-out, visibility 0s linear 0s; }
	.kd-buybar.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform 0.25s ease-out, visibility 0s linear 0.25s; }
	body.single-course { padding-bottom: 84px; }
}

/* What you'll cook: three across, six in view ----------------------------------- */
.kd-dishes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.kd-dish { margin: 0; }
.kd-dish img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; background: var(--kd-navy-2); }
.kd-dish__name { display: block; margin-top: 12px; font-size: 0.9rem; font-weight: 600; line-height: 1.35; text-wrap: balance; }
.kd-dishes__more { margin-top: 24px; }
.kd-dishes__also { margin: 24px 0 0; max-width: 60ch; font-size: 0.9rem; line-height: 1.5; text-wrap: pretty; }
.kd-dishes__more > summary {
	display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 20px; cursor: pointer; list-style: none;
	border-radius: var(--kd-radius); box-shadow: inset 0 0 0 2px rgba(249, 249, 249, 0.6); color: var(--kd-paper); font: 700 0.85rem/1.2 Nunito, sans-serif;
}
.kd-dishes__more > summary::-webkit-details-marker { display: none; }
.kd-dishes__more > summary:hover { background: rgba(249, 249, 249, 0.1); }
.kd-dishes__more > summary:focus-visible { outline: 3px solid var(--kd-teal); outline-offset: 3px; }
/* The summary stays when open (so it can close again); its label swaps. */
.kd-dishes__more:not([open]) .kd-dishes__open, .kd-dishes__more[open] .kd-dishes__closed { display: none; }
.kd-dishes__more > .kd-dishes { margin-top: 24px; }
@media (max-width: 767px) { .kd-dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } .kd-dish__name { font-size: 0.85rem; } }

/* Syllabus and FAQ: lifted navy panels ------------------------------------------ */
.kd-syllabus, .kd-faq { background: var(--kd-lift); color: var(--kd-paper); border: 1px solid var(--kd-line-dark); border-radius: 8px; overflow: hidden; }
.kd-syllabus__day + .kd-syllabus__day, .kd-faq__item + .kd-faq__item { border-top: 1px solid var(--kd-line-dark); }
.kd-syllabus summary, .kd-faq summary {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	min-height: 60px; padding: 14px 24px; cursor: pointer; list-style: none;
	font: 600 0.9rem/1.3 Nunito, sans-serif;
}
.kd-syllabus summary::-webkit-details-marker, .kd-faq summary::-webkit-details-marker { display: none; }
.kd-syllabus summary::after, .kd-faq summary::after {
	content: ""; flex: 0 0 10px; height: 10px; margin-left: 8px;
	border-right: 2.5px solid var(--kd-teal); border-bottom: 2.5px solid var(--kd-teal);
	transform: rotate(45deg) translateY(-3px); transition: transform 0.2s ease-out;
}
details[open] > summary::after { transform: rotate(225deg) translateY(-3px); }
.kd-syllabus summary:hover, .kd-faq summary:hover { background: rgba(249, 249, 249, 0.05); }
.kd-syllabus__num { flex: 0 0 48px; font: 300 1.6rem/1 Nunito, sans-serif; font-variant-numeric: tabular-nums; color: var(--kd-teal); }
.kd-syllabus__title { flex: 1; }
.kd-syllabus__count { font-weight: 400; font-size: 0.8rem; opacity: 0.8; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kd-syllabus ol { margin: 0; padding: 0 24px 18px 92px; font-size: 0.9rem; line-height: 1.5; }
.kd-syllabus li { padding: 4px 0; }
.kd-syllabus a { color: var(--kd-teal); font-weight: 700; text-underline-offset: 3px; }
.kd-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--kd-btn); color: #fff; font-size: 0.75rem; font-weight: 700; vertical-align: 2px; }
.kd-faq p { margin: 0; padding: 0 24px 20px; font-size: 0.9rem; line-height: 1.6; max-width: 68ch; }
.kd-faq a { color: var(--kd-teal); font-weight: 700; }
@media (max-width: 767px) {
	.kd-syllabus summary, .kd-faq summary { padding: 12px 16px; gap: 12px; }
	.kd-syllabus__num { flex-basis: 32px; font-size: 1.3rem; }
	.kd-syllabus ol { padding: 0 16px 16px 60px; }
	.kd-faq p { padding: 0 16px 18px; }
}

/* Reviews ---------------------------------------------------------------- */
.kd-reviews { display: grid; gap: 24px; }
.kd-review { margin: 0; }
/* Astra styles blockquotes grey and italic, which fails contrast on navy. */
.kd-review blockquote, .kd-review blockquote p { margin: 0; padding: 0; border: 0; font-size: 1rem; line-height: 1.55; font-style: normal; color: inherit; }
.kd-review blockquote p + p { margin-top: 8px; }
.kd-review__title { font-weight: 600; font-size: 1.1rem; margin: 0 0 8px; }
.kd-review figcaption { margin-top: 12px; font-size: 0.8rem; opacity: 0.8; }

@media (prefers-reduced-motion: reduce) {
	.kd-btn, .kd-syllabus summary::after, .kd-faq summary::after, .kd-buy--compact, .kd-buy--compact.is-hidden { transition: none; }
}

/* Course page type and closing band -------------------------------------- */
.kd-h2 { margin: 0 0 24px; font: 400 clamp(1.5rem, 0.96rem + 1.9vw, 2.4rem)/1.15 Nunito, sans-serif; letter-spacing: -0.01em; color: inherit; text-wrap: balance; }
.kd-facts { margin: 12px 0 0; font-size: 0.95rem; line-height: 1.4; opacity: 0.88; font-variant-numeric: tabular-nums; }
.kd-description { font-size: 0.9rem; line-height: 1.65; max-width: 68ch; }
.kd-description p { margin: 0 0 1em; }
.kd-description a { color: var(--kd-teal); text-underline-offset: 3px; }
.kd-close { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
/* Facts strip: large light numerals, ruled above and below. */
.kd-stats { list-style: none; margin: 0; padding: 28px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--kd-line-dark); border-bottom: 1px solid var(--kd-line-dark); color: var(--kd-paper); }
.kd-stats li { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.kd-stats__n { font: 300 2.4rem/1 Nunito, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.kd-stats__label { font-size: 0.8rem; line-height: 1.3; opacity: 0.85; }
@media (max-width: 767px) { .kd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px 0; } .kd-stats__n { font-size: 2rem; } }
/* The course template boxes its own bands at 1240 px; Astra's 20 px container padding only stops the
   closing band reaching the edges. */
body.single-course .site-content > .ast-container { max-width: none; padding-left: 0; padding-right: 0; }
/* Closing band with the course photo behind a navy scrim. */
.kd-closeband { position: relative; isolation: isolate; padding: 120px 24px; background: var(--kd-navy-2) var(--kd-photo, none) center 35% / cover no-repeat; color: var(--kd-paper); }
.kd-closeband::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 11, 43, 0.94) 0, rgba(0, 11, 43, 0.86) 55%, rgba(0, 11, 43, 0.6) 100%); }
.kd-closeband .kd-close { max-width: 1240px; margin: 0 auto; flex-direction: column; align-items: flex-start; }
.kd-closeband .kd-close__title { max-width: 18ch; font: 300 clamp(2rem, 1rem + 2.6vw, 3.2rem)/1.08 Nunito, sans-serif; letter-spacing: -0.01em; }
.kd-closeband .kd-close__price { font-size: 1rem; }
@media (max-width: 767px) { .kd-closeband { padding: 72px 16px; } .kd-closeband::before { background: rgba(0, 11, 43, 0.88); } }
.kd-close__title { flex: 1 1 100%; margin: 0; font: 400 clamp(1.5rem, 0.96rem + 1.9vw, 2.4rem)/1.15 Nunito, sans-serif; text-wrap: balance; }
.kd-close__price { margin: 0; font-size: 1rem; font-variant-numeric: tabular-nums; }

/* Text inside shortcode widgets inherits Astra's dark body colour; on the navy page it must be paper. */
.kd-facts, .kd-description, .kd-dishes, .kd-h2, .kd-close, .kd-reviews, .kd-buybar { color: var(--kd-paper); }
.kd-dish__name { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Home hero: a muted loop behind the season's course -------------------------------------- */
.kd-hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: min(88svh, 940px); display: flex; align-items: flex-end;
	padding: 150px 0 96px; /* The sticky header (13295) overlays the hero. */
	background: var(--kd-navy); color: var(--kd-paper);
}
.kd-hero__media { position: absolute; inset: 0; z-index: -1; }
.kd-hero__media picture { display: block; height: 100%; }
/* Doubled class: Elementor's `.elementor img { height: auto }` would otherwise win. */
.kd-hero .kd-hero__media img, .kd-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; display: block; }
.kd-hero__video { opacity: 0; transition: opacity 0.6s ease-out; }
.kd-hero.is-playing .kd-hero__video { opacity: 1; }
/* Navy from the left, where the copy sits, so light type stays AA on the bright marble. */
.kd-hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(0, 11, 43, 0.95) 0, rgba(0, 11, 43, 0.9) 48%, rgba(0, 11, 43, 0.45) 70%, rgba(0, 11, 43, 0.15) 100%),
		linear-gradient(180deg, rgba(0, 11, 43, 0.5) 0, rgba(0, 11, 43, 0) 220px);
}
.kd-hero__inner { width: 100%; max-width: 1288px; margin: 0 auto; padding: 0 24px; }
.kd-hero__title { margin: 0; max-width: 15ch; font: 300 clamp(2.2rem, 0.8rem + 4.4vw, 4rem)/1.04 Nunito, sans-serif; letter-spacing: -0.02em; color: var(--kd-paper); text-wrap: balance; }
.kd-hero__facts { margin: 24px 0 0; max-width: 50ch; font-size: 1rem; line-height: 1.5; text-wrap: pretty; font-variant-numeric: tabular-nums; }
.kd-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.kd-btn--lg { min-height: 60px; padding: 0.9em 1.8em; font-size: 0.95rem; }
/* Doubled: Elementor's `.elementor a { box-shadow: none }` and the kit's button styles would otherwise win. */
.kd-hero .kd-btn--outline { background: transparent; color: var(--kd-paper); box-shadow: inset 0 0 0 2px rgba(249, 249, 249, 0.75); }
.kd-hero .kd-btn--outline:hover, .kd-hero .kd-btn--outline:focus-visible { background: rgba(249, 249, 249, 0.12); color: var(--kd-paper); }
.kd-hero .kd-hero__pause {
	position: absolute; right: 24px; bottom: 24px; min-height: 44px; padding: 8px 18px; cursor: pointer;
	border: 0; border-radius: 999px; background: rgba(0, 11, 43, 0.82); color: var(--kd-paper);
	font: 700 0.75rem/1 Nunito, sans-serif;
}
.kd-hero .kd-hero__pause:hover { background: var(--kd-navy); color: var(--kd-paper); }
.kd-hero__pause:focus-visible { outline: 3px solid var(--kd-teal); outline-offset: 3px; }
.kd-hero__pause[hidden] { display: none; }

@media (max-width: 1024px) {
	.kd-hero { min-height: min(80svh, 820px); padding-bottom: 72px; }
	.kd-hero__media::after {
		background:
			linear-gradient(90deg, rgba(0, 11, 43, 0.95) 0, rgba(0, 11, 43, 0.9) 55%, rgba(0, 11, 43, 0.5) 85%, rgba(0, 11, 43, 0.3) 100%),
			linear-gradient(180deg, rgba(0, 11, 43, 0.5) 0, rgba(0, 11, 43, 0) 200px);
	}
}
/* Phones: the poster above, the copy below on navy. No video. */
@media (max-width: 767px) {
	.kd-hero { display: block; min-height: 0; padding: 0 0 48px; }
	.kd-hero__media { position: relative; height: min(56svh, 480px); }
	.kd-hero .kd-hero__media img { object-position: 50% 45%; }
	.kd-hero__media::after { background: linear-gradient(180deg, rgba(0, 11, 43, 0.6) 0, rgba(0, 11, 43, 0) 140px, rgba(0, 11, 43, 0) 55%, var(--kd-navy) 100%); }
	.kd-hero__inner { position: relative; margin-top: -56px; padding: 0 16px; }
	.kd-hero__title { max-width: 12ch; }
	.kd-hero__facts { margin-top: 16px; font-size: 0.9rem; }
	.kd-hero__actions { flex-direction: column; margin-top: 28px; gap: 12px; }
	.kd-btn--lg { padding-left: 1em; padding-right: 1em; font-size: clamp(0.85rem, 0.4rem + 2.6vw, 0.95rem); }
}

/* Text links on navy (deep teal on cream, below). */
.kd-link { color: var(--kd-teal); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.kd-link:hover { color: var(--kd-paper); }
.kd-link:focus-visible { outline: 3px solid var(--kd-teal); outline-offset: 3px; }

/* Meet Kevin: video left, bio right ----------------------------------------------------------------- */
.kd-meet { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; color: var(--kd-paper); }
.kd-meet__video { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--kd-navy-2) center / cover no-repeat; }
.kd-meet__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
/* CookieYes puts its "accept cookies" box in place of the iframe; let the still show through it. */
.kd-meet__video .video-placeholder-normal { position: absolute; inset: 0; width: 100% !important; height: 100% !important; background: rgba(0, 11, 43, 0.72) !important; }
.kd-meet__text p { margin: 0 0 1em; font-size: 0.9rem; line-height: 1.65; max-width: 52ch; text-wrap: pretty; }
.kd-meet__text p:last-child { margin-bottom: 0; }
@media (max-width: 1024px) { .kd-meet { grid-template-columns: 1fr; gap: 32px; } }

/* Key features: four photo-topped facts ------------------------------------------------------------- */
.kd-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; color: var(--kd-paper); }
.kd-feature { margin: 0; }
.kd-features .kd-feature img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; background: var(--kd-navy); }
.kd-feature__title { margin: 20px 0 8px; font: 400 1.2rem/1.25 Nunito, sans-serif; color: var(--kd-paper); text-wrap: balance; }
.kd-feature p { margin: 0; font-size: 0.85rem; line-height: 1.6; color: rgba(249, 249, 249, 0.9); text-wrap: pretty; }
@media (max-width: 1024px) { .kd-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; } }
/* Phones: a compact list, photo beside the text, so the text stays at a readable size. */
@media (max-width: 767px) {
	.kd-features { grid-template-columns: 1fr; gap: 24px; }
	.kd-feature { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: start; }
	.kd-features .kd-feature img { aspect-ratio: 1; }
	.kd-feature__title { margin: 0 0 6px; font-size: 1rem; }
	.kd-feature p { font-size: 0.8rem; }
}

/* Course cards ------------------------------------------------------------------------------------- */
.kd-cards__intro { margin: -12px 0 8px; font-size: 1rem; line-height: 1.5; color: var(--kd-paper); opacity: 0.9; }
.kd-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; color: var(--kd-paper); }
.kd-card { position: relative; margin: 0; display: flex; flex-direction: column; background: var(--kd-lift); border-radius: 8px; overflow: hidden; }
.kd-card__media { overflow: hidden; background: var(--kd-navy-2); }
.kd-cards .kd-card__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 0.35s ease-out; }
.kd-card:hover .kd-card__media img { transform: scale(1.03); }
.kd-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 20px; }
.kd-card__title { margin: 0; font: 600 1.1rem/1.25 Nunito, sans-serif; text-wrap: balance; }
.kd-card__title a { color: var(--kd-paper); text-decoration: none; }
.kd-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
.kd-card__title a:focus-visible { outline: none; }
.kd-card__title a:focus-visible::after { outline: 3px solid var(--kd-teal); outline-offset: -3px; }
.kd-card:hover .kd-card__title a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.kd-card__dishes { margin: 0; font-size: 0.8rem; line-height: 1.5; opacity: 0.85; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kd-card__foot { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--kd-line-dark); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.kd-card__meta { font-size: 0.75rem; opacity: 0.85; font-variant-numeric: tabular-nums; }
.kd-card__price { font: 600 1rem/1 Nunito, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* The season's course: two columns wide, photo beside the text. */
.kd-card--lead { grid-column: span 2; flex-direction: row; }
/* The photo fills its half at whatever height the row takes; the text sets the height, not the photo. */
.kd-card--lead { min-height: 440px; }
.kd-card--lead .kd-card__media { position: relative; flex: 0 0 44%; }
.kd-cards .kd-card--lead .kd-card__media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.kd-card--lead .kd-card__body { padding: 36px 36px 28px; gap: 16px; }
.kd-card--lead .kd-card__title { font: 300 clamp(1.5rem, 0.96rem + 1.6vw, 2.1rem)/1.1 Nunito, sans-serif; letter-spacing: -0.01em; }
.kd-card--lead .kd-card__dishes { font-size: 0.9rem; -webkit-line-clamp: 3; line-clamp: 3; }
.kd-card--lead .kd-card__meta { font-size: 0.8rem; }
.kd-card--lead .kd-card__price { font-size: 1.4rem; }
@media (max-width: 1024px) {
	.kd-cards { gap: 24px 20px; }
	.kd-card--lead { flex-direction: column; min-height: 0; }
	.kd-card--lead .kd-card__media { position: static; }
	.kd-cards .kd-card--lead .kd-card__media img { position: static; height: auto; aspect-ratio: 16 / 9; }
	.kd-card--lead .kd-card__body { padding: 24px; }
	.kd-card__title { font-size: 1rem; }
}
@media (max-width: 767px) {
	.kd-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
	.kd-card__body { padding: 14px 14px 14px; gap: 8px; }
	.kd-card__title { font-size: 0.9rem; }
	.kd-card:not(.kd-card--lead) .kd-card__dishes { display: none; }
	.kd-card__foot { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 10px; }
	.kd-card--lead .kd-card__body { padding: 20px; }
	.kd-card--lead .kd-card__foot { flex-direction: row; align-items: baseline; }
	.kd-cards .kd-card--lead .kd-card__media img { aspect-ratio: 4 / 3; }
	/* An odd card out at the end takes the whole row. */
	.kd-card:not(.kd-card--lead):last-child:nth-child(even) { grid-column: 1 / -1; }
	.kd-card:not(.kd-card--lead):last-child:nth-child(even) .kd-card__media img { aspect-ratio: 16 / 9; }
}

/* Recipes band: cream, so the food photography gets daylight ------------------------------------------ */
.kd-cream { color: var(--kd-ink); }
.kd-recipes-band { color: var(--kd-ink); }
.kd-recipes-band .kd-h2 { margin: 0; color: var(--kd-ink); }
.kd-recipes-band__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.kd-recipes-band__head .kd-h2 { max-width: 16ch; }
.kd-search label { display: block; margin: 0 0 8px; font-weight: 700; font-size: 0.8rem; }
.kd-search__row { display: flex; gap: 8px; }
/* The kit's form field rule (.elementor-kit-6 input:not()…, 0-3-1) would otherwise win. */
.kd-recipes-band .kd-search input.kd-search__input[type="search"] {
	width: min(340px, 100%); min-height: 52px; padding: 10px 16px; margin: 0;
	border: 1px solid rgba(0, 11, 43, 0.35); border-radius: var(--kd-radius); background: #fff; color: var(--kd-ink);
	font: 400 0.85rem/1.3 Nunito, sans-serif;
}
.kd-recipes-band .kd-search input.kd-search__input[type="search"]:focus { outline: 3px solid var(--kd-btn); outline-offset: 1px; border-color: var(--kd-btn); }
.kd-recipes-band .kd-btn--primary:focus-visible { outline-color: var(--kd-btn); }
.kd-topics { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.kd-topic { display: block; color: var(--kd-ink); text-decoration: none; font: 600 0.85rem/1.3 Nunito, sans-serif; }
.kd-topics .kd-topic img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 10px; background: #E8DFD2; transition: transform 0.3s ease-out; }
.kd-topic:hover { color: var(--kd-btn); }
.kd-topic:hover img { transform: scale(1.02); }
.kd-topic:hover span { text-decoration: underline; text-underline-offset: 3px; }
.kd-topic:focus-visible { outline: 3px solid var(--kd-btn); outline-offset: 4px; border-radius: 8px; }
.kd-recipes-band__sub { margin: 0 0 20px; font: 600 1.1rem/1.25 Nunito, sans-serif; color: var(--kd-ink); }
.kd-recipe-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.kd-recipe { margin: 0; }
.kd-recipe a { display: block; color: var(--kd-ink); text-decoration: none; }
.kd-recipe-grid .kd-recipe img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; background: #E8DFD2; }
.kd-recipe__title { display: block; margin-top: 12px; font: 600 0.9rem/1.35 Nunito, sans-serif; text-wrap: balance; }
.kd-recipe a:hover .kd-recipe__title { color: var(--kd-btn-hover); text-decoration: underline; text-underline-offset: 3px; }
.kd-recipe a:focus-visible { outline: 3px solid var(--kd-btn); outline-offset: 4px; border-radius: 8px; }
.kd-recipes-band__all { margin: 40px 0 0; }
/* The button teal is 4.4:1 on cream, just short; the deeper one passes. */
.kd-recipes-band .kd-link { color: var(--kd-btn-hover); }
.kd-recipes-band .kd-link:hover { color: var(--kd-ink); }
.kd-recipes-band .kd-link:focus-visible { outline-color: var(--kd-btn); }
@media (max-width: 1024px) {
	.kd-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 48px; }
	.kd-recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.kd-recipes-band__head { margin-bottom: 32px; }
	.kd-search, .kd-search input[type="search"] { width: 100%; }
	.kd-topics { gap: 12px; }
	.kd-topic { font-size: 0.8rem; }
	.kd-recipe-grid { gap: 20px 12px; }
	.kd-recipe__title { font-size: 0.85rem; }
}

/* How the courses work: ruled facts, three columns (two on tablet, one on phones) ----------------------------------------- */
.kd-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin: 0; color: var(--kd-paper); }
.kd-how div { padding: 24px 0; border-top: 1px solid var(--kd-line-dark); }
.kd-how dt { margin: 0 0 8px; font: 600 1rem/1.3 Nunito, sans-serif; }
/* Stork drawings: transparent, so the navy band shows through. */
.kd-how .kd-how__art { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 0 16px; }
@media (max-width: 767px) { .kd-how .kd-how__art { max-width: 220px; } }
.kd-how dd { margin: 0; font-size: 0.9rem; line-height: 1.6; opacity: 0.9; }
@media (max-width: 1024px) { .kd-how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .kd-how { grid-template-columns: 1fr; } }

/* One review as a large pull-quote. */
.kd-reviews--pull { max-width: 900px; }
.kd-reviews--pull .kd-review blockquote .kd-review__title { margin: 0 0 20px; font: 300 clamp(1.5rem, 0.96rem + 2vw, 2.4rem)/1.15 Nunito, sans-serif; letter-spacing: -0.01em; text-wrap: balance; }
.kd-reviews--pull .kd-review__title::before { content: "“"; }
.kd-reviews--pull .kd-review__title::after { content: "”"; }
.kd-reviews--pull .kd-review blockquote p { font-size: 1rem; line-height: 1.6; max-width: 60ch; }
.kd-reviews--pull .kd-review figcaption { margin-top: 20px; font-size: 0.85rem; }

/* Newsletter on one row. */
.kd-newsletter .elementor-field-group.e-form__buttons { align-self: flex-end; }

#courses { scroll-margin-top: 110px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
	.kd-hero__video, .kd-card__media img, .kd-topic img, .kd-buybar, .kd-buybar.is-hidden { transition: none; }
	.kd-card:hover .kd-card__media img, .kd-topic:hover img { transform: none; }
}

/* Account area: LifterLMS dashboard (page 14) and the WooCommerce shop pages (12753) ----------------------- */
/* One cream panel on the navy page, like the recipe pages. The Elementor containers' white slab (14) and pale
   band (12753) step back; the panel is the dashboard itself, or the WooCommerce widget.
   Specificity: this file loads before LifterLMS, Elementor's element CSS (0-4-0) and the kit, whose dashboard
   link rule is 0-4-1, so ties lose. ":not(#kd)" (no element has that id) lifts the rules below over all of them. */
.elementor .e-con.e-con:not(#kd):has(> .elementor-widget-shortcode .llms-student-dashboard) { background: transparent; padding: 0; border-radius: 0; }
/* 12753 keeps its container padding (48/24/80/24) as the phone gutter. */
.elementor .e-con.e-con:not(#kd):has(.elementor-widget-woocommerce-my-account) { background: transparent; border-radius: 0; }
.llms-student-dashboard,
.elementor-widget-woocommerce-my-account > .elementor-widget-container {
	box-sizing: border-box; max-width: 1240px; margin: 48px auto 96px; padding: 48px;
	background: #F5EFE6; border-radius: 8px; color: var(--kd-ink); font-size: 0.85rem; line-height: 1.6;
}
.elementor-widget-woocommerce-my-account > .elementor-widget-container { margin-top: 0; }
/* The WooCommerce widget's own settings (element 0130212) as variables: full-width stacked tabs, a boxed
   content area, teal links. Reset here rather than in the page data. */
.elementor-widget-woocommerce-my-account:not(#kd) {
	--tab-width: auto; --tabs-alignment: flex-start; --tabs-container-justify-content: flex-start; --tab-content-spacing: 0px; --tabs-border-radius: 0;
	--sections-background-color: transparent; --sections-border-color: transparent; --sections-border-radius: 0; --sections-padding: 0px;
	--links-normal-color: var(--kd-btn-hover); --links-hover-color: var(--kd-ink);
	--tables-links-normal-color: var(--kd-btn-hover); --tables-links-hover-color: var(--kd-ink); --tables-items-color: var(--kd-ink); --tables-title-color: var(--kd-ink);
	--general-text-color: var(--kd-ink); --typography-section-titles-color: var(--kd-ink); --forms-labels-color: var(--kd-ink); --login-messages-color: var(--kd-ink);
}
.elementor-widget-woocommerce-my-account:not(#kd) :is(.woocommerce-MyAccount-content-wrapper, address, .order_details, .woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword) { box-shadow: none; }
.elementor-widget-woocommerce-my-account:not(#kd) .e-my-account-tab :is(h2, h3) { margin: 0 0 16px; font: 600 1.1rem/1.3 Nunito, sans-serif; text-transform: none; color: var(--kd-ink); }
/* Logged out the panel holds only the login form, so it narrows to the form. */
.llms-student-dashboard:not(:has(.llms-sd-nav)) { max-width: 640px; }
.llms-student-dashboard:not(#kd) a:not(.llms-button-action):not(.llms-button-primary):not(.llms-loop-link):not(.llms-sd-link),
.elementor-widget-woocommerce-my-account .woocommerce-MyAccount-content a:not(.button) { color: var(--kd-btn-hover); text-underline-offset: 3px; }
.llms-student-dashboard:not(#kd) a:focus-visible, .llms-student-dashboard:not(#kd) button:focus-visible, .llms-student-dashboard:not(#kd) select:focus-visible,
.elementor-widget-woocommerce-my-account a:focus-visible, .elementor-widget-woocommerce-my-account button:focus-visible { outline: 3px solid var(--kd-btn); outline-offset: 2px; }

.logged-in .llms-student-dashboard.llms-sd-layout-columns { grid-template-columns: 220px minmax(0, 1fr); column-gap: 56px; row-gap: 0; }
.llms-student-dashboard:not(#kd) .llms-sd-title,
.kd-account-title.kd-account-title { margin: 0 0 32px; font: 400 clamp(1.5rem, 0.96rem + 1.9vw, 2.4rem)/1.15 Nunito, sans-serif; color: var(--kd-ink); text-wrap: balance; }
/* The page's H1 stands in for the login form's own "Login" heading (see kd-rebuild.php). */
.kd-login-title + .llms-person-login-form-wrapper .llms-form-heading { display: none; }

/* Side menu: quiet links, the current one on white. */
.llms-student-dashboard:not(#kd) .llms-sd-nav .llms-sd-items { margin: 0; padding: 0; list-style: none; }
.logged-in .llms-sd-layout-columns .llms-sd-nav .llms-sd-items .llms-sd-item { margin: 0 0 2px; padding: 0; }
.llms-student-dashboard:not(#kd) .llms-sd-nav .llms-sep { display: none; }
.llms-student-dashboard:not(#kd) .llms-sd-nav .llms-sd-link {
	display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: var(--kd-radius);
	color: var(--kd-ink); font: 600 0.85rem/1.3 Nunito, sans-serif; text-decoration: none;
}
.llms-student-dashboard:not(#kd) .llms-sd-nav .llms-sd-link:hover { background: rgba(0, 11, 43, 0.06); color: var(--kd-ink); }
.llms-student-dashboard:not(#kd) .llms-sd-nav .llms-sd-item.current .llms-sd-link { background: #fff; color: var(--kd-btn-hover); box-shadow: 0 1px 2px rgba(0, 11, 43, 0.08), 0 4px 12px -6px rgba(0, 11, 43, 0.16); }
.llms-student-dashboard:not(#kd) .llms-sd-nav .llms-sd-item.signout { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--kd-line-light); }
.llms-student-dashboard:not(#kd) .llms-sd-nav .llms-sd-item.signout .llms-sd-link { color: var(--kd-slate); font-weight: 400; }
/* Phones: LifterLMS swaps the list for a select. */
.llms-student-dashboard:not(#kd) .llms-sd-nav select {
	min-height: 48px; margin: 0 0 28px; padding: 10px 14px; border: 1px solid rgba(0, 11, 43, 0.5); border-radius: var(--kd-radius);
	background-color: #fff; color: var(--kd-ink); font: 600 0.85rem/1.3 Nunito, sans-serif;
}

/* Dashboard home: three sections, ruled, not boxed. */
.llms-student-dashboard:not(#kd) .llms-sd-section { margin: 0 0 48px; padding: 0; border: 0; background: none; }
.llms-student-dashboard:not(#kd) .llms-sd-section + .llms-sd-section { padding-top: 32px; border-top: 1px solid var(--kd-line-light); }
.llms-student-dashboard:not(#kd) .llms-sd-section-title { margin: 0 0 20px; padding: 0; font: 600 1.1rem/1.3 Nunito, sans-serif; color: var(--kd-ink); }
.llms-student-dashboard:not(#kd) .llms-sd-section > p { margin: 0; color: var(--kd-slate); }
.llms-student-dashboard:not(#kd) .llms-sd-section-footer { margin: 16px 0 0; padding: 0; border: 0; background: none; }
/* "View all" is a way through, not an action: a text link (the buttons also overflowed on phones). */
.llms-student-dashboard:not(#kd) .llms-sd-section-footer .llms-button-secondary {
	display: inline-flex; align-items: center; min-height: 44px; width: auto; padding: 0; border: 0; background: none;
	color: var(--kd-btn-hover); font: 700 0.85rem/1.3 Nunito, sans-serif; text-decoration: underline; text-underline-offset: 3px;
}
.llms-student-dashboard:not(#kd) .llms-sd-section-footer .llms-button-secondary:hover { color: var(--kd-ink); }

/* Course cards: photo, progress, title, the facts that matter. The author line is gone (it names whoever
   set the course up, not Kevin), and so is difficulty (every course is Beginner). */
.llms-student-dashboard:not(#kd) .llms-loop-list { margin: 0; padding: 0; gap: 24px; }
.llms-student-dashboard:not(#kd) .llms-loop-item-content { height: 100%; margin: 0; padding: 0; border: 1px solid var(--kd-line-light); border-radius: 8px; background: #fff; overflow: hidden; }
.llms-student-dashboard:not(#kd) .llms-loop-link { display: flex; flex-direction: column; height: 100%; color: var(--kd-ink); text-decoration: none; }
.llms-student-dashboard:not(#kd) .llms-loop-item-content .llms-featured-image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; margin: 0; object-fit: cover; }
.llms-student-dashboard:not(#kd) .llms-loop-item-content .llms-progress { height: 6px; background: #E8DFD2; }
.llms-student-dashboard:not(#kd) .llms-loop-item-content .llms-progress .progress-bar-complete { background: var(--kd-btn); }
.llms-student-dashboard:not(#kd) .llms-loop-item-content .llms-loop-title { margin: 16px 18px 8px; padding: 0; font: 600 1rem/1.3 Nunito, sans-serif; color: var(--kd-ink); text-wrap: balance; }
.llms-student-dashboard:not(#kd) .llms-loop-link:hover .llms-loop-title { color: var(--kd-btn-hover); text-decoration: underline; text-underline-offset: 3px; }
.llms-student-dashboard:not(#kd) .llms-loop-link:focus-visible { outline-offset: -3px; }
.llms-student-dashboard:not(#kd) .llms-loop-item-footer { margin: 0; padding: 0 18px 18px; color: var(--kd-slate); font-size: 0.75rem; line-height: 1.5; }
.llms-student-dashboard:not(#kd) .llms-loop-item-footer .llms-meta { margin: 0; padding: 0; }
.llms-student-dashboard:not(#kd) .llms-loop-item-footer .llms-author,
.llms-student-dashboard:not(#kd) .llms-loop-item-footer .llms-difficulty { display: none; }

/* Forms: edit account, change password, redeem a voucher, log in. */
.llms-student-dashboard:not(#kd) .llms-form-field label { display: block; margin: 0 0 6px; font: 600 0.8rem/1.3 Nunito, sans-serif; color: var(--kd-ink); }
.llms-student-dashboard:not(#kd) .llms-form-field.type-checkbox label { display: inline; margin: 0 0 0 8px; font-weight: 400; font-size: 0.85rem; }
.llms-student-dashboard:not(#kd) .llms-required { color: #A4161A; }
.llms-student-dashboard:not(#kd) .llms-form-field input:is([type="text"], [type="email"], [type="password"], [type="tel"], [type="number"]),
.llms-student-dashboard:not(#kd) .llms-form-field select,
.llms-student-dashboard:not(#kd) .llms-form-field textarea {
	box-sizing: border-box; width: 100%; min-height: 48px; margin: 0; padding: 10px 14px;
	border: 1px solid rgba(0, 11, 43, 0.5); border-radius: var(--kd-radius); background-color: #fff; color: var(--kd-ink);
	font: 400 0.85rem/1.3 Nunito, sans-serif; box-shadow: none;
}
.llms-student-dashboard:not(#kd) .llms-form-field :is(input, select, textarea):focus { outline: 3px solid var(--kd-btn); outline-offset: 1px; border-color: var(--kd-btn); }
.llms-student-dashboard:not(#kd) .llms-form-field input::placeholder { color: var(--kd-slate); opacity: 1; }
.llms-student-dashboard:not(#kd) .llms-form-field input[type="checkbox"] { width: 20px; height: 20px; margin: 0; vertical-align: middle; accent-color: var(--kd-btn); }
/* LifterLMS buttons default to white on #53B7B4 (2.3:1); the kit's deep teal passes. */
.llms-student-dashboard:not(#kd) .llms-button-primary, .llms-student-dashboard:not(#kd) .llms-button-action, .llms-student-dashboard:not(#kd) .llms-field-button {
	display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 48px; padding: 12px 28px;
	border: 0; border-radius: var(--kd-radius); background: var(--kd-btn); color: #fff; font: 700 0.85rem/1.2 Nunito, sans-serif; text-decoration: none;
}
.llms-student-dashboard:not(#kd) .llms-button-primary:hover, .llms-student-dashboard:not(#kd) .llms-button-primary:focus-visible,
.llms-student-dashboard:not(#kd) .llms-button-action:hover, .llms-student-dashboard:not(#kd) .llms-button-action:focus-visible,
.llms-student-dashboard:not(#kd) .llms-field-button:hover, .llms-student-dashboard:not(#kd) .llms-field-button:focus-visible { background: var(--kd-btn-hover); color: #fff; }
.llms-student-dashboard:not(#kd) .llms-visibility-toggle .llms-button-plain { padding: 2px 0; border: 0; background: none; color: var(--kd-btn-hover); font: 700 0.75rem/1.3 Nunito, sans-serif; }
.llms-student-dashboard:not(#kd) .llms-visibility-toggle .llms-button-plain:hover { color: var(--kd-ink); text-decoration: underline; }
.llms-student-dashboard:not(#kd) .llms-description { color: var(--kd-slate); font-size: 0.8rem; }
/* The login form in a narrow panel: one field per row. */
.llms-student-dashboard:not(#kd) .llms-person-login-form-wrapper .llms-form-field { width: 100%; float: none; }

/* Orders and notifications tables: ruled rows, tabular numerals. */
.llms-student-dashboard:not(#kd) .llms-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; background: none; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.llms-student-dashboard:not(#kd) .llms-table :is(th, td) { padding: 12px; border: 0; border-bottom: 1px solid var(--kd-line-light); background: none; text-align: left; vertical-align: top; }
.llms-student-dashboard:not(#kd) .llms-table th { font-weight: 600; color: var(--kd-ink); }
/* Course orders and a single order (LifterLMS .orders-table): the same ruled rows. The order list keeps its
   stacked, labelled rows until 1025px; five columns do not fit beside the menu at tablet width. */
.llms-student-dashboard:not(#kd) .orders-table { margin: 0 0 24px; border: 0; border-collapse: collapse; background: none; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.llms-student-dashboard:not(#kd) .orders-table :is(th, td) { padding: 12px; border: 0; border-bottom: 1px solid var(--kd-line-light); background: none; vertical-align: top; }
.llms-student-dashboard:not(#kd) .orders-table th { font-weight: 600; color: var(--kd-ink); }
.llms-student-dashboard:not(#kd) .orders-table .llms-button-primary { min-height: 40px; padding: 8px 18px; font-size: 0.8rem; }
@media (max-width: 1024px) {
	.llms-student-dashboard:not(#kd) .orders-table:has(td[data-label]) thead { display: none; }
	.llms-student-dashboard:not(#kd) .orders-table:has(td[data-label]) :is(tbody, tr) { display: block; }
	.llms-student-dashboard:not(#kd) .orders-table:has(td[data-label]) tr { padding: 8px 0; border-bottom: 1px solid var(--kd-line-light); }
	.llms-student-dashboard:not(#kd) .orders-table:has(td[data-label]) td { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 12px; width: auto; padding: 6px 0; border: 0; text-align: right; }
	.llms-student-dashboard:not(#kd) .orders-table:has(td[data-label]) td::before { display: block; margin-right: auto; content: attr(data-label); font-weight: 600; text-align: left; }
}
.llms-student-dashboard:not(#kd) .llms-notice { margin: 0 0 24px; padding: 14px 18px; border: 1px solid var(--kd-line-light); border-radius: var(--kd-radius); background: #fff; color: var(--kd-ink); }

/* WooCommerce pages: the same panel, a way back, and the shop tabs as plain tabs.  */
.kd-account-back { margin: 0 0 12px; font-weight: 700; }
.elementor-widget-woocommerce-my-account:not(#kd) .kd-account-back a { color: var(--kd-btn-hover); text-decoration: underline; text-underline-offset: 3px; }
.elementor-widget-woocommerce-my-account:not(#kd) .kd-account-back a:hover { color: var(--kd-ink); }
.elementor-widget-woocommerce-my-account:not(#kd) .woocommerce-MyAccount-navigation ul {
	display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 32px; padding: 0; border: 0; border-bottom: 1px solid var(--kd-line-light); list-style: none;
}
.elementor-widget-woocommerce-my-account:not(#kd) .woocommerce-MyAccount-navigation li { flex: 0 0 auto; margin: 0; padding: 0; border: 0; background: none; }
.elementor-widget-woocommerce-my-account:not(#kd) .woocommerce-MyAccount-navigation li a {
	display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 0; border-radius: var(--kd-radius) var(--kd-radius) 0 0;
	background: none; color: var(--kd-ink); font: 600 0.85rem/1.3 Nunito, sans-serif; text-decoration: none;
}
.elementor-widget-woocommerce-my-account:not(#kd) .woocommerce-MyAccount-navigation li a:hover { background: rgba(0, 11, 43, 0.06); }
.elementor-widget-woocommerce-my-account:not(#kd) .woocommerce-MyAccount-navigation li.is-active a { color: var(--kd-btn-hover); box-shadow: inset 0 -3px 0 var(--kd-btn); }
.elementor-widget-woocommerce-my-account:not(#kd) .woocommerce-MyAccount-content { padding: 0; border: 0; background: none; color: var(--kd-ink); }
.elementor-widget-woocommerce-my-account:not(#kd) :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 0 20px; padding: 16px 20px;
	border: 1px solid var(--kd-line-light); border-radius: var(--kd-radius); background: #fff; color: var(--kd-ink); font-size: 0.85rem;
}
.elementor-widget-woocommerce-my-account:not(#kd) :is(.woocommerce-info, .woocommerce-message, .woocommerce-error)::before { display: none; }
.elementor-widget-woocommerce-my-account:not(#kd) :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) .button,
.elementor-widget-woocommerce-my-account:not(#kd) .woocommerce-MyAccount-content .button,
.elementor-widget-woocommerce-my-account:not(#kd) form .button {
	order: 2; min-height: 44px; margin: 0; padding: 10px 22px; border: 0; border-radius: var(--kd-radius); background: var(--kd-btn); color: #fff;
	font: 700 0.8rem/1.2 Nunito, sans-serif; text-transform: none; text-decoration: none;
}
.elementor-widget-woocommerce-my-account:not(#kd) :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) .button:hover,
.elementor-widget-woocommerce-my-account:not(#kd) .woocommerce-MyAccount-content .button:hover,
.elementor-widget-woocommerce-my-account:not(#kd) form .button:hover { background: var(--kd-btn-hover); color: #fff; }
.elementor-widget-woocommerce-my-account:not(#kd) form .button { min-height: 48px; padding: 12px 28px; font-size: 0.85rem; }
.elementor-widget-woocommerce-my-account:not(#kd) .woocommerce-MyAccount-content form .button { margin-top: 16px; }
.elementor-widget-woocommerce-my-account:not(#kd) .woocommerce-MyAccount-content p a:not(.button) { text-decoration: underline; }
/* Shop forms (addresses, account details, log in) match the course account's fields. */
.elementor-widget-woocommerce-my-account:not(#kd) .form-row label:not(.woocommerce-form__label-for-checkbox) { display: block; margin: 0 0 6px; font: 600 0.8rem/1.3 Nunito, sans-serif; color: var(--kd-ink); }
.elementor-widget-woocommerce-my-account:not(#kd) .form-row :is(.input-text, select),
.elementor-widget-woocommerce-my-account:not(#kd) .select2-container .select2-selection--single {
	box-sizing: border-box; width: 100%; min-height: 48px; margin: 0; padding: 10px 14px;
	border: 1px solid rgba(0, 11, 43, 0.5); border-radius: var(--kd-radius); background-color: #fff; color: var(--kd-ink);
	font: 400 0.85rem/1.3 Nunito, sans-serif; box-shadow: none;
}
.elementor-widget-woocommerce-my-account:not(#kd) .form-row :is(.input-text, select):focus,
.elementor-widget-woocommerce-my-account:not(#kd) .select2-container--focus .select2-selection--single { outline: 3px solid var(--kd-btn); outline-offset: 1px; border-color: var(--kd-btn); }
.elementor-widget-woocommerce-my-account:not(#kd) .form-row .input-text::placeholder { color: var(--kd-slate); opacity: 1; }
.elementor-widget-woocommerce-my-account:not(#kd) .select2-container .select2-selection--single { padding: 0 14px; }
.elementor-widget-woocommerce-my-account:not(#kd) .select2-container .select2-selection__rendered { padding: 0; line-height: 46px; color: var(--kd-ink); }
.elementor-widget-woocommerce-my-account:not(#kd) .select2-container .select2-selection__arrow { height: 46px; right: 8px; }
.elementor-widget-woocommerce-my-account:not(#kd) .form-row .woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 8px; font: 400 0.85rem/1.3 Nunito, sans-serif; color: var(--kd-ink); }
.elementor-widget-woocommerce-my-account:not(#kd) input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--kd-btn); }
/* WooCommerce's show-password toggle has no icon here (the kit drew it as an empty teal bar): a text toggle in the field. */
.elementor-widget-woocommerce-my-account:not(#kd) .password-input { position: relative; display: block; }
.elementor-widget-woocommerce-my-account:not(#kd) .password-input .input-text { padding-right: 72px; }
.elementor-widget-woocommerce-my-account:not(#kd) .show-password-input {
	position: absolute; top: 50%; right: 4px; min-width: 44px; min-height: 40px; margin: 0; padding: 0 10px; transform: translateY(-50%);
	border: 0; border-radius: var(--kd-radius); background: none; color: var(--kd-btn-hover); font: 700 0.75rem/1 Nunito, sans-serif;
}
.elementor-widget-woocommerce-my-account:not(#kd) .show-password-input::after { content: "Show"; font: inherit; }
.elementor-widget-woocommerce-my-account:not(#kd) .show-password-input.display-password::after { content: "Hide"; }
.elementor-widget-woocommerce-my-account:not(#kd) .show-password-input:hover { background: rgba(0, 11, 43, 0.06); color: var(--kd-ink); }
/* Logged out: the login form alone, in a narrow panel, under the page's H1 (see kd-rebuild.php). */
.elementor-widget-woocommerce-my-account > .elementor-widget-container:not(:has(.woocommerce-MyAccount-navigation)) { max-width: 640px; }
.elementor-widget-woocommerce-my-account:not(#kd) .kd-account-title ~ h2 { display: none; }
.elementor-widget-woocommerce-my-account:not(#kd) .woocommerce-form-login { margin: 0; padding: 0; border: 0; }
.elementor-widget-woocommerce-my-account:not(#kd) .woocommerce-form-login .form-row:has(.woocommerce-form-login__submit) { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 8px 0 16px; }
.elementor-widget-woocommerce-my-account:not(#kd) .woocommerce-form-login .form-row .woocommerce-form-login__submit { order: -1; }
.elementor-widget-woocommerce-my-account:not(#kd) .lost_password a { color: var(--kd-btn-hover); font-size: 0.8rem; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1024px) {
	.llms-student-dashboard, .elementor-widget-woocommerce-my-account > .elementor-widget-container { padding: 32px; }
	.logged-in .llms-student-dashboard.llms-sd-layout-columns { grid-template-columns: 200px minmax(0, 1fr); column-gap: 32px; }
	.llms-student-dashboard:not(#kd) .llms-loop-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.llms-student-dashboard, .elementor-widget-woocommerce-my-account > .elementor-widget-container { margin: 24px auto 64px; padding: 24px 16px 32px; }
	.elementor-widget-woocommerce-my-account > .elementor-widget-container { margin-top: 0; }
	.llms-student-dashboard:not(#kd) .llms-loop-list { grid-template-columns: minmax(0, 1fr); }
	.llms-student-dashboard:not(#kd) .llms-table { font-size: 0.75rem; }
	.llms-student-dashboard:not(#kd) .llms-table :is(th, td) { padding: 10px 8px; }
}
@media (max-width: 599px) {
	.logged-in .llms-student-dashboard.llms-sd-layout-columns { display: block; }
}

/* Header (13295): icon links and a 44 px menu toggle ------------------------------------ */
.kd-icons { display: flex; align-items: center; gap: 4px; }
.kd-icons__link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--kd-radius); color: var(--kd-paper); }
.kd-icons__link:hover { color: var(--kd-teal); }
.kd-icons__link:focus-visible { outline: 3px solid var(--kd-teal); outline-offset: 2px; }
.kd-header .elementor-menu-toggle { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.kd-header .elementor-menu-toggle:focus-visible { outline: 3px solid var(--kd-teal); outline-offset: 2px; }

/* Line length and stragglers in running text. */
.kd-measure p { max-width: 65ch; }
.kd-measure a { font-weight: 700; }
.kd-measure p, .kd-description p, .kd-faq p, .kd-how dd { text-wrap: pretty; }

/* Recipe pages (template 2313) ----------------------------------------------------------------------- */
/* One title: the page heading names a single recipe, so the card's own name is hidden (kept in print and data). */
.kd-one-recipe .wprm-recipe-container .wprm-recipe-name { display: none; }
/* No "No ratings yet": the stars stay, as the control for the first rating. */
.wprm-recipe-rating[data-count="0"] .wprm-recipe-rating-details { display: none; }
/* WPRM's buttons are white on light teal (2.3:1); the kit's deep teal passes. Inline styles, hence !important. */
.wprm-recipe-container .wprm-template-chic-buttons a { background-color: var(--kd-btn) !important; border-color: var(--kd-btn) !important; color: #fff !important; }
/* The template sets the servings number in light teal (2.4:1 on white); use the button teal. */
.wprm-recipe-container .wprm-recipe-servings.wprm-recipe-details { color: var(--kd-btn); }
.kd-recipe-course__title, .kd-related__title { margin: 0 0 24px; font: 400 clamp(1.4rem, 1rem + 1.2vw, 1.9rem)/1.2 Nunito, sans-serif; color: var(--kd-ink); text-wrap: balance; }
.kd-cards--one { grid-template-columns: 1fr; }
.kd-cards--one .kd-card--lead { grid-column: auto; min-height: 360px; }
.kd-recipe-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kd-recipe-panel .kd-recipe a { color: var(--kd-ink); }
/* Rail card on the navy page. */
.kd-rail-course { padding: 16px 16px 20px; border-radius: 8px; background: var(--kd-lift); border: 1px solid var(--kd-line-dark); color: var(--kd-paper); }
.kd-rail-course img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; }
.kd-rail-course__title { margin: 14px 0 6px; font: 600 1rem/1.3 Nunito, sans-serif; text-wrap: balance; }
.kd-rail-course__meta { margin: 0 0 14px; font-size: 0.75rem; opacity: 0.85; font-variant-numeric: tabular-nums; }
@media (max-width: 1024px) { .kd-recipe-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .kd-cards--one .kd-card--lead { min-height: 0; } }

/* Recipe index (page 1060) ------------------------------------------------------------------------- */
.kd-index__lead { margin: 0 0 24px; max-width: 40ch; font: 400 clamp(1.1rem, 0.9rem + 0.6vw, 1.4rem)/1.35 Nunito, sans-serif; text-wrap: balance; }
.kd-index .kd-search { margin-bottom: 28px; }
.kd-chips ul { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kd-chip {
	display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px;
	border: 1px solid rgba(0, 11, 43, 0.35); border-radius: 999px; background: #fff;
	color: var(--kd-ink); font: 600 0.8rem/1.2 Nunito, sans-serif; text-decoration: none;
	transition: background-color 0.18s ease-out, border-color 0.18s ease-out;
}
.kd-chip:hover { border-color: var(--kd-btn); color: var(--kd-btn); }
.kd-chip[aria-current="page"] { background: var(--kd-ink); border-color: var(--kd-ink); color: #fff; }
.kd-chip:focus-visible { outline: 3px solid var(--kd-btn); outline-offset: 2px; }
.kd-index__status { margin: -16px 0 28px; font-size: 0.85rem; }
.kd-index__empty { margin: 0; max-width: 46ch; font-size: 0.9rem; line-height: 1.5; }
.kd-index__grid { row-gap: 36px; }
/* A course among the recipes: same photo crop, lifted navy. */
.kd-recipe--course a { height: 100%; padding-bottom: 16px; border-radius: 8px; background: var(--kd-lift); color: var(--kd-paper); }
.kd-recipe-grid .kd-recipe--course img { border-radius: 8px 8px 0 0; }
.kd-recipe--course .kd-recipe__title { margin: 12px 14px 0; }
.kd-recipe__meta { display: block; margin: 6px 14px 0; font-size: 0.75rem; line-height: 1.3; opacity: 0.85; font-variant-numeric: tabular-nums; }
.kd-recipes-band .kd-recipe--course a { color: var(--kd-paper); }
.kd-recipe--course a:hover .kd-recipe__title { color: var(--kd-paper); }
.kd-recipe--course a:focus-visible { outline-color: var(--kd-btn); }
.kd-pages { margin-top: 56px; }
.kd-pages ul.page-numbers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.kd-pages .page-numbers li { margin: 0; }
.kd-pages a.page-numbers, .kd-pages span.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px;
	border-radius: var(--kd-radius); color: var(--kd-ink); font: 600 0.85rem/1 Nunito, sans-serif; text-decoration: none; font-variant-numeric: tabular-nums;
}
.kd-pages a.page-numbers { border: 1px solid rgba(0, 11, 43, 0.2); background: #fff; }
.kd-pages a.page-numbers:hover { border-color: var(--kd-btn); color: var(--kd-btn); }
.kd-pages span.page-numbers.current { background: var(--kd-ink); color: #fff; }
.kd-pages a.page-numbers:focus-visible { outline: 3px solid var(--kd-btn); outline-offset: 2px; }
@media (min-width: 768px) and (max-width: 1024px) { .kd-index__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.kd-chips ul { gap: 6px; margin-bottom: 32px; }
	.kd-chip { padding: 8px 14px; font-size: 0.75rem; }
	.kd-index__grid { row-gap: 28px; }
	.kd-pages { margin-top: 40px; }
}
