/* EduFunny (core brand) page — calmer, more mature variant. Loads only on /edufunny/. */

.ef-eduf-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 5.5rem); }
.ef-eduf-hero__grid {
	position: relative; z-index: var(--ef-z-content);
	display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.ef-eduf-hero__title { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 1rem; }
.ef-eduf-hero__text { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--ef-ink-soft); max-width: 56ch; margin-bottom: 1.8rem; }
.ef-eduf-hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.ef-eduf-hero__visual {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
	aspect-ratio: 4 / 3; color: var(--ef-blue-ink);
	background: linear-gradient(155deg, var(--ef-blue-2), var(--ef-cream-2) 70%);
}
.ef-eduf-hero__visual-icon .ef-icon { width: 3rem; height: 3rem; }
.ef-eduf-hero__visual-note { font-family: var(--ef-font-head); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ef-blue-ink); }

.ef-eduf-intro__panel { padding: clamp(1.8rem, 4vw, 3rem); text-align: center; background: var(--ef-cream-2); }
.ef-eduf-intro__title { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.6rem; }
.ef-eduf-intro__text { color: var(--ef-ink-soft); max-width: 60ch; margin-inline: auto; }

.ef-eduf-values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.1rem, 2.4vw, 1.8rem); }

.ef-eduf-steps__grid { list-style: none; counter-reset: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.4vw, 1.8rem); }
.ef-eduf-step { padding: clamp(1.4rem, 3vw, 2.1rem); }
.ef-eduf-step__num {
	display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 1rem;
	border-radius: 50%; background: var(--ef-blue-2); color: var(--ef-blue-ink);
	font-family: var(--ef-font-head); font-weight: 800; font-size: 1.3rem; box-shadow: var(--ef-shadow-inset);
}
.ef-eduf-step__title { font-size: 1.25rem; margin-bottom: 0.4rem; }
.ef-eduf-step__text { color: var(--ef-ink-soft); margin: 0; }

.ef-eduf-blog__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.4vw, 1.8rem); }
.ef-eduf-post { display: flex; flex-direction: column; gap: 0.55rem; padding: clamp(1.2rem, 2.6vw, 1.7rem); }
.ef-eduf-post__media { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--ef-r-sm); color: var(--ef-accent-ink); margin-bottom: 0.3rem; }
.ef-eduf-post__media .ef-icon { width: 2.2rem; height: 2.2rem; }
.ef-eduf-post__media--img { padding: 0; overflow: hidden; }
.ef-eduf-post__media--img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.ef-eduf-post__title { font-size: 1.2rem; margin: 0; }
.ef-eduf-post__text { color: var(--ef-ink-soft); margin: 0; }
.ef-eduf-post__tag { margin-top: auto; font-family: var(--ef-font-head); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ef-accent-ink); }

.ef-eduf-cta__panel { text-align: center; padding: clamp(2rem, 5vw, 3.4rem); background: linear-gradient(150deg, var(--ef-blue-2), var(--ef-cream-2) 60%); }
.ef-eduf-cta__title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.ef-eduf-cta__text { color: var(--ef-ink-soft); max-width: 54ch; margin: 0 auto 1.8rem; }
.ef-eduf-cta__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }

