/**
 * iatrologio – shared stylesheet (the only CSS file; budget < 60 KB).
 * Tokens + @font-face: tokens.css (inline). Per-template CSS: pages/{key}.css (inline).
 *
 * Contents
 *  1. Reset + base
 *  2. Layout (.iatro_row, sections)
 *  3. Typography helpers
 *  4. Buttons, icon buttons, chips, inputs
 *  5. Header, search panel, chip bar, drawer
 *  6. Footer
 *  7. Components: breadcrumbs, byline, avatar, images, article card, doctor card,
 *     newsletter band, banner slot, buttons, section heading, grids, filter chips,
 *     FAQ list, surface hero
 */

/* 1. Reset + base ------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: #fff;
	color: var(--navy);
	font-family: var(--font-ui);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }

:where(ul[role='list'], ol[role='list']) { list-style: none; padding: 0; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
	outline: 3px solid var(--teal);
	outline-offset: 2px;
	border-radius: 4px;
}

[hidden] { display: none !important; }

.iatro_sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.iatro_skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 12px 18px;
	border-radius: var(--radius-s);
	background: var(--navy);
	color: #fff;
	font-weight: 600;
}
.iatro_skip:focus { top: 12px; color: #fff; }

/* 2. Layout ------------------------------------------------------------- */

.iatro_row { padding-inline: var(--gutter); }

.iatro_main { flex: 1 0 auto; }

.iatro_section { padding-block: 40px 56px; }

/* 3. Typography --------------------------------------------------------- */

.iatro_h1,
.iatro_h2,
.iatro_h3 {
	font-family: var(--font-serif);
	color: var(--navy);
	letter-spacing: -0.01em;
}
.iatro_h1 { font-size: 44px; line-height: 1.12; font-weight: 700; }
.iatro_h2 { font-size: 30px; line-height: 1.2; font-weight: 700; }
.iatro_h3 { font-size: 23px; line-height: 1.25; font-weight: 600; }
.iatro_h3 a { color: inherit; }

.iatro_kicker {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--teal);
}

.iatro_prose { color: var(--text); font-size: 18px; line-height: 1.7; }
/* Links inside running text are underlined: colour alone is not enough (WCAG 1.4.1). */
.iatro_prose p a,
.iatro_prose li a,
.iatro_textlinks a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.iatro_prose > * + * { margin-top: 1em; }

@media (max-width: 767px) {
	.iatro_h1 { font-size: 30px; line-height: 1.15; }
	.iatro_h2 { font-size: 24px; }
	.iatro_h3 { font-size: 20px; }
}

/* 4. Buttons, chips, inputs --------------------------------------------- */

