/* =========================================================================
   Zealous Academy – brand styles
   Colours match zealousecom.com:
   teal-900 #043644 · night #15232D · accent #4ACFC0 · teal-600 #2C726D
   ========================================================================= */

body {
	--za-ink: #043644;
	--za-night: #15232D;
	--za-panel: #1D2A37;
	--za-accent: #4ACFC0;
	--za-accent-hover: #6FDCCF;
	--za-teal: #2C726D;
	--za-muted: #4B6470;
	--za-line: #DCEAEA;
	--za-tint: #F4F9F9;
	--za-font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

	/* Astra global colours: buttons/links, hover, headings, body text */
	--ast-global-color-0: #043644;
	--ast-global-color-1: #2C726D;
	--ast-global-color-2: #043644;
	--ast-global-color-3: #4B6470;

	/* Tutor LMS colours */
	--tutor-color-primary: #043644;
	--tutor-color-primary-rgb: 4, 54, 68;
	--tutor-color-primary-hover: #0A4C5E;
	--tutor-color-primary-hover-rgb: 10, 76, 94;
}

/* ---------- Site-wide type ---------- */
body,
button,
input,
select,
textarea,
.tutor-wrap,
.tutor-course-details-page,
.tutor-dashboard,
.woocommerce {
	font-family: var(--za-font);
}
h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title,
.tutor-course-details-title,
.tutor-fs-4, .tutor-fs-3, .tutor-fs-2 {
	font-family: var(--za-font);
	color: var(--za-ink);
	letter-spacing: -0.01em;
}
a { color: var(--za-teal); }
a:hover, a:focus { color: var(--za-ink); }

/* ---------- Buttons (Astra, WooCommerce, Tutor) ---------- */
.ast-button,
.button,
button.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page #payment #place_order,
.tutor-btn-primary {
	background-color: var(--za-ink) !important;
	border-color: var(--za-ink) !important;
	color: #fff !important;
	border-radius: 12px !important;
	font-weight: 700 !important;
	font-family: var(--za-font);
}
.ast-button:hover,
.button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce-page #payment #place_order:hover,
.tutor-btn-primary:hover {
	background-color: #0A4C5E !important;
	border-color: #0A4C5E !important;
	color: #fff !important;
}
/* Main buy / enrol buttons on course pages stand out in accent teal */
.tutor-course-details-widget .tutor-btn-primary,
.tutor-add-to-cart-button,
.tutor-enroll-course-button,
.woocommerce-page #payment #place_order {
	background-color: var(--za-accent) !important;
	border-color: var(--za-accent) !important;
	color: var(--za-ink) !important;
}
.tutor-course-details-widget .tutor-btn-primary:hover,
.tutor-add-to-cart-button:hover,
.tutor-enroll-course-button:hover,
.woocommerce-page #payment #place_order:hover {
	background-color: var(--za-accent-hover) !important;
	border-color: var(--za-accent-hover) !important;
	color: var(--za-ink) !important;
}

/* ---------- Header (Astra) ---------- */
.site-header .main-header-bar,
.site-header .ast-primary-header-bar {
	background: #fff;
	border-bottom: 1px solid #E3EFEF;
}
.site-header .main-header-menu .menu-link,
.site-header .ast-builder-menu .menu-item > .menu-link {
	font-family: var(--za-font);
	font-weight: 600;
	color: var(--za-ink);
}
.site-header .main-header-menu .menu-item:hover > .menu-link,
.site-header .main-header-menu .current-menu-item > .menu-link {
	color: var(--za-teal);
}
.site-header .site-title a { color: var(--za-ink); font-weight: 800; }

