/* WP Senior Academy — brand layer on top of Kadence.
   Logical CSS properties throughout so Arabic (RTL) and English (LTR) share one stylesheet. */

@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/tajawal-400.woff2") format("woff2"); }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/tajawal-500.woff2") format("woff2"); }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/tajawal-700.woff2") format("woff2"); }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/tajawal-800.woff2") format("woff2"); }

:root {
	--wpsa-navy: #0d1d40;
	--wpsa-navy-2: #132a56;
	--wpsa-blue: #1a63d6;
	--wpsa-blue-soft: #e8f0fd;
	--wpsa-bg-soft: #f5f8fd;
	--wpsa-text: #1f2d4d;
	--wpsa-muted: #4a5878;
	--wpsa-border: #e1e8f5;
	--wpsa-radius: 16px;
	--wpsa-shadow: 0 12px 32px -18px rgba(13, 29, 64, .35);
	--global-body-font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--global-heading-font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--global-primary-nav-font-family: "Tajawal", system-ui, sans-serif;
}

body,
.editor-styles-wrapper { font-family: var(--global-body-font-family); }
h1, h2, h3, h4, h5, h6,
.editor-styles-wrapper :is(h1, h2, h3, h4) { font-family: var(--global-heading-font-family); font-weight: 800; color: var(--wpsa-navy); line-height: 1.35; }

/* Visible keyboard focus everywhere. */
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--wpsa-blue); outline-offset: 2px; }

/* Header actions ([wpsa_header_actions] in the Kadence "HTML" element): enrollment-aware CTA + account icon.
   Regions come from the header builder: logo | centred menu (+ language switcher) | actions. Logical
   properties only, so Arabic (RTL) and English (LTR) mirror correctly. */
