/* ==========================================================================
   Idrak — إدراك  |  main stylesheet
   Palette from the logo (navy + teal) softened with calm, warm neutrals,
   in the spirit of Headspace / Talkspace / BetterHelp.
   ========================================================================== */

:root {
	/* Brand — from the Idrak Facebook page: deep navy + aqua/turquoise, white, soft mint leaves */
	--c-navy: #0F2C5C;
	--c-navy-2: #1B4482;
	--c-teal: #177E86;
	--c-teal-2: #11666D;
	--c-teal-3: #33A9B5;
	--c-teal-50: #E3F4F5;
	--c-aqua: #EAF7F8;
	--c-mint: #D6EFE9;
	--c-sage: #EEF7F5;
	--c-cream: #F7FBFB;
	--c-sand: #F2F7F8;
	--c-lav: #EEF2F9;
	--c-peach: #D6EFE9;
	--c-ink: #18253A;
	--c-muted: #546178;
	--c-line: #DEE7EE;
	--c-white: #FFFFFF;

	--f-sans: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, -apple-system, sans-serif;
	--f-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;

	--r-sm: 10px;
	--r: 18px;
	--r-lg: 28px;
	--r-pill: 999px;

	--sh-1: 0 1px 2px rgba(15, 44, 92, .05), 0 6px 20px rgba(15, 44, 92, .06);
	--sh-2: 0 18px 50px rgba(15, 44, 92, .12);

	--w: 1180px;
	--gap: clamp(16px, 2.4vw, 28px);
	--section: clamp(56px, 8vw, 104px);
	--header-h: 78px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0;
	font-family: var(--f-sans);
	font-size: 17px;
	line-height: 1.8;
	color: var(--c-ink);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--c-teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-teal-2); }
