/* ==========================================================================
   anastasopoulosortho.gr – main stylesheet (mobile-first)
   Breakpoints: 768 / 1024 / 1280 (desktop nav) / 1440 / 1600
   ========================================================================== */

/* Fonts ------------------------------------------------------------------ */
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/manrope-greek.woff2") format("woff2");
	unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/manrope-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Geom";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/geom-digits.woff2") format("woff2");
	unicode-range: U+0030-0039;
}

/* Tokens ----------------------------------------------------------------- */
:root {
	--navy: #094776;
	--accent: #2aaae3;
	--white: #fff;
	--mist: #e1edf3;
	--glass: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, #a2c5da 100%);
	--footer-bg: linear-gradient(180deg, #e1edf3 0%, #094776 100%);
	--hero-bg: #094776;

	--radius-xl: 20px;
	--radius-pill: 30px;
	--gap: 24px;
	--pad: 20px;
	--container: 1720px;

	--font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--w-regular: 400;
	--w-medium: 500;
	--w-bold: 700;

	/* Type scale – mobile values, overridden at 1024+ */
	--fs-main: 32px;   --lh-main: 40px;
	--fs-h1: 28px;     --lh-h1: 36px;
	--fs-h2: 24px;     --lh-h2: 28px;
	--fs-h3: 20px;     --lh-h3: 28px;
	--fs-body: 16px;   --lh-body: 22px;
	--fs-nav: 20px;    --lh-nav: 24px;

	--shadow-panel: 0 12px 32px rgba(9, 71, 118, 0.14);
	--header-offset: var(--wp-admin--admin-bar--height, 0px);
}
@media (min-width: 768px) {
	:root { --pad: 32px; }
}
@media (min-width: 1024px) {
	:root {
		--pad: 40px;
		--fs-main: 60px;  --lh-main: normal;
		--fs-h1: 45px;    --lh-h1: 45px;
		--fs-h2: 30px;    --lh-h2: 40px;
		--fs-h3: 24px;    --lh-h3: 32px;
		--fs-body: 18px;  --lh-body: 26px;
	}
}
@media (min-width: 1280px) { :root { --pad: 60px; } }
@media (min-width: 1600px) { :root { --pad: 100px; } }

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Smooth scrolling only after load, so it never fights the initial #anchor jump. */
html.is-loaded { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	font-weight: var(--w-regular);
	color: var(--navy);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4 { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, .h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: var(--w-bold); }
h2, .h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--w-medium); }
h3, .h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--w-medium); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	top: 8px; left: 8px; z-index: 1000;
	padding: 12px 20px;
	background: var(--white); color: var(--navy);
	border-radius: var(--radius-pill);
}

.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--pad));
	margin-inline: auto;
	padding-inline: var(--pad);
}

.site-main { display: block; }

/* Chevron (decorative) ---------------------------------------------------- */
.chev {
	display: inline-block;
	flex: none;
	width: 10px;
	height: 8px;
	background: url("../img/chevron-navy.svg") center / contain no-repeat;
	transform: rotate(-90deg);
	transition: transform 0.2s ease;
}
.chev--down { transform: none; }
.chev--light { background-image: url("../img/chevron-white.svg"); }

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 12px 20px;
	border: 1px solid transparent;
	border-radius: var(--radius-pill);
	font-size: 18px;
	line-height: 24px;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn .chev { margin-left: 2px; }
@media (min-width: 1024px) { .btn { font-size: 20px; } }

.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover,
.btn--outline:focus-visible { background: var(--navy); color: var(--white); }
.btn--outline:hover .chev,
.btn--outline:focus-visible .chev { background-image: url("../img/chevron-white.svg"); }

.btn--icon {
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border-color: var(--navy);
	border-radius: 50%;
	flex: none;
}
.btn--icon .chev { margin: 0; }
.chev--lg { width: 12px; height: 10px; background-image: url("../img/chevron-lg.svg"); }
@media (min-width: 1024px) {
	.btn--icon { width: 40px; height: 40px; }
	.chev--lg { width: 14.4px; height: 12px; }
}

.btn--outline-light { border-color: var(--white); color: var(--white); }
.btn--outline-light:hover,
.btn--outline-light:focus-visible { background: var(--white); color: var(--navy); }
.btn--outline-light:hover .chev,
.btn--outline-light:focus-visible .chev { background-image: url("../img/chevron-navy.svg"); }

.btn--glass {
	background: var(--glass);
	border-color: var(--navy);
	color: var(--navy);
	font-weight: var(--w-bold);
}
.btn--glass:hover,
.btn--glass:focus-visible { color: var(--navy); box-shadow: 0 6px 18px rgba(9, 71, 118, 0.25); }

/* Top bar ---------------------------------------------------------------- */
.topbar { background: var(--navy); color: var(--white); }
.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	min-height: 56px;
	padding-block: 12px;
}
.topbar__contact { display: flex; align-items: center; gap: 12px; }
.topbar__contact a { display: flex; align-items: center; gap: 10px; color: var(--white); }
.topbar__contact a:hover .topbar__text { color: var(--accent); }
.topbar__icon, .social img { width: 32px; height: 32px; }
.topbar__text { display: none; font-size: 18px; line-height: 26px; white-space: nowrap; }
.social { display: flex; align-items: center; gap: 12px; }
.social a { display: block; border-radius: 50%; transition: opacity 0.2s ease, transform 0.2s ease; }
.social a:hover { opacity: 0.85; transform: translateY(-1px); }

@media (min-width: 768px) {
	.topbar__inner { justify-content: space-between; min-height: 64px; }
	.topbar__contact { gap: var(--gap); }
	.topbar__icon, .social img { width: 40px; height: 40px; }
	.topbar__text { display: inline; }
}
@media (min-width: 768px) and (max-width: 899px) {
	.topbar__text { font-size: 16px; }
}

/* Main bar (sticky) ------------------------------------------------------ */
.mainbar-sentinel { height: 0; }
.mainbar {
	position: sticky;
	top: var(--header-offset);
	z-index: 100;
	background: var(--white);
	transition: box-shadow 0.25s ease;
}
.mainbar.is-stuck { box-shadow: 0 4px 20px rgba(9, 71, 118, 0.12); }
@media (max-width: 600px) { .admin-bar .mainbar { top: 0; } }

.mainbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--gap);
	padding-block: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 7.5px; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.brand__mark { width: 55px; height: 53.6px; flex: none; }
