/* =========================================================================
   Friends of Quran theme — main stylesheet
   Values measured from the live friendsofquran.com design (Oct 2026).
   Breakpoints: 1239 (mobile menu) · 1024 (tablet layout) · 959 / 767 / 479 (type scale)
   ========================================================================= */

:root {
	--foq-green: #144B24;
	--foq-text: #45664F;
	--foq-lime: #BFE866;
	--foq-cream: #F3F0E9;
	--foq-white: #FFFFFF;
	--foq-tan: #AD8E6F;
	--foq-mint: #B4CCBB;
	--foq-border: #E9E0CB;
	--foq-sep-dark: #436F50;
	--foq-sep-light: #DDDDDD;
	--foq-card-dark: rgba(53, 61, 46, .91);
	--foq-input-bg: #F7F6F2;
	--foq-input-bd: #E5E3D8;
	--foq-font: "Reddit Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

	/* Type scale (desktop ≥ 960px) */
	--fs-body: 16px;  --lh-body: 26px;
	--fs-h1: 80px;    --lh-h1: 80px;
	--fs-h1-lg: 57px; --lh-h1-lg: 57px;
	--fs-h2: 61px;    --lh-h2: 61px;
	--fs-h3: 48px;    --lh-h3: 52.8px;
	--fs-h3-sm: 29px; --lh-h3-sm: 31.9px;
	--fs-h4: 32px;    --lh-h4: 38.4px;
	--fs-h4-f: 32px;  --lh-h4-f: 40px;
	--fs-h5: 21px;    --lh-h5: 30px;
	--fs-lead: 21px;  --lh-lead: 29.4px;
	--ls-big: -3px;

	--container: 1200px;
	--gutter: 33px;
	--header-h: 105px;
}

@media (max-width: 959px) {
	:root {
		--fs-body: 14px; --lh-body: 22px;
		--fs-h1: 68px; --lh-h1: 68px;
		--fs-h1-lg: 48px; --lh-h1-lg: 48px;
		--fs-h2: 52px; --lh-h2: 52px;
		--fs-h3: 41px; --lh-h3: 45.1px;
		--fs-h3-sm: 26px; --lh-h3-sm: 28.6px;
		--fs-h4: 27px; --lh-h4: 32.4px;
		--fs-h4-f: 27px; --lh-h4-f: 34px;
		--fs-h5: 18px; --lh-h5: 26px;
		--fs-lead: 18px; --lh-lead: 26px;
	}
}
@media (max-width: 767px) {
	:root {
		--fs-body: 14px; --lh-body: 21px;
		--fs-h1: 60px; --lh-h1: 60px;
		--fs-h1-lg: 43px; --lh-h1-lg: 43px;
		--fs-h2: 46px; --lh-h2: 46px;
		--fs-h3: 36px; --lh-h3: 39.6px;
		--fs-h3-sm: 25px; --lh-h3-sm: 27.5px;
		--fs-h4: 24px; --lh-h4: 28.8px;
		--fs-h4-f: 24px; --lh-h4-f: 30px;
		--fs-h5: 16px; --lh-h5: 23px;
		--fs-lead: 16px; --lh-lead: 23px;
		--ls-big: -2px;
	}
}
@media (max-width: 479px) {
	:root {
		--fs-body: 14px; --lh-body: 20px;
		--fs-h1: 48px; --lh-h1: 48px;
		--fs-h1-lg: 34px; --lh-h1-lg: 34px;
		--fs-h2: 37px; --lh-h2: 37px;
		--fs-h3: 29px; --lh-h3: 31.9px;
		--fs-h3-sm: 24px; --lh-h3-sm: 26.4px;
		--fs-h4: 19px; --lh-h4: 22.8px;
		--fs-h4-f: 19px; --lh-h4-f: 24px;
		--fs-h5: 14px; --lh-h5: 20px;
		--fs-lead: 15px; --lh-lead: 21px;
	}
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--foq-cream);
	color: var(--foq-text);
	font-family: var(--foq-font);
	font-weight: 500;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--foq-green); text-decoration: none; transition: color .2s ease, background-color .3s ease; }
a:hover { color: var(--foq-text); }
p { margin: 0 0 15px; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--foq-green); font-weight: 700; }
strong, b { font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; }
.screen-reader-text, .sr-only {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus { background: #fff; clip: auto; clip-path: none; color: var(--foq-green); display: block; height: auto; left: 8px; padding: 12px 20px; top: 8px; width: auto; z-index: 100000; border-radius: 50px; }
:focus-visible { outline: 2px solid var(--foq-tan); outline-offset: 2px; }
.hl { color: var(--foq-lime); }

.fq-container { width: 100%; max-width: var(--container); margin: 0 auto; }
@media (max-width: 1264px) { .fq-container { padding-left: 20px; padding-right: 20px; max-width: calc(var(--container) + 40px); } }
@media (max-width: 1024px) { .fq-container { padding-left: var(--gutter); padding-right: var(--gutter); max-width: none; } }

/* Headings used by sections */
.fq-h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-big); font-weight: 700; }
.fq-h1--lg { font-size: var(--fs-h1-lg); line-height: var(--lh-h1-lg); }
.fq-h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-big); font-weight: 700; color: var(--foq-green); }
.fq-h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-big); font-weight: 700; color: var(--foq-green); }
.fq-h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: -1px; font-weight: 800; }
.fq-h5 { font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 600; color: var(--foq-green); }
.fq-lead { font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: 600; color: var(--foq-green); margin: 0 0 32px; }
.fq-lead strong { font-weight: 700; }