.iatro_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--tap);
	padding: 0 20px;
	border: 0;
	border-radius: var(--radius-pill);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
}
.iatro_btn:hover { text-decoration: none; }
.iatro_btn--navy { background: var(--navy); color: #fff; }
.iatro_btn--navy:hover { background: var(--teal-dark); color: #fff; }
.iatro_btn--teal { background: var(--teal); color: #fff; }
.iatro_btn--teal:hover { background: var(--teal-dark); color: #fff; }
.iatro_btn--block { display: flex; width: 100%; min-height: 50px; }

.iatro_icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: var(--tap);
	height: var(--tap);
	padding: 0;
	border: 0;
	border-radius: var(--radius-pill);
	background: transparent;
	color: var(--navy);
}
.iatro_icon-btn--outline { border: 1px solid var(--border); background: #fff; }
.iatro_icon-btn:hover { background: var(--surface); }

.iatro_chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 18px;
	background: var(--teal-tint);
	color: var(--teal-dark);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
}
/* Hit area grows to 44px without changing the pill. */
.iatro_chip::after { content: ''; position: absolute; inset: -5px 0; }
.iatro_chip:hover { background: var(--mint); color: var(--teal-dark); text-decoration: none; }
.iatro_chip[aria-current] { background: var(--teal-dark); color: #fff; }

.iatro_input {
	min-height: var(--tap);
	width: 100%;
	padding: 0 18px;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	background: #fff;
	font-size: 16px;
}
.iatro_input::placeholder { color: var(--text-4); }

/* 5. Header ------------------------------------------------------------- */

.iatro_header {
	position: relative;
	border-bottom: 1px solid var(--border);
	background: #fff;
}

.iatro_header__bar {
	display: flex;
	align-items: center;
	gap: 24px;
	padding-block: 18px;
}

.iatro_logo { display: flex; flex: none; }
.iatro_logo img { width: auto; height: 34px; }
.iatro_logo:hover { text-decoration: none; }

.iatro_nav { flex: 1 1 auto; display: flex; justify-content: center; }

.iatro_nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 28px;
	font-size: 15px;
	font-weight: 600;
}
.iatro_nav__list a {
	display: flex;
	align-items: center;
	min-height: var(--tap);
	color: var(--navy);
}
.iatro_nav__list a:hover,
.iatro_nav__list a[aria-current] { color: var(--teal); text-decoration: none; }
.iatro_nav__list a[aria-current] { box-shadow: inset 0 -3px 0 var(--teal); }

.iatro_header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.iatro_header__menu-btn { display: none; }

.iatro_search-panel {
	border-top: 1px solid var(--border-soft);
	background: var(--surface);
}
.iatro_search-form {
	display: flex;
	gap: 10px;
	padding-block: 14px;
}

.iatro_chipbar { border-top: 1px solid var(--border-soft); }
.iatro_chipbar__inner {
	display: flex;
	align-items: center;
	gap: 10px 16px;
	padding-block: 12px;
	font-size: 14px;
}
.iatro_chipbar__label { flex: none; color: var(--text-3); }
.iatro_chips { display: flex; flex-wrap: wrap; gap: 10px; }
.iatro_chip__short { display: none; }

@media (max-width: 1199px) {
	.iatro_nav,
	.iatro_header__newsletter { display: none; }
	.iatro_header__menu-btn { display: inline-flex; }
}

@media (max-width: 767px) {
	.iatro_header__bar {
		height: 64px;
		gap: 12px;
		padding-block: 0;
	}
	.iatro_logo img { height: 26px; }
	.iatro_header__actions { gap: 4px; margin-right: -10px; }
	.iatro_header__actions .iatro_icon-btn--outline { border: 0; background: transparent; }

	.iatro_chipbar { border-top: 0; }
	.iatro_chipbar__inner { padding-inline: 0; padding-block: 12px 4px; }
	.iatro_chipbar__label { display: none; }
	.iatro_chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding: 0 var(--gutter) 8px;
		scroll-padding-inline: var(--gutter);
		scrollbar-width: none;
	}
	.iatro_chips::-webkit-scrollbar { display: none; }
	.iatro_chip { padding: 9px 14px; font-size: 15px; }
	.iatro_chip::after { inset: -4px 0; }
	/* Visible short label; the full name stays the accessible name. */
	.iatro_chip__full {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}
	.iatro_chip__short { display: inline; }
}

/* Drawer (mobile menu, native <dialog>) */

.iatro_drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(360px, 100vw);
	max-width: 100vw;
	height: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0 20px 28px;
	border: 0;
	background: #fff;
	color: var(--navy);
	overflow-y: auto;
}
.iatro_drawer[open] {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.iatro_drawer::backdrop { background: rgba(23, 54, 74, 0.45); }

.iatro_drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
	margin-right: -10px;
	border-bottom: 1px solid var(--border);
}
.iatro_drawer__head .iatro_logo img { height: 26px; }

.iatro_drawer__title {
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--teal);
}

.iatro_drawer__list a {
	display: flex;
	align-items: center;
	min-height: 48px;
	border-bottom: 1px solid var(--border-soft);
	color: var(--navy);
	font-size: 17px;
	font-weight: 600;
}
.iatro_drawer__list--sub a { font-size: 16px; font-weight: 500; }