.brand__text { display: flex; flex-direction: column; gap: 1px; white-space: nowrap; }
.brand__name { font-weight: var(--w-bold); font-size: 15px; line-height: 17.5px; }
.brand__role { font-weight: var(--w-regular); font-size: 11.5px; line-height: 20px; }

@media (min-width: 768px) {
	.brand { gap: 10px; }
	.brand__mark { width: 70px; height: 68px; }
	.brand__name { font-size: 20px; line-height: 24px; }
	.brand__role { font-size: 15px; line-height: 26px; }
}
@media (min-width: 1280px) {
	.mainbar__inner { padding-block: 12px; }
	.brand { gap: 12px; }
	.brand__mark { width: 88px; height: 85.27px; }
	.brand__text { gap: 2px; }
	.brand__name { font-size: 24px; line-height: 28px; }
	.brand__role { font-size: 18.4px; line-height: 32px; }
}

/* Burger */
.burger {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 35px;
	height: 30px;
	flex: none;
}
.burger__line { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

/* Primary nav – off-canvas (< 1280) */
.primary-nav {
	position: fixed;
	inset: 0 0 0 auto;
	z-index: 200;
	width: min(380px, 88vw);
	padding: 20px 24px 40px;
	overflow-y: auto;
	background: var(--white);
	box-shadow: -12px 0 40px rgba(9, 71, 118, 0.18);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 0.3s ease, visibility 0s linear 0.3s;
}
.primary-nav.is-open { transform: none; visibility: visible; transition: transform 0.3s ease; }
.admin-bar .primary-nav { top: var(--wp-admin--admin-bar--height, 0px); }
@media (max-width: 600px) { .admin-bar .primary-nav { top: 0; } }

.primary-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}
.primary-nav__title { font-size: 20px; font-weight: var(--w-bold); }
.primary-nav__close { width: 40px; height: 40px; font-size: 34px; line-height: 1; color: var(--navy); }

.nav-backdrop {
	position: fixed;
	inset: 0;
	z-index: 150;
	background: rgba(9, 71, 118, 0.45);
}
body.nav-open { overflow: hidden; }

.primary-nav .menu > li { border-bottom: 1px solid var(--mist); position: relative; }
.primary-nav .menu > li > a,
.primary-nav .menu-parent {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 0;
	font-size: 18px;
	line-height: 24px;
	color: var(--navy);
	text-align: left;
}
.primary-nav .menu-parent .chev { width: 12px; height: 10px; }
.primary-nav .submenu-toggle--icon {
	position: absolute;
	top: 6px;
	right: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.primary-nav [aria-expanded="true"] .chev { transform: rotate(180deg); }
.primary-nav .sub-menu { display: none; padding: 0 0 12px 16px; }
.primary-nav .is-open > .sub-menu { display: block; }
.primary-nav .sub-menu a { display: block; padding: 8px 0; font-size: 16px; line-height: 22px; }
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > .menu-parent { color: var(--accent); }

/* Primary nav – desktop dropdowns (>= 1280) */
@media (min-width: 1280px) {
	.burger, .primary-nav__head, .nav-backdrop { display: none !important; }

	.primary-nav {
		position: static;
		width: auto;
		padding: 0;
		overflow: visible;
		background: none;
		box-shadow: none;
		transform: none;
		visibility: visible;
		transition: none;
	}
	.primary-nav .menu { display: flex; align-items: center; gap: var(--gap); }
	.primary-nav .menu > li { border: 0; display: flex; align-items: center; }
	.primary-nav .menu > li.menu-item-has-children > a { gap: 0; }
	.primary-nav .menu > li > a,
	.primary-nav .menu-parent {
		width: auto;
		gap: 2px;
		padding: 8px 0;
		font-size: var(--fs-nav);
		line-height: var(--lh-nav);
		white-space: nowrap;
	}
	.primary-nav .menu-parent .chev { width: 10px; height: 8px; margin-left: 1px; }
	.primary-nav .menu > li > a:hover,
	.primary-nav .menu-parent:hover { color: var(--accent); }
	.primary-nav .submenu-toggle--icon { position: static; width: 16px; height: 24px; }

	.primary-nav .sub-menu {
		display: block;
		position: absolute;
		top: 100%;
		left: -20px;
		z-index: 10;
		min-width: 260px;
		padding: 10px 0;
		background: var(--white);
		border-radius: 12px;
		box-shadow: var(--shadow-panel);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
	}
	.primary-nav .menu > li:hover > .sub-menu,
	.primary-nav .menu > li:focus-within > .sub-menu,
	.primary-nav .menu > li.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity 0.18s ease, transform 0.18s ease;
	}
	.primary-nav .menu > li:hover .chev { transform: rotate(180deg); }
	.primary-nav .sub-menu a {
		padding: 10px 20px;
		font-size: 18px;
		line-height: 26px;
		white-space: nowrap;
	}
	.primary-nav .sub-menu a:hover,
	.primary-nav .sub-menu .current-menu-item > a { background: var(--mist); color: var(--navy); }
}
/* 1280–1439: the full-size menu (860px) doesn't fit next to the logo. */
@media (min-width: 1280px) and (max-width: 1439px) {
	.primary-nav .menu { gap: 16px; }
	.primary-nav .menu > li > a,
	.primary-nav .menu-parent { font-size: 18px; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--hero-bg);
	color: var(--white);
}
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero__inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding-block: 20px 48px;
}
.hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__title {
	font-size: var(--fs-main);
	line-height: var(--lh-main);
	font-weight: var(--w-medium);
	color: var(--white);
	text-wrap: balance;
}
.hero__title .accent { color: var(--accent); }
.hero__title .br-lg { display: none; }
.hero__subtitle { font-size: 24px; line-height: 28px; font-weight: var(--w-medium); }