/* ---------- Footer (Astra) ---------- */
.site-footer,
.site-footer .site-above-footer-wrap,
.site-footer .site-primary-footer-wrap,
.site-footer .site-below-footer-wrap {
	background-color: var(--za-ink) !important;
	background-image: none !important;
	color: #B9D3D8 !important;
	border-top-color: rgba(255, 255, 255, 0.12) !important;
}
.site-footer a { color: #B9D3D8 !important; text-decoration: none; }
.site-footer a:hover { color: var(--za-accent) !important; }
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4,
.site-footer .widget-title { color: #fff !important; }

/* ---------- Tutor course page polish ---------- */
.tutor-course-details-page .tutor-course-details-title { font-weight: 800; }
.tutor-card,
.tutor-course-details-widget,
.tutor-accordion-item {
	border-radius: 16px !important;
	border-color: var(--za-line) !important;
}
.tutor-course-card {
	border-radius: 20px !important;
	border: 1px solid var(--za-line) !important;
	overflow: hidden;
	box-shadow: none !important;
}
.tutor-course-card:hover { border-color: #9FC9C9 !important; }

/* =========================================================================
   NEW HOMEPAGE (only on the front page: body.za-front)
   ========================================================================= */

/* Let homepage sections run full width inside Astra's layout */
body.za-front .site-content > .ast-container {
	max-width: none;
	padding: 0;
	display: block;
}
body.za-front #primary,
body.za-front #secondary { display: none; }

.za, .za * { box-sizing: border-box; }
.za {
	font-family: var(--za-font);
	color: var(--za-ink);
	font-size: 16px;
	line-height: 1.6;
}
.za h1, .za h2, .za h3 { font-family: var(--za-font); margin: 0; }
.za p { margin: 0; }
.za-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.za-accent { color: var(--za-accent); }

/* Buttons */
.za-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border-radius: 12px;
	font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none;
	border: 1.5px solid transparent; transition: background-color .15s, border-color .15s;
}
.za-btn--accent { background: var(--za-accent); color: var(--za-ink); }
.za-btn--accent:hover, .za-btn--accent:focus { background: var(--za-accent-hover); color: var(--za-ink); }
.za-btn--dark { background: var(--za-ink); color: #fff; }
.za-btn--dark:hover, .za-btn--dark:focus { background: #0A4C5E; color: #fff; }
.za-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.za-btn--ghost:hover, .za-btn--ghost:focus { color: #fff; border-color: var(--za-accent); }
.za-btn--line { background: #fff; color: var(--za-ink); border-color: #CFE3E3; }
.za-btn--line:hover, .za-btn--line:focus { color: var(--za-ink); border-color: var(--za-ink); }
.za-btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.za-btn--lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.za-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Labels */
.za-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--za-teal); }
.za-eyebrow--light { color: var(--za-accent); }
.za-pill {
	display: inline-flex; padding: 8px 14px; border-radius: 999px;
	border: 1px solid rgba(74, 207, 192, .4); color: var(--za-accent);
	font-weight: 700; font-size: 13px; letter-spacing: .08em;
}

/* Headings */
.za-h2 { margin-top: 12px !important; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--za-ink); }
.za-h2--light { color: #fff; }
.za-sub { margin-top: 14px !important; font-size: 18px; line-height: 1.6; color: var(--za-muted); }

/* Sections */
.za-section { padding: 96px 0; }
.za-section--tint { background: var(--za-tint); }
.za-section--flush { padding-top: 0; }
.za-head { max-width: 640px; }
.za-head--center { margin: 0 auto; text-align: center; }
.za-head--split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.za-head--split > div { max-width: 620px; }

/* Grids */
.za-grid { display: grid; gap: 24px; margin-top: 44px; }
.za-grid--cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.za-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.za-grid--2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 0; }
.za-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.za-split__left { flex: 1 1 340px; min-width: 0; }
.za-split__right { flex: 1 1 540px; min-width: 0; }

/* Hero */
.za-hero { background: var(--za-night); color: #fff; padding: 72px 0 88px; }
.za-hero__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.za-hero__text { flex: 1 1 480px; min-width: 0; }
.za-hero__media { flex: 1 1 420px; min-width: 0; }
.za-hero__title { margin-top: 22px !important; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.06; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.za-hero__lead { margin-top: 22px !important; font-size: 19px; line-height: 1.6; color: #C9DCE0; max-width: 560px; }
.za-facts { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #C9DCE0; font-size: 15px; font-weight: 600; }
.za-facts li { display: flex; align-items: center; gap: 8px; margin: 0; }

.za-player-card { background: var(--za-panel); border: 1px solid rgba(255, 255, 255, .08); border-radius: 24px; padding: 14px; }
.za-player {
	position: relative; display: flex; align-items: center; justify-content: center;
	aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
	background: var(--za-ink) center / cover no-repeat;
}
.za-player::before { content: ""; position: absolute; inset: 0; background: rgba(4, 54, 68, .55); }
.za-player__wm { position: absolute; top: 18%; right: 9%; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .4); }
.za-player__play { position: relative; width: 72px; height: 72px; border-radius: 999px; background: var(--za-accent); display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.za-player:hover .za-player__play { transform: scale(1.06); }
.za-player__bar { position: absolute; left: 16px; right: 16px; bottom: 14px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .2); }
.za-player__bar span { display: block; width: 38%; height: 5px; border-radius: 3px; background: var(--za-accent); }
.za-player-card__meta { padding: 18px 8px 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.za-player-card__title { font-size: 18px; font-weight: 700; margin-top: 4px; color: #fff; }
.za-protected { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #C9DCE0; font-weight: 600; }

/* Marketplace strip */
.za-strip { background: var(--za-tint); border-bottom: 1px solid #E3EFEF; }
.za-strip__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-top: 26px; padding-bottom: 26px; }
.za-strip__label { font-weight: 700; font-size: 15px; color: var(--za-teal); }
.za-strip__names { display: flex; flex-wrap: wrap; gap: 12px 34px; font-weight: 800; font-size: 20px; color: var(--za-ink); }

/* Course cards */
.za-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--za-line); border-radius: 20px; overflow: hidden; transition: border-color .15s, transform .15s; }
.za-card:hover { border-color: #9FC9C9; transform: translateY(-2px); }
.za-card__cover { position: relative; display: flex; align-items: flex-end; aspect-ratio: 16 / 9; padding: 18px; background-size: cover; background-position: center; text-decoration: none; }
.za-card__tag { align-self: flex-start; padding: 5px 10px; border-radius: 8px; background: var(--za-tint); color: var(--za-teal); font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.za-card__covertitle { font-size: 24px; font-weight: 800; color: #fff; line-height: 1.15; max-width: 85%; }
.za-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.za-card__title { font-size: 20px !important; font-weight: 800; line-height: 1.3; }
.za-card__title a { color: var(--za-ink); text-decoration: none; }
.za-card__title a:hover { color: var(--za-teal); }
.za-card__desc { font-size: 15px; line-height: 1.55; color: var(--za-muted); }
.za-card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--za-muted); font-weight: 600; }
.za-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid #E3EFEF; }
.za-card__price { font-size: 22px; font-weight: 800; color: var(--za-ink); }
.za-card__price del { font-size: 15px; color: var(--za-muted); font-weight: 600; margin-right: 6px; }
.za-card__price ins { text-decoration: none; }

.za-soon { margin-top: 24px; border-radius: 20px; border: 1.5px dashed #9FC9C9; background: var(--za-tint); padding: 26px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.za-soon__title { font-size: 20px; font-weight: 800; margin-top: 6px; }

/* Steps */
.za-step { background: #fff; border: 1px solid var(--za-line); border-radius: 20px; padding: 30px; }
.za-step__n { width: 48px; height: 48px; border-radius: 12px; background: var(--za-ink); color: var(--za-accent); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; }
.za-step h3 { margin-top: 22px; font-size: 20px; font-weight: 800; color: var(--za-ink); }
.za-step p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--za-muted); }

/* Audience */
.za-aud { border: 1px solid var(--za-line); border-radius: 16px; padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.za-aud svg { flex: none; margin-top: 3px; }
.za-aud strong { display: block; font-size: 17px; font-weight: 800; color: var(--za-ink); }
.za-aud span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--za-muted); }

/* Instructor */
.za-instructor { background: var(--za-ink); color: #fff; border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.za-instructor__photo { flex: 0 0 180px; height: 180px; border-radius: 999px; background: #0A4C5E; border: 2px solid var(--za-accent); display: flex; align-items: center; justify-content: center; font-size: 52px; font-weight: 800; color: var(--za-accent); }
.za-instructor__text { flex: 1 1 380px; min-width: 0; }
.za-instructor__role { margin-top: 6px; font-size: 16px; font-weight: 600; color: #9FC9C9; }
.za-instructor__text p { margin: 18px 0 26px; font-size: 17px; line-height: 1.7; color: #DCEBEE; max-width: 620px; }

/* FAQ */
.za-faq { background: #fff; border: 1px solid var(--za-line); border-radius: 20px; padding: 8px 28px; }
.za-faq details { border-bottom: 1px solid #E3EFEF; }
.za-faq details:last-child { border-bottom: 0; }
.za-faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; color: var(--za-ink); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; }
.za-faq summary::-webkit-details-marker { display: none; }
.za-faq summary span { color: var(--za-teal); font-size: 22px; line-height: 1; transition: transform .15s; }
.za-faq details[open] summary span { transform: rotate(45deg); }
.za-faq details p { margin: 0 0 20px; font-size: 16px; line-height: 1.65; color: var(--za-muted); }

/* Final CTA */
.za-cta { background: var(--za-night); border-radius: 28px; padding: 56px 48px; color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.za-cta > div { max-width: 640px; }
.za-cta .za-h2 { margin-top: 0 !important; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; }
.za-cta p { margin-top: 14px; font-size: 18px; color: #C9DCE0; }

/* Phones */
@media (max-width: 760px) {
	.za-section { padding: 64px 0; }
	.za-section--flush { padding-top: 0; }
	.za-hero { padding: 48px 0 64px; }
	.za-instructor, .za-cta { padding: 32px 24px; border-radius: 22px; }
	.za-instructor__photo { flex-basis: 120px; height: 120px; font-size: 36px; }
	.za-faq { padding: 4px 18px; }
	.za-strip__names { font-size: 17px; gap: 8px 22px; }
}

/* ---------- "This course includes" box (course pages) ---------- */
.zac-includes { margin: 24px 0; padding: 22px 22px 16px; border: 1px solid var(--za-line); border-radius: 18px; background: #fff; font-family: var(--za-font); }
.zac-includes__title { margin: 0 0 14px !important; font-size: 18px !important; font-weight: 800; color: var(--za-ink); }
.zac-includes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.zac-includes li { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 15px; line-height: 1.45; color: var(--za-ink); }
.zac-includes li svg { flex: none; margin-top: 1px; color: var(--za-teal); }
.zac-includes__updated { margin: 14px 0 0 !important; padding-top: 12px; border-top: 1px solid #E3EFEF; font-size: 13px; color: var(--za-muted); }

.za-instructor__photo { overflow: hidden; }
.za-instructor__photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 999px; }

/* ---------- Brand footer (v1.2.0) ----------
 * Same layout as zealousecom.com: brand | Explore | Courses | Get in touch,
 * then a bottom bar. Astra's own footer is hidden; switch to Astra to undo. */
#colophon.site-footer, .site-footer { display: none !important; }
.zf { background: var(--za-night); color: #AFC1C9; font-family: var(--za-font); font-size: 16px; line-height: 1.6; border-top: 1px solid rgba(74, 207, 192, .25); }
.zf *, .zf *::before, .zf *::after { box-sizing: border-box; }
.zf a { color: #C9D6DC !important; text-decoration: none !important; transition: color .15s; }
.zf a:hover, .zf a:focus-visible { color: var(--za-accent) !important; }
.zf__wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.zf__main { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.2fr; gap: 40px 48px; padding: 56px 0 44px; }
.zf__brand p { margin: 18px 0 0; max-width: 340px; color: #AFC1C9; }
.zf-logo { display: inline-flex; align-items: center; background: #ffffff; border-radius: 14px; padding: 10px 16px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.zf-logo img { display: block; max-height: 46px; max-width: 200px; width: auto; height: auto; }
.zf-logo__text { color: var(--za-ink); font-weight: 800; font-size: 20px; letter-spacing: .02em; line-height: 1; }
.zf-logo__text small { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .28em; color: var(--za-teal); }
.zf__social { display: flex; gap: 12px; margin-top: 24px; }
.zf__social a { width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.zf__social a:hover { border-color: var(--za-accent); }
.zf__social svg { width: 20px; height: 20px; }
.zf h2.zf__title { margin: 6px 0 20px !important; padding: 0; font-family: var(--za-font) !important; font-size: 14px !important; font-weight: 800 !important; letter-spacing: .14em; text-transform: uppercase; color: #ffffff !important; line-height: 1.3; }
.zf__links { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; gap: 12px; }
.zf__links li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.zf__more a { color: var(--za-accent) !important; font-weight: 700; }
.zf__contact { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; gap: 16px; }
.zf__contact li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; margin: 0 !important; list-style: none !important; }
.zf__contact svg { width: 22px; height: 22px; margin-top: 2px; stroke: var(--za-accent); }
.zf__contact a { overflow-wrap: anywhere; }
.zf__bar { background: rgba(0, 0, 0, .22); border-top: 1px solid rgba(255, 255, 255, .08); }
.zf__bar .zf__wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 18px; padding-bottom: 18px; padding-right: 150px; } /* right space for the WhatsApp Help button */
.zf__copy { font-size: 15px; color: #C9D6DC; }
.zf__copy small { display: block; font-size: 13px; color: #8FA6B0; margin-top: 2px; }
.zf__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 14px; }
.zf__top { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .15); font-weight: 700; }
.zf__top svg { width: 16px; height: 16px; }
@media (max-width: 1024px) {
	.zf__main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.zf__wrap { padding: 0 18px; }
	.zf__main { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 40px 0 32px; }
	.zf__brand, .zf__col--contact { grid-column: 1 / -1; }
	.zf__bar .zf__wrap { flex-direction: column; align-items: flex-start; padding-right: 18px; padding-bottom: 84px; } /* room for the Help button */
}
@media (max-width: 380px) {
	.zf__main { grid-template-columns: 1fr; }
}