/* 6. Footer ------------------------------------------------------------- */

.iatro_footer {
	flex: none;
	background: var(--navy);
	color: var(--on-navy);
	font-size: 14px;
}
.iatro_footer a { color: var(--on-navy); }
.iatro_footer a:hover { color: #fff; }
.iatro_footer :focus-visible { outline-color: #fff; }

.iatro_footer__inner {
	display: flex;
	flex-direction: column;
	gap: 36px;
	padding-block: 56px 28px;
}

.iatro_footer__cols {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 36px 48px;
}

.iatro_footer__brand {
	display: flex;
	flex: 1 1 280px;
	flex-direction: column;
	gap: 14px;
}
.iatro_footer__brand .iatro_logo img { height: 32px; }
.iatro_footer__brand p { max-width: 340px; line-height: 1.6; }

.iatro_footer__col {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 160px;
}
.iatro_footer__title { color: #fff; font-weight: 700; }
.iatro_footer__list { display: flex; flex-direction: column; gap: 10px; }

.iatro_footer__disclaimer {
	padding: 16px 20px;
	border-radius: var(--radius-m);
	background: var(--navy-2);
	color: var(--on-navy-2);
	font-size: 13px;
	line-height: 1.6;
}

.iatro_footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 14px 24px;
	padding-top: 20px;
	border-top: 1px solid var(--navy-line);
	font-size: 13px;
}
.iatro_footer__legal { display: flex; flex-wrap: wrap; gap: 10px 18px; }

@media (max-width: 767px) {
	/* The footer keeps 32px sides on mobile (Home-mobile.html). */
	.iatro_footer__inner { padding-inline: 32px; }
}

/* 7. Components --------------------------------------------------------- */

/* Breadcrumbs */
.iatro_crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	font-size: 14px;
	color: var(--text-3);
}
.iatro_crumbs li { display: flex; align-items: center; gap: 8px; }
.iatro_crumbs li + li::before { content: '›'; color: var(--text-3); }
.iatro_crumbs a { display: inline-flex; align-items: center; min-height: 24px; }

@media (max-width: 767px) {
	/* Mobile trail stops at the parent (Article-mobile.html): the title is the H1 right below. */
	.iatro_crumbs li:last-child:not(:first-child) { display: none; }
}

/* Avatar (doctor photo or mint circle) */
.iatro_avatar {
	display: block;
	flex: none;
	width: var(--size, 44px);
	height: var(--size, 44px);
	border-radius: 50%;
	background: var(--mint);
	object-fit: cover;
}

/* Images: fill their box, mint while loading or when missing */
.iatro_img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: var(--mint);
}
.iatro_img--empty { min-height: 100%; }

/* Byline */
.iatro_byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
	padding-block: 16px;
	border-block: 1px solid var(--border);
	font-size: 14px;
	color: var(--text-3);
}
.iatro_byline strong { color: var(--navy); }
.iatro_byline__doctor { display: flex; align-items: center; gap: 10px; }
.iatro_byline__who { display: flex; flex-direction: column; gap: 2px; }
.iatro_byline__label {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--teal-dark);
	font-size: 13px;
	font-weight: 700;
}
.iatro_byline__name { color: var(--navy); font-size: 15px; font-weight: 600; }
.iatro_byline__disclosure { margin-top: 10px; font-size: 14px; color: var(--text-3); font-style: italic; }

@media (max-width: 767px) {
	/* Compact: «iatrologio.gr · Ενημερώθηκε 06/10/2026 · 7′» under the doctor. */
	.iatro_byline { gap: 10px 0; padding-block: 14px; font-size: 13px; }
	.iatro_byline__doctor { flex-basis: 100%; }
	.iatro_byline__label { font-size: 12px; }
	.iatro_byline__team-label { display: none; }
	.iatro_byline__item + .iatro_byline__item::before { content: '·'; margin-inline: 6px; }
	.iatro_byline__team strong { color: inherit; font-weight: 400; }
}

