/* eCare Courses — site.css
   One stylesheet for the whole site. Tokens first, then base, layout,
   components, sections, and last the light-touch overrides for the
   plugins that render inside the theme (LearnDash, WooCommerce, PMPro,
   Theme My Login, Gravity/Ninja Forms). */

:root {
	--teal-900: #01434b;
	--teal-800: #015e69;
	--teal-700: #027a87;
	--teal-100: #e3f1f2;
	--teal-50:  #f2f8f8;
	--amber:    #f2a306;
	--amber-d:  #d98f00;
	--ink:      #17262a;
	--ink-2:    #4a5a5e;
	--line:     #dbe5e6;
	--white:    #fff;

	--radius:    14px;
	--radius-sm: 10px;
	--shadow:    0 1px 2px rgba(1, 67, 75, .06), 0 8px 24px rgba(1, 67, 75, .08);
	--shadow-lg: 0 18px 50px rgba(1, 67, 75, .16);
	--wrap:      1200px;
	--gutter:    clamp(16px, 4vw, 32px);
	--font:      "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--teal-900); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; color: var(--teal-900); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--teal-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.center { text-align: center; }

/* Visual Editor wraps values in spans: keep them layout-transparent. */
.vp-editable { display: inline; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.container--text { max-width: 860px; }
.container--app { max-width: 1140px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tint { background: var(--teal-50); }
.section--dark { background: radial-gradient(1200px 500px at 85% 0%, #03808d 0%, transparent 60%), var(--teal-900); color: #dcebed; }
.section--dark .section-title, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: #fff; }
.section--app { padding: 40px 0 72px; }
.section > .container + .container { margin-top: clamp(40px, 6vw, 72px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--form { align-items: start; grid-template-columns: .9fr 1.1fr; }
.split__media img { width: 100%; }
@media (max-width: 900px) { .split, .split--form { grid-template-columns: 1fr; } }

/* ---------- type helpers ---------- */
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); margin-bottom: .75rem; }
.eyebrow--light { color: var(--amber); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-title--sm { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 24px; }
.section-lead { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 1.25rem; }
.section--dark .section-lead { color: #c8dfe2; }
.prose { color: var(--ink-2); }
.prose p { margin-bottom: 1em; }
.section--dark .prose { color: #c8dfe2; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; font: 600 .95rem/1.1 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--teal-800); color: #fff; }
.btn--primary:hover { background: var(--teal-900); color: #fff; }
.btn--accent { background: var(--amber); color: var(--teal-900); }
.btn--accent:hover { background: var(--amber-d); color: var(--teal-900); }
.btn--ghost { border-color: var(--teal-800); color: var(--teal-800); background: transparent; }
.btn--ghost:hover { background: var(--teal-800); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--teal-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0 0; }
.btn-row--center { justify-content: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--teal-900); border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-bar .site-header { top: 32px; }
.site-header__row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.site-logo img { height: 62px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-nav .menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a { display: block; padding: 10px 12px; font-weight: 500; font-size: .94rem; color: #e6f1f2; text-decoration: none; border-radius: 8px; }
.site-nav .menu > li > a:hover, .site-nav .menu > .current-menu-item > a, .site-nav .menu > .current-menu-ancestor > a { color: #fff; background: rgba(255,255,255,.1); }
.site-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.site-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.site-nav .sub-menu a:hover { background: var(--teal-50); color: var(--teal-800); }
.site-nav__actions { display: flex; align-items: center; gap: 14px; }
.nav-account { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .92rem; color: #e6f1f2; text-decoration: none; }
.nav-account:hover, .nav-cart:hover { color: #fff; }
.credit-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #fff4dc; color: #8a5a00; font-size: .8rem; font-weight: 600; }
.nav-cart { position: relative; color: #e6f1f2; font-size: 1.15rem; padding: 6px; }
.cart-count { position: absolute; top: -4px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--amber); color: var(--teal-900); font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.cart-count[data-count="0"] { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 10px; background: rgba(255,255,255,.1); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; margin: 0 auto; background: #fff; position: relative; transition: .2s; content: ""; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
	.nav-toggle { display: block; }
	.site-nav { position: fixed; inset: 76px 0 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 16px var(--gutter) 32px; background: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
	.admin-bar .site-nav { inset: 122px 0 0; }
	.nav-open .site-nav { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu > li > a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); }
	.site-nav .menu > li > a:hover { background: var(--teal-50); color: var(--teal-800); }
	.site-nav .nav-account, .site-nav .nav-cart { color: var(--ink); }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; display: none; }
	.site-nav .is-open > .sub-menu { display: block; }
	.site-nav__actions { flex-direction: column; align-items: stretch; margin-top: 20px; }
	.site-nav__actions .btn { width: 100%; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 0; background: radial-gradient(900px 500px at 90% -10%, #04909e 0%, transparent 60%), linear-gradient(160deg, var(--teal-800), var(--teal-900)); color: #d7eaec; overflow: hidden; }
.hero--compact { padding-bottom: clamp(48px, 7vw, 80px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__title { font-size: clamp(2rem, 4.6vw, 3.4rem); color: #fff; margin-bottom: 20px; }
.hero__text { font-size: 1.08rem; max-width: 560px; }
.hero__call { margin-top: 22px; font-size: .95rem; }
.hero__call a { color: #fff; font-weight: 600; }
.hero__img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); }
.stats { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 24px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.stats__figure { display: block; font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: #fff; font-weight: 700; }
.stats__label { font-size: .9rem; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, 1fr); } }

.page-hero { padding: clamp(56px, 8vw, 96px) 0; background: radial-gradient(900px 480px at 88% -20%, #04909e 0%, transparent 60%), linear-gradient(160deg, var(--teal-800), var(--teal-900)); color: #d7eaec; }
.page-hero > .container--narrow { max-width: var(--wrap); } /* line up with the logo; the text itself stays a readable width */
.page-hero__title { font-size: clamp(2rem, 4.4vw, 3.1rem); color: #fff; max-width: 760px; }
.page-hero__text { font-size: 1.08rem; max-width: 640px; }
.page-hero .course-search { max-width: 560px; }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.page-hero__media img { width: 100%; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }
.crumb { display: inline-flex; gap: 8px; align-items: center; color: #cfe4e6; font-size: .9rem; text-decoration: none; margin-bottom: 18px; }
.crumb:hover { color: #fff; }

.page-head { padding: 48px 0 8px; }
.page-head__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }

/* ---------- cards & features ---------- */
.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards--3, .cards--4 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink-2); text-decoration: none; }
.card--link { transition: transform .2s, box-shadow .2s, border-color .2s; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal-100); color: var(--ink-2); }
.card__title { font-size: 1.15rem; margin: 4px 0 0; }
.card__text { flex: 1; }
.card__link { margin-top: auto; font-weight: 600; color: var(--teal-800); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.icon-tile { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--teal-100); color: var(--teal-800); font-size: 1.3rem; flex: none; }
.icon-tile--sm { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 12px; }
.icon-tile--xs { width: 36px; height: 36px; font-size: .95rem; border-radius: 10px; }
.section--dark .icon-tile { background: rgba(255,255,255,.1); color: var(--amber); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.features--1 { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__title { font-size: 1.02rem; margin-bottom: 4px; }
.feature__text { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.rounded-img { border-radius: 20px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.ticks li::before { content: "\f00c"; font: var(--fa-font-solid); font-weight: 900; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-100); color: var(--teal-800); font-size: .7rem; display: grid; place-items: center; }
.ticks--star li::before { content: "\f005"; background: #fff4dc; color: var(--amber-d); }
.ticks--light li { color: #d7eaec; }
.ticks--light li::before { background: rgba(255,255,255,.12); color: var(--amber); }

/* ---------- course cards ---------- */
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1100px) { .course-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .course-grid { grid-template-columns: 1fr; } }
.course-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.course-card__media { aspect-ratio: 16 / 10; background: var(--teal-100); overflow: hidden; }
.course-card__media img { width: 100%; height: 100%; object-fit: cover; }
.course-card__ph { display: grid; place-items: center; height: 100%; font-size: 2rem; color: var(--teal-700); }
.course-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; flex: 1; }
.course-card__title { font-weight: 600; line-height: 1.35; color: var(--teal-900); }
.course-card__meta { font-size: .83rem; color: var(--ink-2); }
.course-card__cta { margin-top: auto; padding-top: 10px; font-size: .88rem; font-weight: 600; color: var(--teal-700); display: inline-flex; gap: 8px; align-items: center; }

.course-search { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding: 8px 8px 8px 20px; background: #fff; border-radius: 999px; max-width: 560px; box-shadow: var(--shadow-lg); color: var(--ink-2); }
.course-search input { flex: 1; border: 0; font: inherit; padding: 8px 4px; outline: none; min-width: 0; color: var(--ink); background: transparent; }

.promo { display: flex; align-items: center; gap: 20px; margin-top: 32px; padding: 22px 26px; border-radius: var(--radius); background: linear-gradient(120deg, #fff4dc, #fffaf0); border: 1px solid #f6dfa8; text-decoration: none; color: var(--ink); }
.promo:hover { color: var(--ink); box-shadow: var(--shadow); }
.promo__body { flex: 1; }
.promo__title { display: block; color: var(--teal-900); font-size: 1.1rem; }
.promo__text p { margin: 0; color: var(--ink-2); }
.promo__price { font-weight: 700; color: var(--teal-900); white-space: nowrap; display: inline-flex; gap: 10px; align-items: center; }
@media (max-width: 640px) { .promo { flex-wrap: wrap; } }

.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 500; }
.page-numbers.current { background: var(--teal-800); color: #fff; border-color: var(--teal-800); }
.empty { padding: 28px; background: #fff; border-radius: var(--radius); border: 1px dashed var(--line); }

/* ---------- pricing ---------- */
.price-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.price-list__row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.price-list__row:last-child { border-bottom: 0; }
.price-list__label { color: var(--ink-2); }
.price-list__price { color: var(--teal-900); white-space: nowrap; }

.credits { padding: 30px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.credits__title { font-size: 1.35rem; margin-bottom: 4px; }
.credits__note { color: var(--ink-2); font-size: .95rem; }
.credits__label { display: block; margin: 22px 0 10px; font-weight: 600; font-size: .92rem; }
.credits__range { width: 100%; height: 8px; appearance: none; -webkit-appearance: none; border-radius: 999px; background: linear-gradient(to right, var(--teal-700) var(--fill, 0%), var(--teal-100) var(--fill, 0%)); outline: none; cursor: pointer; }
.credits__range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--amber); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.credits__range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--amber); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.credits__ticks { display: flex; justify-content: space-between; list-style: none; margin: 8px 0 0; padding: 0; font-size: .74rem; color: var(--ink-2); }
.credits__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 8px; }
.credits__stat { padding: 14px; border-radius: 12px; background: var(--teal-50); }
.credits__stat span { display: block; font-size: .78rem; color: var(--ink-2); }
.credits__stat strong { font-size: 1.25rem; color: var(--teal-900); }
.credits__stat--total { background: var(--teal-800); }
.credits__stat--total span { color: #cfe4e6; }
.credits__stat--total strong { color: #fff; }
.credits__save { color: #1d7a3a; font-weight: 600; font-size: .9rem; margin: 6px 0 0; }
.credits__form { margin-top: 18px; }
.credits__small { margin-top: 12px; font-size: .8rem; color: var(--ink-2); }

.entry--levels { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: var(--shadow); overflow-x: auto; }

/* ---------- steps, faq, compare, team ---------- */
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.step__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--amber); color: var(--teal-900); font-weight: 700; margin-bottom: 14px; }
.step__title { font-size: 1.1rem; }
.step__text { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq__q { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; color: var(--teal-900); position: relative; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal-700); }
.faq__item[open] .faq__q::after { content: "\2212"; }
.faq__a { padding: 0 22px 20px; color: var(--ink-2); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare__col { padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.compare__col--a { border-top: 5px solid var(--teal-700); }
.compare__col--b { border-top: 5px solid var(--amber); }
.compare__sub { color: var(--ink-2); }
@media (max-width: 800px) { .compare { grid-template-columns: 1fr; } }

.callout { margin: 48px auto 0; padding: 32px; border-radius: var(--radius); background: var(--teal-50); }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.person__photo img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.person__name { font-size: 1.15rem; margin: 0; }
.person__role { color: var(--teal-700); font-weight: 500; font-size: .92rem; margin-bottom: 10px; }
.person__bio { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }

/* ---------- Train the Trainer topic ---------- */
.course-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.course-layout__side { position: sticky; top: 100px; }
@media (max-width: 960px) { .course-layout { grid-template-columns: 1fr; } .course-layout__side { position: static; order: -1; } }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.jump a { padding: 8px 16px; border-radius: 999px; background: var(--teal-50); color: var(--teal-800); font-size: .88rem; font-weight: 500; text-decoration: none; }
.jump a:hover { background: var(--teal-100); }
.block { margin-bottom: 40px; scroll-margin-top: 100px; }
.block__title { font-size: 1.45rem; }
.block--tint { padding: 28px; border-radius: var(--radius); background: var(--teal-50); }
.modules { display: grid; gap: 10px; margin-top: 20px; }
.module { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.module__title { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--teal-900); display: flex; gap: 12px; align-items: center; }
.module__title::-webkit-details-marker { display: none; }
.module__num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--teal-100); color: var(--teal-800); font-size: .85rem; flex: none; }
.module__points { margin: 0; padding: 0 20px 18px 62px; color: var(--ink-2); }
.module__points li { margin-bottom: 4px; }
.facts { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.facts__row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts__row small { display: block; color: var(--ink-2); font-size: .78rem; }
.facts__row strong { color: var(--teal-900); font-weight: 600; font-size: .95rem; }
.facts__cta { display: grid; gap: 10px; margin-top: 18px; }

/* ---------- booking, forms, contact ---------- */
.booking { margin-top: 40px; padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.booking__title { font-size: 1.3rem; margin-bottom: 16px; }
.calendly-slot { min-height: 700px; }
.calendly-slot__placeholder { padding: 40px; text-align: center; color: var(--ink-2); }
.calendly-inline-widget { min-width: 320px; height: 700px; }

.form-card { padding: clamp(22px, 3vw, 34px); border-radius: 20px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); }
.form-card__title { font-size: 1.3rem; }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.contact-card small { display: block; color: var(--ink-2); font-size: .8rem; }
.contact-card strong { color: var(--teal-900); font-weight: 600; }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--radius); }

/* Shared form look for Gravity Forms, Ninja Forms, Theme My Login, WooCommerce and PMPro fields. */
.form-card input[type=text], .form-card input[type=email], .form-card input[type=tel], .form-card input[type=number], .form-card textarea, .form-card select,
.entry input[type=text], .entry input[type=email], .entry input[type=password], .entry input[type=tel], .entry input[type=number], .entry input[type=search], .entry textarea, .entry select {
	width: 100%; padding: 12px 14px; border: 1px solid #c9d7d9; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-card input:focus, .form-card textarea:focus, .form-card select:focus, .entry input:focus, .entry textarea:focus, .entry select:focus { border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(2,122,135,.15); outline: none; }
.form-card label, .entry label { font-weight: 500; font-size: .92rem; }
.form-card input[type=submit], .form-card button[type=submit], .form-card .nf-form-content input[type=button],
.entry input[type=submit], .entry button[type=submit], .entry .button, .entry .btn-join, .entry .pmpro_btn, .entry .tml-button {
	display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border: 0; border-radius: 999px; background: var(--teal-800); color: #fff; font: 600 .95rem/1.1 var(--font); cursor: pointer; text-decoration: none;
}
.form-card input[type=submit]:hover, .entry input[type=submit]:hover, .entry button[type=submit]:hover, .entry .button:hover, .entry .pmpro_btn:hover, .entry .tml-button:hover { background: var(--teal-900); color: #fff; }

/* ---------- app shell (dashboard, courses, checkout) ---------- */
.is-app .site-main { background: var(--teal-50); }
.app-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 24px; }
.entry { color: var(--ink); }
.entry > * + * { margin-top: 1em; }
.entry table { width: 100%; border-collapse: collapse; }
.entry th, .entry td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.is-app .entry { background: #fff; padding: clamp(20px, 3vw, 36px); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.entry-hero img { border-radius: var(--radius); margin-bottom: 24px; }

/* LearnDash: tint its accents to the brand without restyling its UI. */
.learndash-wrapper .ld-button, .learndash-wrapper .ld-primary-background, .learndash-wrapper .ld-progress-bar-percentage { background-color: var(--teal-800) !important; }
.learndash-wrapper .ld-primary-color, .learndash-wrapper a.ld-primary-color { color: var(--teal-800) !important; }
.learndash-wrapper .ld-button:hover { background-color: var(--teal-900) !important; }

/* WooCommerce */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #place_order { background: var(--teal-800) !important; color: #fff !important; border-radius: 999px !important; font-family: var(--font) !important; font-weight: 600 !important; padding: 13px 24px !important; }
.woocommerce .button:hover, .woocommerce #place_order:hover { background: var(--teal-900) !important; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--teal-700) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--teal-700) !important; }

/* ---------- Flatsome shortcode fallback (pages not yet rebuilt) ---------- */
.fs-section { padding: 24px 0; }
.fs-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-bottom: 16px; }
.fs-col { grid-column: span var(--span, 12); min-width: 0; }
@media (max-width: 800px) { .fs-col { grid-column: span 12; } }
.fs-text > * + *, .fs-box > * + * { margin-top: .6em; }
.fs-box { padding: 12px 0; }
.fs-image img, .fs-imgbox img { border-radius: var(--radius-sm); }
.fs-imgbox { display: block; text-decoration: none; color: inherit; }
.fs-divider { border: 0; border-top: 2px solid var(--line); margin: 20px 0; }

/* ---------- help band ---------- */
.help-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(24px, 4vw, 40px); border-radius: 20px; background: linear-gradient(120deg, var(--teal-800), var(--teal-700)); color: #d7eaec; }
.help-band__title { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 6px; }

/* ---------- posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.post-card__media img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card__body { padding: 20px; display: grid; gap: 6px; }
.post-card__date { font-size: .8rem; color: var(--ink-2); }
.post-card__title { font-weight: 600; color: var(--teal-900); }
.post-card__excerpt { font-size: .92rem; color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--teal-900); color: #b9d3d6; font-size: .94rem; }
.site-footer a { color: #dcebed; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer__cta-title { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 6px; }
.site-footer__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer__cta-actions .btn--accent { color: var(--teal-900); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__name { color: #fff; font-weight: 700; font-size: 1.15rem; margin-bottom: 8px; }
.site-footer__heading { color: #fff; font-weight: 600; margin-bottom: 12px; }
.site-footer__links, .site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__contact { margin-top: 16px; }
.site-footer__contact i { color: var(--amber); width: 20px; }

.site-footer__trust { display: grid; gap: 24px; padding-bottom: 32px; }
.site-footer__reviews { background: #fff; border-radius: var(--radius); padding: 12px; color: var(--ink); }
.site-footer__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.site-footer .badge { display: inline-flex; align-items: center; gap: 12px; background: #fff; border-radius: 10px; padding: 8px 12px; color: var(--ink) !important; text-decoration: none; }
.site-footer .badge img { height: 44px; width: auto; }
.badge--sister span { font-weight: 600; font-size: .9rem; line-height: 1.2; }
.badge--sister small { display: block; font-weight: 400; color: var(--ink-2); font-size: .75rem; }

/* "Website by Pure Marketing" credit (house standard). */
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: .85rem; }
.back-to-top { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.68) !important; text-decoration: none; }
.back-to-top:hover { color: #fff !important; }
.footer-credit { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.68) !important; text-decoration: none !important; border: 0 !important; box-shadow: none !important; }
.footer-credit:hover { color: #fff !important; }
.footer-credit-logo { height: 20px; width: auto; display: block; filter: brightness(0) invert(1); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- single course ---------- */
.course-hero__meta { color: #d7eaec; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 6px 0 18px; }
.course-hero__meta .dot { opacity: .6; }
.course-hero__bar { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); }
.course-hero__bar:empty { display: none; }
.course-hero__bar .ld-course-status { margin: 0; }
.course-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.course-hero__actions:empty { display: none; }
.course-hero__actions a, .course-hero__actions button { color: #fff; }
.block--ld { margin-top: 8px; }
.prose--small { font-size: .9rem; color: var(--ink-2); word-break: break-word; }
.side-link { margin: 14px 0; font-weight: 600; }
.side-link a { color: var(--teal-800); text-decoration: none; }
.side-badge { display: block; margin: 18px auto 0; border-radius: var(--radius-sm); }

/* ---------- learner screens ---------- */
.app-intro { color: var(--ink-2); margin: -6px 0 22px; max-width: 640px; }
.app-screen--login, .app-screen--register, .app-screen--lost-password, .app-screen--reset-password, .app-screen--free-register, .app-screen--group-code { max-width: 520px; }
.app-screen .tml, .app-screen form { max-width: 100%; }
.app-screen .tml-field-wrap, .app-screen .tml .tml-field-wrap { margin-bottom: 14px; }
.app-screen .tml input[type=text], .app-screen .tml input[type=email], .app-screen .tml input[type=password] { width: 100%; }
.app-screen .tml-links { list-style: none; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; }

.dash { display: grid; gap: 22px; }
.dash__hero { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; background: linear-gradient(160deg, var(--teal-800), var(--teal-900)); color: #d7eaec; border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.dash__who { display: flex; gap: 18px; align-items: center; }
.dash__avatar img { width: 72px; height: 72px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); display: block; object-fit: cover; }
.dash__hello { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 700; margin: 0 0 4px; }
.dash__sub { margin: 0; max-width: 520px; }
.dash__credits { background: #fff; color: var(--ink); border-radius: var(--radius-sm); padding: 16px 20px; text-align: center; min-width: 200px; }
.dash__credits-label { margin: 0; font-size: .85rem; color: var(--ink-2); }
.dash__credits-num { margin: 2px 0 10px; font-size: 2rem; font-weight: 700; color: var(--teal-800); line-height: 1.2; }
.dash__credits-num p { margin: 0; }
.dash__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.dash-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.dash-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.dash-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-100); color: var(--teal-800); display: grid; place-items: center; font-size: 1.15rem; }
.dash-card__title { font-weight: 700; font-size: 1.1rem; margin-top: 6px; }
.dash-card__text { color: var(--ink-2); font-size: .92rem; flex: 1; }
.dash-card__go { color: var(--teal-800); font-weight: 600; font-size: .92rem; }
.dash__photo { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; background: var(--teal-50); }
.dash__photo summary { cursor: pointer; font-weight: 600; color: var(--teal-800); }
.dash__photo-body { margin-top: 14px; }
@media (max-width: 720px) { .dash__hero { grid-template-columns: 1fr; } .dash__credits { min-width: 0; } }

/* ---------- landing pages ---------- */
.split--flip > :first-child { order: 2; }
@media (max-width: 900px) { .split--flip > :first-child { order: 0; } }
.quote-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-lg); scroll-margin-top: 110px; }
.quote-card__title { margin: 0 0 4px; font-size: 1.35rem; color: var(--teal-900); }
.quote-card__text { margin: 0 0 12px; color: var(--ink-2); font-size: .92rem; }
.quote-card .gform_wrapper .gform_footer { margin-top: 8px; }
.quote-card .gform_wrapper input[type=submit], .quote-card .gform_button { width: 100%; }
.landing-close { background: var(--teal-50); }
.landing-hero__note { font-size: .88rem; color: #cfe4e6; margin-top: 10px; }
.page-hero__text ul.ticks li { color: #d7eaec; }
.landing-note { margin-top: 18px; font-weight: 600; color: var(--teal-800); }
.facts-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 22px 0; }
.facts-strip__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.fact { display: flex; gap: 12px; align-items: flex-start; }
.fact__icon { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--teal-100); color: var(--teal-800); display: grid; place-items: center; }
.fact__label { margin: 0; font-size: .78rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.fact__value { margin: 2px 0 0; font-weight: 600; color: var(--teal-900); font-size: .95rem; line-height: 1.4; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan__badge { align-self: flex-start; margin: 0 0 10px; padding: 3px 10px; border-radius: 99px; background: var(--amber); color: var(--teal-900); font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.plan__title { margin: 0 0 6px; color: var(--teal-900); }
.plan__text { color: var(--ink-2); margin: 0; }
.plan .ticks { flex: 1; }
.plan__price { margin: 18px 0 0; font-size: 1.25rem; font-weight: 700; color: var(--teal-800); }
.dash__credits-num * { text-align: center !important; font-size: inherit !important; font-weight: inherit !important; color: inherit !important; margin: 0 !important; padding: 0 !important; display: block !important; width: auto !important; }

/* ---------- lesson / topic content (replaces the Elementor Pro step templates) ---------- */
.ecare-step__banner { position: relative; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 40px); background: var(--teal-800) center / cover no-repeat; margin-bottom: 24px; overflow: hidden; }
.ecare-step__banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(1,94,105,.88), rgba(1,67,75,.92)); }
.ecare-step__title { position: relative; margin: 0; color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; }
.ecare-step__body { font-size: 1.02rem; line-height: 1.75; }
.ecare-step__body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.ecare-step__audio { margin-top: 24px; }