.hero__doctor { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__photo {
	width: 93px;
	aspect-ratio: 1;
	flex: none;
	border-radius: 50%;
	overflow: hidden;
	background: var(--white);
}
.hero__photo-img { width: 100%; height: 100%; object-fit: cover; }
.hero__doctor-text { display: flex; flex-direction: column; gap: 2px; }
.hero__name { font-size: 24px; line-height: 28px; font-weight: var(--w-medium); }
.hero__bio { font-size: 16px; line-height: 22px; max-width: 652px; }

.hero__joints {
	--circle: 117.6px;
	display: grid;
	grid-template-columns: repeat(2, var(--circle));
	justify-content: center;
	gap: 32px;
}
.hero__joint { width: var(--circle); height: var(--circle); border-radius: 50%; }
.hero__joint:first-child { grid-column: 1 / -1; justify-self: center; }

@media (min-width: 768px) {
	.hero__inner { padding-block: 48px 72px; }
	.hero__doctor { flex-direction: row; align-items: center; }
	.hero__photo { width: 160px; }
	.hero__joints { --circle: 160px; }
}

@media (min-width: 1024px) {
	.hero__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 40px;
		padding-block: 60px 120px;
	}
	.hero__content { gap: 26px; min-width: 0; }
	.hero__title { font-size: clamp(34px, 3.125vw, 60px); }
	.hero__subtitle { font-size: clamp(22px, 1.5625vw, 30px); line-height: 1.3333; }
	.hero__photo { width: clamp(160px, 11.5vw, 220.7px); }
	.hero__name { font-size: var(--fs-h2); line-height: var(--lh-h2); }
	.hero__bio { font-size: var(--fs-body); line-height: var(--lh-body); }
	.hero__joints { --circle: clamp(140px, 10.42vw, 200px); flex: none; padding-inline: calc(var(--circle) * 0.065); }
}
@media (min-width: 1280px) {
	.hero__title { text-wrap: pretty; }
	.hero__title .br-lg { display: inline; }
}
@media (min-width: 1440px) {
	.hero__inner { min-height: 820px; }
}

/* Sections (round 2) ------------------------------------------------------ */
.site-main--front { background: var(--mist); }
.section { padding-block: 20px; }
.section--white { background: var(--white); }
.section__stack { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.section--conditions .section__stack { gap: 50px; }

@media (min-width: 768px) {
	.section { padding-block: 40px 60px; }
	.section--conditions .section__stack { gap: 40px; }
}
@media (min-width: 1024px) {
	.section__stack { gap: 40px; }
	.section--spec,
	.section--conditions { padding-block: 50px 100px; }
	.section--cta,
	.section--fractures { padding-block: 100px; }
}

/* Section heading */
.section-heading { display: flex; flex-direction: column; gap: 24px; width: 100%; color: var(--navy); }
.section-heading--center { align-items: center; text-align: center; }
.section-heading--light { color: var(--white); }
.section-heading__title { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: var(--w-bold); }
.section-heading__intro--body { font-size: var(--fs-body); line-height: var(--lh-body); }
.section-heading__intro--lead,
.section-heading__subtitle { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--w-medium); }
.section-heading__subtitle { max-width: 832px; }
@media (min-width: 1024px) {
	.section-heading { gap: 40px; }
}

/* Accordion (Figma «Accordion», closed/open) */
.accordion { display: flex; flex-direction: column; gap: 26px; width: 100%; }
.accordion__item {
	padding: 12px;
	background: var(--navy);
	border-radius: 10px;
	box-shadow: inset 0 -1px 0 var(--white); /* Figma: 1px white bottom stroke, inside */
	color: var(--white);
}
.accordion__heading { margin: 0; font: inherit; }
.accordion__trigger {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	color: var(--white);
	text-align: left;
}
.accordion__num {
	flex: none;
	min-width: 39px;
	font-size: 32px;
	line-height: 40px;
	font-weight: var(--w-medium);
	color: transparent;
	-webkit-text-stroke: 1px var(--white);
	font-variant-numeric: tabular-nums;
}
.accordion__title { flex: 1; min-width: 0; font-size: 24px; line-height: 28px; font-weight: var(--w-medium); }
.accordion__icon {
	flex: none;
	width: 32px;
	height: 32px;
	background: url("../img/icon-accordion.svg") center / contain no-repeat;
	transition: transform 0.3s ease;
}
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(180deg); }
.accordion__trigger:hover .accordion__title { color: var(--accent); }

.accordion__panel {
	display: grid;
	grid-template-rows: 1fr; /* no-JS: open */
	transition: grid-template-rows 0.35s ease;
}
.js .accordion__panel { grid-template-rows: 0fr; }
.js .accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__inner { min-height: 0; overflow: hidden; }
.accordion__inner > :first-child { margin-top: 12px; }
.accordion__box {
	padding: 24px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 10px 10px 0 0;
	font-size: 16px;
	line-height: 22px;
}
.accordion__list { display: flex; flex-direction: column; gap: 12px; }
.accordion__entry { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.accordion__entry-link { color: var(--white); }
.accordion__entry-link:hover { color: var(--accent); }
.accordion__thumb { width: 60px; height: 60px; flex: none; border-radius: 50%; }

@media (min-width: 1024px) {
	.accordion__trigger { align-items: center; }
	.accordion__num { min-width: 76px; font-family: "Geom", var(--font); font-size: 60px; line-height: 60px; font-weight: 400; }
	.accordion__title { font-size: 24px; line-height: 32px; font-weight: var(--w-regular); }
	.accordion__box { font-size: 18px; line-height: 26px; }
}

/* Symptom finder table */
.symptom-finder { margin-bottom: 40px; }
.symptom-finder__table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-xl); overflow: hidden; }
.symptom-finder__table th, .symptom-finder__table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid rgba(0,0,0,.08); font-size: var(--fs-body); }
.symptom-finder__table th { font-weight: 700; color: var(--navy); background: rgba(0,0,0,.03); }
.symptom-finder__table tr:last-child td { border-bottom: none; }
.symptom-finder__table td a { text-decoration: underline; text-underline-offset: 3px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; width: 100%; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 24px;
	background: var(--white);
	border-radius: var(--radius-xl);
	color: var(--navy);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card__media { width: 120px; height: 120px; }
.card__img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.card__title { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--w-medium); }
.card__link { color: inherit; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.card__text { flex: 1; font-size: var(--fs-body); line-height: var(--lh-body); }
.card--link:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(9, 71, 118, 0.12); }
.card--link:hover .card__link { color: var(--navy); }
.card--link:hover .card__arrow { background: var(--mist); }
@media (min-width: 1024px) { .card__text { min-height: 52px; } }

/* CTA panel */
.cta-panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	max-width: 1620px;
	margin-inline: auto;
	padding: 24px;
	background: #a2c5da;
	border-radius: var(--radius-pill);
	text-align: center;
}
.cta-panel > * { max-width: 1220px; }
@media (max-width: 767px) { .cta-panel { margin-inline: 15px; } }
.cta-panel__logo { width: 88px; height: 86px; }
.cta-panel__title { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: var(--w-bold); color: var(--white); }
.cta-panel__text { font-size: 20px; line-height: 26px; font-weight: var(--w-bold); color: var(--white); }
.cta-panel__text .accent { color: var(--navy); }
@media (min-width: 1024px) {
	.cta-panel { gap: 40px; }
	.cta-panel__text { font-size: 24px; line-height: 32px; }
}