/* Article card: md (image on top), lg (bigger title), list (thumbnail left).
   Image height is capped near its size at 1440: on wider screens the image gets wider
   (cropped by object-fit), not taller. */
.iatro_card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.iatro_card__media {
	overflow: hidden;
	aspect-ratio: 16 / 9;
	max-height: var(--media-max, 260px);
	border-radius: var(--radius-m);
	background: var(--mint);
}
.iatro_card--lg .iatro_card__media { --media-max: 480px; }
.iatro_card--list .iatro_card__media { max-height: none; }
.iatro_card__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.iatro_card__kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--teal);
}
.iatro_card__title {
	font-family: var(--font-serif);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--navy);
}
.iatro_card__title a { color: inherit; }
/* The whole card is clickable through the title link. */
.iatro_card__title a::after { content: ''; position: absolute; inset: 0; }
.iatro_card:hover .iatro_card__title a { text-decoration: underline; }
.iatro_card__date { font-size: 13px; color: var(--text-4); }

.iatro_card--lg .iatro_card__title { font-size: 28px; line-height: 1.2; font-weight: 700; }

.iatro_card--list { flex-direction: row; align-items: flex-start; gap: 12px; }
.iatro_card--list .iatro_card__media { flex: none; width: 84px; aspect-ratio: 4 / 3; border-radius: var(--radius-s); }
.iatro_card--list .iatro_card__title { font-family: var(--font-ui); font-size: 15px; line-height: 1.35; }
.iatro_card--list .iatro_card__kicker { display: none; }

/* Row: 180px image beside the text (doctor profile, news list, search) */
.iatro_rows { display: flex; flex-direction: column; }
.iatro_card--row { flex-direction: row; align-items: flex-start; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.iatro_card--row .iatro_card__media { flex: none; width: 180px; aspect-ratio: 3 / 2; max-height: none; border-radius: 10px; }
.iatro_card--row .iatro_card__title { font-size: 20px; line-height: 1.3; }
.iatro_card__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.iatro_card__badge {
	padding: 2px 8px;
	border: 1px solid var(--teal);
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--teal);
}

/* Doctor card */
.iatro_doc-card {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 24px;
	border: 1px solid var(--border);
	border-radius: var(--radius-l);
	font-size: 16px;
	line-height: 1.55;
	color: var(--text);
}
.iatro_doc-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.iatro_doc-card__label { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; color: var(--teal-dark); }
.iatro_doc-card__name { font-size: 19px; color: var(--navy); }
.iatro_doc-card__bio { color: var(--text-2); }
.iatro_doc-card__link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-weight: 600; }

@media (max-width: 767px) {
	.iatro_doc-card { flex-wrap: wrap; gap: 12px; padding: 18px; border-radius: 14px; font-size: 15px; }
	.iatro_doc-card .iatro_avatar { --size: 56px !important; }
	.iatro_doc-card__body { flex: 1 1 200px; }
	.iatro_doc-card__name { font-size: 17px; }
	.iatro_doc-card__bio { display: none; }
}