/* ---------- Badge (round icon + pill) ---------- */
.fq-badge { display: flex; align-items: flex-start; flex-wrap: wrap; padding-bottom: 8px; }
.fq-badge__icon {
	width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: #fff; color: var(--foq-green); flex: 0 0 36px;
}
.fq-badge__icon.is-black { background: #000; color: #fff; }
.fq-badge__icon.is-cream { background: var(--foq-cream); }
.fq-badge__icon.is-lime { background: var(--foq-lime); }
.fq-badge__icon.is-green { background: var(--foq-green); color: var(--foq-lime); }
.fq-badge__pill {
	display: inline-block; padding: 5px 20px; border-radius: 50px; background: #fff;
	font-size: 14px; line-height: 26px; font-weight: 600; color: var(--foq-green); white-space: nowrap;
}
.fq-badge__pill.is-cream { background: var(--foq-cream); }
.fq-badge__pill.is-lime { background: var(--foq-lime); }
.fq-badge--center { justify-content: center; }
@media (max-width: 1024px) { .fq-badge__icon svg { width: 14px; height: 14px; } }
@media (max-width: 767px) { .fq-badge__pill { padding: 7px 20px; } }

/* ---------- Buttons ---------- */
.fq-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 20px 32px; border-radius: 50px; border: 0; cursor: pointer;
	font-family: var(--foq-font); font-size: 16px; line-height: 16px; font-weight: 600;
	text-decoration: none; transition: background-color .3s ease, color .3s ease; white-space: nowrap;
}
.fq-btn svg { flex: 0 0 16px; width: 16px; height: 16px; }
.fq-btn--lime { background: var(--foq-lime); color: var(--foq-green); }
.fq-btn--green { background: var(--foq-green); color: var(--foq-lime); }
.fq-btn--lime:hover, .fq-btn--lime:focus-visible,
.fq-btn--green:hover, .fq-btn--green:focus-visible { background: var(--foq-tan); color: #fff; }
.fq-btn--ghost { background: transparent; color: var(--foq-green); padding: 0; }
.fq-btn--ghost:hover { color: var(--foq-text); }
.fq-btn--block { display: flex; width: 100%; }

/* ---------- Check list (lime circle + check) ---------- */
.fq-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.fq-checks li { display: flex; align-items: center; gap: 15px; min-height: 38px; }
.fq-checks__ico {
	flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; background: var(--foq-lime); color: var(--foq-green);
	display: inline-flex; align-items: center; justify-content: center;
}

/* =========================================================================
   Header
   ========================================================================= */
.fq-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	padding: 16px 6%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
	pointer-events: none;
}
.admin-bar .fq-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fq-header { top: 46px; } }
.fq-header > * { pointer-events: auto; }
.fq-logo { display: block; padding-left: 5px; flex: 0 0 auto; }
.fq-logo__img { width: 110px; height: auto; }
.fq-nav { margin-right: 5px; padding: 12px 32px; border-radius: 50px; -webkit-backdrop-filter: blur(13px) brightness(.6); backdrop-filter: blur(13px) brightness(.6); background: rgba(20, 30, 22, .12); }
.fq-nav ul { list-style: none; display: flex; align-items: center; margin: 0; padding: 0; }
.fq-nav a { display: block; padding: 0 20px; color: #fff; font-size: 16px; line-height: 25.6px; font-weight: 500; text-transform: uppercase; white-space: nowrap; }
.fq-nav a:hover, .fq-nav .current-menu-item > a, .fq-nav .current_page_item > a, .fq-nav .current-menu-ancestor > a { color: var(--foq-lime); }
.fq-nav .sub-menu { display: none; }

.fq-burger {
	display: none; width: 42px; height: 43px; padding: 8px; border: 0; border-radius: 4px;
	background: var(--foq-green); color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.fq-burger svg { width: 26px; height: 26px; }

.fq-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; width: 350px; max-width: 100%; z-index: 300;
	background: var(--foq-cream); padding: 50px; display: flex; align-items: center;
	transform: translateX(100%); transition: transform .35s ease; visibility: hidden;
}
.fq-drawer.is-open { transform: translateX(0); visibility: visible; }
.fq-drawer__close {
	position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: none;
	color: var(--foq-green); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.fq-drawer ul { list-style: none; margin: 0; padding: 0; width: 100%; }
.fq-drawer a { display: block; padding: 8px 20px; text-align: center; font-size: 24px; line-height: 36px; font-weight: 500; color: var(--foq-green); text-transform: uppercase; }
.fq-drawer .current-menu-item > a, .fq-drawer a:hover { color: var(--foq-text); }
.fq-drawer .sub-menu a { font-size: 18px; }
.fq-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 250; opacity: 0; visibility: hidden; transition: opacity .3s; }
.fq-overlay.is-open { opacity: 1; visibility: visible; }
body.fq-menu-open { overflow: hidden; }

@media (max-width: 1239px) {
	.fq-nav { display: none; }
	.fq-burger { display: inline-flex; }
}

/* =========================================================================
   Home — hero
   ========================================================================= */
.fq-hero {
	position: relative; overflow: hidden; display: flex; align-items: stretch;
	padding: 210px 6% 120px; background-color: #1f2a20; color: #fff;
}
.fq-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; z-index: 0; }
.fq-hero__col { position: relative; z-index: 1; width: 50%; padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.fq-hero__col--right { justify-content: flex-end; align-items: flex-end; }
.fq-hero__title { color: var(--foq-cream); margin: 0 0 12px; }
.fq-hero__text { width: 75%; color: #fff; margin: 0 0 15px; }
.fq-hero__cta { margin-top: 0; }

.fq-quote {
	width: 50%; background: var(--foq-card-dark); border-radius: 32px; padding: 40px 40px 0;
	display: flex; flex-direction: column; margin: 0; overflow: hidden;
}
.fq-quote__mark { color: var(--foq-lime); display: block; margin-bottom: 33px; line-height: 0; }
.fq-quote__text { margin: 0 0 8px; font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 600; color: #fff; }
.fq-quote__name { display: block; color: rgba(255, 255, 255, .5); font-style: normal; font-size: var(--fs-body); line-height: var(--lh-body); }
.fq-quote__img { width: 100%; height: auto; margin-top: 0; }

@media (max-width: 1024px) {
	.fq-hero { padding: 150px 6% 80px; }
	.fq-hero__col--left { width: 60%; padding: 0 36px 0 0; }
	.fq-hero__col--right { width: 40%; }
	.fq-quote { width: 100%; }
}
@media (max-width: 767px) {
	.fq-hero { flex-direction: column; }
	.fq-hero__col--left { width: 100%; padding: 0 0 40px; }
	.fq-hero__col--right { width: 100%; padding: 0; }
	.fq-hero__text { width: 100%; }
}

/* =========================================================================
   Sections shared
   ========================================================================= */
.fq-section { position: relative; }
.fq-decor { background-image: url(../images/decor-lines.svg); background-repeat: no-repeat; background-position: 50% 0; background-size: auto; }
.fq-stack { display: flex; flex-direction: column; gap: 20px; }

/* ---------- Course cards ---------- */
.fq-courses { padding: 96px 0 86px; }
.fq-cards { display: flex; gap: 20px; padding-top: 32px; }
.fq-cards--grid { flex-wrap: wrap; row-gap: 62px; }
.fq-cards__col { width: calc(50% - 10px); padding: 10px; display: flex; flex-direction: column; }
.fq-ccard { display: flex; flex-direction: column; height: 100%; }
.fq-ccard__top { flex: 1 1 auto; background: #fff; padding: 48px; border-radius: 32px 32px 0 0; display: flex; flex-direction: column; gap: 20px; }
.fq-ccard.is-lime .fq-ccard__top { background: var(--foq-lime); }
.fq-ccard__tags { display: flex; align-items: center; flex-wrap: wrap; gap: 1px; }
.fq-pill {
	display: inline-flex; align-items: center; gap: 15px; padding: 5px 20px; border-radius: 50px;
	background: var(--foq-cream); color: var(--foq-green); font-size: 14px; line-height: 26px; font-weight: 600; white-space: nowrap;
}
.fq-ccard.is-lime .fq-pill { background: #fff; }
.fq-pill--time { font-size: 16px; font-weight: 500; }
.fq-pill--time svg { width: 18px; height: 18px; }
.fq-ccard__title { font-size: var(--fs-h3-sm); line-height: var(--lh-h3-sm); letter-spacing: -1.2px; }
.fq-ccard__title a { color: inherit; }
.fq-ccard__title a:hover { color: var(--foq-text); }
.fq-ccard.is-featured .fq-ccard__title { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-big); }
.fq-ccard__text { font-size: 16px; line-height: 1.15; color: var(--foq-text); }
.fq-ccard__text p { margin: 0 0 13px; }
.fq-ccard__img { display: block; }
.fq-ccard__img img { width: 100%; height: auto; border-radius: 0 0 32px 32px; }
@media (max-width: 1024px) {
	.fq-courses { padding: 48px 0; }
	.fq-cards { flex-direction: column; }
	.fq-cards__col { width: 100%; }
}
@media (max-width: 767px) {
	.fq-cards { padding-top: 0; }
	.fq-cards--grid { row-gap: 0; }
	.fq-cards__col { padding: 0; margin-bottom: 20px; }
	.fq-ccard__top { padding: 32px; }
	.fq-pill { font-size: 12px; }
	.fq-pill--time { font-size: 12px; }
}

/* ---------- Track progress ---------- */
.fq-track { padding: 96px 0 0; }
.fq-track__row { display: flex; }
.fq-track__text { width: 40%; padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.fq-track__text .fq-h3 { margin: 0 0 20px; }
.fq-track__media { width: 60%; padding-left: 80px; display: flex; align-items: flex-end; }
.fq-track__media img { width: 100%; height: auto; }
@media (max-width: 1024px) {
	.fq-track { padding: 32px 0 0; }
	.fq-track__text, .fq-track__media { width: 50%; }
	.fq-track__text .fq-h3 { margin-bottom: 30px; }
	.fq-track__media { padding-left: 16px; }
}
@media (max-width: 767px) {
	.fq-track { padding-top: 48px; }
	.fq-track__row { flex-direction: column; }
	.fq-track__text { width: 100%; padding: 0 0 24px; }
	.fq-track__media { width: 100%; padding: 0; }
}

/* ---------- Steps ---------- */
.fq-steps { padding: 50px 0 96px; }
.fq-steps__row { display: flex; gap: 20px; padding: 10px; }
.fq-step { width: calc((100% - 40px) / 3); padding: 10px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.fq-step__icon { width: 118px; height: 110px; margin-bottom: 39px; display: block; }
.fq-step__title { font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 600; margin: 0 0 15px; }
.fq-step p { margin: 0; }
.fq-step__dot { display: block; width: 20px; height: 20px; margin-top: 5px; }
.fq-steps__more { padding: 10px; text-align: center; }
@media (max-width: 1024px) {
	.fq-steps { padding: 50px 0 40px; }
	.fq-steps__row { padding: 0; }
	.fq-step { padding: 0; }
	.fq-steps__more { padding: 30px 0 0; }
}
@media (max-width: 767px) {
	.fq-steps { padding: 60px 0 50px; }
	.fq-steps__row { flex-direction: column; gap: 0; }
	.fq-step { width: 100%; padding: 0 0 20px; }
	.fq-step__icon { margin-bottom: 32px; }
	.fq-steps__more { padding: 0; }
}

/* ---------- Packages ---------- */
.fq-packages { padding: 0 0 96px; }
.fq-packages .fq-h2 { text-align: center; }
.fq-packages__row { display: flex; gap: 32px; padding-top: 24px; }
.fq-pkg {
	width: calc(50% - 16px); border-radius: 24px; padding: 50px 60px; background: #fff;
	display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.fq-pkg__img { width: 177px; height: auto; }
.fq-pkg__title { font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: -1px; font-weight: 800; }
.fq-pkg__text { width: 75%; margin: 0 0 15px; }
.fq-pkg__list { list-style: none; width: 100%; margin: 0 0 24px; padding: 0; text-align: left; }
.fq-pkg__list li { position: relative; display: flex; align-items: flex-start; gap: 5px; padding: 11px 0; }
.fq-pkg__list li:first-child { padding-top: 0; }
.fq-pkg__list li:last-child { padding-bottom: 0; }
.fq-pkg__list li:not(:last-child)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--foq-sep-light); }
.fq-pkg__list svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 4px; }
.fq-pkg__list span { padding-left: 5px; }
.fq-pkg .fq-btn { width: 100%; }
.fq-pkg--dark { background: var(--foq-green); color: var(--foq-mint); }
.fq-pkg--dark .fq-pkg__title { color: #fff; }
.fq-pkg--dark .fq-pkg__list li:not(:last-child)::after { border-color: var(--foq-sep-dark); }
@media (max-width: 1024px) { .fq-packages { padding: 0 0 48px; } }
@media (max-width: 767px) {
	.fq-packages { padding: 20px 0 48px; }
	.fq-packages__row { flex-direction: column; gap: 32px; padding-top: 0; }
	.fq-pkg { width: 100%; padding: 30px 35px 40px; }
	.fq-pkg__text { width: 100%; }
}

/* ---------- Support band ---------- */
.fq-support { background: var(--foq-lime); padding: 90px 0; }
.fq-support__row { display: flex; }
.fq-support__text { width: 50%; padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.fq-support__text .fq-h2 { margin: 0 0 20px; }
.fq-support__text p { font-style: italic; margin: 0; }
.fq-support .fq-badge__icon { color: var(--foq-green); }
@media (max-width: 1024px) {
	.fq-support { padding: 48px 0; }
	.fq-support__text { width: 75%; }
}
@media (max-width: 767px) { .fq-support__text { width: 100%; padding: 0; } .fq-support__text .fq-h2 { margin: 0; } }

/* ---------- Latest articles (home, appears once articles are published) ---------- */
.fq-latest { padding: 0 0 96px; }
.fq-latest__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
@media (max-width: 1024px) { .fq-latest { padding: 0 0 48px; } }

/* =========================================================================
   Inner page hero
   ========================================================================= */
.fq-phero {
	position: relative; background-size: cover; background-position: 50% 50%; background-repeat: no-repeat;
	padding: 141px 0 46px;
}
.fq-phero--dark { background-color: var(--foq-green); }
.fq-phero--dark .fq-phero__title, .fq-phero--dark .fq-phero__sub { color: var(--foq-cream); }
.fq-phero--left { background-position: 0 50%; }
.fq-phero__inner { padding: 10px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.fq-phero__inner--narrow { max-width: 906px; }
.fq-phero__title { margin: 0 0 30px; }
.fq-phero__title.has-sub { margin-bottom: 12px; }
.fq-phero__sub { margin: 0; font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: 500; }
.fq-phero--light .fq-phero__sub { color: var(--foq-text); font-size: var(--fs-body); line-height: var(--lh-body); max-width: 885px; }
.fq-phero--about { padding: 130px 0 85px; }
.fq-phero--about .fq-phero__title { margin-bottom: 12px; }
.fq-phero--teachers { padding: 100px 0 40px; }
.fq-phero .fq-crumbs { margin-bottom: -8px; }
@media (max-width: 1024px) {
	.fq-phero, .fq-phero--about { padding: 140px 0 48px; }
	.fq-phero--teachers { padding: 130px 0 40px; }
}
@media (max-width: 767px) {
	.fq-phero, .fq-phero--about, .fq-phero--teachers { padding: 125px 0 40px; }
	.fq-phero__inner { padding: 0; }
	.fq-phero__title { margin-bottom: 16px; }
}

/* Breadcrumbs */
.fq-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 14px; line-height: 20px; }
.fq-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.fq-crumbs li:not(:last-child)::after { content: "/"; opacity: .5; }
.fq-crumbs a { color: inherit; text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .2); text-underline-offset: 3px; }
.fq-phero--dark .fq-crumbs { color: var(--foq-mint); }
.fq-phero--dark .fq-crumbs a:hover { color: var(--foq-lime); }

/* =========================================================================
   Split section (About / Courses custom / Teachers)
   ========================================================================= */
.fq-split { background: #fff; padding: 90px 0 96px; }
.fq-split__row { display: flex; }
.fq-split__text { width: 50%; padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.fq-split__text .fq-h3 { margin: 0 0 12px; }
.fq-split__text .fq-lead { margin: 0 0 32px; }
.fq-split__text .fq-btn { align-self: flex-start; }
.fq-split__media { width: 50%; padding-left: 64px; display: flex; justify-content: center; align-items: flex-start; }
.fq-split__media img { width: auto; max-width: 100%; height: auto; }
@media (max-width: 1024px) {
	.fq-split { padding: 48px 0; }
	.fq-split__row { flex-direction: column; gap: 40px; }
	.fq-split__text, .fq-split__media { width: 100%; padding: 0; }
}

/* =========================================================================
   Contact page
   ========================================================================= */
.fq-contact-top { background-size: cover; background-position: 0 50%; padding: 140px 0 95px; }
.fq-contact-top .fq-phero__inner { padding: 10px 10px 64px; }
.fq-contact-top .fq-phero__title { margin: 0 0 12px; }
.fq-ccards { display: flex; gap: 20px; padding: 10px; }
.fq-cinfo { flex: 1 1 0; background: #fff; border-radius: 24px; padding: 48px; }
.fq-cinfo__icon { width: 110px; height: 110px; margin-bottom: 17px; }
.fq-cinfo__title { font-size: var(--fs-h4-f); line-height: var(--lh-h4-f); letter-spacing: -1px; font-weight: 800; color: var(--foq-green); margin: 0 0 15px; }
.fq-cinfo__title a { color: inherit; }
.fq-cinfo p { margin: 0; }
.fq-cinfo p a { color: var(--foq-text); }
.fq-cinfo p a:hover { color: var(--foq-green); }
.fq-cform { background-size: cover; background-position: 0 50%; padding: 96px 0; }
.fq-cform__card { width: 60%; margin-left: auto; background: #fff; border-radius: 33px; padding: 48px; display: flex; flex-direction: column; gap: 20px; }
.fq-cform__card .fq-h2 { margin: 0 0 20px; }
@media (max-width: 1024px) {
	.fq-contact-top { padding: 140px 0 48px; }
	.fq-ccards { flex-wrap: wrap; padding: 0; }
	.fq-cinfo { flex: 1 1 280px; }
	.fq-cform { padding: 48px 0; }
	.fq-cform__card { width: 100%; }
}
@media (max-width: 767px) {
	.fq-contact-top { padding-top: 125px; }
	.fq-contact-top .fq-phero__inner { padding: 0 0 40px; }
	.fq-ccards { flex-direction: column; }
	.fq-cinfo, .fq-cform__card { padding: 32px; }
}

/* Contact Form 7 (keeps the form layout used on the site) */
.wpcf7 form { margin: 0 -10px; }
.wpcf7 form::after { content: ""; display: table; clear: both; }
.wpcf7 .column { float: left; width: 100%; padding: 0 10px 10px; }
.wpcf7 .column.one-second { width: 50%; }
.wpcf7 .column.one-third { width: 33.333%; }
.wpcf7 form > p { clear: both; padding: 0 10px 10px; margin: 0; }
.wpcf7 p { margin: 0; }
.wpcf7 label { display: block; margin: 0 0 5px; font-size: 13px; line-height: 20px; color: var(--foq-text); }
.wpcf7 .wpcf7-quiz-label { display: block; margin-bottom: 5px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"],
.wpcf7 input[type="number"], .wpcf7 input[type="date"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; background: var(--foq-input-bg); border: 1px solid var(--foq-input-bd); border-radius: 8px;
	padding: 10px; font: 500 15px/19px var(--foq-font); color: #66594E; outline: 0; transition: border-color .2s;
}
.wpcf7 textarea { height: 82px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { border-color: var(--foq-tan); }
.wpcf7 ::placeholder { color: #66594E; opacity: 1; }
.wpcf7 input[type="submit"] {
	width: 100%; padding: 20px 32px; border: 0; border-radius: 50px; background: var(--foq-lime); color: var(--foq-green);
	font: 600 16px/19.2px var(--foq-font); cursor: pointer; transition: background-color .3s, color .3s; margin-top: 4px;
}
.wpcf7 input[type="submit"]:hover { background: var(--foq-tan); color: #fff; }
.wpcf7 .wpcf7-spinner { position: absolute; }
.wpcf7 .wpcf7-response-output { clear: both; margin: 10px !important; border-radius: 12px; }
@media (max-width: 767px) { .wpcf7 .column.one-second { width: 100%; } }

/* =========================================================================
   Footer
   ========================================================================= */
.fq-footer { padding: 64px 0 24px; }
.fq-footer__row { display: flex; align-items: flex-start; }
.fq-footer__col { width: 50%; }
.fq-fcard { margin-right: 64px; border: 1px solid var(--foq-border); border-radius: 24px; padding: 32px 28px; }
.fq-fcard__title { font-size: var(--fs-h4-f); line-height: var(--lh-h4-f); letter-spacing: -1px; font-weight: 800; color: var(--foq-green); margin: 0 0 16px; }
.fq-fcard__title span { color: var(--foq-tan); }
.fq-fcard__title a { color: var(--foq-green); }
.fq-fcard__title a:hover { color: var(--foq-text); }
.fq-fcard p { margin: 0 0 16px; }
.fq-fcard p a { color: var(--foq-tan); }
.fq-footer__bottom { padding-top: 64px; text-align: center; }
.fq-footer__links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; margin: 0 0 8px; padding: 0; font-size: 15px; }
.fq-footer__links a { color: var(--foq-text); }
.fq-footer__links a:hover { color: var(--foq-green); }
.fq-footer__copy { margin: 0; }
.fq-footer__copy a { color: var(--foq-tan); }
.fq-footer__social { display: flex; justify-content: center; gap: 10px; margin-bottom: 12px; }
.fq-footer__social a { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--foq-green); }
.fq-footer__social a:hover { background: var(--foq-lime); }
@media (max-width: 1440px) { .fq-fcard { margin-right: 64px; } }
@media (max-width: 959px) {
	.fq-footer { padding: 48px 0 8px; }
	.fq-fcard { margin-right: 16px; }
	.fq-footer__bottom { padding-top: 32px; }
}
@media (max-width: 767px) {
	.fq-footer__row { flex-direction: column; gap: 16px; }
	.fq-footer__col { width: 100%; }
	.fq-fcard { margin-right: 0; }
}

/* =========================================================================
   Course single page
   ========================================================================= */
.fq-course-hero .fq-ccard__tags { margin-top: -4px; }
.fq-course-hero .fq-pill { background: #fff; }
.fq-course-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.fq-btn--outline { background: transparent; color: var(--foq-cream); box-shadow: inset 0 0 0 1.5px rgba(243, 240, 233, .6); }
.fq-btn--outline:hover { background: var(--foq-cream); color: var(--foq-green); }

.fq-course-body { padding: 80px 0 96px; }
.fq-course-body__row { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
.fq-course-aside { position: sticky; top: 120px; background: #fff; border-radius: 32px; overflow: hidden; }
.fq-course-aside__img img { width: 100%; height: auto; }
.fq-course-aside__body { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.fq-facts { list-style: none; margin: 0; padding: 0; }
.fq-facts li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--foq-border); }
.fq-facts li:first-child { padding-top: 0; }
.fq-facts svg { flex: 0 0 20px; color: var(--foq-green); margin-top: 3px; }
.fq-facts strong { display: block; color: var(--foq-green); font-weight: 700; font-size: 14px; line-height: 20px; text-transform: uppercase; letter-spacing: .3px; }
.fq-learn { background: #fff; border-radius: 32px; padding: 48px; margin: 40px 0; }
.fq-learn .fq-h4 { color: var(--foq-green); margin-bottom: 24px; }
.fq-learn .fq-checks { gap: 14px; }
.fq-related { padding: 0 0 96px; }
@media (max-width: 1024px) {
	.fq-course-body { padding: 48px 0; }
	.fq-course-body__row { grid-template-columns: 1fr; gap: 40px; }
	.fq-course-aside { position: static; max-width: 560px; }
	.fq-related { padding-bottom: 48px; }
}
@media (max-width: 767px) { .fq-learn { padding: 32px; } }

/* =========================================================================
   Prose (article + course content + generic pages)
   ========================================================================= */
.fq-prose { font-size: 18px; line-height: 30px; color: var(--foq-text); }
.fq-prose > * + * { margin-top: 22px; }
.fq-prose p { margin-bottom: 0; }
.fq-prose > * { margin-bottom: 0; }
.fq-prose > h2 + *, .fq-prose > h3 + * { margin-top: 14px; }
.fq-prose h2 { font-size: 36px; line-height: 40px; letter-spacing: -1.2px; margin-top: 48px; scroll-margin-top: 120px; }
.fq-prose h3 { font-size: 26px; line-height: 32px; letter-spacing: -.6px; margin-top: 36px; scroll-margin-top: 120px; }
.fq-prose h4 { font-size: 21px; line-height: 28px; margin-top: 28px; }
.fq-prose a { color: var(--foq-green); text-decoration: underline; text-decoration-color: var(--foq-lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fq-prose a:hover { color: var(--foq-tan); }
.fq-prose ul, .fq-prose ol { padding-left: 24px; }
.fq-prose li + li { margin-top: 8px; }
.fq-prose ul li::marker { color: var(--foq-tan); }
.fq-prose strong { color: var(--foq-green); }
.fq-prose blockquote {
	margin: 32px 0; padding: 24px 28px; background: #fff; border-radius: 20px; border-left: 5px solid var(--foq-lime);
	color: var(--foq-green); font-weight: 600;
}
.fq-prose blockquote p + p { margin-top: 10px; }
.fq-prose blockquote cite { display: block; margin-top: 10px; font-style: normal; font-size: 15px; color: var(--foq-tan); }
.fq-prose figure { margin: 32px 0; }
.fq-prose img { border-radius: 20px; }
.fq-prose figcaption { font-size: 14px; color: var(--foq-tan); margin-top: 8px; text-align: center; }
.fq-prose table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; font-size: 16px; line-height: 24px; }
.fq-prose th, .fq-prose td { padding: 12px 16px; border-bottom: 1px solid var(--foq-border); text-align: left; vertical-align: top; }
.fq-prose th { background: var(--foq-green); color: #fff; font-weight: 600; }
.fq-prose hr { border: 0; border-top: 1px solid var(--foq-border); margin: 40px 0; }
.fq-prose .fq-ayah, .fq-ayah {
	font-family: "Amiri", "Noto Naskh Arabic", "Traditional Arabic", serif; direction: rtl; text-align: right;
	font-size: 30px; line-height: 2; color: var(--foq-green); font-weight: 400;
}
.fq-prose .fq-note { background: var(--foq-lime); color: var(--foq-green); border-radius: 20px; padding: 20px 24px; font-weight: 600; }
.fq-prose .fq-editor-note, .fq-editor-note { display: none !important; }
@media (max-width: 767px) {
	.fq-prose { font-size: 17px; line-height: 28px; }
	.fq-prose h2 { font-size: 28px; line-height: 32px; }
	.fq-prose h3 { font-size: 22px; line-height: 28px; }
}

/* Block editor alignment helpers */
.fq-prose .alignwide { margin-left: -80px; margin-right: -80px; }
.fq-prose .aligncenter { margin-left: auto; margin-right: auto; }
@media (max-width: 1024px) { .fq-prose .alignwide { margin-left: 0; margin-right: 0; } }

/* =========================================================================
   Articles
   ========================================================================= */
.fq-articles { padding: 64px 0 96px; }
.fq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; }
.fq-cats a { display: inline-block; padding: 8px 20px; border-radius: 50px; background: #fff; color: var(--foq-green); font-size: 14px; line-height: 20px; font-weight: 600; }
.fq-cats a:hover, .fq-cats .is-active a { background: var(--foq-lime); }
.fq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.fq-pcard { background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.fq-pcard:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(20, 75, 36, .35); }
.fq-pcard__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--foq-green); }
.fq-pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.fq-pcard__ph { width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 20px; background: var(--foq-green) url(../images/pattern-tile.svg) repeat; background-size: 120px; color: var(--foq-lime); font-weight: 700; font-size: 22px; line-height: 26px; letter-spacing: -.5px; }
.fq-pcard__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.fq-pcard__cat { align-self: flex-start; padding: 4px 14px; border-radius: 50px; background: var(--foq-cream); color: var(--foq-green); font-size: 13px; line-height: 20px; font-weight: 600; }
.fq-pcard__title { font-size: 22px; line-height: 27px; letter-spacing: -.5px; }
.fq-pcard__title a { color: var(--foq-green); }
.fq-pcard__title a:hover { color: var(--foq-text); }
.fq-pcard__excerpt { margin: 0; font-size: 15px; line-height: 23px; }
.fq-pcard__meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--foq-tan); }
.fq-pcard__more { display: inline-flex; align-items: center; gap: 6px; color: var(--foq-green); font-weight: 600; font-size: 14px; }
.fq-pagination { margin-top: 48px; display: flex; justify-content: center; }
.fq-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.fq-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 50px; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--foq-green); font-weight: 600; }
.fq-pagination .page-numbers.current, .fq-pagination a.page-numbers:hover { background: var(--foq-lime); }
@media (max-width: 1024px) { .fq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } .fq-articles { padding: 48px 0; } }
@media (max-width: 640px) { .fq-grid { grid-template-columns: 1fr; } }

/* Single article */
.fq-ahero { padding: 141px 0 40px; }
.fq-ahero .fq-phero__inner { max-width: 960px; }
.fq-ahero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 15px; color: var(--foq-text); }
.fq-ahero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.fq-ahero__meta svg { color: var(--foq-tan); }
.fq-ahero__meta strong { color: var(--foq-green); }
.fq-afeat { margin-bottom: 48px; }
.fq-afeat img { width: 100%; height: auto; border-radius: 32px; }
.fq-article { padding: 0 0 80px; }
.fq-article__row { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.fq-article__main { max-width: 780px; min-width: 0; }
.fq-aside { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 20px; }
.fq-toc { background: #fff; border-radius: 24px; padding: 24px 28px; }
.fq-toc__title { font-size: 14px; line-height: 20px; text-transform: uppercase; letter-spacing: .5px; color: var(--foq-tan); margin: 0 0 12px; font-weight: 700; }
.fq-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; counter-reset: toc; }
.fq-toc li { font-size: 15px; line-height: 21px; }
.fq-toc li.is-h3 { padding-left: 14px; font-size: 14px; }
.fq-toc a { color: var(--foq-text); }
.fq-toc a:hover, .fq-toc a.is-active { color: var(--foq-green); font-weight: 600; }
.fq-cta-card { background: var(--foq-green); color: var(--foq-mint); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.fq-cta-card__title { color: #fff; font-size: 24px; line-height: 28px; letter-spacing: -.6px; font-weight: 800; }
.fq-cta-card p { margin: 0; font-size: 15px; line-height: 23px; }
.fq-cta-card .fq-btn { width: 100%; padding: 18px 20px; }
.fq-takeaways { background: #fff; border-radius: 24px; padding: 28px 32px; margin: 0 0 36px; }
.fq-takeaways__title { font-size: 14px; line-height: 20px; text-transform: uppercase; letter-spacing: .5px; color: var(--foq-tan); margin: 0 0 14px; font-weight: 700; }
.fq-takeaways .fq-checks { gap: 12px; }
.fq-takeaways .fq-checks li { align-items: flex-start; min-height: 0; font-size: 16px; line-height: 24px; color: var(--foq-green); font-weight: 600; }
.fq-takeaways .fq-checks__ico { flex-basis: 26px; width: 26px; height: 26px; }
.fq-takeaways .fq-checks__ico svg { width: 12px; height: 12px; }
.fq-reviewed { display: flex; gap: 16px; align-items: center; background: var(--foq-lime); border-radius: 24px; padding: 20px 24px; margin: 40px 0 0; color: var(--foq-green); }
.fq-reviewed svg { flex: 0 0 28px; width: 28px; height: 28px; }
.fq-reviewed p { margin: 0; font-size: 15px; line-height: 22px; }
.fq-sources { margin: 32px 0 0; padding: 24px 28px; border: 1px solid var(--foq-border); border-radius: 20px; font-size: 15px; line-height: 23px; }
.fq-sources h2 { font-size: 16px; line-height: 22px; letter-spacing: 0; margin: 0 0 8px; }
.fq-sources ul { padding-left: 18px; }
.fq-share { display: flex; align-items: center; gap: 10px; margin: 32px 0 0; font-size: 14px; font-weight: 600; color: var(--foq-green); }
.fq-share a, .fq-share button { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--foq-green); cursor: pointer; }
.fq-share a:hover, .fq-share button:hover { background: var(--foq-lime); }
.fq-band { background: var(--foq-lime); border-radius: 32px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; margin: 56px 0 0; }
.fq-band__title { font-size: 32px; line-height: 36px; letter-spacing: -1px; font-weight: 800; margin: 0 0 8px; }
.fq-band p { margin: 0; color: var(--foq-green); }
@media (max-width: 1024px) {
	.fq-ahero { padding: 140px 0 32px; }
	.fq-article__row { grid-template-columns: 1fr; gap: 32px; }
	.fq-aside { position: static; }
	.fq-toc { display: none; }
	.fq-band { flex-direction: column; align-items: flex-start; padding: 32px; }
}
@media (max-width: 767px) {
	.fq-ahero { padding: 125px 0 24px; }
	.fq-afeat img { border-radius: 20px; }
	.fq-band__title { font-size: 26px; line-height: 30px; }
}

/* FAQ accordion */
.fq-faq { display: flex; flex-direction: column; gap: 12px; }
.fq-faq__title { font-size: 36px; line-height: 40px; letter-spacing: -1.2px; margin: 0 0 12px; }
.fq-faq__item { background: #fff; border-radius: 20px; overflow: hidden; }
.fq-faq__item summary {
	list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	font-size: 18px; line-height: 26px; font-weight: 600; color: var(--foq-green);
}
.fq-faq__item summary::-webkit-details-marker { display: none; }
.fq-faq__item summary svg { flex: 0 0 20px; transition: transform .25s; }
.fq-faq__item[open] summary svg { transform: rotate(180deg); }
.fq-faq__a { padding: 0 24px 20px; }
.fq-faq__a p { margin: 0; }
.fq-faq-page { padding: 64px 0 96px; }
.fq-faq-page__row { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
@media (max-width: 1024px) { .fq-faq-page__row { grid-template-columns: 1fr; } .fq-faq-page { padding: 48px 0; } }

/* Generic page content (CRM forms, privacy etc.) */
.fq-page { padding: 64px 0 96px; }
.fq-page--form { padding-top: 48px; }
.fq-page .fq-prose { max-width: 860px; }
.fq-page--wide .fq-prose { max-width: none; }
@media (max-width: 1024px) { .fq-page { padding: 48px 0; } }

/* 404 / search */
.fq-empty { padding: 48px; background: #fff; border-radius: 32px; text-align: center; }
.fq-search { display: flex; gap: 10px; max-width: 560px; }
.fq-search input[type="search"] { flex: 1; padding: 16px 22px; border-radius: 50px; border: 1px solid var(--foq-input-bd); background: #fff; font: 500 16px/20px var(--foq-font); color: var(--foq-green); }
.fq-search button { border: 0; }

/* Reveal on scroll (subtle, respects reduced motion) */
@media (prefers-reduced-motion: no-preference) {
	.js .fq-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
	.js .fq-reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Click to Chat plugin button stays above the drawer overlay only when closed */
body.fq-menu-open .ht-ctc { z-index: 1 !important; }

/* Small additions */
.fq-courses-list { padding: 10px 0 0; }
.fq-cinfo__icon { display: block; width: 118px; height: 110px; }
.fq-step__icon svg, .fq-cinfo__icon svg { display: block; }
.fq-crm-wrap { min-height: 200px; }
.fq-phero .fq-search { margin-top: 8px; }

/* Spacing fine-tuning (matched against the live site) */
.fq-courses .fq-badge, .fq-track .fq-badge { padding-bottom: 13px; }
.fq-step > div { margin-bottom: 20px; }
.fq-step__dot { margin-bottom: 1px; }
.fq-steps__more { margin-top: 20px; padding: 10px; }
.fq-support__text .fq-h2 { padding-bottom: 15px; }
.fq-support__text p { margin: 0 0 15px; }
.fq-fcard .fq-btn { line-height: 19.2px; }
@media (max-width: 1024px) { .fq-steps__more { margin-top: 0; padding: 30px 0 0; } }
@media (max-width: 767px) { .fq-steps__more { padding: 0; } }
.fq-ccards { margin-top: 20px; }
@media (max-width: 1024px) { .fq-ccards { margin-top: 0; } }
.fq-fcard .fq-fcard__title a { color: var(--foq-green); }
.fq-fcard .fq-fcard__title a:hover { color: var(--foq-text); }

/* =========================================================================
   Theme contact form (v1.1)
   ========================================================================= */
.fq-form__grid { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.fq-form__grid > p { margin: 0; padding: 0 10px 14px; }
.fq-form__half { width: 50%; }
.fq-form__full { width: 100%; }
.fq-form label { display: block; margin: 0 0 6px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--foq-green); }
.fq-form__opt { font-weight: 500; color: var(--foq-tan); }
.fq-form input[type="text"], .fq-form input[type="email"], .fq-form input[type="tel"], .fq-form select, .fq-form textarea {
	width: 100%; background: var(--foq-input-bg); border: 1px solid var(--foq-input-bd); border-radius: 8px;
	padding: 10px 12px; font: 500 15px/19px var(--foq-font); color: #3b3530; outline: 0; transition: border-color .2s;
}
.fq-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23144B24' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.fq-form textarea { min-height: 110px; resize: vertical; }
.fq-form input:focus, .fq-form select:focus, .fq-form textarea:focus { border-color: var(--foq-tan); }
.fq-form ::placeholder { color: #8a7f75; opacity: 1; }
.fq-form__hint { font-size: 13px; line-height: 19px; color: var(--foq-text); margin-top: -6px !important; }
.fq-form__consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--foq-text); }
.fq-form__consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--foq-green); flex: 0 0 18px; }
.fq-form__submit { width: 100%; padding: 20px 32px; border: 0; border-radius: 50px; background: var(--foq-lime); color: var(--foq-green); font: 600 16px/19px var(--foq-font); cursor: pointer; transition: background-color .3s, color .3s; }
.fq-form__submit:hover, .fq-form__submit:focus-visible { background: var(--foq-tan); color: #fff; }
.fq-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.fq-form__ok { background: var(--foq-lime); color: var(--foq-green); border-radius: 20px; padding: 22px 24px; font-weight: 600; font-size: 17px; line-height: 26px; }
.fq-form__err { background: #fff4f2; border: 1px solid #f1c6bd; color: #8a2b16; border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; font-size: 15px; }
.fq-form__err ul { margin: 6px 0 0 18px; padding: 0; }
@media (max-width: 767px) { .fq-form__half { width: 100%; } }

/* Teacher profiles */
.fq-tprofiles { padding: 0 0 96px; background-color: #fff; }
.fq-tprofiles .fq-container { padding-top: 0; }
.fq-tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 12px; }
.fq-tcard { background: var(--foq-cream); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.fq-tcard__img { aspect-ratio: 4 / 3; background: var(--foq-green); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fq-tcard__img img { width: 100%; height: 100%; object-fit: cover; }
.fq-tcard__initial { font-size: 72px; font-weight: 800; color: var(--foq-lime); }
.fq-tcard__body { padding: 22px 24px 26px; }
.fq-tcard__name { font-size: 24px; line-height: 28px; letter-spacing: -.6px; font-weight: 800; }
.fq-tcard__role { margin: 4px 0 10px; color: var(--foq-tan); font-weight: 600; }
.fq-tcard__bio { margin: 0 0 12px; font-size: 15px; line-height: 23px; }
.fq-tcard__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 20px; }
.fq-tcard__facts li { display: flex; gap: 8px; align-items: flex-start; }
.fq-tcard__facts svg { flex: 0 0 15px; margin-top: 2px; color: var(--foq-green); }
@media (max-width: 1024px) { .fq-tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fq-tprofiles { padding-bottom: 48px; } }
@media (max-width: 640px) { .fq-tgrid { grid-template-columns: 1fr; } }