/* Icon button, light (therapy cards) */
.btn--icon-light { border-color: var(--white); }
.chev--lg-light { background-image: url("../img/chevron-lg-light.svg"); }
.chev--xl { width: 20px; height: 17px; background-image: url("../img/chevron-xl.svg"); }
@media (min-width: 1024px) { .chev--xl { width: 28.8px; height: 24px; } }

/* Therapies slider */
.therapy-slider { width: 100%; display: flex; flex-direction: column; gap: 24px; }
.therapy-slider .swiper { width: 100%; padding-block: 8px 24px; margin-block: -8px -24px; }
.therapy-slider .swiper-wrapper { margin: 0; padding: 0; list-style: none; }
.therapy-slider .swiper-slide { height: auto; }
/* No-JS / pre-init fallback: horizontal scroll */
.therapy-slider .swiper:not(.swiper-initialized) .swiper-wrapper { display: flex; gap: 24px; overflow-x: auto; }
.therapy-slider .swiper:not(.swiper-initialized) .swiper-slide { flex: 0 0 min(400px, 83%); }

.therapy-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	height: 100%;
	padding: 24px;
	background: var(--navy);
	border-radius: var(--radius-xl);
	color: var(--white);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.therapy-card__top { display: flex; align-items: flex-start; gap: 12px; }
.therapy-card__check { width: 54px; height: 49.4px; }
.therapy-card__num { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: var(--w-bold); }
.therapy-card__line { display: flex; align-items: flex-end; gap: 34px; }
.therapy-card__bars { width: 20px; height: 68px; flex: none; }
.therapy-card__title { font-size: 24px; line-height: 32px; font-weight: var(--w-medium); color: var(--white); }
.therapy-card__link { color: inherit; }
.therapy-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.therapy-card__link:focus-visible { outline: none; }
.therapy-card:has(.therapy-card__link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.therapy-card--link:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(9, 71, 118, 0.25); }
.therapy-card--link:hover .therapy-card__link { color: var(--white); }
.therapy-card--link:hover .therapy-card__arrow { background: rgba(255, 255, 255, 0.15); }

.slider-arrows { display: flex; gap: 12px; }
.slider-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--navy);
	border-radius: 50%;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}
.slider-arrow .chev { margin: 0; }
.slider-arrow--prev .chev { transform: rotate(90deg); }
.slider-arrow:hover { background: var(--white); }
.section--white .slider-arrow:hover { background: var(--mist); }
.slider-arrow:disabled,
.slider-arrow.swiper-button-disabled { opacity: 0.35; cursor: default; }
@media (min-width: 1024px) {
	.therapy-slider { gap: 40px; }
	.slider-arrow { width: 60px; height: 60px; }
}

/* Contact (#contact) */
.section--contact { scroll-margin-top: calc(var(--header-offset) + 120px); }
.contact {
	display: grid;
	grid-template-areas: "text" "panel" "media";
	gap: 24px;
}
.contact__text { grid-area: text; }
.contact__media { grid-area: media; display: flex; justify-content: center; }
.contact__img { width: 255px; height: auto; }
.contact__panel {
	grid-area: panel;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 24px;
	background: var(--white);
	border-radius: var(--radius-xl);
}
.contact__form-title { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: var(--w-bold); color: var(--navy); }
.contact-form__fallback a { text-decoration: underline; }
.contact-form__notice { margin-top: 14px; font-size: var(--fs-small, 14px); color: rgba(9, 71, 118, 0.7); }
.contact-form__notice a { color: inherit; text-decoration: underline; }
@media (min-width: 768px) {
	.contact__img { width: 408px; }
}
@media (min-width: 1024px) {
	.section--contact { padding-block: 100px; }
	.contact {
		grid-template-columns: minmax(0, 880px) minmax(0, 644px);
		grid-template-areas: "text panel" "media panel";
		grid-template-rows: auto 1fr;
		justify-content: space-between;
		column-gap: 40px;
		row-gap: 40px;
	}
	.contact__media { align-items: flex-start; }
	.contact__panel { gap: 40px; align-self: start; }
}