/* Newsletter band */
.iatro_newsletter { background: var(--teal-tint); }
/* Space before the band when the section above has no bottom padding of its own */
.iatro_hub__section + .iatro_newsletter,
.iatro_related + .iatro_newsletter { margin-top: 72px; }
@media (max-width: 767px) {
	.iatro_hub__section + .iatro_newsletter,
	.iatro_related + .iatro_newsletter { margin-top: 40px; }
}
.iatro_newsletter__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 48px;
}
.iatro_newsletter__text { display: flex; flex: 1 1 380px; flex-direction: column; gap: 6px; }
.iatro_newsletter__title { font-family: var(--font-serif); font-size: 28px; font-weight: 700; line-height: 1.2; }
.iatro_newsletter__text p { font-size: 16px; color: var(--text-2); }
.iatro_newsletter__field { display: flex; flex: 1 1 420px; flex-wrap: wrap; gap: 10px; }
.iatro_newsletter__field .iatro_input { flex: 1 1 240px; min-height: 50px; border-color: #b9c9ce; }
.iatro_newsletter__field .iatro_btn { min-height: 50px; padding: 0 26px; font-size: 16px; font-weight: 700; }

@media (max-width: 767px) {
	.iatro_newsletter__inner { padding-block: 32px; }
	.iatro_newsletter__title { font-size: 22px; }
	.iatro_newsletter__field .iatro_btn { flex: 1 1 100%; }
}

/* Banner slot (phase 4; switched off: the slot is not printed at all) */
.iatro_banner-slot { display: flex; justify-content: center; }
.iatro_banner-slot--sticky { position: sticky; top: var(--sticky-top, 24px); }

/* Banner box (iatrologio-core banners.php): space kept by aspect-ratio before the creative loads */
.iatro_ad { position: relative; width: 100%; max-width: var(--w); aspect-ratio: var(--ar); margin-inline: auto; overflow: hidden; border-radius: var(--radius-s); background: var(--surface); }
.iatro_ad a,
.iatro_ad img,
.iatro_ad video { display: block; width: 100%; height: 100%; object-fit: cover; }
.iatro_ad__label { position: absolute; top: 6px; left: 6px; z-index: 1; padding: 1px 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.9); font-size: 11px; font-weight: 600; color: var(--text-3); }
.iatro_ad--mobile-only { display: none; }
@media (max-width: 767px) {
	.iatro_ad { max-width: var(--mw); aspect-ratio: var(--mar); }
	.iatro_ad--mobile-only { display: block; }
	.iatro_ad--desktop-only { display: none; }
}