@media (max-width: 1024px) {
	.ef-eduf-values__grid { grid-template-columns: repeat(2, 1fr); }
	.ef-eduf-steps__grid,
	.ef-eduf-blog__grid  { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.ef-eduf-hero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.ef-eduf-values__grid { grid-template-columns: 1fr; }
	.ef-eduf-hero__actions .ef-btn,
	.ef-eduf-cta__actions .ef-btn { flex: 1 1 100%; }
}

/* ============================================================
 * MINIMAL / EDITORIAL OVERRIDES — scoped to the EduFunny page only.
 * Flatten the claymorphism: clean cream surfaces, thin borders,
 * subtle shadows, fewer pastel blobs, muted accents.
 * ============================================================ */
body.ef-page--edufunny { background: linear-gradient(180deg, #FFFDF9 0%, #F7F1E8 100%); }
body.ef-page--edufunny .ef-page-decor { display: none; }            /* drop floating blobs */
.ef-eduf .ef-shapes { opacity: 0.3; }
.ef-eduf .ef-shape--blob,
.ef-eduf .ef-shape--star,
.ef-eduf .ef-shape--cloud { display: none; }                        /* keep only soft circles */

/* Flat, realistic surfaces */
.ef-eduf .ef-clay,
.ef-eduf .ef-clay-soft,
.ef-eduf .ef-card,
.ef-eduf .ef-eduf-step,
.ef-eduf .ef-eduf-post,
.ef-eduf .ef-eduf-intro__panel,
.ef-eduf .ef-eduf-hero__visual,
.ef-eduf .ef-eduf-cta__panel {
	background: #FFFDFA;
	border: 1px solid rgba(74, 60, 44, 0.10);
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(74, 60, 44, 0.06);
}
.ef-eduf .ef-card::after { display: none; }                          /* remove the glow blob */
.ef-eduf .ef-clay-inset { background: #F3EDE3; border: 1px solid rgba(74, 60, 44, 0.08); box-shadow: none; }
.ef-eduf .ef-eduf-step__num { background: #F3EDE3; color: var(--ef-orange-ink); box-shadow: none; border: 1px solid rgba(74, 60, 44, 0.10); }

/* Muted, smaller icons (less toy-like) */
.ef-eduf .ef-card__icon { width: 54px; height: 54px; color: var(--ef-orange-ink); }
.ef-eduf .ef-card__icon .ef-icon { width: 1.5rem; height: 1.5rem; }
.ef-eduf .ef-eduf-hero__visual,
.ef-eduf .ef-eduf-post__media { color: var(--ef-orange-ink); }

/* Calm, subtle hover (no big lift) */
.ef-eduf .ef-card:hover,
.ef-eduf .ef-eduf-step:hover,
.ef-eduf .ef-eduf-post:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(74, 60, 44, 0.10); }

/* Muted primary button (warm, not candy) */
.ef-eduf .ef-btn--primary { --btn-bg: var(--ef-orange); --btn-fg: var(--ef-ink-strong); }
.ef-eduf .ef-btn--primary:hover { box-shadow: 0 10px 24px rgba(74, 60, 44, 0.14); }

/* ============================================================
 * EDITORIAL v2 — make the minimal/realistic look unmistakable.
 * ============================================================ */
body.ef-page--edufunny { background: #FAF7F1; }
.ef-eduf .ef-shapes { display: none; }                       /* no floating shapes at all */

/* terracotta/beige accents instead of pastel/lavender */
.ef-eduf .ef-eyebrow,
.ef-eduf .ef-eduf-post__tag,
.ef-eduf .ef-section-header__title { color: #5B4636; }
.ef-eduf .ef-eyebrow { color: #A85C3C; }
.ef-eduf .ef-eyebrow__dot { background: #B5653F; box-shadow: none; }

/* flat white editorial cards — small radius, hairline border, faint shadow */
.ef-eduf .ef-clay,
.ef-eduf .ef-clay-soft,
.ef-eduf .ef-card,
.ef-eduf .ef-eduf-step,
.ef-eduf .ef-eduf-post,
.ef-eduf .ef-eduf-intro__panel,
.ef-eduf .ef-eduf-hero__visual,
.ef-eduf .ef-eduf-cta__panel {
	background: #FFFFFF;
	border: 1px solid #E7DDCE;
	border-radius: 14px;
	box-shadow: 0 6px 16px rgba(74, 60, 44, 0.05);
}
.ef-eduf .ef-card::after { display: none; }
.ef-eduf .ef-card:hover,
.ef-eduf .ef-eduf-step:hover,
.ef-eduf .ef-eduf-post:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(74, 60, 44, 0.09); }

/* toy icons → realistic placeholder image blocks; hide the svgs */
.ef-eduf .ef-card__icon {
	width: 100%; height: clamp(120px, 18vw, 160px);
	margin-bottom: 1.1rem; border-radius: 10px;
	background: #F3E9DA; border: 1px solid #E7DDCE; box-shadow: none;
}
.ef-eduf .ef-card__icon .ef-icon,
.ef-eduf .ef-eduf-post__media .ef-icon,
.ef-eduf .ef-eduf-hero__visual .ef-icon { display: none; }
.ef-eduf .ef-eduf-post__media { background: #F3E9DA; border: 1px solid #E7DDCE; box-shadow: none; border-radius: 10px; }
.ef-eduf .ef-eduf-hero__visual { background: #F3E9DA; color: #A85C3C; }
.ef-eduf .ef-eduf-step__num { background: #F3E9DA; color: #A85C3C; border: 1px solid #E7DDCE; box-shadow: none; border-radius: 12px; }

/* editorial buttons: small radius, muted terracotta primary */
.ef-eduf .ef-btn { border-radius: 10px; }
.ef-eduf .ef-btn--primary { --btn-bg: #B5653F; --btn-fg: #FFFFFF; box-shadow: 0 6px 16px rgba(74, 60, 44, 0.12); }
.ef-eduf .ef-btn--primary:hover { --btn-bg: #A1542F; box-shadow: 0 8px 20px rgba(74, 60, 44, 0.16); }
.ef-eduf .ef-btn--ghost { box-shadow: inset 0 0 0 1px #E0D4C2; }

/* ============================================================
 * LAYOUT v2 — tighter spacing + two-column intro/values.
 * ============================================================ */
.ef-eduf .ef-section { padding-block: clamp(2rem, 4.5vw, 3.5rem); }
.ef-eduf-hero { padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(1.25rem, 3vw, 2rem); }

.ef-eduf-introrow__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;   /* intro left, cards right */
	gap: clamp(1.5rem, 4vw, 3.25rem);
	align-items: stretch;                 /* equal-height columns */
}
.ef-eduf-introrow__intro { text-align: left; display: flex; flex-direction: column; }
.ef-eduf-introrow__intro .ef-eduf-intro__title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.ef-eduf-introrow__intro .ef-eduf-intro__text { margin: 0; max-width: 46ch; }
.ef-eduf-introrow .ef-eduf-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* 2x2 */

@media (max-width: 980px) {
	.ef-eduf-introrow__grid { grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 2.25rem); }
}
@media (max-width: 480px) {
	.ef-eduf-introrow .ef-eduf-values__grid { grid-template-columns: 1fr; }
}

/* Compact "Three simple steps" — sits in the LEFT column under the intro. */
.ef-eduf-steps-compact { margin-top: clamp(1.4rem, 3vw, 2.1rem); flex: 1 1 auto; display: flex; flex-direction: column; }
.ef-eduf-steps-compact__title { font-size: 1.25rem; margin: 0.2rem 0 0.9rem; }
.ef-eduf-steps-compact__grid { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; flex: 1 1 auto; justify-content: space-between; }
.ef-eduf-cstep { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.8rem 1rem; background: #FFFFFF; border: 1px solid #E7DDCE; border-radius: 12px; }
.ef-eduf-cstep__num { flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: #F3E9DA; color: #A85C3C; border: 1px solid #E7DDCE; font-family: var(--ef-font-head); font-weight: 800; }
.ef-eduf-cstep__body { display: flex; flex-direction: column; }
.ef-eduf-cstep__title { font-family: var(--ef-font-head); font-weight: 700; color: var(--ef-ink-strong); }
.ef-eduf-cstep__text { color: var(--ef-ink-soft); font-size: 0.92rem; }

/* ============================================================
 * POLISH — editorial headings (cleaner than bubbly Baloo) + subtle tags.
 * ============================================================ */
.ef-eduf h1, .ef-eduf h2, .ef-eduf h3,
.ef-eduf .ef-section-header__title,
.ef-eduf .ef-eduf-hero__title,
.ef-eduf .ef-eduf-intro__title,
.ef-eduf .ef-eduf-cta__title,
.ef-eduf .ef-eduf-steps-compact__title,
.ef-eduf .ef-eduf-cstep__title,
.ef-eduf .ef-card__title,
.ef-eduf .ef-eduf-post__title {
	font-family: var(--ef-font-body);   /* Nunito — tighter, more editorial */
	font-weight: 800;
	letter-spacing: -0.015em;
}
.ef-eduf .ef-eduf-post__tag { font-size: 0.68rem; opacity: 0.6; letter-spacing: 0.04em; }

/* ============================================================
 * PREMIUM POLISH — editorial details + GSAP handoff + light snap.
 * ============================================================ */
/* SAFETY: everything on this page is visible by default (no CSS ever hides
   content). GSAP animates from a hidden state at runtime via inline styles
   (fromTo + clearProps), so if JS fails nothing can stay faded/stuck. */
.ef-eduf .animate-on-scroll,
.ef-eduf .ef-reveal { opacity: 1; transform: none; transition: none; }

/* Quiet accent line as a label motif (replaces the pastel dot). */
.ef-eduf .ef-eyebrow__dot { display: none; }
.ef-eduf .ef-eyebrow { display: inline-flex; align-items: center; }
.ef-eduf .ef-eyebrow::after { content: ""; width: 26px; height: 2px; margin-left: 0.6rem; border-radius: 2px; background: #C7845A; opacity: 0.85; }

/* Thin section dividers for editorial rhythm. */
.ef-eduf-blog, .ef-eduf-cta { border-top: 1px solid rgba(74, 60, 44, 0.09); }

/* Refined hero panel: inner hairline frame on the placeholder. */
.ef-eduf-hero__visual { position: relative; }
.ef-eduf-hero__visual::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(74, 60, 44, 0.10); border-radius: 10px; pointer-events: none; }

/* (Snap scroll removed — normal scrolling only.) */

/* ============================================================
 * JOURNAL — clickable cards + full editorial article pages.
 * ============================================================ */
.ef-eduf-post { padding: 0; }
.ef-eduf-post__link {
	display: flex; flex-direction: column; gap: 0.55rem;
	height: 100%; padding: clamp(1.2rem, 2.6vw, 1.7rem);
	color: inherit; border-radius: inherit;
}
.ef-eduf-post__link .ef-eduf-post__tag { color: #A85C3C; opacity: 0.85; }
.ef-eduf-post:hover .ef-eduf-post__title { color: #A85C3C; }

.ef-journal-article { padding-block: clamp(2rem, 5vw, 3.5rem); }
.ef-journal-article .ef-article__back {
	display: inline-flex; align-items: center;
	font-family: var(--ef-font-body); font-weight: 700; font-size: 0.92rem;
	color: var(--ef-ink-strong); background: #FFFFFF;
	border: 1px solid #E7DDCE; border-radius: 10px;
	padding: 0.5rem 0.95rem; box-shadow: 0 4px 12px rgba(74, 60, 44, 0.05);
}
.ef-journal-article .ef-article__back:hover { transform: translateX(-2px); color: #A85C3C; }
.ef-journal-article__head { margin-top: 1.6rem; }
.ef-journal-article__meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem;
	font-family: var(--ef-font-body); font-weight: 700; font-size: 0.82rem;
	color: var(--ef-ink-soft); margin-bottom: 0.7rem;
}
.ef-journal-article__cat {
	color: #A85C3C; background: #F3E9DA; border: 1px solid #E7DDCE;
	padding: 0.22rem 0.7rem; border-radius: 8px;
	text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.7rem;
}
.ef-journal-article__title { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 0.6rem; }
.ef-journal-article__intro { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--ef-ink-soft); max-width: 58ch; }
.ef-journal-article__media {
	display: flex; align-items: center; justify-content: center;
	width: 100%; aspect-ratio: 16 / 8; margin-block: 1.8rem;
	background: #F3E9DA; border: 1px solid #E7DDCE; border-radius: 14px;
	color: #A85C3C; font-family: var(--ef-font-body); font-weight: 700;
	font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.ef-journal-article__body p { color: var(--ef-ink); line-height: 1.8; margin-bottom: 1.15rem; }
.ef-journal-article__body h2 { font-size: 1.4rem; margin: 1.9rem 0 0.7rem; }
.ef-journal-article__quote {
	margin: 1.6rem 0; padding: 1.1rem 1.4rem;
	background: #F3E9DA; border-left: 3px solid #B5653F; border-radius: 0 12px 12px 0;
	font-family: var(--ef-font-body); font-weight: 700; font-style: normal;
	color: #5B4636; font-size: 1.05rem;
}
.ef-journal-article__cta {
	margin-top: 2.4rem; padding: clamp(1.4rem, 3vw, 2rem);
	background: #FFFFFF; border: 1px solid #E7DDCE; border-radius: 14px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.ef-journal-article__cta p { margin: 0; font-family: var(--ef-font-body); font-weight: 800; color: var(--ef-ink-strong); }
.ef-journal-article__cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
@media (max-width: 560px) {
	.ef-journal-article__media { aspect-ratio: 4 / 3; }
	.ef-journal-article__cta { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
 * QUIET DECORATION — premium editorial depth (CSS only, no layout
 * change, everything absolute + pointer-events:none, clipped).
 * ============================================================ */

/* Paper grain over the page (visible but refined). */
body.ef-page--edufunny::before {
	content: "";
	position: fixed; inset: 0; z-index: 0; pointer-events: none;
	opacity: 1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.35 0 0 0 0 0.27 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ef-eduf { position: relative; z-index: 1; }
.ef-eduf > section { position: relative; overflow: hidden; }
.ef-eduf > section > .ef-container { position: relative; z-index: 2; }

/* HERO — visible warm beige wash + terracotta circle outline + accent line. */
.ef-eduf-hero::before {
	content: "";
	position: absolute; top: -200px; right: -160px; width: 720px; height: 720px;
	border-radius: 50%; pointer-events: none; z-index: 0;
	background: radial-gradient(circle, rgba(235, 216, 185, 0.95) 0%, rgba(235, 216, 185, 0) 66%);
}
.ef-eduf-hero::after {
	content: "";
	position: absolute; bottom: 8%; left: -70px; width: 230px; height: 230px;
	border: 2px solid rgba(168, 92, 60, 0.35); border-radius: 50%;
	pointer-events: none; z-index: 0;
}

/* INTRO/VALUES — clear beige corner shape + terracotta dot trio + side rule. */
.ef-eduf-introrow { border-top: 1px solid rgba(74, 60, 44, 0.14); }
.ef-eduf-introrow::before {
	content: "";
	position: absolute; top: -140px; left: -160px; width: 560px; height: 560px;
	border-radius: 50%; pointer-events: none; z-index: 0;
	background: radial-gradient(circle, rgba(238, 221, 194, 0.9) 0%, rgba(238, 221, 194, 0) 64%);
}
.ef-eduf-introrow::after {
	content: "";
	position: absolute; top: 16%; right: 4.5%; width: 10px; height: 10px;
	border-radius: 50%; background: rgba(181, 101, 63, 0.55);
	box-shadow: -26px 16px 0 rgba(181, 101, 63, 0.35), 16px 40px 0 rgba(181, 101, 63, 0.22);
	pointer-events: none; z-index: 0;
}

/* JOURNAL — stronger soft blob + terracotta divider detail. */
.ef-eduf-blog { border-top: 1px solid rgba(74, 60, 44, 0.16); }
.ef-eduf-blog::before {
	content: "";
	position: absolute; bottom: -180px; right: -140px; width: 620px; height: 620px;
	border-radius: 50%; pointer-events: none; z-index: 0;
	background: radial-gradient(circle, rgba(238, 221, 194, 0.85) 0%, rgba(238, 221, 194, 0) 64%);
}
.ef-eduf-blog::after {
	content: "";
	position: absolute; top: -2px; left: 50%; transform: translateX(-50%);
	width: 56px; height: 3px; border-radius: 3px;
	background: #B5653F; pointer-events: none; z-index: 1;
}

/* CTA — warm wash + clear premium double frame. */
.ef-eduf-cta { border-top: 1px solid rgba(74, 60, 44, 0.16); }
.ef-eduf-cta__panel { position: relative; overflow: hidden; }
.ef-eduf-cta__panel::before {
	content: "";
	position: absolute; top: -160px; left: -140px; width: 520px; height: 520px;
	border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, rgba(238, 221, 194, 0.9) 0%, rgba(238, 221, 194, 0) 63%);
}
.ef-eduf-cta__panel::after {
	content: "";
	position: absolute; inset: 10px;
	border: 1px solid rgba(168, 92, 60, 0.25);
	border-radius: 10px; pointer-events: none;
}
.ef-eduf-cta__panel > * { position: relative; z-index: 1; }

/* Card/media accents: warm visible inner frame on placeholder panels. */
.ef-eduf .ef-card__icon,
.ef-eduf .ef-eduf-post__media { position: relative; }
.ef-eduf .ef-card__icon::after,
.ef-eduf .ef-eduf-post__media::after {
	content: "";
	position: absolute; inset: 6px; border: 1px solid rgba(168, 92, 60, 0.22);
	border-radius: 7px; pointer-events: none;
}

/* Smaller decor on phones (never causes overflow — sections clip). */
@media (max-width: 640px) {
	.ef-eduf-hero::before { width: 320px; height: 320px; top: -120px; right: -120px; }
	.ef-eduf-hero::after { display: none; }
	.ef-eduf-introrow::before { width: 280px; height: 280px; }
}


/* =========================================================================
 * Brand-identity sections: Why EduFunny / Consultancy / Trainings (editorial)
 * ====================================================================== */
.ef-eduf-why__head, .ef-eduf-train__head { max-width: 62ch; margin: 0 auto clamp(1.4rem, 3vw, 2.2rem); text-align: center; }
.ef-eduf-why__title, .ef-eduf-train__title { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0.3rem 0 0.5rem; color: var(--ef-ink); }
.ef-eduf-why__intro, .ef-eduf-train__intro { color: var(--ef-ink-soft); margin: 0; }
.ef-eduf-why__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.2vw, 1.5rem); }
.ef-eduf-whycard { background: #FFFFFF; border: 1px solid #ECE3D6; border-radius: 14px; padding: clamp(1.2rem, 2.4vw, 1.6rem); box-shadow: 0 10px 26px rgba(74, 60, 44, 0.06); }
.ef-eduf-whycard__num { font-family: var(--ef-font-head); font-weight: 800; font-size: 0.95rem; color: #C9723E; letter-spacing: 0.06em; }
.ef-eduf-whycard__title { font-size: 1.12rem; margin: 0.5rem 0 0.4rem; color: var(--ef-ink); }
.ef-eduf-whycard__text { font-size: 0.95rem; color: var(--ef-ink-soft); margin: 0; }

.ef-eduf-consult__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.1rem, 2.4vw, 1.8rem); }
.ef-eduf-consultcard { background: #FFFFFF; border: 1px solid #ECE3D6; border-radius: 16px; padding: clamp(1.4rem, 2.6vw, 2rem); box-shadow: 0 12px 30px rgba(74, 60, 44, 0.07); }
.ef-eduf-consultcard__title { font-size: clamp(1.3rem, 2.6vw, 1.6rem); margin: 0.3rem 0 0.4rem; color: var(--ef-ink); }
.ef-eduf-consultcard__intro { color: var(--ef-ink-soft); margin: 0 0 1rem; font-size: 0.97rem; }
.ef-eduf-consultcard__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.ef-eduf-consultcard__list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.97rem; color: var(--ef-ink); }
.ef-eduf-consultcard__tick { flex: none; color: #C9723E; display: inline-flex; margin-top: 0.1rem; }
.ef-eduf-consultcard__tick .ef-icon { width: 1.15rem; height: 1.15rem; }

.ef-eduf-train__coaching { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.1rem, 2.4vw, 1.8rem); margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }
.ef-eduf-coachcard { background: #FBF4EA; border: 1px solid #ECE3D6; border-radius: 16px; padding: clamp(1.3rem, 2.5vw, 1.9rem); }
.ef-eduf-coachcard__title { font-size: 1.2rem; margin: 0 0 0.7rem; color: var(--ef-ink); }
.ef-eduf-coachcard__list { margin: 0; padding-left: 1.1rem; color: var(--ef-ink-soft); display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.95rem; }
.ef-eduf-train__subhead { text-align: center; font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin: 0 0 clamp(1.1rem, 2.4vw, 1.5rem); color: var(--ef-ink); }
.ef-eduf-train__topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(0.8rem, 1.8vw, 1.1rem); }
.ef-eduf-topic { background: #FFFFFF; border: 1px solid #ECE3D6; border-left: 4px solid #C9723E; border-radius: 12px; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.3rem; }
.ef-eduf-topic__tag { font-style: italic; color: #C9723E; font-size: 0.86rem; font-weight: 600; }
.ef-eduf-topic__title { font-family: var(--ef-font-head); font-weight: 700; color: var(--ef-ink); font-size: 1rem; line-height: 1.25; }

@media (max-width: 900px) { .ef-eduf-why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .ef-eduf-consult__grid, .ef-eduf-train__coaching { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ef-eduf-why__grid { grid-template-columns: 1fr; } }


/* =========================================================================
 * Intro card (LEFT) + "Why EduFunny?" (RIGHT) — side-by-side row.
 * Wrapper: .ef-eduf-split around main-intro + main-why (EduFunny page only).
 * ====================================================================== */
.ef-eduf-split {
	display: grid;
	grid-template-columns: 5fr 7fr;
	align-items: start;
	gap: clamp(1.5rem, 4vw, 3rem);
	max-width: var(--ef-container);
	margin-inline: auto;
	padding-inline: clamp(1.1rem, 4vw, 2.5rem);
	padding-block: var(--ef-space-section);
}
/* Neutralise each child section's own section-padding + container so they
   become clean columns that start at the same top edge. */
.ef-eduf-split > .ef-section { padding-block: 0; }
.ef-eduf-split > .ef-section > .ef-container { max-width: none; width: 100%; margin-inline: 0; padding-inline: 0; }
/* Right side: 4 cards as a 2x2 grid; tighten the head spacing a touch. */
.ef-eduf-split .ef-eduf-why__grid { grid-template-columns: repeat(2, 1fr); }
.ef-eduf-split .ef-eduf-why__head { margin-bottom: clamp(1rem, 2.2vw, 1.5rem); }

/* Tablet portrait / small: stack cleanly. */
@media (max-width: 860px) {
	.ef-eduf-split { grid-template-columns: 1fr; }
}
/* Mobile: 4 cards in a single column. */
@media (max-width: 480px) {
	.ef-eduf-split .ef-eduf-why__grid { grid-template-columns: 1fr; }
}