/* Elementor Pro form – all styling from the theme (Figma «Κλείστε Ραντεβού») */
.contact-form .elementor-form .elementor-form-fields-wrapper {
	display: flex !important;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin: 0 !important;
}
.contact-form .elementor-screen-only {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.contact-form .elementor-form .elementor-field-group {
	flex: 0 0 100% !important;
	max-width: 100% !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
.contact-form .elementor-form .elementor-field-textual {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: 54px !important;
	min-height: 0 !important;
	padding: 15px 16px !important;
	border: 1px solid #737373 !important;
	border-radius: 10px !important;
	background: var(--white) !important;
	color: var(--navy) !important;
	font-family: var(--font) !important;
	font-size: 16px !important;
	line-height: 22px !important;
	font-weight: var(--w-regular) !important;
	box-shadow: none !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form .elementor-form textarea.elementor-field-textual { height: 98px !important; resize: vertical; }
.contact-form .elementor-form .elementor-field-textual::placeholder { color: rgba(9, 71, 118, 0.5); opacity: 1; }
.contact-form .elementor-form .elementor-field-textual:focus {
	outline: none;
	border-color: var(--navy) !important;
	box-shadow: 2px 2px 8.2px rgba(43, 90, 162, 0.8) !important;
}
.contact-form .elementor-form .elementor-field-type-acceptance { margin-top: 14px !important; }
.contact-form .elementor-form .elementor-field-subgroup .elementor-field-option { display: flex; align-items: center; gap: 12px; margin: 0; }
.contact-form .elementor-form .elementor-field-subgroup input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	width: 16px;
	height: 16px;
	margin: 0;
	border: 1px solid #737373;
	border-radius: 2px;
	background: var(--white) center / 10px no-repeat;
	cursor: pointer;
}
.contact-form .elementor-form .elementor-field-subgroup input[type="checkbox"]:checked {
	background-color: var(--navy);
	border-color: var(--navy);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E");
}
.contact-form .elementor-form .elementor-field-subgroup input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact-form .elementor-form .elementor-field-subgroup label {
	font-family: var(--font) !important;
	font-size: 14px !important;
	line-height: 22px !important;
	color: var(--navy) !important;
	cursor: pointer;
}
.contact-form .elementor-form .elementor-field-subgroup label a { color: var(--navy); text-decoration: underline; }
.contact-form .elementor-form .elementor-field-type-submit { margin-top: 14px !important; }
.contact-form .elementor-form .elementor-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 100% !important;
	min-height: 0 !important;
	padding: 12px 20px !important;
	border: 1px solid var(--navy) !important;
	border-radius: var(--radius-pill) !important;
	background: transparent !important;
	color: var(--navy) !important;
	font-family: var(--font) !important;
	font-size: 18px !important;
	line-height: 24px !important;
	font-weight: var(--w-regular) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.contact-form .elementor-form .elementor-button::after {
	content: "";
	width: 10px;
	height: 8px;
	margin-left: 2px;
	background: url("../img/chevron-navy.svg") center / contain no-repeat;
	transform: rotate(-90deg);
}
.contact-form .elementor-form .elementor-button:hover,
.contact-form .elementor-form .elementor-button:focus-visible { background: var(--navy) !important; color: var(--white) !important; }
.contact-form .elementor-form .elementor-button:hover::after,
.contact-form .elementor-form .elementor-button:focus-visible::after { background-image: url("../img/chevron-white.svg"); }
.contact-form .elementor-form .elementor-button .elementor-button-content-wrapper { display: contents; }
.contact-form .elementor-message { margin-top: 12px; font-family: var(--font); font-size: 16px; line-height: 22px; color: var(--navy); }
.contact-form .elementor-message.elementor-message-danger,
.contact-form .elementor-form .elementor-error .elementor-field-textual { color: #b42318 !important; border-color: #b42318 !important; }
.contact-form .elementor-form .elementor-error .elementor-field-textual::placeholder { color: rgba(180, 35, 24, 0.6); }
.contact-form .elementor-form .elementor-message::before { display: none; }

@media (min-width: 768px) {
	.contact-form .elementor-form .elementor-form-fields-wrapper { gap: 30px 18px; }
	.contact-form .elementor-form .elementor-field-group.elementor-col-50 {
		flex: 1 1 calc(50% - 9px) !important;
		max-width: calc(50% - 9px) !important;
	}
	.contact-form .elementor-form .elementor-field-textual { height: 58px !important; padding: 16px !important; font-size: 18px !important; line-height: 26px !important; }
	.contact-form .elementor-form .elementor-field-type-acceptance,
	.contact-form .elementor-form .elementor-field-type-submit { margin-top: 10px !important; }
	.contact-form .elementor-form .elementor-field-subgroup label { font-size: 16px !important; line-height: 26px !important; }
	.contact-form .elementor-form .elementor-field-subgroup .elementor-field-option { gap: 16px; }
	.contact-form .elementor-form .elementor-button { font-size: 20px !important; }
}
@media (min-width: 1024px) {
	.contact-form { width: 596px; max-width: 100%; }
}

/* Articles */
.articles__head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 100%; }
.post-grid {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(85%, 400px);
	gap: 24px;
	width: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
}
.post-card { display: flex; flex-direction: column; gap: 24px; scroll-snap-align: start; color: var(--navy); }
.post-card__media { display: block; overflow: hidden; border-radius: var(--radius-xl); aspect-ratio: 340 / 242; background: var(--white); }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card__img { transform: scale(1.03); }
.post-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.post-card__meta { font-size: var(--fs-body); line-height: var(--lh-body); }
.post-card__title { font-size: 20px; line-height: 26px; font-weight: var(--w-medium); }
.post-card__title a { color: var(--navy); }
.post-card__title a:hover { color: var(--accent); }
@media (min-width: 1024px) {
	.articles__head { flex-direction: row; justify-content: space-between; gap: 0; }
	.articles__head .section-heading { flex: 1; }
	.articles__all { flex: none; }
	.post-grid { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; overflow: visible; padding: 0; }
	.post-card { gap: 32px; }
	.post-card__title { font-size: 24px; line-height: 32px; }
}

/* FAQ accordion variant (light) */
.accordion--faq { gap: 24px; }
.accordion--faq .accordion__item {
	padding: 24px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-pill);
	box-shadow: inset 0 -1px 0 var(--white), 0 2px 10px rgba(9, 71, 118, 0.08);
	color: var(--navy);
	transition: background-color 0.3s ease;
}
.accordion--faq .accordion__item.is-open { background: rgba(255, 255, 255, 0.8); }
.accordion--faq .accordion__trigger { color: var(--navy); align-items: center; }
.accordion--faq .accordion__title { font-size: 20px; line-height: 26px; font-weight: var(--w-regular); }
.accordion--faq .accordion__trigger:hover .accordion__title { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.accordion--faq .accordion__icon { background-image: url("../img/icon-faq.svg"); }
.accordion--faq .is-open .accordion__icon { background-image: url("../img/icon-faq-open.svg"); }
.accordion--faq .accordion__trigger[aria-expanded="true"] .accordion__icon { transform: none; }
.accordion--faq .accordion__box { padding: 0; background: none; border-radius: 0; color: var(--navy); }
@media (min-width: 1024px) {
	.accordion--faq .accordion__title { font-size: 24px; line-height: 32px; }
}
@media (min-width: 1024px) {
	.section--therapies,
	.section--articles,
	.section--faq { padding-block: 100px; }
}

/* ==========================================================================
   Inner pages (round 4)
   ========================================================================== */
.site-main--inner { background: var(--mist); }
.inner {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-block: 20px 60px;
}
.inner > * { min-width: 0; }
/* Anchor targets clear the sticky main bar (+ admin bar). */
.inner [id], [data-tabs], .section--contact { scroll-margin-top: calc(var(--header-offset) + 120px); }
@media (min-width: 1024px) {
	.inner { gap: 40px; padding-block: 25px 100px; }
	.site-main--single .inner { gap: 50px; padding-bottom: 50px; }
}

/* Breadcrumbs */
.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	line-height: 22px;
	color: var(--navy);
}
.breadcrumbs li {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.breadcrumbs li::marker { content: none; }
/* Separator: inline flex item before every item except the first (never positioned). */
.breadcrumbs li + li::before { content: "/"; position: static; color: var(--navy); }
.breadcrumbs a { color: var(--navy); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--accent); }
@media (min-width: 1024px) {
	.breadcrumbs { margin-bottom: 10px; }
	.breadcrumbs ol { font-size: 18px; line-height: 26px; }
}

/* Page hero */
.page-hero { display: grid; grid-template-areas: "text"; gap: 24px; color: var(--navy); }
.page-hero--media { grid-template-areas: "title" "media" "intro"; }
.page-hero__text { display: contents; }
.page-hero__title { grid-area: title; font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: var(--w-bold); }
.page-hero:not(.page-hero--media) .page-hero__title { grid-area: auto; }
.page-hero__intro { grid-area: intro; font-size: var(--fs-body); line-height: var(--lh-body); }
.page-hero:not(.page-hero--media) .page-hero__intro { grid-area: auto; }
.page-hero__intro p + p { margin-top: 1em; }
.page-hero__media { grid-area: media; }
.page-hero__img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
@media (min-width: 1024px) {
	.page-hero { gap: 40px; }
	.page-hero--media {
		grid-template-columns: minmax(0, 1370px) 200px;
		grid-template-areas: "title media" "intro media";
		grid-template-rows: auto 1fr;
		justify-content: space-between;
		column-gap: 40px;
		padding-right: 24px;
	}
	.page-hero__img { width: 200px; height: 200px; }
}

/* Block titles & rich text */
.block-title { color: var(--navy); font-weight: var(--w-medium); }
.block-title--h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
.block-title--h3 { font-size: 20px; line-height: 26px; }
@media (min-width: 1024px) { .block-title--h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); } }