/* Buttons: outline + large (Hub «Περισσότεροι οδηγοί», A–Ω search) */
.iatro_btn--outline { border: 1px solid var(--navy); background: #fff; color: var(--navy); }
.iatro_btn--outline:hover { background: var(--navy); color: #fff; }
.iatro_btn--lg { min-height: 50px; padding: 0 26px; font-size: 16px; font-weight: 700; }

/* Section heading: 3px navy rule, serif title, optional link */
.iatro_shead {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding-top: 14px;
	border-top: 3px solid var(--navy);
}
.iatro_shead__title { font-family: var(--font-serif); font-size: 28px; font-weight: 700; line-height: 1.2; }
.iatro_shead__sub { margin-top: 4px; font-size: 15px; color: var(--text-3); }
.iatro_shead__link { display: inline-flex; align-items: center; gap: 4px; padding-block: 10px; margin-block: -10px; font-size: 15px; font-weight: 600; }

/* Card grids */
.iatro_grid { display: grid; gap: 28px; padding-top: 24px; }
.iatro_grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.iatro_grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.iatro_grid .iatro_card__media { aspect-ratio: 16 / 10; --media-max: 240px; }
.iatro_grid .iatro_card__title { font-size: 19px; }

.iatro_card__excerpt { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.iatro_card__meta { font-size: 13px; color: var(--text-4); }

.iatro_more-wrap { display: flex; justify-content: center; padding-top: 28px; }
.iatro_more-wrap [aria-busy='true'] { opacity: 0.6; pointer-events: none; }

@media (max-width: 1199px) {
	.iatro_grid--4,
	.iatro_grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.iatro_shead__title { font-size: 22px; }
	.iatro_grid { gap: 16px; padding-top: 16px; }
	.iatro_grid--4,
	.iatro_grid--3 { grid-template-columns: minmax(0, 1fr); }
	/* Cards in grids become the list size on mobile. */
	.iatro_grid .iatro_card { flex-direction: row; align-items: flex-start; gap: 12px; }
	.iatro_grid .iatro_card__media { flex: none; width: 96px; aspect-ratio: 4 / 3; border-radius: var(--radius-s); }
	.iatro_grid .iatro_card__title { font-family: var(--font-ui); font-size: 15px; line-height: 1.35; }
	.iatro_grid .iatro_card__body { gap: 4px; }
	.iatro_grid .iatro_card__kicker { font-size: 11px; }
	.iatro_card--row { gap: 12px; padding: 16px 0; }
	.iatro_card--row .iatro_card__media { width: 96px; aspect-ratio: 4 / 3; border-radius: var(--radius-s); }
	.iatro_card--row .iatro_card__title { font-size: 17px; }
}

/* Filter chips: outline pills, the current one filled navy */
.iatro_fchips ul { display: flex; flex-wrap: wrap; gap: 8px; }
.iatro_fchip {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 0 16px;
	border: 1px solid var(--border);
	border-radius: 19px;
	background: #fff;
	color: var(--navy);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}
.iatro_fchip::after { content: ''; position: absolute; inset: -3px 0; }
.iatro_fchip:hover { border-color: var(--navy); color: var(--navy); text-decoration: none; }
.iatro_fchip[aria-current] { border-color: var(--navy); background: var(--navy); color: #fff; }

@media (max-width: 767px) {
	/* One scrolling row on mobile. */
	.iatro_fchips { margin-inline: calc(-1 * var(--gutter)); }
	.iatro_fchips ul {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding: 3px var(--gutter);
		scrollbar-width: none;
	}
	.iatro_fchips ul::-webkit-scrollbar { display: none; }
}

/* FAQ list (<details>) */
.iatro_faqlist { max-width: 820px; padding-top: 8px; }
.iatro_faqlist details { border-bottom: 1px solid var(--border); }
.iatro_faqlist summary {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding-block: 12px;
	font-size: 17px;
	font-weight: 600;
	color: var(--navy);
	cursor: pointer;
	list-style: none;
}
.iatro_faqlist summary::-webkit-details-marker { display: none; }
.iatro_faqlist summary::before {
	content: '';
	flex: none;
	width: 0;
	height: 0;
	border-block: 5px solid transparent;
	border-left: 7px solid currentColor;
	transition: transform 0.15s;
}
.iatro_faqlist details[open] summary::before { transform: rotate(90deg); }
.iatro_faqlist__answer { padding: 0 0 16px 17px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.iatro_faqlist__answer > * + * { margin-top: 10px; }

/* Surface hero (hub, condition/exam page) */
.iatro_hub__hero { background: var(--surface); }
.iatro_hub__hero-inner { display: flex; flex-direction: column; gap: 22px; padding-block: 28px 40px; }
.iatro_hub__intro {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}
.iatro_hub__text { display: flex; flex: 1 1 560px; flex-direction: column; gap: 14px; max-width: 760px; }
.iatro_hub__title { font-family: var(--font-serif); font-size: 50px; font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
.iatro_hub__lede { font-size: 19px; line-height: 1.55; color: var(--text-2); }
.iatro_hub__doctors {
	display: flex;
	flex: 0 1 320px;
	flex-direction: column;
	gap: 12px;
	padding: 18px 20px;
	border-radius: 14px;
	background: #fff;
}
.iatro_hub__doctors-title { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--text-3); }
.iatro_hub__doctors ul { display: flex; flex-direction: column; gap: 12px; }
.iatro_hub__doctors a { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.iatro_hub__doctors a > span { display: flex; flex-direction: column; font-size: 13px; color: var(--text-3); }
.iatro_hub__doctors strong { font-size: 15px; color: var(--navy); }

.iatro_hub__section { padding-top: 56px; }
.iatro_hub__section:first-of-type { padding-top: 48px; }

@media (max-width: 767px) {
	.iatro_hub__hero-inner { gap: 16px; padding-block: 16px 24px; }
	.iatro_hub__intro { gap: 18px; }
	.iatro_hub__text { flex-basis: 100%; gap: 10px; }
	.iatro_hub__title { font-size: 32px; line-height: 1.12; }
	.iatro_hub__lede { font-size: 17px; }
	.iatro_hub__doctors { flex: 1 1 100%; padding: 14px 16px; }
	.iatro_hub__section,
	.iatro_hub__section:first-of-type { padding-top: 36px; }
}

/* Static page head: breadcrumbs, kicker, H1, lede (Board, About, Policy, Contact, legal …) */
.iatro_phead--surface { background: var(--surface); }
.iatro_phead__inner { display: flex; flex-direction: column; gap: 18px; padding-block: 28px 32px; }
.iatro_phead__text { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.iatro_phead__title { margin: 0; font-family: var(--font-serif); font-size: 44px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.iatro_phead__lede { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text-2); }

@media (max-width: 767px) {
	.iatro_phead__inner { gap: 14px; padding-block: 20px 24px; }
	.iatro_phead__title { font-size: 30px; line-height: 1.15; }
	.iatro_phead__lede { font-size: 16px; }
}

/* Numbered pagination (news list, search) */
.iatro_pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 32px 0 0; list-style: none; }
.iatro_pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--border);
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	color: var(--navy);
}
.iatro_pager a.page-numbers:hover { border-color: var(--navy); text-decoration: none; }
.iatro_pager .page-numbers.current { border-color: var(--navy); background: var(--navy); color: #fff; }
.iatro_pager .dots { border: 0; }

/* «Δημοφιλή» list (news list, search, 404) */
.iatro_popular__title { margin: 0 0 6px; font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--text-3); }
.iatro_popular ol { margin: 0; padding: 0; list-style: none; counter-reset: iatro-pop; }
.iatro_popular li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); counter-increment: iatro-pop; }
.iatro_popular li::before { content: counter(iatro-pop); flex: none; width: 16px; font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--teal); }
.iatro_popular a { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--navy); }