h1, h2, h3, h4 { color: var(--c-navy); line-height: 1.35; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.2em; }
:focus-visible { outline: 3px solid var(--c-teal-3); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--c-teal-50); color: var(--c-navy); }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus { position: fixed; inset-inline-start: 12px; top: 12px; z-index: 1000; background: var(--c-navy); color: #fff; padding: 10px 18px; border-radius: var(--r-pill); }

.container { width: min(100% - 2 * var(--gap), var(--w)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.container--content { max-width: 780px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .6em 1.4em;
	border-radius: var(--r-pill); border: 2px solid transparent;
	font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
	cursor: pointer; text-align: center; white-space: nowrap;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
[dir="ltr"] .btn .icon-arrow { transform: scaleX(-1); }
.btn-sm { min-height: 40px; padding: .45em 1.1em; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: .7em 1.8em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--c-teal); color: #fff; box-shadow: 0 6px 18px rgba(31, 122, 124, .25); }
.btn-primary:hover { background: var(--c-teal-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--c-navy); border-color: var(--c-line); }
.btn-ghost:hover { border-color: var(--c-navy); color: var(--c-navy); }
.btn-soft { background: var(--c-teal-50); color: var(--c-teal-2); }
.btn-soft:hover { background: var(--c-teal); color: #fff; }
.btn-white { background: #fff; color: var(--c-navy); }
.btn-white:hover { background: var(--c-cream); color: var(--c-navy); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline-white:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

.eyebrow {
	display: inline-flex; align-items: center; gap: .45em;
	font-size: .9rem; font-weight: 600; color: var(--c-teal);
	background: var(--c-teal-50); padding: .3em .9em; border-radius: var(--r-pill);
	margin-bottom: 14px;
}
.badge {
	display: inline-block; font-size: .8rem; font-weight: 600;
	color: var(--c-navy); background: var(--c-lav);
	padding: .2em .75em; border-radius: var(--r-pill); margin-bottom: 8px;
}
.chip, .chips .chip {
	display: inline-flex; align-items: center; min-height: 36px; padding: .3em 1em;
	border-radius: var(--r-pill); border: 1px solid var(--c-line); background: #fff;
	color: var(--c-ink); font-size: .92rem; font-weight: 500;
}
a.chip:hover { border-color: var(--c-teal); color: var(--c-teal); }
.chip.is-active { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 4px 20px rgba(18, 48, 95, .05); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand, .custom-logo-link { display: inline-flex; align-items: center; gap: 10px; color: var(--c-navy); flex: none; }
.custom-logo { max-height: 56px; width: auto; }
.brand-mark { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-latin { font-family: var(--f-serif); font-weight: 600; font-size: 1.7rem; letter-spacing: .16em; color: var(--c-navy); line-height: 1; direction: ltr; }
.brand-tag { font-size: .74rem; color: var(--c-teal); font-weight: 500; margin-top: 3px; }

.primary-nav { margin-inline-start: auto; }
.primary-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a {
	display: block; padding: .45em .95em; border-radius: var(--r-pill);
	color: var(--c-ink); font-weight: 500;
}
.primary-nav .menu a:hover { background: var(--c-sage); color: var(--c-navy); }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: var(--c-teal); background: var(--c-teal-50); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-link { color: var(--c-navy); font-weight: 600; }
.nav-toggle {
	display: none; width: 44px; height: 44px; border-radius: 12px;
	border: 1px solid var(--c-line); background: #fff; color: var(--c-navy);
	align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .when-open { display: none; }
.nav-open .nav-toggle .when-open { display: inline-flex; }
.nav-open .nav-toggle .when-closed { display: none; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.header-link { display: none; }
	.primary-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
		background: #fff; border-bottom: 1px solid var(--c-line);
		padding: 12px var(--gap) 24px; box-shadow: var(--sh-2);
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	.admin-bar .primary-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
	.primary-nav .menu { flex-direction: column; }
	.primary-nav .menu a { padding: .8em 1em; font-size: 1.05rem; border-radius: 12px; }
	.nav-cta-mobile { display: flex; width: 100%; margin-top: 12px; }
}
@media (max-width: 520px) {
	.header-cta { display: none; }
	.brand-tag { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--page { padding-block: clamp(40px, 6vw, 72px); }
.section--sage { background: var(--c-sage); }
.section--cream { background: var(--c-cream); }
.section--lav { background: var(--c-lav); }
.section-head { max-width: 680px; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; text-align: start; }
.section-head--sub { margin-top: 56px; margin-bottom: 24px; align-items: center; }
.section-title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 0; }
.section-subtitle { display: flex; align-items: center; gap: .5em; font-size: 1.3rem; margin: 0; }
.section-subtitle .icon { color: var(--c-teal); }
.link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; white-space: nowrap; }
[dir="ltr"] .link-more .icon-arrow { transform: scaleX(-1); }

.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) {
	.grid-3, .grid-4 { grid-template-columns: 1fr; }
	.section-head--row { flex-direction: column; align-items: flex-start; }
}

.card {
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--r);
	box-shadow: var(--sh-1); overflow: hidden;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.card-title { font-size: 1.12rem; margin: 0 0 .3em; }
.card-title a { color: var(--c-navy); }
.card-title a:hover { color: var(--c-teal); }
.card-text { color: var(--c-muted); font-size: .95rem; margin: 0; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	padding-block: clamp(44px, 6vw, 84px) clamp(80px, 9vw, 120px);
	background:
		radial-gradient(1100px 520px at 85% -10%, #DDF2F4, transparent 60%),
		radial-gradient(800px 420px at 0% 100%, #E4F4EF, transparent 60%),
		linear-gradient(180deg, #FFFFFF 0%, var(--c-aqua) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-title { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.3; margin-bottom: .45em; }
.hero-text { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--c-muted); max-width: 34em; margin-bottom: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--c-navy); font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: .45em; }
.hero-points .icon { color: var(--c-teal); }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 480px; width: 100%; margin-inline: auto; }
.hero-blob {
	position: absolute; inset: 6%;
	background: linear-gradient(150deg, #fff 0%, var(--c-teal-50) 55%, var(--c-sage) 100%);
	border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
	box-shadow: var(--sh-2);
	animation: idrak-breathe 9s ease-in-out infinite;
}
.hero-mark { position: absolute; inset: 22%; display: grid; place-items: center; }
.hero-mark img { width: 100%; height: auto; }
.float-card {
	position: absolute; display: flex; align-items: center; gap: 12px;
	background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--sh-2);
	font-size: .9rem; line-height: 1.4; min-width: 210px;
}
.float-card strong { display: block; color: var(--c-navy); }
.float-card span { color: var(--c-muted); font-size: .82rem; }
.float-card--session { top: 8%; inset-inline-start: -6%; animation: idrak-float 7s ease-in-out infinite; }
.float-card--safe { bottom: 8%; inset-inline-end: -4%; animation: idrak-float 8s ease-in-out infinite reverse; }
.float-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--c-teal-50); color: var(--c-teal); flex: none; }
.float-icon--alt { background: var(--c-lav); color: var(--c-navy); }

@keyframes idrak-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes idrak-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-copy { text-align: center; }
	.hero-copy .btn-row, .hero-points { justify-content: center; }
	.hero-text { margin-inline: auto; }
	.hero-visual { max-width: 360px; }
	.float-card { min-width: 0; padding: 10px 12px; }
	.float-card--session { inset-inline-start: 0; }
	.float-card--safe { inset-inline-end: 0; }
}

/* ---------- Concerns ---------- */
.concern-card { display: flex; align-items: flex-start; gap: 16px; padding: 22px; color: var(--c-ink); }
.concern-card:hover { border-color: var(--c-teal-3); color: var(--c-ink); }
.concern-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.concern-icon .icon { width: 26px; height: 26px; }
.tone-0 .concern-icon { background: var(--c-teal-50); color: var(--c-teal); }
.tone-1 .concern-icon { background: var(--c-lav); color: var(--c-navy-2); }
.tone-2 .concern-icon { background: var(--c-mint); color: #1E7A62; }
.concern-body strong { display: block; color: var(--c-navy); font-size: 1.08rem; margin-bottom: 2px; }
.concern-body span { color: var(--c-muted); font-size: .94rem; line-height: 1.6; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); counter-reset: none; }
.step { position: relative; background: #fff; border-radius: var(--r-lg); padding: 32px 26px 28px; box-shadow: var(--sh-1); }
.step-num {
	position: absolute; top: 20px; inset-inline-end: 22px;
	font-size: 2.6rem; font-weight: 700; color: var(--c-teal-50); line-height: 1;
}
.step-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--c-teal); color: #fff; margin-bottom: 18px; }
.step-icon .icon { width: 26px; height: 26px; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--c-muted); margin: 0; font-size: .97rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Therapist card ---------- */
.therapist-card { display: flex; flex-direction: column; }
.therapist-photo { display: block; aspect-ratio: 6 / 5; background: linear-gradient(160deg, var(--c-teal-50), var(--c-lav)); overflow: hidden; }
.therapist-photo img { width: 100%; height: 100%; object-fit: cover; }
.avatar-initials {
	width: 100%; height: 100%; display: grid; place-items: center;
	color: var(--c-teal); opacity: .55;
}
.avatar-initials .icon { width: 34%; height: 34%; stroke-width: 1.2; }
.therapist-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.therapist-role { color: var(--c-teal); font-size: .92rem; font-weight: 500; margin: 0 0 10px; }
.meta-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 4px; color: var(--c-muted); font-size: .9rem; }
.meta-list li { display: flex; align-items: center; gap: .5em; }
.meta-list .icon { color: var(--c-teal); }
.meta-list--inline { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.therapist-body .btn { margin-top: auto; }

/* ---------- Post / course card ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-sage); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-media.is-placeholder { display: grid; place-items: center; color: var(--c-teal); background: linear-gradient(150deg, var(--c-teal-50), var(--c-lav)); }
.post-card-media.is-placeholder > .icon { width: 44px; height: 44px; opacity: .7; }
.play-badge {
	position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%;
	display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--c-teal); box-shadow: var(--sh-2);
}
.play-badge .icon { width: 22px; height: 22px; fill: currentColor; }
.post-card-body { padding: 18px 20px 22px; }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.trust-copy p { color: var(--c-muted); font-size: 1.08rem; margin-top: 16px; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--c-cream); border-radius: var(--r); padding: 20px; }
.trust-list .icon { width: 28px; height: 28px; color: var(--c-teal); margin-top: 2px; }
.trust-list strong { display: block; color: var(--c-navy); }
.trust-list span { color: var(--c-muted); font-size: .94rem; line-height: 1.6; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .trust-list { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border-radius: var(--r); box-shadow: var(--sh-1); }
.faq-item summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 20px 24px; font-weight: 600; color: var(--c-navy); font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c-teal-50); color: var(--c-teal); flex: none; transition: transform .25s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; margin: 0; color: var(--c-muted); }

/* ---------- CTA band ---------- */
.cta-band {
	display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
	padding: clamp(32px, 5vw, 56px);
	border-radius: var(--r-lg);
	background: radial-gradient(600px 300px at 10% 120%, rgba(44, 156, 154, .55), transparent 60%), var(--c-navy);
	color: #fff;
}
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.8vw, 2rem); margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .82); margin: 0; }

/* ---------- Empty state ---------- */
.empty-state {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
	padding: 40px 24px; border: 2px dashed var(--c-line); border-radius: var(--r); color: var(--c-muted); background: #fff;
}
.empty-state .icon { width: 36px; height: 36px; color: var(--c-teal); }
.empty-state p { margin: 0; max-width: 32em; }

/* ---------- Inner pages ---------- */
.page-hero {
	padding-block: clamp(40px, 6vw, 72px);
	position: relative; overflow: hidden;
	background: radial-gradient(800px 300px at 90% 0%, #DDF2F4, transparent 60%), linear-gradient(180deg, #fff, var(--c-aqua));
	text-align: center;
}
.page-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.page-subtitle { color: var(--c-muted); font-size: 1.1rem; margin: 12px auto 0; max-width: 40em; }
.page-hero--post { text-align: start; }
.post-meta { display: flex; align-items: center; gap: .4em; color: var(--c-muted); margin: 12px 0 0; font-size: .92rem; }

.page-hero--profile { text-align: start; }
.profile-head { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; }
.profile-photo { width: 220px; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, var(--c-teal-50), var(--c-lav)); box-shadow: var(--sh-2); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-info .page-subtitle { margin: 6px 0 14px; color: var(--c-teal); }
@media (max-width: 680px) {
	.profile-head { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.profile-head .meta-list--inline, .profile-head .chips { justify-content: center; }
}

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }

/* ---------- Entry content ---------- */
.entry-content { font-size: 1.05rem; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 1.6rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.25rem; margin-top: 1.5em; }
.entry-content li + li { margin-top: .35em; }
.entry-content blockquote {
	margin-inline: 0; padding: 18px 24px; border-inline-start: 4px solid var(--c-teal);
	background: var(--c-sage); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--c-navy);
}
[dir="rtl"] .entry-content blockquote { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--c-line); text-align: start; }
.entry-content .wp-block-button__link { background: var(--c-teal); border-radius: var(--r-pill); padding: .7em 1.6em; font-weight: 600; }
.entry-content .wp-block-embed, .entry-content iframe { border-radius: var(--r); overflow: hidden; }
.entry-content--wide { max-width: none; }
.post-cover { margin: 0 0 28px; border-radius: var(--r); overflow: hidden; }
.alignwide { margin-inline: calc(-1 * min(120px, 8vw)); max-width: none; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }

.post-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	margin: 48px 0; padding: 24px 28px; border-radius: var(--r); background: var(--c-sage);
}
.post-cta strong { display: block; color: var(--c-navy); font-size: 1.1rem; }
.post-cta span { color: var(--c-muted); }

/* Notices used by idrak-core shortcodes */
.idrak-notice {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 18px 22px; border-radius: var(--r); background: var(--c-lav); color: var(--c-navy);
}
.idrak-notice .icon { width: 24px; height: 24px; margin-top: 4px; color: var(--c-navy-2); }
.idrak-notice--crisis { background: #FDF0EA; color: #7A3618; }
.idrak-notice--crisis .icon { color: #B45526; }
.idrak-notice p { margin: 0; }
.idrak-box { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--sh-1); }
.idrak-box h3 { display: flex; align-items: center; gap: .5em; font-size: 1.15rem; }
.idrak-box h3 .icon { color: var(--c-teal); }
.idrak-steps-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; padding: 0; counter-reset: s; }
.idrak-steps-mini li { counter-increment: s; background: var(--c-cream); border-radius: var(--r-sm); padding: 16px; font-size: .95rem; }
.idrak-steps-mini li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-teal); color: #fff; font-weight: 700; margin-bottom: 8px; }
@media (max-width: 680px) { .idrak-steps-mini { grid-template-columns: 1fr; } }
.idrak-bank { white-space: pre-line; font-family: inherit; background: var(--c-cream); border-radius: var(--r-sm); padding: 14px 18px; margin: 10px 0; color: var(--c-ink); }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], input[type="password"], input[type="number"], input[type="date"], select, textarea {
	width: 100%; font: inherit; color: var(--c-ink);
	padding: .75em 1em; border: 1px solid var(--c-line); border-radius: 12px; background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-teal-3); box-shadow: 0 0 0 4px var(--c-teal-50); }