.entry-content { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--navy); }
.entry-content > * + * { margin-top: var(--lh-body); }
.entry-content ul, .entry-content ol { padding-left: 27px; list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: 0; }
.entry-content strong, .entry-content b { font-weight: 600; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--w-medium); }
.entry-content h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--w-medium); }
.entry-content img { border-radius: var(--radius-xl); }
.entry-content .lead, .entry-content .is-style-lead { font-size: 20px; line-height: 26px; font-weight: var(--w-medium); }
@media (min-width: 1024px) {
	.entry-content .lead, .entry-content .is-style-lead { font-size: 24px; line-height: 32px; }
}

/* Panel (white box) */
.panel {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	background: var(--white);
	border-radius: var(--radius-xl);
	color: var(--navy);
}
.panel__body, .panel__head { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.panel__lead { font-size: 20px; line-height: 26px; font-weight: var(--w-medium); }
.panel__img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
@media (min-width: 1024px) {
	.panel { gap: 24px; border-radius: var(--radius-pill); }
	.panel__body, .panel__head { gap: 24px; }
	.panel__lead { font-size: 24px; line-height: 32px; }
	.panel--media { display: grid; grid-template-columns: minmax(0, 1370px) auto; justify-content: space-between; align-items: start; column-gap: 40px; }
	.panel--media .panel__media { grid-column: 2; grid-row: 1; }
	.panel--media .panel__body { grid-column: 1; grid-row: 1; }
	.panel--timeline.panel--media { grid-template-columns: minmax(0, 1131px) auto; }
	.panel__media--md .panel__img { width: 200px; height: 200px; }
	.panel__media--lg .panel__img { width: 330px; height: 330px; }
	.panel--items, .panel--links { gap: 40px; }
	.panel--items .panel__head { max-width: 1370px; }
}

/* Light-blue boxes inside panels */
.item-boxes, .link-boxes { display: flex; flex-direction: column; gap: 24px; }
.item-box, .link-box {
	display: flex;
	gap: 12px;
	padding: 24px;
	background: #e9f1f5;
	border-radius: var(--radius-xl);
}
.item-box { flex-direction: column; align-items: flex-start; }
.item-box__icon, .link-box__icon { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: none; }
.item-box__text { display: flex; flex-direction: column; min-width: 0; }
.item-box__title, .link-box__title { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: 600; color: var(--navy); }
.item-box .entry-content > * + * { margin-top: var(--lh-body); }
@media (min-width: 1024px) {
	.item-box, .link-box { border-radius: var(--radius-pill); }
	.item-boxes--row .item-box { flex-direction: row; align-items: center; }
}
.link-box { position: relative; align-items: center; }
.link-box__title { flex: 1; }
.link-box--link .link-box__title::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.link-box--link:hover .link-box__title { color: var(--accent); }
.link-box--link:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.link-box a:focus-visible { outline: none; }

/* Timeline table */
.timeline { border-collapse: collapse; color: var(--navy); font-size: var(--fs-body); line-height: var(--lh-body); }
.timeline th { padding: 0 24px 12px 0; text-align: left; vertical-align: bottom; font-size: 20px; line-height: 26px; font-weight: var(--w-medium); }
.timeline td { padding: 0 24px 0 0; vertical-align: top; }
.timeline td:last-child::before { content: "•"; display: inline-block; width: 27px; padding-left: 9px; }
@media (min-width: 1024px) {
	.timeline th { padding-bottom: 24px; font-size: 24px; line-height: 32px; }
	.timeline th:first-child, .timeline td:first-child { width: 261px; }
}

/* CTA light (Figma «Πότε πρέπει να δείτε ιατρό») */
.cta-light {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	padding: 24px;
	background: rgba(255, 255, 255, 0.8);
	border-radius: var(--radius-pill);
	text-align: center;
	color: var(--navy);
}
.cta-light__logo { width: 61.9px; height: 60px; }
.cta-light__title { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: var(--w-bold); }
.cta-light__text { font-size: 20px; line-height: 26px; font-weight: var(--w-medium); max-width: 1672px; }
@media (min-width: 1024px) {
	.cta-light { gap: 40px; }
	.cta-light__logo { width: 82.5px; height: 80px; }
	.cta-light__text { font-size: 24px; line-height: 32px; }
}

/* Card blocks / list grids */
.block-cards { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1024px) {
	.block-cards { gap: 50px; }
	.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card-grid--3 > .card:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
}
.empty-note { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--navy); }

/* FAQ block */
.block-faq { display: flex; flex-direction: column; gap: 24px; }
.block-faq__title { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: var(--w-bold); color: var(--navy); }
@media (min-width: 1024px) { .block-faq { gap: 40px; margin-top: 50px; } }

/* Plain blocks (Βιογραφικό) */
.block-plain { display: flex; flex-direction: column; gap: 24px; color: var(--navy); }
.block-note { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--navy); }
.block-plain > .btn, .block-cards > .btn { align-self: flex-start; }

.profile { display: grid; gap: 24px; color: var(--navy); }
.profile__side { display: flex; flex-direction: column; gap: 24px; }
.profile__name { display: flex; flex-direction: column; gap: 12px; }
.profile__title { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--w-medium); }
.profile__subtitle { font-size: 20px; line-height: 26px; font-weight: var(--w-medium); }
.profile__photo { width: 100%; max-width: 503px; aspect-ratio: 503 / 582; object-fit: cover; border-radius: var(--radius-pill); }
@media (min-width: 1024px) {
	.profile { grid-template-columns: minmax(0, 503px) minmax(0, 1176px); justify-content: space-between; gap: 40px; }
	.profile__name { gap: 24px; }
	.profile__subtitle { font-size: 24px; line-height: 32px; }
}