/* Search form of the search and 404 pages */
.iatro_sform { display: flex; flex-wrap: wrap; gap: 10px; }
.iatro_sform .iatro_input { flex: 1 1 280px; min-height: 50px; border-radius: 999px; padding-inline: 20px; }
mark { padding: 0 2px; border-radius: 3px; background: #fdf0b8; color: inherit; }

/* Forms (Contact Form 7, without its stylesheet) */
.iatro_form .wpcf7-form { display: flex; flex-direction: column; gap: 18px; }
.iatro_form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.iatro_field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.iatro_field label,
.iatro_field legend { font-size: 14px; font-weight: 600; color: var(--navy); }
.iatro_field .wpcf7-form-control:not(.wpcf7-submit, .wpcf7-checkbox, .wpcf7-acceptance) {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid #b9c9ce;
	border-radius: var(--radius-s);
	background: #fff;
	font: inherit;
	font-size: 16px;
	color: var(--text);
}
.iatro_field textarea.wpcf7-form-control { min-height: 140px; resize: vertical; }
.iatro_field .wpcf7-form-control:focus { border-color: var(--teal); outline: 2px solid var(--teal); outline-offset: 1px; }
.iatro_field--check { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.iatro_field--check label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--text-2); }
.iatro_field input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); }
.iatro_field--chips { padding: 0; border: 0; }
.iatro_field--chips .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.iatro_field--chips .wpcf7-list-item { margin: 0; }
.iatro_field--chips .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; font-weight: 600; }
.iatro_field--submit .iatro_btn { cursor: pointer; border: 0; }
.wpcf7-not-valid-tip { display: block; margin-top: 4px; font-size: 13px; color: #b42318; }
.wpcf7-not-valid { border-color: #b42318 !important; }
.wpcf7-response-output { margin: 0; padding: 12px 14px; border-radius: var(--radius-s); background: var(--surface); font-size: 14px; }
.wpcf7-response-output:empty { display: none; }
.wpcf7 form.sent .wpcf7-response-output { background: var(--teal-tint); color: var(--teal-dark); }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { background: var(--warn-bg); color: var(--warn-text); }
.wpcf7-spinner,
.wpcf7 .hidden-fields-container { display: none; }
.screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 767px) {
	.iatro_form__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Cookie banner and settings (iatrologio-core consent.php): fixed overlay, no layout shift */
.iatro_footer__cookies { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.iatro_consent { position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 1000; display: flex; justify-content: center; }
.iatro_consent[hidden] { display: none; }
.iatro_consent__box { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; max-width: 980px; padding: 20px 24px; border: 1px solid var(--border); border-radius: var(--radius-l); background: #fff; box-shadow: 0 12px 32px rgba(23, 54, 74, 0.18); }
.iatro_consent__text { flex: 1 1 420px; margin: 0; font-size: 15px; line-height: 1.5; color: var(--text); }
.iatro_consent__text strong { display: block; margin-bottom: 2px; color: var(--navy); }
.iatro_consent__text a { text-decoration: underline; text-underline-offset: 2px; }
.iatro_consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.iatro_consent__btn { min-height: 44px; padding: 0 20px; border: 1px solid var(--navy); border-radius: 999px; background: var(--navy); font: inherit; font-size: 15px; font-weight: 600; color: #fff; cursor: pointer; }
.iatro_consent__btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.iatro_consent-dialog { width: min(640px, calc(100% - 32px)); max-height: calc(100vh - 64px); padding: 0; border: 0; border-radius: var(--radius-l); box-shadow: 0 16px 48px rgba(23, 54, 74, 0.25); }
.iatro_consent-dialog::backdrop { background: rgba(23, 54, 74, 0.45); }
.iatro_consent-dialog__form { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.iatro_consent-dialog h2 { margin: 0; font-family: var(--font-serif); font-size: 24px; }
.iatro_consent-dialog p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.iatro_consent-cat { margin: 0; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-m); }
.iatro_consent-cat legend { padding: 0; }
.iatro_consent-cat label { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; font-weight: 700; color: var(--navy); }
.iatro_consent-cat input { width: 20px; height: 20px; accent-color: var(--teal); }
.iatro_consent-cat details { margin-top: 8px; font-size: 13px; }
.iatro_consent-cat summary { cursor: pointer; color: var(--teal); }
.iatro_consent-cat ul { margin: 8px 0 0; padding-left: 18px; color: var(--text-2); }
.iatro_consent-cat li + li { margin-top: 6px; }
.iatro_table-wrap { overflow-x: auto; }
.iatro_cookie-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.iatro_cookie-table th,
.iatro_cookie-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
@media (max-width: 767px) {
	.iatro_consent { right: 8px; bottom: 8px; left: 8px; }
	.iatro_consent__box { padding: 16px; }
	.iatro_consent__actions { width: 100%; }
	.iatro_consent__btn { flex: 1 1 auto; }
}

/* Floating cookie settings button (after a choice) */
.iatro_consent-fab {
	position: fixed;
	bottom: 16px;
	left: 16px;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 6px 18px rgba(23, 54, 74, 0.18);
	cursor: pointer;
	transition: transform 0.15s, box-shadow 0.15s;
}
.iatro_consent-fab[hidden] { display: none; }
.iatro_consent-fab:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23, 54, 74, 0.22); }
.iatro_consent-fab:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
@media (max-width: 767px) {
	.iatro_consent-fab { bottom: 12px; left: 12px; width: 48px; height: 48px; }
}
@media print {
	.iatro_consent-fab { display: none; }
}

/* Google «Preferred sources» box (news items and news list, behind a switch) */
.iatro_gsource {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-block: 32px;
	padding: 20px 24px;
	border: 1px solid var(--border);
	border-radius: var(--radius-l);
	background: var(--surface);
}
.iatro_gsource > div { flex: 1 1 320px; }
.iatro_gsource__title { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--navy); }
.iatro_gsource__text { margin-top: 4px; font-size: 15px; color: var(--text-3); }