label { font-weight: 500; color: var(--c-navy); }
.search-form { display: flex; gap: 8px; }
button, input[type="submit"] { font: inherit; }
input[type="submit"], .comment-form .submit, .wpcf7-submit {
	background: var(--c-teal); color: #fff; border: 0; border-radius: var(--r-pill);
	padding: .75em 1.8em; font-weight: 600; cursor: pointer;
}
input[type="submit"]:hover { background: var(--c-teal-2); }

/* ---------- Comments ---------- */
.comments { margin-top: 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.comment-notes { color: var(--c-muted); font-size: .92rem; }

/* ---------- Pagination ---------- */
.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: var(--r-pill); border: 1px solid var(--c-line); color: var(--c-navy); }
.page-numbers.current { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }

.big-404 { font-size: clamp(4rem, 12vw, 7rem); font-weight: 700; color: var(--c-teal-50); line-height: 1; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-navy); color: rgba(255, 255, 255, .78); padding-block: 48px 28px; margin-top: 0; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: #fff; }
.footer-crisis {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 16px 20px; border-radius: var(--r); background: rgba(255, 255, 255, .07);
	margin-bottom: 40px; font-size: .95rem;
}
.footer-crisis .icon { width: 24px; height: 24px; color: #F2B591; margin-top: 4px; }
.footer-crisis p { margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { background: #fff; border-radius: 14px; padding: 6px; width: 52px; }
.footer-brand strong { display: block; color: #fff; font-size: 1.3rem; line-height: 1.2; }
.footer-brand span { font-size: .82rem; color: #8FD0CC; }
.footer-about p { max-width: 30em; font-size: .95rem; }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: .5em; }
.social-links { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a { display: inline-block; padding: .3em .9em; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--r-pill); font-size: .85rem; }
.footer-bottom {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
	margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Tutor LMS / Amelia harmony ---------- */
.tutor-wrap, .tutor-container { font-family: var(--f-sans); }
.tutor-btn-primary { border-radius: var(--r-pill) !important; }
.tutor-card, .tutor-course-card { border-radius: var(--r) !important; }
#amelia-app-booking0, .amelia-v2-booking, .amelia-app-booking { font-family: var(--f-sans) !important; }

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

/* ==========================================================================
   v2 — Facebook brand identity & new modules
   ========================================================================== */

.section--aqua { background: var(--c-aqua); }
.section--soft { background: linear-gradient(180deg, #fff 0%, var(--c-aqua) 100%); }
.eyebrow--light { background: rgba(255,255,255,.14); color: #BFEFF1; }

/* Leaves & waves */
.leaves { position: absolute; width: clamp(140px, 18vw, 260px); height: auto; pointer-events: none; z-index: 0; }
.leaves--start { inset-inline-end: -10px; top: 10px; }
.leaves--end { inset-inline-start: -30px; bottom: 40px; transform: scaleX(-1); }
.page-hero .leaves { width: clamp(110px, 12vw, 180px); opacity: .7; }
.page-hero .leaves--end { display: none; }
.hero-grid, .hero .container, .page-hero .container { position: relative; z-index: 1; }
.wave { position: absolute; inset-inline: 0; width: 100%; height: 70px; display: block; }
.wave--bottom { bottom: -1px; }

/* Services strip (from the cover) */
.services-strip {
	list-style: none; padding: 0; margin: clamp(32px, 5vw, 56px) 0 0;
	display: grid; grid-template-columns: repeat(4, 1fr);
	background: rgba(255,255,255,.85); border: 1px solid var(--c-line); border-radius: var(--r-lg);
	box-shadow: var(--sh-1); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.services-strip li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 20px 12px; }
.services-strip li + li { border-inline-start: 1px solid var(--c-line); }
.services-strip .icon { width: 30px; height: 30px; color: var(--c-teal); margin-bottom: 6px; }
.services-strip strong { color: var(--c-navy); font-size: 1rem; }
.services-strip span { font-family: var(--f-serif); font-size: .95rem; color: var(--c-muted); direction: ltr; }
@media (max-width: 760px) {
	.services-strip { grid-template-columns: 1fr 1fr; }
	.services-strip li:nth-child(3) { border-inline-start: 0; }
	.services-strip li:nth-child(n+3) { border-top: 1px solid var(--c-line); }
}

/* Course feature (announcement) */
.course-feature {
	display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(24px, 4vw, 48px); align-items: center;
	padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); color: #fff; overflow: hidden; position: relative;
	background:
		radial-gradient(500px 300px at 0% 100%, rgba(51,169,181,.45), transparent 60%),
		radial-gradient(400px 260px at 100% 0%, rgba(51,169,181,.25), transparent 60%),
		linear-gradient(135deg, #0F2C5C 0%, #134A78 100%);
}
.course-feature h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 4px 0 10px; }
.course-feature p { color: rgba(255,255,255,.85); }
.check-list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.92); }
.check-list .icon { color: #7FD8DD; margin-top: 5px; flex: none; }
.check-list--dark li { color: var(--c-ink); }
.check-list--dark .icon { color: var(--c-teal); }
.course-feature-art { display: grid; place-items: center; }
.course-feature-art img { border-radius: var(--r); box-shadow: 0 20px 50px rgba(0,0,0,.3); max-height: 380px; width: auto; }
.abc { display: flex; gap: 14px; direction: ltr; }
.abc span {
	width: clamp(64px, 8vw, 96px); aspect-ratio: 1; border-radius: 24px; display: grid; place-items: center;
	font-family: var(--f-serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: #fff;
	background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
}
.abc span:nth-child(2) { transform: translateY(-18px); background: rgba(51,169,181,.35); }
.courses-more { margin-top: var(--gap); }
@media (max-width: 860px) { .course-feature { grid-template-columns: 1fr; } .course-feature-art { order: -1; } }

/* Course card */
.status-badge {
	display: inline-flex; align-items: center; padding: .25em .85em; border-radius: var(--r-pill);
	font-size: .8rem; font-weight: 600; background: #fff; color: var(--c-navy); box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.post-card-media .status-badge { position: absolute; top: 12px; inset-inline-start: 12px; }
.status-soon { background: #FFF4D6; color: #7A5A00; }
.status-open { background: #DDF5E7; color: #146C3A; }
.status-live { background: var(--c-teal-50); color: var(--c-teal-2); }
.status-full, .status-ended { background: #EEF0F3; color: #5B6577; }
.post-card-media.is-course { background: linear-gradient(135deg, #0F2C5C, #177E86); }
.course-ph-title { color: #fff; font-weight: 700; font-size: 1.3rem; text-align: center; padding: 20px; line-height: 1.5; }
.duration-badge { position: absolute; bottom: 10px; inset-inline-end: 10px; background: rgba(15,44,92,.85); color: #fff; font-size: .78rem; padding: 2px 8px; border-radius: 6px; direction: ltr; }
.video-card .post-card-media:not(.is-placeholder) { background: #0F2C5C; }

/* Course page */
.page-hero--course { text-align: start; }
.page-hero--course .chips { margin: 0 0 12px; }
.course-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.course-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.course-facts .facts { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 2px; }
.course-facts .facts li { display: grid; grid-template-columns: 24px 1fr; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.course-facts .facts li .icon { grid-row: span 2; color: var(--c-teal); margin-top: 3px; }
.course-facts .facts li span { font-size: .82rem; color: var(--c-muted); }
.course-facts .facts li strong { color: var(--c-navy); font-weight: 600; }
.small-note { font-size: .88rem; color: var(--c-muted); text-align: center; margin: 10px 0 0; }
.topics-list { counter-reset: t; list-style: none; padding: 0; }
.topics-list li { counter-increment: t; position: relative; padding: 14px 18px; padding-inline-start: 58px; background: var(--c-aqua); border-radius: var(--r-sm); }
.topics-list li + li { margin-top: 10px; }
.topics-list li::before { content: counter(t); position: absolute; inset-inline-start: 16px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--c-teal); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
@media (max-width: 900px) { .course-layout { grid-template-columns: 1fr; } .course-aside { position: static; } }

/* Video page */
.video-frame { margin-bottom: 28px; }
.video-frame iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r); }

/* Profile (CV) */
.profile-excerpt { color: var(--c-teal-2); font-weight: 500; margin: 0 0 10px; }
.profile-headline { display: inline-block; background: var(--c-navy); color: #fff; border-radius: 12px; padding: 8px 16px; font-weight: 500; margin: 0 0 14px; }
.profile-body { display: grid; gap: var(--gap); max-width: 980px; }
.box-title { font-size: 1.3rem; margin-bottom: 14px; }
.dot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px 32px; }
.dot-list.two-col { grid-template-columns: 1fr 1fr; }
.dot-list li { position: relative; padding-inline-start: 18px; color: var(--c-ink); }
.dot-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-teal); }
.service-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.service-list li { display: flex; gap: 12px; align-items: center; }
.svc-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; }
.svc-icon.is-teal { background: var(--c-teal); }
.svc-icon.is-navy { background: var(--c-navy); }
.svc-icon .icon { width: 18px; height: 18px; }
.profile-quote { margin: 0; padding: 32px; border-radius: var(--r); background: var(--c-navy); color: #fff; text-align: center; font-size: 1.3rem; font-weight: 600; }
.profile-quote cite { display: block; font-style: normal; font-size: .9rem; color: #8FD7DB; font-weight: 400; margin-top: 8px; }
@media (max-width: 760px) { .dot-list.two-col, .service-list { grid-template-columns: 1fr; } }

/* Social icons */
.social-icons { list-style: none; padding: 0; margin: 16px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.social-icons a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: background .2s, transform .2s; }
.social-icons a:hover { background: var(--c-teal-3); color: #fff; transform: translateY(-2px); }
.social-icons--dark { justify-content: center; }
.social-icons--dark a { background: var(--c-aqua); color: var(--c-navy); }
.social-icons--dark a:hover { background: var(--c-teal); color: #fff; }
.footer-tagline { color: #BFEFF1; font-weight: 500; }
.site-footer .brand-latin { font-size: 1.5rem; color: #fff; }

/* Reviews */
.review-card { padding: 24px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.review-stars { color: #F2B01E; letter-spacing: 2px; }
.review-stars span { color: #DDE3EA; }
.review-card blockquote { margin: 0; color: var(--c-ink); line-height: 1.8; }
.review-card figcaption { color: var(--c-muted); font-size: .9rem; }

/* Join band */
.join-band { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 26px; margin-bottom: 20px; border: 1px dashed var(--c-teal-3); border-radius: var(--r); background: var(--c-aqua); }
.join-band > div { flex: 1; min-width: 220px; }
.join-band strong { display: block; color: var(--c-navy); }
.join-band span { color: var(--c-muted); }
.join-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--c-teal); }

/* Forms (join / review) */
.idrak-form { display: grid; gap: 4px; max-width: 760px; }
.idrak-form p { margin: 0 0 12px; }
.idrak-form label { display: block; margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-roles { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.form-roles legend { font-weight: 600; color: var(--c-navy); margin-bottom: 10px; }
.role-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid var(--c-line); border-radius: var(--r-pill); cursor: pointer; background: #fff; margin: 0 !important; }
.role-chip:has(input:checked) { border-color: var(--c-teal); background: var(--c-teal-50); color: var(--c-teal-2); }
.join-perks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.join-perks li { background: var(--c-aqua); border-radius: var(--r); padding: 18px; }
.join-perks strong { display: block; color: var(--c-navy); }
.join-perks span { color: var(--c-muted); font-size: .94rem; }
@media (max-width: 760px) { .join-perks { grid-template-columns: 1fr; } }
.stars { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px; }
.stars legend { font-weight: 600; color: var(--c-navy); margin-bottom: 6px; width: 100%; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 2.1rem; color: #DDE3EA; cursor: pointer; margin: 0 !important; line-height: 1; transition: color .15s; }
.stars label.on { color: #F2B01E; }
.stars input:focus-visible + label { outline: 3px solid var(--c-teal-3); border-radius: 6px; }
.check label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.idrak-notice--ok { background: #E3F6EC; color: #145C34; }

/* Waiting room + breathing */
.waiting-room { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (max-width: 860px) { .waiting-room { grid-template-columns: 1fr; } }
.breath-card { text-align: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: radial-gradient(400px 300px at 50% 40%, #fff, var(--c-aqua)); }
.breath { position: relative; width: min(300px, 70vw); aspect-ratio: 1; margin: 0 auto 18px; display: grid; place-items: center; }
.breath-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(23,126,134,.35); }
.breath-circle {
	width: 46%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
	background: radial-gradient(circle at 35% 30%, #7FD8DD, var(--c-teal) 70%);
	box-shadow: 0 0 0 14px rgba(51,169,181,.15), 0 20px 50px rgba(23,126,134,.35);
	transition: transform 4s ease-in-out;
}
.breath-label { color: #fff; font-weight: 600; font-size: 1.05rem; }
.breath.is-in .breath-circle { transform: scale(1.9); transition-duration: 4s; }
.breath.is-hold .breath-circle { transform: scale(1.9); }
.breath.is-out .breath-circle { transform: scale(1); transition-duration: 6s; }
.breath-hint { color: var(--c-muted); }
.wr-side h2 { font-size: 1.4rem; }
.wr-checklist { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.wr-checklist li { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 12px 14px; }
.wr-checklist input { width: 20px; height: 20px; accent-color: var(--c-teal); }
.wr-checklist label { font-weight: 400; color: var(--c-ink); }
.wr-note { color: var(--c-muted); }

/* Session room */
.session-room { position: relative; background: #0B1F42; border-radius: var(--r-lg); overflow: hidden; }
.session-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; background: #0F2C5C; color: #fff; }
.session-timer { display: flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.timer-time { font-size: 1.3rem; font-weight: 700; direction: ltr; }
.timer-dot { width: 12px; height: 12px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,.2); }
.session-room.is-warning .timer-dot { background: #F87171; box-shadow: 0 0 0 4px rgba(248,113,113,.25); animation: idrak-pulse 1.2s infinite; }
.session-room.is-warning .timer-time { color: #FCA5A5; }
.session-room.is-over .session-bar { background: #7F1D1D; }
@keyframes idrak-pulse { 50% { opacity: .4; } }
.timer-set { color: #BFEFF1; font-size: .85rem; display: flex; align-items: center; gap: 6px; }
.timer-set select { width: auto; padding: 4px 8px; border-radius: 8px; background: #183C70; color: #fff; border-color: #2B5592; }
.session-actions { display: flex; gap: 8px; }
.session-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.session-stage { display: grid; grid-template-columns: 1fr auto; min-height: 70vh; }
.session-video { min-height: 70vh; }
.session-video iframe { width: 100%; height: 100%; min-height: 70vh; border: 0; display: block; }
.session-protocols { width: 360px; background: #fff; padding: 16px; overflow: auto; max-height: 80vh; }
.session-protocols h3 { font-size: 1rem; }
.session-protocols ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.protocol-open { width: 100%; text-align: start; background: var(--c-aqua); border: 0; border-radius: 8px; padding: 8px 12px; cursor: pointer; font: inherit; color: var(--c-navy); }
.protocol-frame { width: 100%; height: 60vh; border: 1px solid var(--c-line); border-radius: 8px; }
.break-overlay {
	position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff;
	background: radial-gradient(600px 400px at 50% 40%, rgba(51,169,181,.55), transparent 70%), linear-gradient(160deg, #0F2C5C, #11666D);
}
.break-overlay[hidden] { display: none; }
.break-overlay h2 { color: #fff; margin-top: 10px; }
.break-overlay p { color: rgba(255,255,255,.85); }
@media (max-width: 900px) { .session-stage { grid-template-columns: 1fr; } .session-protocols { width: auto; } }
@media (max-width: 700px) { .hero .leaves, .page-hero .leaves { display: none; } }

/* Footer follow-us + WhatsApp */
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.social-icons--labeled { flex-direction: column; gap: 8px; margin-top: 0; }
.social-icons--labeled a { width: auto; height: auto; border-radius: var(--r-pill); display: inline-flex; gap: 10px; padding: 6px 14px 6px 6px; background: rgba(255,255,255,.08); }
.social-icons--labeled .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgba(255,255,255,.12); }
.social-name { display: none; font-size: .92rem; }
.social-icons--labeled .social-name { display: inline; }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1EBE5B; color: #fff; }
.footer-wa { margin-top: 14px; }
.wa-float {
	position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60;
	display: inline-flex; align-items: center; gap: 10px;
	height: 60px; padding: 0 20px 0 16px; border-radius: var(--r-pill);
	background: #25D366; color: #fff; font-weight: 600;
	box-shadow: 0 10px 30px rgba(37,211,102,.4), 0 2px 6px rgba(0,0,0,.12);
	transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(37,211,102,.5); }
.wa-float .icon { width: 30px; height: 30px; stroke-width: 2; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: idrak-wa 2.4s infinite; }
@keyframes idrak-wa { 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@media (max-width: 600px) { .wa-float { width: 58px; height: 58px; padding: 0; justify-content: center; bottom: 16px; inset-inline-end: 16px; } .wa-float-label { display: none; } }
.chips--methods .chip { background: var(--c-aqua); border-color: #CFE7EA; color: var(--c-navy); }
.site-footer { padding-bottom: 100px; }

/* Carousel (Facebook-style educational series) */
.idrak-carousel { position: relative; margin: 28px 0; border-radius: var(--r); overflow: hidden; background: var(--c-aqua); box-shadow: var(--sh-1); }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; display: grid; place-items: center; padding: 0; }
.carousel-slide img { width: auto; max-width: 100%; max-height: min(78vh, 720px); object-fit: contain; }
.carousel-btn {
	position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0;
	background: rgba(255,255,255,.92); color: var(--c-navy); font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: var(--sh-1);
}
.carousel-prev { inset-inline-start: 12px; }
.carousel-next { inset-inline-end: 12px; }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel-dots { position: absolute; bottom: 12px; inset-inline: 0; display: flex; justify-content: center; gap: 6px; }
.carousel-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(15,44,92,.25); transition: width .2s, background .2s; }
.carousel-dots span.is-on { width: 22px; border-radius: 6px; background: var(--c-teal); }
.idrak-cover img { border-radius: var(--r); box-shadow: var(--sh-1); }
.post-card-media img { object-position: center top; }