.logo-cards { display: grid; gap: 24px; }
.logo-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	padding: 24px;
	background: var(--white);
	border-radius: var(--radius-pill);
}
.logo-card__text { align-self: stretch; }
.logo-card__title { font-size: 20px; line-height: 26px; font-weight: 600; }
.logo-card__subtitle { font-size: 16px; line-height: 22px; }
.logo-card__logos { display: flex; align-items: center; justify-content: center; gap: 24px; width: 100%; min-width: 0; margin-top: auto; }
.logo-card__logo { flex: 0 1 auto; min-width: 0; width: auto; max-width: 100%; height: 140px; object-fit: contain; }
@media (min-width: 1024px) { .logo-card__logo { height: 180px; } }
@media (min-width: 768px) { .logo-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.logo-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
	.logo-card__title { font-size: 24px; line-height: 32px; }
	.logo-card__subtitle { font-size: 20px; line-height: 26px; }
}

.row-list { display: flex; flex-direction: column; gap: 24px; }
.row-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: 24px;
	background: var(--white);
	border-radius: var(--radius-xl);
	color: var(--navy);
}
.row-card__text { min-width: 0; }
.row-card__title { font-size: 18px; line-height: 24px; font-weight: 600; }
.row-card__meta { font-size: 16px; line-height: 22px; }
.row-card__meta strong { font-weight: 700; }
.row-card__img { max-width: 280px; max-height: 67px; width: auto; height: auto; object-fit: contain; }
@media (min-width: 768px) {
	.row-card--logo { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
	.row-card__logo { flex: none; }
}
@media (min-width: 1024px) {
	.row-card { border-radius: var(--radius-pill); }
	.row-card__title { font-size: 24px; line-height: 32px; }
	.row-card__meta { font-size: 20px; line-height: 26px; }
}

.covers-slider { display: flex; flex-direction: column; gap: 24px; }
.covers-slider .swiper { width: 100%; }
.covers-slider .swiper-wrapper { margin: 0; padding: 0; }
.covers-slider .swiper:not(.swiper-initialized) .swiper-wrapper { display: flex; gap: 24px; overflow-x: auto; }
.cover { display: flex; flex-direction: column; gap: 24px; width: 260px; height: auto; }
.covers-slider .swiper:not(.swiper-initialized) .cover { flex: 0 0 260px; }
.cover__img { width: 100%; aspect-ratio: 325 / 429; object-fit: cover; border-radius: var(--radius-xl); }
.cover__card {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: var(--white);
	border-radius: var(--radius-xl);
	text-align: center;
	color: var(--navy);
}
.cover__title { font-size: 18px; line-height: 24px; font-weight: 600; }
.cover__subtitle { font-size: 16px; line-height: 22px; }
@media (min-width: 1024px) {
	.cover { width: 325px; }
	.cover__card { min-height: 208px; }
	.cover__title { font-size: 24px; line-height: 32px; }
	.cover__subtitle { font-size: 20px; line-height: 26px; }
}

.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallery-grid a { display: block; overflow: hidden; border-radius: var(--radius-xl); }
.gallery-grid__img { width: 100%; aspect-ratio: 412 / 411; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid a:hover .gallery-grid__img { transform: scale(1.03); }
@media (min-width: 1024px) {
	.gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
	.gallery-grid a { border-radius: var(--radius-pill); }
}

.chev--prev { transform: rotate(90deg); }

/* Post / case lists */
.post-grid--wrap {
	grid-auto-flow: row;
	grid-template-columns: minmax(0, 1fr);
	overflow: visible;
	padding: 0;
	gap: 40px;
}
@media (min-width: 640px) { .post-grid--wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; } }
@media (min-width: 1024px) { .post-grid--wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }

.pagination ul { display: flex; flex-wrap: wrap; gap: 12px; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 48px;
	padding: 0 12px;
	border: 1px solid var(--navy);
	border-radius: var(--radius-pill);
	color: var(--navy);
	font-size: 18px;
}
.pagination a.page-numbers:hover { background: var(--navy); color: var(--white); }
.pagination a.page-numbers:hover .chev { background-image: url("../img/chevron-white.svg"); }
.pagination .current { background: var(--navy); color: var(--white); }
.pagination .dots { border-color: transparent; }

/* Article */
.article { display: flex; flex-direction: column; gap: 24px; }
.article__meta { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--navy); }
.article__meta a { text-decoration: underline; text-underline-offset: 3px; }
.article__media { overflow: hidden; border-radius: var(--radius-xl); }
.article__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 1024px) {
	.article { gap: 40px; }
	.article__media { border-radius: var(--radius-pill); }
	.article__img { aspect-ratio: auto; height: 700px; }
}
.article__author { display: flex; align-items: center; gap: 16px; }
.article__author-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.article__author-name { font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.article__author-bio { font-size: var(--fs-small); color: var(--navy-60, var(--navy)); margin: 0; }

/* Case (περιστατικό) */
.case-head { display: flex; flex-direction: column; gap: 24px; color: var(--navy); }
.case-head__row { display: flex; justify-content: space-between; gap: 24px; }
.case-head__title { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--w-medium); }
.case-head__aside { display: none; font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--w-medium); }
.case-layout { display: grid; gap: 40px; }
.case { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.case__media { overflow: hidden; border-radius: var(--radius-xl); }
.case__img { width: 100%; aspect-ratio: 1113 / 500; object-fit: cover; }
.sidebar-recent { display: flex; flex-direction: column; gap: 24px; }
.recent-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 24px;
	background: #e9f1f5;
	border-radius: var(--radius-xl);
	color: var(--navy);
}
.recent-card__media { display: block; width: 100%; overflow: hidden; border-radius: var(--radius-xl); }
.recent-card__img { width: 100%; height: 200px; object-fit: cover; }
.recent-card__date { font-size: 16px; line-height: 22px; }
.recent-card__title { font-size: 20px; line-height: 26px; font-weight: var(--w-medium); }
.recent-card__title a { color: var(--navy); }
.recent-card__title a:hover { color: var(--accent); }
.recent-card__text { font-size: var(--fs-body); line-height: var(--lh-body); }
@media (min-width: 1024px) {
	.case-head { gap: 40px; }
	.case-head__row { display: grid; grid-template-columns: minmax(0, 1113px) minmax(0, 567px); justify-content: space-between; gap: 40px; }
	.case-head__aside { display: block; }
	.case-layout { grid-template-columns: minmax(0, 1113px) minmax(0, 567px); justify-content: space-between; }
	.case { gap: 40px; }
	.case__media, .recent-card, .recent-card__media { border-radius: var(--radius-pill); }
	.sidebar-recent { gap: 40px; }
	.recent-card__img { height: 250px; }
	.recent-card__title { font-size: 24px; line-height: 32px; }
}