.wpsa-header-actions { display: flex; align-items: center; gap: 12px; }
.wpsa-header-cta {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	background: var(--wpsa-blue);
	color: #fff !important;
	border-radius: 999px;
	padding: .55em 1.25em;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	transition: background .15s ease;
}
.wpsa-header-cta:hover, .wpsa-header-cta:focus-visible { background: var(--wpsa-navy-2); color: #fff !important; }
.wpsa-header-cta--continue { background: var(--wpsa-navy); }
.wpsa-header-cta--continue:hover, .wpsa-header-cta--continue:focus-visible { background: var(--wpsa-blue); }
.wpsa-account-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: var(--wpsa-navy) !important;
	text-decoration: none;
}
.wpsa-header-actions--header .wpsa-account-link {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border-radius: 50%;
	border: 1.5px solid var(--wpsa-border, #e1e8f5);
	background: #fff;
	transition: border-color .15s ease, background .15s ease;
}
.wpsa-header-actions--header .wpsa-account-link:hover,
.wpsa-header-actions--header .wpsa-account-link:focus-visible { border-color: var(--wpsa-blue); background: var(--wpsa-blue-soft, #e8f0fd); }
.wpsa-header-actions--header .wpsa-account-link.is-logged-in { border-color: var(--wpsa-blue); }
.wpsa-account-link .kadence-svg-iconset { display: inline-flex; }
.wpsa-account-link svg { display: block; width: 20px; height: 20px; flex: 0 0 20px; }
/* Desktop: keep the three regions on one line; the centred menu gets the free space. */
.site-header-main-section-center .header-navigation .menu { flex-wrap: nowrap; }
.site-header-main-section-center .header-navigation .menu > li > a { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 1025px) {
	.site-header-main-section-center .header-navigation .menu > li > a { padding-inline: .55em; }
	.wpsa-header-cta { padding-inline: 1em; }
}
/* Mobile drawer: full-width CTA, then a labelled account link. */
.wpsa-header-actions--drawer { flex-direction: column; align-items: stretch; gap: 14px; padding-block: 18px 6px; }
.wpsa-header-actions--drawer .wpsa-header-cta { justify-content: center; padding-block: .8em; }
.wpsa-header-actions--drawer .wpsa-account-link { justify-content: flex-start; font-weight: 700; padding: 10px 4px; color: #fff !important; }
.wpsa-header-actions--drawer .wpsa-account-link .kadence-svg-iconset { width: 38px; height: 38px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 50%; align-items: center; justify-content: center; }

/* ---------- Landing page ---------- */
.wpsa-landing { color: var(--wpsa-text); font-size: 1.0625rem; line-height: 1.75; }
.wpsa-landing p { color: var(--wpsa-muted); }
.wpsa-landing .wpsa-section { padding-block: clamp(32px, 4vw, 56px); } /* ≈56 desktop · 40 tablet · 32 phone */
.wpsa-landing .wpsa-section-soft { background: var(--wpsa-bg-soft); }
.wpsa-landing h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); }
.wpsa-landing .wpsa-lead { font-size: 1.1rem; max-width: 46rem; margin-inline: auto; }

.wpsa-eyebrow {
	display: inline-block;
	background: var(--wpsa-blue-soft);
	color: var(--wpsa-blue) !important;
	font-weight: 700;
	font-size: .9rem;
	border-radius: 999px;
	padding: .35em 1em;
}

/* Hero */
.wpsa-hero {
	background: radial-gradient(circle at 85% -10%, rgba(61, 139, 245, .28), transparent 55%), linear-gradient(135deg, var(--wpsa-navy) 0%, var(--wpsa-navy-2) 100%);
	color: #fff;
}
.wpsa-hero h1 { color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.3; }
.wpsa-hero p { color: rgba(255, 255, 255, .82); font-size: 1.08rem; }
.wpsa-hero .wpsa-eyebrow { background: rgba(255, 255, 255, .12); color: #fff !important; }
.wpsa-price-inline { font-weight: 800; color: #fff !important; font-size: 1.25rem; }
.wpsa-price-inline del { opacity: .65; font-weight: 500; margin-inline-start: .5em; font-size: .9em; }

/* Buttons */
.wpsa-landing .wp-block-button__link { font-weight: 800; border-radius: 999px; padding: .85em 1.9em; font-size: 1.05rem; }
.wpsa-landing .is-style-outline .wp-block-button__link { border-width: 2px; }
.wpsa-hero .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }

/* Fact cards & generic cards */
.wpsa-facts { gap: 16px !important; }
.wpsa-card, .wpsa-facts > .wp-block-column {
	background: #fff;
	border: 1px solid var(--wpsa-border);
	border-radius: var(--wpsa-radius);
	padding: 22px 20px;
	box-shadow: var(--wpsa-shadow);
}
.wpsa-facts > .wp-block-column { text-align: center; }
.wpsa-facts strong { display: block; font-size: 1.9rem; color: var(--wpsa-blue); line-height: 1.2; }

/* Check lists */
.wpsa-checklist { list-style: none; padding-inline-start: 0; }
.wpsa-checklist li { position: relative; padding-inline-start: 2rem; margin-block: .55rem; color: var(--wpsa-text); }
.wpsa-checklist li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: .35em;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 50%;
	background: var(--wpsa-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Curriculum & FAQ (core Details block) */
.wpsa-landing details {
	background: #fff;
	border: 1px solid var(--wpsa-border);
	border-radius: 12px;
	padding: 12px 16px;
}
.wpsa-landing details > summary { cursor: pointer; font-weight: 700; color: var(--wpsa-navy); }
.wpsa-landing details[open] > summary { margin-block-end: .5rem; }
.wpsa-landing details ol, .wpsa-landing details ul { margin-block: 0; }

/* Instructor */
.wpsa-instructor img { border-radius: var(--wpsa-radius); background: var(--wpsa-blue-soft); }

/* Honest-opportunity note */
.wpsa-note {
	border-inline-start: 4px solid var(--wpsa-blue);
	background: var(--wpsa-blue-soft);
	border-radius: 12px;
	padding: 18px 20px;
}
.wpsa-note p { color: var(--wpsa-text); margin: 0; }

/* Pricing */
.wpsa-price-card {
	background: #fff;
	border: 2px solid var(--wpsa-blue);
	border-radius: 24px;
	padding: clamp(22px, 3.2vw, 36px);
	box-shadow: var(--wpsa-shadow);
	max-width: 560px;
	margin-inline: auto;
}
.wpsa-price-card .wpsa-price { font-size: clamp(2.2rem, 6vw, 3rem); font-weight: 800; color: var(--wpsa-navy); margin: 0; }
.wpsa-price-card .wpsa-price del { font-size: .45em; color: var(--wpsa-muted); font-weight: 500; margin-inline-start: .5em; }

/* Screenshots */
.wpsa-shots img { border-radius: 12px; border: 1px solid var(--wpsa-border); box-shadow: var(--wpsa-shadow); }
.wpsa-shots figcaption { text-align: center; color: var(--wpsa-muted); }

/* Final CTA */
.wpsa-cta-final { background: linear-gradient(135deg, var(--wpsa-navy) 0%, var(--wpsa-blue) 100%); color: #fff; border-radius: 24px; }
.wpsa-cta-final h2, .wpsa-cta-final p { color: #fff; }

@media (max-width: 781px) {
	.wpsa-landing .wp-block-buttons { justify-content: center; }
	.wpsa-landing .wp-block-buttons .wp-block-button { width: 100%; }
	.wpsa-landing .wp-block-buttons .wp-block-button__link { width: 100%; }
	.wpsa-hero { text-align: center; }
}

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

.wpsa-cta-final .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .7); background: transparent; }

/* Full-width sections keep a safe side gutter (Kadence edge padding token). */
.wpsa-landing .wp-block-group.alignfull > .wp-block-group__inner-container,
.wpsa-landing .wp-block-group.alignfull.is-layout-constrained {
	max-width: 1120px;
	margin-inline: auto;
	padding-inline: var(--global-content-edge-padding, 1.5rem);
	box-sizing: border-box;
}
.wpsa-landing #curriculum > .wp-block-group__inner-container,
.wpsa-landing #faq > .wp-block-group__inner-container { max-width: 860px; }
.wpsa-landing { overflow-x: clip; }

/* Outline buttons on dark backgrounds (beats Kadence's outline colour rule). */
.wpsa-landing :is(.wpsa-hero, .wpsa-cta-final) .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .7); background: transparent; }
.wpsa-landing :is(.wpsa-hero, .wpsa-cta-final) .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); }
.wpsa-landing .wpsa-cta-final .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: #fff; color: var(--wpsa-navy); }

/* Consent banner on phones: compact, scrollable, and never able to permanently hide page CTAs
   (e.g. the checkout "Place order" button) — the page gets matching scroll room while it is shown. */
@media (max-width: 781px) {
	.cmplz-cookiebanner.cmplz-show { max-height: 42vh; overflow-y: auto; }
	.cmplz-cookiebanner .cmplz-message { font-size: 13px; line-height: 1.55; }
	body:has(.cmplz-cookiebanner.cmplz-show) { padding-bottom: 44vh; }
}

