/* EDU Programs – αρχική σελίδα σε ενότητες ([edu_home_*]). Πάνω στα χρώματα του edu-front.css (navy/κίτρινο του θέματος). */

.edu-home {
	--h-accent: color-mix(in srgb, var(--edu-navy) 30%, #2563eb);
	--h-accent-soft: color-mix(in srgb, var(--h-accent) 9%, #fff);
	--h-ink: #0f1b3d;
	--h-muted: #5b6684;
	--h-line: #e6eaf3;
	--h-card-shadow: 0 1px 2px rgba(15, 27, 61, .04), 0 8px 24px rgba(15, 27, 61, .06);
	--h-card-shadow-hover: 0 2px 4px rgba(15, 27, 61, .05), 0 18px 40px rgba(15, 27, 61, .12);
	background: #fff;
	color: var(--h-ink);
	padding: 44px 0;
}
.edu-home h1, .edu-home h2, .edu-home h3 { color: var(--h-ink); }
.edu-home p { margin: 0; }
.edu-page--home .main-page-wrapper { background: #fff; }
/* Το Elementor βάζει κενά ανάμεσα στα widgets· οι ενότητες έχουν δικά τους. */
.edu-page--home .elementor-widget-shortcode { margin-bottom: 0 !important; }

/* Κοινά ------------------------------------------------------------------ */
.edu-h-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.edu-h-head h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.edu-h-head p { color: var(--h-muted); margin-top: 6px; font-size: 15.5px; }
.edu-root .edu-h-more { display: inline-flex; align-items: center; gap: 6px; color: var(--h-accent) !important; font-weight: 700; font-size: 14.5px; }
.edu-h-more .edu-i { transition: transform .18s ease; }
.edu-h-more:hover .edu-i { transform: translateX(3px); }

.edu-root .edu-h-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; white-space: nowrap;
	background: var(--edu-navy); color: #fff !important; font: 700 15px/1 inherit; font-family: inherit; text-transform: none; letter-spacing: 0;
	padding: 15px 22px; border-radius: 12px; min-height: 0; box-shadow: 0 8px 20px color-mix(in srgb, var(--edu-navy) 28%, transparent);
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.edu-root .edu-h-btn:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--edu-navy) 88%, #fff); }
.edu-root .edu-h-btn--light { background: #fff; color: var(--edu-navy) !important; box-shadow: none; }
.edu-root .edu-h-btn--light:hover { background: var(--edu-yellow); }

.edu-h-arrow {
	display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
	background: #fff; color: var(--edu-navy); box-shadow: 0 2px 8px rgba(15, 27, 61, .1); transition: .18s ease;
}
.edu-h-arrow .edu-i { width: 18px; height: 18px; }
.edu-h-soon {
	display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
	background: color-mix(in srgb, var(--edu-yellow) 26%, #fff); color: color-mix(in srgb, var(--edu-yellow) 30%, #3a2a00);
}
.edu-h-soon--light { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.3); padding: 10px 16px; font-size: 14px; }
.is-soon { cursor: default; }

/* Τετράγωνο εικονίδιο */
.edu-h-tile {
	display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; flex: none;
	background: var(--h-accent-soft); color: var(--h-accent);
}
.edu-h-tile .edu-i { width: 24px; height: 24px; }

/* Φωτογραφία ή placeholder */
.edu-h-media { position: relative; overflow: hidden; }
.edu-h-media picture { display: contents; }
.edu-h-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.edu-h-media.is-placeholder {
	display: flex; align-items: center; justify-content: center; text-align: center;
	background:
		repeating-linear-gradient(135deg, rgba(255,255,255,.55) 0 10px, transparent 10px 20px),
		color-mix(in srgb, var(--h-accent) 12%, #eef2fb);
	border: 2px dashed color-mix(in srgb, var(--h-accent) 35%, transparent);
	color: color-mix(in srgb, var(--h-accent) 70%, var(--h-ink));
}
.edu-h-hero__photo .edu-h-media__ph { max-width: 70%; }
.edu-h-media__ph { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px; max-width: 280px; }
.edu-h-media__ph svg { width: 34px; height: 34px; opacity: .75; }
.edu-h-media__ph em { font-style: normal; font-size: 12.5px; font-weight: 600; line-height: 1.35; opacity: .85; }

/* Hero ------------------------------------------------------------------- */
.edu-home.edu-hs-hero {
	padding: 56px 0 64px; overflow: hidden;
	background:
		radial-gradient(700px 380px at 92% 10%, color-mix(in srgb, var(--h-accent) 10%, transparent), transparent 70%),
		radial-gradient(600px 320px at 0% 100%, color-mix(in srgb, var(--edu-yellow) 10%, transparent), transparent 70%),
		linear-gradient(180deg, #f7f9fe 0%, #fff 100%);
}
.edu-page.wd-header-overlap .edu-home.edu-hs-hero { padding-top: calc(var(--edu-header-h, 120px) + 40px); }
.edu-h-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center; }
.edu-hs-hero h1 { font-size: clamp(36px, 5vw, 62px); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 48px; }
/* Χειρόγραφη υπογράμμιση που ζωγραφίζεται στο φόρτωμα: ίδια διαδρομή, διαστάσεις και καμπύλη με το «squiggle-underline» του Salient. */
.edu-hs-hero h1 .edu-h-squiggle { position: relative; display: inline-block; isolation: isolate; color: var(--h-accent); }
.edu-h-squiggle svg { position: absolute; z-index: -1; left: 0; bottom: -.72em; width: 100%; height: .62em; overflow: visible; pointer-events: none; }
.edu-h-squiggle path {
	stroke: var(--edu-yellow); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
	animation: edu-squiggle 1.2s cubic-bezier(.65, 0, .35, 1) .3s forwards;
}
@keyframes edu-squiggle { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .edu-h-squiggle path { animation: none; stroke-dashoffset: 0; } }
.edu-h-hero__lead { font-size: 18px; line-height: 1.6; color: var(--h-muted); max-width: 560px; margin-bottom: 28px !important; }

.edu-h-search {
	display: flex; align-items: center; gap: 10px; max-width: 620px; background: #fff; border-radius: 16px; padding: 7px 7px 7px 20px;
	border: 1px solid var(--h-line); box-shadow: 0 18px 44px rgba(15, 27, 61, .1);
}
.edu-h-search > .edu-i { width: 22px; height: 22px; color: var(--h-accent); }
.edu-root .edu-h-search input {
	flex: 1; min-width: 0; height: 50px; padding: 0 !important; border: 0 !important; box-shadow: none !important; outline: 0; background: transparent !important;
	font: 500 16px/1.2 inherit; font-family: inherit; color: var(--h-ink);
}
.edu-h-search .edu-h-btn { padding: 0 22px; height: 50px; }
.edu-h-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; }
.edu-h-popular > span { color: var(--h-muted); font-weight: 600; margin-right: 4px; }
.edu-root .edu-h-popular a {
	display: inline-flex; padding: 7px 13px; border-radius: 999px; font-weight: 700; font-size: 13.5px;
	background: var(--h-accent-soft); color: var(--edu-navy) !important; transition: .15s ease;
}
.edu-root .edu-h-popular a:hover { background: var(--edu-navy); color: #fff !important; }

.edu-h-hero__visual { position: relative; min-height: 470px; display: flex; align-items: center; justify-content: center; }
.edu-h-blob { position: absolute; border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; }
.edu-h-blob--a { width: 74%; aspect-ratio: 1; right: 4%; top: 2%; background: color-mix(in srgb, var(--h-accent) 16%, #fff); }
.edu-h-blob--b { width: 36%; aspect-ratio: 1; left: 2%; bottom: 0; background: color-mix(in srgb, var(--edu-yellow) 30%, #fff); border-radius: 58% 42% 40% 60% / 50% 60% 40% 50%; }
.edu-h-hero__photo { position: relative; z-index: 1; width: min(380px, 78%); aspect-ratio: 4 / 5; border-radius: 200px 200px 28px 28px; box-shadow: 0 30px 60px rgba(15, 27, 61, .14); }
.edu-h-hero__photo.is-placeholder { background-color: #eef2fb; }
.edu-h-facts {
	position: absolute; z-index: 2; right: -6px; top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 10px;
	display: flex; flex-direction: column; gap: 4px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
	border: 1px solid var(--h-line); border-radius: 18px; box-shadow: 0 20px 44px rgba(15, 27, 61, .14);
}
.edu-h-facts li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 7px 12px 7px 7px; font-size: 13px; color: var(--h-muted); line-height: 1.25; }
.edu-h-facts strong { display: block; color: var(--h-ink); font-size: 14.5px; font-weight: 800; }
.edu-h-facts__icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--h-accent-soft); color: var(--h-accent); flex: none; }
.edu-h-facts li:nth-child(2) .edu-h-facts__icon { background: #e7f8ef; color: #15803d; }
.edu-h-facts li:nth-child(3) .edu-h-facts__icon { background: #f3eefe; color: #7c3aed; }
.edu-h-facts li:nth-child(4) .edu-h-facts__icon { background: color-mix(in srgb, var(--edu-yellow) 22%, #fff); color: #a16207; }
.edu-h-facts .edu-i { width: 18px; height: 18px; }

/* 4 διαδρομές ------------------------------------------------------------ */
.edu-home.edu-hs-paths { padding-top: 8px; }
.edu-h-paths__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.edu-root .edu-h-path {
	--tone: #e8efff; --tone-ink: var(--h-accent);
	position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 24px 22px 80px; border-radius: 22px; overflow: hidden;
	background: linear-gradient(160deg, color-mix(in srgb, var(--tone) 55%, #fff) 0%, var(--tone) 100%);
	color: var(--h-ink) !important; transition: transform .2s ease, box-shadow .2s ease;
}
a.edu-h-path:hover { transform: translateY(-4px); box-shadow: var(--h-card-shadow-hover); }
.edu-h-path--blue  { --tone: #dfe9ff !important; --tone-ink: #1d4ed8 !important; }
.edu-h-path--rose  { --tone: #fde4ea !important; --tone-ink: #be123c !important; }
.edu-h-path--mint  { --tone: #dcf5e7 !important; --tone-ink: #15803d !important; }
.edu-h-path--peach { --tone: #feebd6 !important; --tone-ink: #c2410c !important; }
.edu-h-path__icon { color: var(--tone-ink); margin-bottom: 14px; }
.edu-h-path__icon .edu-i { width: 30px; height: 30px; }
.edu-h-path h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.edu-h-path h3, .edu-h-path p { position: relative; z-index: 1; }
.edu-h-path p { font-size: 14px; color: var(--h-muted); max-width: 64%; line-height: 1.5; }
.edu-h-path .edu-h-arrow, .edu-h-path .edu-h-soon { position: absolute; left: 22px; bottom: 22px; z-index: 2; }
a.edu-h-path:hover .edu-h-arrow { background: var(--edu-navy); color: #fff; }
.edu-h-path__photo { position: absolute; right: 0; bottom: 0; width: 46%; height: 52%; border-radius: 120px 0 0 0; }
.edu-h-path__photo.is-placeholder { border-bottom: 0; background-color: rgba(255,255,255,.5); }
.edu-h-path__photo .edu-h-media__ph em { font-size: 11px; }

/* Κατηγορίες ------------------------------------------------------------- */
.edu-h-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.edu-root .edu-h-cat {
	position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 20px 74px; border-radius: 18px;
	background: #fff; border: 1px solid var(--h-line); box-shadow: var(--h-card-shadow); color: var(--h-ink) !important;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.edu-h-cat:hover { transform: translateY(-3px); box-shadow: var(--h-card-shadow-hover); border-color: color-mix(in srgb, var(--h-accent) 30%, var(--h-line)); }
.edu-h-cat h3 { font-size: 16px; font-weight: 800; line-height: 1.3; }
.edu-h-cat p { font-size: 13.5px; color: var(--h-muted); line-height: 1.5; }
.edu-h-cat .edu-h-arrow, .edu-h-cat .edu-h-soon { position: absolute; left: 20px; bottom: 20px; }
.edu-h-cat .edu-h-arrow { box-shadow: none; border: 1px solid var(--h-line); }
a.edu-h-cat:hover .edu-h-arrow { background: var(--edu-navy); border-color: var(--edu-navy); color: #fff; }

/* Ερωτηματολόγιο --------------------------------------------------------- */
.edu-home.edu-hs-quiz { padding-top: 20px; padding-bottom: 20px; }
.edu-h-quiz {
	position: relative; display: grid; grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: 28px;
	padding: 30px 34px; border-radius: 24px; overflow: hidden;
	background: linear-gradient(110deg, #eef3ff 0%, #f6f8ff 60%, color-mix(in srgb, var(--edu-yellow) 14%, #fff) 100%);
	border: 1px solid #e1e8fb;
}
.edu-h-quiz__badge {
	display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 50%;
	background: var(--edu-navy); color: var(--edu-yellow); box-shadow: 0 12px 26px color-mix(in srgb, var(--edu-navy) 30%, transparent);
}
.edu-h-quiz__badge .edu-i { width: 30px; height: 30px; }
.edu-h-quiz__text small { display: block; color: var(--h-accent); font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.edu-h-quiz__text h2 { font-size: clamp(20px, 2.2vw, 27px); font-weight: 800; line-height: 1.25; letter-spacing: -0.015em; }
.edu-h-quiz__text h2 span { font-weight: 500; }
.edu-h-quiz__checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.edu-h-quiz__checks li { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: var(--h-muted); }
.edu-h-quiz__checks .edu-i { width: 18px; height: 18px; color: #16a34a; }
.edu-h-quiz__cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.edu-root .edu-h-quiz__alt { font-size: 13.5px; font-weight: 700; color: var(--h-accent) !important; text-decoration: underline !important; text-underline-offset: 3px; }

/* Προτεινόμενα (οι κάρτες του καταλόγου) --------------------------------- */
.edu-h-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: #f1f4fa; border: 1px solid var(--h-line); }
.edu-root .edu-h-tabs button {
	border: 0; background: transparent; color: var(--h-muted); font: 700 14px/1 inherit; font-family: inherit; text-transform: none; letter-spacing: 0;
	padding: 10px 18px; border-radius: 999px; cursor: pointer; min-height: 0; box-shadow: none; transition: .15s ease;
}
.edu-root .edu-h-tabs button:hover { color: var(--edu-navy); }
.edu-root .edu-h-tabs button[aria-selected="true"] { background: var(--edu-navy); color: #fff; box-shadow: 0 6px 14px color-mix(in srgb, var(--edu-navy) 25%, transparent); }
.edu-h-feat__all { text-align: center; margin-top: 26px !important; }
.edu-hs-featured .edu-card__title { margin-bottom: 14px !important; }

/* Εργαλεία Πανελληνίων --------------------------------------------------- */
.edu-h-tools { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.edu-root .edu-h-tool {
	position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 20px 74px; border-radius: 18px;
	background: #fff; border: 1px solid var(--h-line); box-shadow: var(--h-card-shadow); color: var(--h-ink) !important;
	transition: transform .2s ease, box-shadow .2s ease;
}
a.edu-h-tool:hover { transform: translateY(-3px); box-shadow: var(--h-card-shadow-hover); }
.edu-h-tool h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.edu-h-tool p { font-size: 13.5px; color: var(--h-muted); line-height: 1.5; }
.edu-h-tool .edu-h-arrow, .edu-h-tool .edu-h-soon { position: absolute; left: 20px; bottom: 20px; }
.edu-h-tool .edu-h-arrow { box-shadow: none; border: 1px solid var(--h-line); }
a.edu-h-tool:hover .edu-h-arrow { background: var(--edu-navy); border-color: var(--edu-navy); color: #fff; }
.edu-h-tool.is-soon { background: #fafbfd; box-shadow: none; }
.edu-h-tool.is-soon .edu-h-tile, .edu-h-cat.is-soon .edu-h-tile { filter: grayscale(.6); opacity: .75; }

/* Μπάνερ ----------------------------------------------------------------- */
.edu-home.edu-hs-banner { padding: 24px 0; }
.edu-h-banner__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 340px; }
.edu-h-banner__photo { min-height: 260px; }
.edu-h-banner__photo.is-placeholder { border-width: 0 0 0 0; }
.edu-h-banner__panel {
	position: relative; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 44px clamp(24px, 5vw, 72px) 40px;
	color: #fff; overflow: hidden;
	background:
		radial-gradient(500px 260px at 100% 0%, color-mix(in srgb, var(--h-accent) 55%, transparent), transparent 70%),
		linear-gradient(135deg, var(--edu-navy-deep) 0%, var(--edu-navy) 100%);
}
.edu-h-banner__panel > * { position: relative; }
.edu-h-banner__panel small { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.edu-home .edu-h-banner__panel h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
.edu-h-banner__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.edu-h-banner__row p { color: rgba(255,255,255,.8); max-width: 440px; font-size: 15.5px; }
.edu-h-banner__feats { list-style: none; margin: 14px 0 0; padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 14px 28px; border-top: 1px solid rgba(255,255,255,.15); }
.edu-h-banner__feats li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.88); }
.edu-h-banner__feats span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: var(--edu-yellow); }
.edu-h-banner__feats .edu-i { width: 18px; height: 18px; }

/* Πηγές ------------------------------------------------------------------ */
.edu-home.edu-hs-sources { padding: 40px 0 56px; }
.edu-h-sources__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: 48px; align-items: center; }
.edu-h-sources__text h2 { font-size: clamp(20px, 2vw, 25px); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.edu-h-sources__text p { color: var(--h-muted); font-size: 14.5px; }
.edu-h-sources__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.edu-h-sources__list li { display: flex; align-items: center; gap: 12px; margin: 0; }
.edu-h-sources__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--edu-navy) 22%, #fff); color: var(--edu-navy); flex: none; }
.edu-h-sources__icon .edu-i { width: 24px; height: 24px; }
.edu-h-sources__list strong { display: block; font-size: 14px; font-weight: 800; line-height: 1.25; }
.edu-h-sources__list small { display: block; font-size: 12px; color: var(--h-muted); line-height: 1.3; margin-top: 2px; }

/* Πραγματικές φωτογραφίες (αποκομμένες, διάφανο φόντο): «πατάνε» στο κάτω μέρος, χωρίς πλαίσιο */
/* Hero: η φωτογραφία αριστερά στη στήλη και κάτω στη βάση της ενότητας, ο μπλε κύκλος πίσω από κεφάλι/ώμους,
   ο κίτρινος και η κάρτα αριθμών δεξιά, ώστε η κάρτα να μη σκεπάζει το πρόσωπο ή τα βιβλία. */
.edu-h-hero__visual:has(.edu-h-hero__photo:not(.is-placeholder)) {
	align-self: end; margin-bottom: -64px; min-height: 0; padding-top: 28px; align-items: flex-end; justify-content: flex-start;
}
.edu-h-hero__photo:not(.is-placeholder) { display: flex; align-items: flex-end; width: min(360px, 66%); margin-left: 2%; border-radius: 0; box-shadow: none; overflow: visible; }
.edu-h-hero__photo:not(.is-placeholder) img { object-fit: contain; object-position: center bottom; filter: drop-shadow(0 24px 30px rgba(15, 27, 61, .12)); }
.edu-h-hero__visual:has(.edu-h-hero__photo:not(.is-placeholder)) .edu-h-blob--a { width: min(420px, 76%); left: 0; right: auto; top: 16%; bottom: auto; }
.edu-h-hero__visual:has(.edu-h-hero__photo:not(.is-placeholder)) .edu-h-blob--b { width: min(190px, 34%); left: auto; right: 2%; bottom: 10%; }
.edu-h-hero__visual:has(.edu-h-hero__photo:not(.is-placeholder)) .edu-h-facts { right: 0; top: 30%; transform: none; }

/* Κάρτες: τα πρόσωπα μεγαλύτερα, κάτω δεξιά· το κείμενο πιάνει το αριστερό μισό. */
.edu-root .edu-h-path:has(.edu-h-path__photo:not(.is-placeholder)) { min-height: 320px; }
.edu-h-path__photo:not(.is-placeholder) { display: flex; align-items: flex-end; justify-content: flex-end; width: 76%; height: 84%; border-radius: 0; overflow: visible; }
/* Το θέμα δίνει height:auto στις εικόνες: η φωτογραφία «πατά» στη βάση με flex, όχι με object-position. */
.edu-root .edu-h-path__photo:not(.is-placeholder) img { width: auto; height: auto; max-width: 100%; max-height: 100%; transition: transform .3s ease; transform-origin: right bottom; }
a.edu-h-path:hover .edu-h-path__photo:not(.is-placeholder) img { transform: scale(1.04); }
.edu-h-path:has(.edu-h-path__photo:not(.is-placeholder)) p { max-width: 50%; }
/* Το κτίριο πιάνει όλο το πλάτος της εικόνας του: λίγο μικρότερο, για να μην πατά στο κείμενο. */
.edu-h-path--rose .edu-h-path__photo:not(.is-placeholder) { width: 60%; height: 60%; }
.edu-h-banner__photo:not(.is-placeholder) img { position: absolute; inset: 0; object-position: center 40%; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1200px) {
	.edu-h-cats, .edu-h-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.edu-h-quiz { grid-template-columns: auto minmax(0, 1fr) auto; }
	.edu-h-quiz__checks { display: none; }
	.edu-h-sources__grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 1024px) {
	.edu-h-hero__grid { grid-template-columns: 1fr; gap: 28px; }
	.edu-h-hero__visual { min-height: 400px; }
	.edu-h-paths__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.edu-h-banner__grid { grid-template-columns: 1fr; }
	.edu-h-sources__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.edu-home { padding: 32px 0; }
	.edu-home.edu-hs-hero { padding: 32px 0 40px; }
	.edu-hs-hero h1 { font-size: 36px; }
	.edu-h-hero__lead { font-size: 16px; }
	.edu-h-search { flex-wrap: wrap; padding: 8px 8px 8px 16px; }
	.edu-h-search .edu-h-btn { width: 100%; }
	.edu-h-hero__visual { min-height: 0; flex-direction: column; gap: 16px; }
	.edu-h-blob--a { width: 86%; }
	.edu-h-hero__photo { width: 70%; }
	.edu-h-facts { position: static; transform: none; display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
	.edu-h-facts li { padding: 6px; }
	/* Στο κινητό χωρίς φωτογραφία (δεν κατεβαίνει, βλ. edu_home_media): μόνο οι αριθμοί κάτω από την αναζήτηση. */
	.edu-h-hero__visual:has(.edu-h-hero__photo:not(.is-placeholder)) { margin-bottom: 0; padding-top: 0; }
	.edu-h-hero__visual:has(.edu-h-hero__photo:not(.is-placeholder)) :is(.edu-h-hero__photo, .edu-h-blob) { display: none; }
	.edu-root .edu-h-path:has(.edu-h-path__photo:not(.is-placeholder)) { min-height: 240px; }
	.edu-h-paths__grid, .edu-h-cats, .edu-h-tools { grid-template-columns: 1fr; gap: 14px; }
	.edu-root .edu-h-path { min-height: 220px; padding-bottom: 72px; }
	.edu-h-path p { max-width: 58%; }
	.edu-h-path__photo { width: 40%; height: 62%; }
	.edu-root .edu-h-cat, .edu-root .edu-h-tool { flex-direction: row; align-items: flex-start; padding: 18px 64px 18px 18px; gap: 14px; }
	.edu-h-cat > h3 { margin-top: 2px; }
	.edu-root .edu-h-cat { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 4px; }
	.edu-h-cat .edu-h-tile { grid-row: span 2; }
	.edu-h-cat .edu-h-arrow, .edu-h-tool .edu-h-arrow { left: auto; right: 16px; top: 50%; bottom: auto; transform: translateY(-50%); }
	.edu-h-cat .edu-h-soon, .edu-h-tool .edu-h-soon { left: auto; right: 12px; top: 14px; bottom: auto; }
	.edu-h-quiz { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 26px 20px; gap: 16px; }
	.edu-h-quiz__cta { width: 100%; }
	.edu-h-quiz__cta .edu-h-btn { width: 100%; }
	.edu-h-tabs { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 2px; }
	.edu-root .edu-h-tabs button { flex: 1 1 auto; padding: 10px 8px; font-size: 13px; }
	.edu-h-banner__panel { padding: 32px 20px; }
	.edu-h-sources__list { grid-template-columns: 1fr 1fr; gap: 14px; }
}