/* Tabs */
.tabs { display: flex; flex-direction: column; gap: 24px; }
.tabs__list { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px 24px; overflow-x: auto; padding-left: 1px; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab { flex: none; white-space: nowrap; }
.tabs__tab {
	font-size: 20px;
	line-height: 26px;
	font-weight: var(--w-medium);
	color: var(--navy);
}
.tabs__tab + .tabs__tab { position: relative; }
.tabs__tab + .tabs__tab::before { content: "|"; position: absolute; left: -15px; color: var(--navy); }
.tabs__tab[aria-selected="true"] { color: var(--accent); }
.tabs__tab:hover { color: var(--accent); }
@media (min-width: 1024px) {
	.tabs { gap: 40px; }
	.tabs__list { gap: 40px; }
	.tabs__tab { font-size: var(--fs-h2); line-height: var(--lh-h2); }
	.tabs__tab + .tabs__tab::before { left: -24px; }
}

/* Contact page */
.contact-page { display: grid; gap: 24px; scroll-margin-top: 110px; }
.contact-page__info { display: flex; flex-direction: column; gap: 24px; min-width: 0; color: var(--navy); }
.contact-page__intro { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--w-medium); }
.contact-page .contact-page__list { flex-direction: row; flex-wrap: wrap; gap: 12px 24px; }
.map {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1026 / 362;
	min-height: 260px;
	border-radius: var(--radius-xl);
	background: #d6e5ee;
}
.map__poster {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	text-align: center;
	color: var(--navy);
	background:
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.45) 0 2px, transparent 2px 48px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 2px, transparent 2px 48px),
		#d6e5ee;
}
.map__address { font-size: 18px; line-height: 26px; font-weight: 600; }
.map__note { font-size: 14px; line-height: 20px; max-width: 420px; }
.map__note a { text-decoration: underline; }
.map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.site-main--contact .contact__panel { grid-area: auto; align-self: start; }
@media (min-width: 1024px) {
	.contact-page { grid-template-columns: minmax(0, 1026px) minmax(0, 644px); justify-content: space-between; gap: 50px; }
	.contact-page__info { gap: 32px; }
	.map { border-radius: var(--radius-pill); }
}
.error-actions { display: flex; flex-wrap: wrap; gap: 24px; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible,
.js .reveal:target { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1; transform: none; }
}

/* Footer ----------------------------------------------------------------- */
.site-footer {
	background: var(--footer-bg);
	color: var(--navy);
	padding-block: 20px;
}
.site-footer__brand {
	display: flex;
	justify-content: center;
	padding-bottom: 24px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--navy);
}
.site-footer .brand__mark { width: 88px; height: 85.27px; }
.site-footer .brand { gap: 12px; }
.site-footer .brand__name { font-size: 24px; line-height: 28px; }
.site-footer .brand__role { font-size: 18.4px; line-height: 32px; }

.site-footer__card {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 24px;
	background: var(--white);
	border-radius: var(--radius-pill);
}
.site-footer__cols { display: grid; gap: 24px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col__title { font-size: 20px; line-height: 28px; font-weight: var(--w-medium); color: var(--navy); }
.footer-col__list { display: flex; flex-direction: column; gap: 12px; }
.footer-col__list a,
.footer-contact a { font-size: 16px; line-height: 22px; }
.footer-contact { display: flex; flex-direction: column; gap: 24px; }
.footer-contact a { display: flex; align-items: center; gap: 10px; }
.footer-contact img { width: 40px; height: 40px; flex: none; }
.site-footer__social { gap: var(--gap); }
.site-footer__social img { width: 40px; height: 40px; }

.site-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--white);
	color: var(--white);
	font-size: 16px;
	line-height: 22px;
}
.site-footer__credit { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.site-footer__credit a { display: inline-flex; }
.site-footer__credit img { width: 137px; height: 22px; }

@media (min-width: 768px) {
	.site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
	.site-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
	.site-footer__credit { flex-direction: row; align-items: center; }
}
@media (min-width: 1024px) {
	.site-footer { padding-block: 22px; }
	.site-footer__brand { padding-bottom: 40px; margin-bottom: 40px; }
	.site-footer__card { gap: 40px; }
	.footer-col__title { font-size: var(--fs-h2); line-height: var(--lh-h2); }
	.footer-col__list a,
	.footer-contact a,
	.site-footer__bottom { font-size: 18px; line-height: 26px; white-space: nowrap; }
	.site-footer__bottom { margin-top: 40px; padding-top: 40px; }
}

@media (min-width: 1280px) {
	.site-footer__cols { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
	.footer-col__title { white-space: nowrap; }
}

/* Sticky CTAs ------------------------------------------------------------ */
.sticky-cta {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 90;
	display: flex;
	gap: 12px;
	padding: 12px;
	pointer-events: none;
}
.sticky-cta .btn {
	flex: 1 1 0;
	justify-content: center;
	padding-inline: 12px;
	font-size: 18px;
	pointer-events: auto;
	border-color: transparent;
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s, box-shadow 0.2s ease;
}
.sticky-cta.is-hidden .btn {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
body.nav-open .sticky-cta { visibility: hidden; }

@media (min-width: 768px) {
	.sticky-cta { display: contents; }
	.sticky-cta .btn {
		position: fixed;
		bottom: 32px;
		z-index: 90;
		flex: none;
		padding-inline: 20px;
		border-color: var(--navy);
	}
	.sticky-cta__contact { left: 32px; }
	.sticky-cta__second { right: 32px; }
}
@media (min-width: 1024px) {
	.sticky-cta .btn { font-size: 20px; }
}
@media (min-width: 1600px) {
	.sticky-cta .btn { bottom: 50px; }
	.sticky-cta__contact { left: 50px; }
	.sticky-cta__second { right: 50px; }
}

/* Default content pages (placeholder until their templates are built) ---- */
.site-main .page-header,
.site-main .page-content {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--pad));
	margin-inline: auto;
	padding: 60px var(--pad);
}

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