/* ======================= Funnel (Arabic landing v2) ======================= */
.wpsa-hero-sub { max-width: 40rem; }
.wpsa-hero-price { color: #fff !important; font-size: 1.1rem; }
.wpsa-price-now { font-weight: 800; }
.wpsa-hero-price .wpsa-price-now { font-size: 1.9rem; }
.wpsa-price-old { opacity: .7; font-weight: 500; margin-inline-start: .4rem; }
.wpsa-price-save {
	display: inline-block; margin-inline-start: .5rem; padding: .15em .7em; border-radius: 999px;
	background: #ffcf5c; color: #3d2b00; font-weight: 800; font-size: .85rem; vertical-align: middle;
}
.wpsa-muted { color: var(--wpsa-muted) !important; font-size: .95rem; }
.wpsa-hero .wpsa-muted { color: rgba(255, 255, 255, .75) !important; }
.wpsa-landing .wpsa-btn-primary .wp-block-button__link {
	background: linear-gradient(120deg, #1a63d6, #3d8bf5); color: #fff;
	box-shadow: 0 14px 30px -12px rgba(30, 114, 232, .6); font-size: 1.1rem; padding: 1em 2.2em;
}
.wpsa-landing .wpsa-btn-primary .wp-block-button__link:hover { filter: brightness(1.06); }
.wpsa-landing .wpsa-btn-light .wp-block-button__link { background: #fff; color: var(--wpsa-navy); padding: 1em 2.2em; }
.wpsa-trust-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.wpsa-trust-bullets li { color: rgba(255, 255, 255, .9); font-size: .92rem; font-weight: 600; }
.wpsa-trust-bullets li::before { content: "✓"; color: #5fd3a1; font-weight: 800; margin-inline-end: .35rem; }
.wpsa-hero-login { font-size: .9rem; }
.wpsa-hero-login, .wpsa-hero-login a { color: rgba(255, 255, 255, .85) !important; }

/* Metrics strip */
.wpsa-metrics-strip { padding-block: 0; }
.wpsa-metrics > .wp-block-group__inner-container,
.wpsa-metrics.is-layout-constrained {
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
	background: #fff; border: 1px solid var(--wpsa-border); border-radius: 18px;
	box-shadow: var(--wpsa-shadow); overflow: hidden; position: relative; margin-block-start: -28px;
}
.wpsa-metrics p { margin: 0; padding: 18px 10px; text-align: center; font-weight: 600; color: var(--wpsa-text) !important; font-size: .92rem; border-inline-end: 1px solid var(--wpsa-border); }
.wpsa-metrics p:last-child { border-inline-end: 0; }
.wpsa-metrics strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--wpsa-blue); line-height: 1.25; }

/* Card grids */
.wpsa-cards > .wp-block-group__inner-container,
.wpsa-cards.is-layout-constrained { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wpsa-cards--2 > .wp-block-group__inner-container, .wpsa-cards--2.is-layout-constrained { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin-inline: auto; }
.wpsa-cards--3 > .wp-block-group__inner-container, .wpsa-cards--3.is-layout-constrained { grid-template-columns: repeat(3, 1fr); }
.wpsa-cards > .wp-block-group__inner-container > *, .wpsa-cards.is-layout-constrained > * { margin: 0 !important; max-width: none !important; }
.wpsa-card h3 { font-size: 1.1rem; margin: 0 0 .35rem; }
.wpsa-card p { margin: 0; font-size: .97rem; }
.wpsa-card--pain { border-inline-start: 4px solid #e5484d; }
.wpsa-card--pain h3::before { content: "✕"; color: #e5484d; margin-inline-end: .45rem; }
.wpsa-pivot { font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: var(--wpsa-navy) !important; }

/* Comparison */
.wpsa-compare { max-width: 860px; margin-inline: auto; gap: 16px; }
.wpsa-compare > .wp-block-column { border-radius: var(--wpsa-radius); padding: 18px 20px; }
.wpsa-compare__bad { background: #fdf0f0; }
.wpsa-compare__good { background: #fff; border: 2px solid var(--wpsa-blue); }
.wpsa-compare h4 { margin-top: 0; }
.wpsa-crosslist { list-style: none; padding-inline-start: 0; }
.wpsa-crosslist li { position: relative; padding-inline-start: 1.8rem; margin-block: .55rem; color: var(--wpsa-text); }
.wpsa-crosslist li::before { content: "✕"; position: absolute; inset-inline-start: 0; color: #e5484d; font-weight: 800; }

/* Numbered journey steps */
.wpsa-steps { list-style: none; counter-reset: wpsa-step; padding: 0; max-width: 860px; margin-inline: auto; }
.wpsa-steps li {
	counter-increment: wpsa-step; position: relative; background: #fff; border: 1px solid var(--wpsa-border);
	border-radius: 14px; padding: 12px 16px; padding-inline-start: 4rem; margin-block: 0 8px; color: var(--wpsa-text);
}
.wpsa-steps li::before {
	content: counter(wpsa-step, decimal-leading-zero); position: absolute; inset-inline-start: 14px; top: 50%;
	transform: translateY(-50%); width: 2.4rem; height: 2.4rem; border-radius: 10px; display: grid; place-items: center;
	background: var(--wpsa-navy); color: #fff; font-weight: 800; font-size: .95rem;
}
.wpsa-steps--after li::before { background: var(--wpsa-blue); }

/* Instructor */
.wpsa-instructor-section { background: linear-gradient(180deg, #fff 0%, var(--wpsa-bg-soft) 100%); }
.wpsa-lead-start { font-size: 1.12rem; color: var(--wpsa-text) !important; }

/* Pricing */
.wpsa-pricing-section { background: radial-gradient(circle at 50% 0%, rgba(61, 139, 245, .12), transparent 60%), var(--wpsa-bg-soft); }
.wpsa-price-card { max-width: 620px; text-align: center; }
.wpsa-price-card .wpsa-checklist { text-align: start; max-width: 420px; margin-inline: auto; }
.wpsa-price-card h2 { margin-top: .2rem; }
.wpsa-price-big .wpsa-price-now { font-size: clamp(2.4rem, 7vw, 3.2rem); color: var(--wpsa-navy); }
.wpsa-price-big .wpsa-price-old { font-size: 1.1rem; color: var(--wpsa-muted); }
.wpsa-pay-methods { font-size: .85rem; color: var(--wpsa-muted) !important; }
.wpsa-guarantee { background: #effaf4; border: 1px solid #b9e8cf; border-radius: 14px; padding: 14px 18px; text-align: start; }
.wpsa-guarantee p { color: #164d33 !important; font-size: .95rem; margin: 0; }
.wpsa-final-price { color: #fff !important; font-size: 1.3rem; }
.wpsa-final-price .wpsa-price-old { color: rgba(255, 255, 255, .7); }

@media (max-width: 1024px) {
	.wpsa-cards > .wp-block-group__inner-container, .wpsa-cards.is-layout-constrained { grid-template-columns: repeat(2, 1fr); }
	.wpsa-metrics > .wp-block-group__inner-container, .wpsa-metrics.is-layout-constrained { grid-template-columns: repeat(3, 1fr); }
	.wpsa-metrics p:nth-child(3) { border-inline-end: 0; }
}
@media (max-width: 781px) {
	.wpsa-cards > .wp-block-group__inner-container, .wpsa-cards.is-layout-constrained,
	.wpsa-cards--2 > .wp-block-group__inner-container, .wpsa-cards--3 > .wp-block-group__inner-container { grid-template-columns: 1fr; }
	.wpsa-metrics > .wp-block-group__inner-container, .wpsa-metrics.is-layout-constrained { grid-template-columns: repeat(2, 1fr); margin-block-start: -20px; }
	.wpsa-metrics p { border-bottom: 1px solid var(--wpsa-border); }
	.wpsa-metrics p:nth-child(2n) { border-inline-end: 0; }
	.wpsa-metrics p:last-child { grid-column: 1 / -1; border-bottom: 0; }
	.wpsa-trust-bullets { justify-content: center; }
	.wpsa-hero .wpsa-countdown { justify-content: center; }
	.wpsa-steps li { padding-inline-start: 3.6rem; }
}
.wpsa-price-note { display: block; font-size: .9rem; margin-top: .15rem; }

/* ======================= Landing spacing system (v3) =======================
   Scoped to .wpsa-landing (the two landing pages only). Replaces Kadence's 32px default block margins
   with a tighter rhythm: sections 64/46/36px, heading→text 8–12px, text→content 16–24px. */

/* Sections touch each other: no white bands between coloured sections. */
.wpsa-landing > .wp-block-group__inner-container > * { margin-block: 0; }
/* Default gap between blocks inside a section / column / card. */
.wpsa-landing .wp-block-group__inner-container > *,
.wpsa-landing .wp-block-column > * { margin-block: 0 16px; }
.wpsa-landing .wp-block-group__inner-container > :last-child,
.wpsa-landing .wp-block-column > :last-child { margin-block-end: 0; }
.wpsa-landing :is(.wp-block-group__inner-container, .wp-block-column) > h2 { margin-block-end: 10px; }
.wpsa-landing :is(.wp-block-group__inner-container, .wp-block-column) > h3 { margin-block-end: 8px; }
.wpsa-landing :is(.wp-block-group__inner-container, .wp-block-column) > .wpsa-eyebrow { margin-block-end: 10px; }
.wpsa-landing .wp-block-group__inner-container > .wpsa-lead { margin-block-end: 24px; }
.wpsa-landing .wp-block-columns { gap: clamp(16px, 2.5vw, 32px); }
.wpsa-landing .wpsa-card > .wp-block-group__inner-container > * { margin-block: 0 6px; }
.wpsa-landing .wpsa-card > .wp-block-group__inner-container > :last-child { margin-block-end: 0; }
/* A sub-heading that opens a new block of content inside a section gets air above it. */
.wpsa-landing .wp-block-group__inner-container > * + h3.has-text-align-center { margin-block-start: 32px; }
.wpsa-landing .wpsa-checklist { margin-block-start: 0; }
.wpsa-landing .wpsa-checklist li { margin-block: 0 .45rem; }
.wpsa-landing details { margin-block: 0 8px; }

/* Hero: copy column centred, portrait standing on the hero's bottom edge and sized by its column. */
.wpsa-landing .wpsa-hero { padding-block: clamp(28px, 3.5vw, 48px) 0; }
.wpsa-landing .wp-block-group.alignfull.wpsa-hero > .wp-block-group__inner-container { max-width: 1200px; }
.wpsa-hero .wp-block-columns { margin-block-end: 0; align-items: stretch; }
.wpsa-hero .wp-block-column:not(.wpsa-hero-visual) { padding-block-end: clamp(40px, 4.5vw, 64px); }
.wpsa-hero .wp-block-column > .wpsa-hero-price { margin-block-end: 8px; }
.wpsa-hero .wp-block-column > .wpsa-countdown { margin-block-end: 18px; }
.wpsa-hero .wp-block-column > .wpsa-hero-ctas { margin-block-end: 14px; }
.wpsa-hero .wp-block-column > .wpsa-trust-bullets { margin-block-end: 10px; }
.wpsa-hero-visual { display: flex; flex-direction: column; justify-content: flex-end; }
.wpsa-hero-visual > figure { margin: 0; }
/* The portrait file (857×900) has a transparent band on its right third (person spans x 1–67 %).
   A 0.68 box with object-fit: cover anchored left-bottom shows exactly the person — nothing of him is cropped —
   so he fills the column height instead of floating small inside a wide transparent canvas. */
.wpsa-hero-visual img {
	display: block;
	width: 100%;
	max-width: 520px;
	height: auto;
	aspect-ratio: 0.68;
	object-fit: cover;
	object-position: left bottom;
	margin-inline: auto;
}

/* Metrics strip overlaps the hero edge by 28px (layout-affecting margin: no phantom gap below). */
.wpsa-landing .wpsa-metrics-strip { padding-block-end: clamp(8px, 1.5vw, 16px); }

/* Section-specific rhythm */
.wpsa-landing .wpsa-cards { margin-block-end: 24px; }
.wpsa-landing .wpsa-cards:last-child { margin-block-end: 0; }
.wpsa-landing .wpsa-compare { margin-block-end: 24px; }
.wpsa-landing .wpsa-shots figcaption { margin-block: 8px 0; }
.wpsa-landing .wpsa-steps + h3 { margin-block-start: 28px; }
.wpsa-landing .wpsa-instructor img { max-height: 440px; width: auto; margin-inline: auto; display: block; }
.wpsa-landing .wpsa-note { margin-block-start: 8px; }
.wpsa-landing .wpsa-price-card > .wp-block-group__inner-container > * { margin-block: 0 12px; }
.wpsa-landing .wpsa-price-card > .wp-block-group__inner-container > :last-child { margin-block-end: 0; }
.wpsa-landing .wpsa-price-card .wpsa-countdown { margin-inline: auto; }
.wpsa-landing .wpsa-price-card > .wp-block-group__inner-container > .wpsa-price-big { margin-block-end: 0; }
.wpsa-landing .wpsa-pricing-section > .wp-block-group__inner-container > .wpsa-price-card + h3 { margin-block-start: 36px; }

@media (max-width: 781px) {
	/* Phone hero: copy first, then a compact portrait standing on the bottom edge. */
	.wpsa-hero .wp-block-columns { gap: 8px; }
	.wpsa-hero .wp-block-column:not(.wpsa-hero-visual) { padding-block-end: 8px; }
	.wpsa-hero-visual img { width: auto; max-width: 100%; height: 290px; }
	.wpsa-hero h1 { font-size: 1.62rem; }
	.wpsa-hero .wpsa-hero-sub { font-size: 1rem; line-height: 1.65; }
	.wpsa-hero .wpsa-eyebrow { font-size: .82rem; }
	.wpsa-hero .wp-block-column > .wpsa-countdown { margin-block-end: 14px; }
	.wpsa-landing .wp-block-group__inner-container > * + h3.has-text-align-center { margin-block-start: 24px; }
}
@media (max-width: 400px) {
	/* Small phones: keep every CTA on one line. */
	.wpsa-landing .wp-block-button__link,
	.wpsa-landing .wpsa-btn-primary .wp-block-button__link,
	.wpsa-landing .wpsa-btn-light .wp-block-button__link { font-size: .98rem; padding-inline: 1em; }
	.wpsa-landing .wpsa-trust-bullets li { font-size: .85rem; }
}

/* Platform screenshots: one consistent 16:9 frame so the three previews align (contain = nothing cropped). */
.wpsa-landing .wpsa-shots img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: contain;
	background: #fff;
	padding: 6px;
	box-sizing: border-box;
}

/* Centred eyebrow labels are inline-block pills: centre the pill itself, not just its text. */
.wpsa-landing .wpsa-eyebrow.has-text-align-center { display: table; margin-inline: auto; }

/* ======================= Landing refinement (v4, 2026-10-17) ======================= */

/* Platform screenshots are wide (≈2.2:1): a matching frame avoids big white bands (contain = nothing cropped). */
.wpsa-landing .wpsa-shots img { aspect-ratio: 2.1 / 1; }

/* Learning outcomes: one section, 18 numbered single-line cards (3 per row desktop, 2 tablet, 1 phone). */
.wpsa-landing .wpsa-steps--outcomes {
	max-width: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 1fr; /* every card the same height */
	gap: 12px;
}
.wpsa-landing .wpsa-steps--outcomes li {
	display: flex;
	align-items: center;
	min-height: 64px;
	margin: 0;
	padding: 10px 16px;
	padding-inline-start: 3.9rem;
	box-sizing: border-box;
	line-height: 1.5;
	font-size: .98rem;
	font-weight: 700;
	color: var(--wpsa-navy);
}
.wpsa-landing .wpsa-steps--outcomes li::before { width: 2.2rem; height: 2.2rem; font-size: .9rem; }
@media (max-width: 1024px) {
	.wpsa-landing .wpsa-steps--outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Trainer photo (dark studio shot, person small in a square canvas): a framed 4:5 portrait card,
   zoomed towards head and shoulders so the person fills the frame instead of floating in black. */
.wpsa-landing .wpsa-instructor .wpsa-trainer-photo {
	max-width: 360px;
	margin: 0 auto;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 20px;
	background: #000;
	box-shadow: 0 0 0 6px #fff, 0 28px 56px -28px rgba(13, 29, 64, .6);
}
.wpsa-landing .wpsa-instructor .wpsa-trainer-photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: cover;
	object-position: 50% 0;
	transform: scale(1.35);
	transform-origin: 50% 12%;
	border-radius: 0;
	background: #000;
}

/* FAQ: three questions per row on desktop, two on tablet, one on phones. */
.wpsa-landing #faq > .wp-block-group__inner-container {
	max-width: 1120px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px 16px;
	align-items: start;
}
.wpsa-landing #faq > .wp-block-group__inner-container > :not(details) { grid-column: 1 / -1; }
/* Core constrained layout forces auto inline margins (!important), so set the width explicitly. */
.wpsa-landing #faq > .wp-block-group__inner-container > details { width: 100%; max-width: none; box-sizing: border-box; margin-block: 0; }
@media (max-width: 1024px) {
	.wpsa-landing #faq > .wp-block-group__inner-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
	.wpsa-landing .wpsa-steps--outcomes { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 8px; }
	.wpsa-landing .wpsa-steps--outcomes li { min-height: 56px; padding-inline-start: 3.6rem; }
	.wpsa-landing .wpsa-instructor .wpsa-trainer-photo { max-width: 280px; }
	.wpsa-landing #faq > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 8px; }
}


/* ======================= Tutor LMS learning pages (lesson / quiz / assignment) =======================
   1. Stacking. Kadence's #masthead is `position: relative; z-index: 11`, a stacking context that also
      contains the sticky header bar (z 1200) and its dropdowns (z 1000). Tutor's learning area paints two
      sticky layers above that level: .tutor-learning-header (z 21, top 80px) and .tutor-learning-sidebar
      (z 20, top 144px). Result: the language dropdown opened behind the lesson header, and near the end of
      a lesson the sidebar scrolled up over the logo. Lift only the site header above Tutor's layers on these
      pages; Tutor's own offsets already match the 80px header.
   2. Typography. Tutor marks these pages with <html data-tutor-theme>, sets html to
      var(--tutor-font-family-body, "Inter") and makes `[data-tutor-theme] body` inherit it — which beats the
      theme's `body` rule, so the whole site header switched to Inter. Restore the site font on body, and give
      Tutor's own font variables the same self-hosted Tajawal inside the learning area. */
body:has(.tutor-learning-area) #masthead { z-index: 30; }
html[data-tutor-theme] body { font-family: var(--global-body-font-family); }
.tutor-learning-area {
	--tutor-font-family-body: var(--global-body-font-family);
	--tutor-font-family-heading: var(--global-heading-font-family);
}

/* ======================= Internal pages (FAQ, Contact) — shared components =======================
   Core-block pages (src/content/faq-*.html, contact-*.html). Same tokens as the landing page.
   Contact icons: masks built from Kadence's own WhatsApp/e-mail SVGs. */
:root {
	--wpsa-icon-whatsapp: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2028%22%3E%3Cpath%20d%3D%22M15.391%2015.219c0.266%200%202.812%201.328%202.922%201.516%200.031%200.078%200.031%200.172%200.031%200.234%200%200.391-0.125%200.828-0.266%201.188-0.359%200.875-1.813%201.437-2.703%201.437-0.75%200-2.297-0.656-2.969-0.969-2.234-1.016-3.625-2.75-4.969-4.734-0.594-0.875-1.125-1.953-1.109-3.031v-0.125c0.031-1.031%200.406-1.766%201.156-2.469%200.234-0.219%200.484-0.344%200.812-0.344%200.187%200%200.375%200.047%200.578%200.047%200.422%200%200.5%200.125%200.656%200.531%200.109%200.266%200.906%202.391%200.906%202.547%200%200.594-1.078%201.266-1.078%201.625%200%200.078%200.031%200.156%200.078%200.234%200.344%200.734%201%201.578%201.594%202.141%200.719%200.688%201.484%201.141%202.359%201.578%200.109%200.063%200.219%200.109%200.344%200.109%200.469%200%201.25-1.516%201.656-1.516zM12.219%2023.5c5.406%200%209.812-4.406%209.812-9.812s-4.406-9.812-9.812-9.812-9.812%204.406-9.812%209.812c0%202.063%200.656%204.078%201.875%205.75l-1.234%203.641%203.781-1.203c1.594%201.047%203.484%201.625%205.391%201.625zM12.219%201.906c6.5%200%2011.781%205.281%2011.781%2011.781s-5.281%2011.781-11.781%2011.781c-1.984%200-3.953-0.5-5.703-1.469l-6.516%202.094%202.125-6.328c-1.109-1.828-1.687-3.938-1.687-6.078%200-6.5%205.281-11.781%2011.781-11.781z%22%2F%3E%3C%2Fsvg%3E");
	--wpsa-icon-email: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22M15%202h-14c-0.55%200-1%200.45-1%201v10c0%200.55%200.45%201%201%201h14c0.55%200%201-0.45%201-1v-10c0-0.55-0.45-1-1-1zM5.831%209.773l-3%202.182c-0.1%200.073-0.216%200.108-0.33%200.108-0.174%200-0.345-0.080-0.455-0.232-0.183-0.251-0.127-0.603%200.124-0.786l3-2.182c0.251-0.183%200.603-0.127%200.786%200.124s0.127%200.603-0.124%200.786zM13.955%2011.831c-0.11%200.151-0.282%200.232-0.455%200.232-0.115%200-0.23-0.035-0.33-0.108l-3-2.182c-0.251-0.183-0.307-0.534-0.124-0.786s0.535-0.307%200.786-0.124l3%202.182c0.251%200.183%200.307%200.535%200.124%200.786zM13.831%204.955l-5.5%204c-0.099%200.072-0.215%200.108-0.331%200.108s-0.232-0.036-0.331-0.108l-5.5-4c-0.251-0.183-0.307-0.534-0.124-0.786s0.535-0.307%200.786-0.124l5.169%203.759%205.169-3.759c0.251-0.183%200.603-0.127%200.786%200.124s0.127%200.603-0.124%200.786z%22%2F%3E%3C%2Fsvg%3E");
}
.wpsa-page-hero {
	background: radial-gradient(circle at 50% -40%, rgba(61, 139, 245, .18), transparent 60%), var(--wpsa-bg-soft);
	border-bottom: 1px solid var(--wpsa-border);
	padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 48px);
	text-align: center;
}
.wpsa-page-hero > *, .wpsa-page-hero > .wp-block-group__inner-container > * { margin-block: 0 12px; }
.wpsa-page-hero > :last-child, .wpsa-page-hero > .wp-block-group__inner-container > :last-child { margin-block-end: 0; }
.wpsa-page-hero .wpsa-eyebrow { display: table; margin-inline: auto; }
.wpsa-page-hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.3; color: var(--wpsa-navy); }
.wpsa-page-lead { color: var(--wpsa-muted); font-size: 1.08rem; line-height: 1.8; }
.wpsa-page-section { padding-block: clamp(24px, 3vw, 40px) clamp(32px, 4vw, 56px); }
/* Sections touch each other (Kadence adds a 32px block margin between top-level blocks). */
.entry-content > :is(.wpsa-page-hero, .wpsa-page-section) { margin-block: 0; }
/* Full-width sections keep the theme side gutter (as on the landing page), so cards never touch the screen edge. */
.wp-block-group.alignfull:is(.wpsa-page-hero, .wpsa-page-section) > .wp-block-group__inner-container { padding-inline: var(--global-content-edge-padding, 1.5rem); box-sizing: border-box; }
.wpsa-page-section .wp-block-button__link { font-weight: 800; border-radius: 999px; padding: .85em 1.9em; }
.wpsa-page-section .wpsa-btn-primary .wp-block-button__link { background: linear-gradient(120deg, #1a63d6, #3d8bf5); color: #fff; box-shadow: 0 14px 30px -12px rgba(30, 114, 232, .6); }
.wpsa-page-section .is-style-outline .wp-block-button__link { border: 2px solid var(--wpsa-blue); color: var(--wpsa-blue); background: transparent; }
.wpsa-page-section .wp-block-button__link:hover { filter: brightness(1.06); }

/* FAQ: native <details>/<summary> — keyboard (Enter/Space) and the expanded state come from the browser. */
.wpsa-faq-grid, .wpsa-faq-grid > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 16px;
	align-items: start;
}
.wpsa-faq-grid > .wp-block-group__inner-container { grid-column: 1 / -1; }
.wpsa-faq-grid .wpsa-faq-item { margin: 0; }
.wpsa-faq-item {
	background: #fff;
	border: 1px solid var(--wpsa-border);
	border-radius: 14px;
	box-shadow: 0 6px 18px -14px rgba(13, 29, 64, .35);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.wpsa-faq-item > summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	cursor: pointer;
	font-weight: 700;
	line-height: 1.6;
	color: var(--wpsa-navy);
	border-radius: 14px;
}
.wpsa-faq-item > summary::-webkit-details-marker { display: none; }
.wpsa-faq-item > summary::after {
	content: "+";
	flex: 0 0 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 9px;
	background: var(--wpsa-blue-soft);
	color: var(--wpsa-blue);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
}
.wpsa-faq-item[open] { border-color: var(--wpsa-blue); box-shadow: 0 12px 28px -18px rgba(26, 99, 214, .55); }
.wpsa-faq-item[open] > summary { color: var(--wpsa-blue); }
.wpsa-faq-item[open] > summary::after { content: "\2212"; background: var(--wpsa-blue); color: #fff; }
.wpsa-faq-item > summary:hover { color: var(--wpsa-blue); }
.wpsa-faq-item > summary:focus-visible { outline: 3px solid var(--wpsa-blue); outline-offset: 2px; }
.wpsa-faq-item > :not(summary) { margin: 0; padding: 0 18px 16px; color: var(--wpsa-muted); line-height: 1.8; }
.wpsa-faq-item[open] > :not(summary) { animation: wpsa-faq-reveal .22s ease-out; }
@keyframes wpsa-faq-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wpsa-faq-item[open] > :not(summary) { animation: none; } }
.wpsa-faq-cta {
	margin-block-start: clamp(28px, 4vw, 44px);
	padding: clamp(22px, 3vw, 32px);
	border-radius: var(--wpsa-radius);
	background: var(--wpsa-bg-soft);
	border: 1px solid var(--wpsa-border);
	text-align: center;
}
.wpsa-faq-cta > *, .wpsa-faq-cta > .wp-block-group__inner-container > * { margin-block: 0 10px; }
.wpsa-faq-cta > :last-child, .wpsa-faq-cta > .wp-block-group__inner-container > :last-child { margin-block-end: 0; }
.wpsa-faq-cta h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.wpsa-faq-cta p { color: var(--wpsa-muted); }

/* Contact: form card + information cards. */
.wpsa-contact-grid { gap: clamp(16px, 2.5vw, 28px); align-items: flex-start; }
.wpsa-card {
	background: #fff;
	border: 1px solid var(--wpsa-border);
	border-radius: var(--wpsa-radius);
	box-shadow: var(--wpsa-shadow);
	padding: clamp(18px, 2.4vw, 28px);
}
.wpsa-card > *, .wpsa-card > .wp-block-group__inner-container > * { margin-block: 0 10px; }
.wpsa-card > :last-child, .wpsa-card > .wp-block-group__inner-container > :last-child { margin-block-end: 0; }
.wpsa-contact-form-card h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.wpsa-card-lead { color: var(--wpsa-muted); }
.wpsa-contact-info-col > .wpsa-card { margin-block: 0 14px; }
.wpsa-contact-info-col > .wpsa-card:last-child { margin-block-end: 0; }
.wpsa-contact-card { position: relative; padding-inline-start: calc(clamp(18px, 2.4vw, 28px) + 56px); }
.wpsa-contact-card::before {
	content: "";
	position: absolute;
	inset-inline-start: clamp(18px, 2.4vw, 28px);
	top: clamp(18px, 2.4vw, 28px);
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--wpsa-blue-soft);
}
.wpsa-contact-card::after {
	content: "";
	position: absolute;
	inset-inline-start: calc(clamp(18px, 2.4vw, 28px) + 11px);
	top: calc(clamp(18px, 2.4vw, 28px) + 11px);
	width: 22px;
	height: 22px;
	background: var(--wpsa-blue);
	-webkit-mask: var(--wpsa-contact-icon) center / contain no-repeat;
	mask: var(--wpsa-contact-icon) center / contain no-repeat;
}
.wpsa-contact-card--whatsapp { --wpsa-contact-icon: var(--wpsa-icon-whatsapp); }
.wpsa-contact-card--whatsapp::before { background: #e7f8ee; }
.wpsa-contact-card--whatsapp::after { background: #1aa053; }
.wpsa-contact-card--email { --wpsa-contact-icon: var(--wpsa-icon-email); }
.wpsa-contact-card--course { --wpsa-contact-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2010%2012%205%202%2010l10%205%2010-5z%22%2F%3E%3Cpath%20d%3D%22M6%2012v5c3%202%209%202%2012%200v-5%22%2F%3E%3C%2Fsvg%3E"); }
.wpsa-contact-card h3 { font-size: 1.12rem; margin-block-end: 4px; }
.wpsa-contact-card p { color: var(--wpsa-muted); }
.wpsa-contact-value { font-weight: 700; line-height: 1.9; }
.wpsa-contact-card .wpsa-contact-value a { color: var(--wpsa-blue); text-decoration: none; overflow-wrap: anywhere; }
.wpsa-contact-card .wpsa-contact-value a:hover { text-decoration: underline; }
.wpsa-contact-value a[href^="https://wa.me"], .wpsa-contact-value a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* Contact Form 7 inside the form card. */
.wpsa-contact-form-card .wpcf7-form p { margin: 0 0 14px; }
.wpsa-contact-form-card .wpcf7-form label { display: block; font-weight: 700; color: var(--wpsa-navy); }
.wpsa-contact-form-card .wpcf7-form label br { display: none; }
.wpsa-contact-form-card .wpcf7-form-control-wrap { display: block; margin-block-start: 6px; }
.wpsa-contact-form-card .wpcf7-form-control:not(.wpcf7-submit) {
	width: 100%;
	box-sizing: border-box;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid #cfd9ec;
	border-radius: 10px;
	background: #fff;
	color: var(--wpsa-text);
	font: inherit;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.wpsa-contact-form-card textarea.wpcf7-form-control { min-height: 140px; height: 160px; resize: vertical; }
.wpsa-contact-form-card .wpcf7-form-control:not(.wpcf7-submit):focus { outline: none; border-color: var(--wpsa-blue); box-shadow: 0 0 0 3px rgba(26, 99, 214, .18); }
.wpsa-contact-form-card .wpcf7-form-control.wpcf7-not-valid { border-color: #d64545; }
.wpsa-contact-form-card .wpcf7-not-valid-tip { color: #b42318; font-size: .9rem; font-weight: 600; margin-block-start: 6px; }
.wpsa-contact-form-card .wpcf7-submit {
	min-height: 50px;
	padding: .8em 2.2em;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(120deg, #1a63d6, #3d8bf5);
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 14px 30px -12px rgba(30, 114, 232, .6);
}
.wpsa-contact-form-card .wpcf7-submit:hover { filter: brightness(1.06); }
.wpsa-contact-form-card .wpcf7-submit:focus-visible { outline: 3px solid var(--wpsa-navy); outline-offset: 2px; }
.wpsa-contact-form-card .wpcf7-spinner { margin-inline: 12px 0; }
.wpsa-contact-form-card .wpcf7 form .wpcf7-response-output { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; border-width: 1px; font-weight: 600; }
.wpsa-contact-form-card .wpcf7 form.sent .wpcf7-response-output { background: #effaf4; border-color: #b9e8cf; color: #164d33; }
.wpsa-contact-form-card .wpcf7 form.invalid .wpcf7-response-output,
.wpsa-contact-form-card .wpcf7 form.unaccepted .wpcf7-response-output { background: #fff8eb; border-color: #f3c27a; color: #7a4a00; }
.wpsa-contact-form-card .wpcf7 form.failed .wpcf7-response-output,
.wpsa-contact-form-card .wpcf7 form.aborted .wpcf7-response-output,
.wpsa-contact-form-card .wpcf7 form.spam .wpcf7-response-output { background: #fff1f1; border-color: #f2b8b5; color: #8a1c1c; }

@media (max-width: 781px) {
	.wpsa-faq-grid, .wpsa-faq-grid > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 10px; }
	.wpsa-contact-form-card .wpcf7-submit { width: 100%; }
}

/* ======================= Global footer ([wpsa_footer] in the Kadence footer) ======================= */
#colophon { background: #0a1733; border-top: 4px solid var(--wpsa-blue); color: rgba(255, 255, 255, .78); }
#colophon .site-footer-row-container-inner { background: transparent; }
#colophon .site-middle-footer-inner-wrap { padding-block: clamp(36px, 5vw, 56px) 0; }
#colophon .footer-html, #colophon .footer-html-inner { width: 100%; }
.wpsa-footer { text-align: start; } /* the Kadence HTML element centres its text */
#colophon .footer-html-inner > p:empty { display: none; } /* Kadence runs wpautop around the shortcode */
.wpsa-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: 28px clamp(20px, 3vw, 40px);
	padding-block-end: clamp(28px, 4vw, 40px);
}
.wpsa-footer__brand p { margin: 14px 0 0; color: rgba(255, 255, 255, .72); line-height: 1.8; max-width: 22rem; }
.wpsa-footer__home { display: inline-block; }
.wpsa-footer__logo { display: block; width: 190px; height: auto; filter: brightness(0) invert(1); }
.wpsa-footer__title { margin: 0 0 14px; font-size: 1rem; font-weight: 800; color: #fff; }
.wpsa-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
#colophon .wpsa-footer__links a { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .15s ease; }
#colophon .wpsa-footer__links a:hover, #colophon .wpsa-footer__links a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.wpsa-footer__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
#colophon .wpsa-footer__social-link {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .25);
	color: #fff;
	transition: background .15s ease, border-color .15s ease;
}
.wpsa-footer__social-link .kadence-svg-iconset, .wpsa-footer__social-link svg { width: 20px; height: 20px; display: block; }
#colophon .wpsa-footer__social-link:hover, #colophon .wpsa-footer__social-link:focus-visible { background: var(--wpsa-blue); border-color: var(--wpsa-blue); }
#colophon a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.wpsa-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 18px 24px; }
.wpsa-footer__bottom p { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .62); }
@media (max-width: 1024px) {
	.wpsa-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wpsa-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.wpsa-footer__grid { grid-template-columns: 1fr; gap: 24px; }
	.wpsa-footer__links { gap: 8px; }
}
