/* ŠMC theme, concept v3. Tokens and principles: docs/dizainas/sistema.md */

/* ---------- Fonts: Lato 2.0 (OFL, assets/fonts/OFL.txt), subset by tools/fonts/subset.sh ---------- */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/lato-normal-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/lato-semibold.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-bold.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--c-bg: #fbf9f8;          /* page */
	--c-white: #ffffff;       /* cards */
	--c-blush-50: #fdf4f3;    /* soft tint */
	--c-blush-100: #f8e7e5;   /* tinted panels */
	--c-blush-200: #f1d2ce;   /* icon rings, borders on tint */
	--c-red: #a92722;         /* actions and accents only */
	--c-red-deep: #7c1b17;
	--c-ink: #222222;
	--c-muted: #5f5a59;
	--c-line: #ece5e3;
	--c-footer: #f3efed;

	--font: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;

	--fs-small: 1rem;                                       /* 16 */
	--fs-base: 1.125rem;                                    /* 18 */
	--fs-lead: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);  /* 19–22 */
	--fs-h3: 1.3125rem;                                     /* 21 */
	--fs-h2: clamp(1.875rem, 1.5rem + 1.5vw, 2.75rem);      /* 30–44 */
	--fs-h1: clamp(2.5rem, 1.4rem + 4.4vw, 4.5rem);         /* 40–72 */

	--s-1: 0.5rem;
	--s-2: 1rem;
	--s-3: 1.5rem;
	--s-4: 2.5rem;
	--s-5: clamp(3rem, 2rem + 4vw, 5.5rem);

	--r-pill: 999px;
	--r-md: 16px;
	--r-lg: 28px;
	--shadow: 0 1px 2px rgb(34 34 34 / 0.04), 0 16px 40px -24px rgb(34 34 34 / 0.25);

	--wrap: 86rem;                                          /* 1376 */
	--gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
	--panel-pad: clamp(1.5rem, 1rem + 2.5vw, 3rem);
	--tap: 3rem;                                            /* 48 px */
	--header-h: 7.25rem;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-ink);
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: 1.6;
	font-variant-numeric: lining-nums;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img,
svg { display: block; max-width: 100%; height: auto; }

a { color: var(--c-red); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--c-red-deep); }

:focus-visible {
	outline: 3px solid var(--c-red);
	outline-offset: 3px;
}

h1, h2, h3, h4 {
	margin: 0 0 var(--s-2);
	line-height: 1.15;
	font-weight: 700;
	text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); font-weight: 400; letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; }

p { margin: 0 0 var(--s-2); }

.wrap {
	width: min(100% - 2 * var(--gutter), var(--wrap));
	margin-inline: auto;
}

.visually-hidden,
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: var(--s-2);
	top: -10rem;
	z-index: 100;
	padding: var(--s-1) var(--s-2);
	border-radius: var(--r-pill);
	background: var(--c-ink);
	color: var(--c-white);
}
.skip-link:focus { top: var(--s-2); }

main:focus { outline: none; }

.icon {
	width: 1.5em;
	height: 1.5em;
	flex: none;
	stroke-width: 1.75;
}

.plain-list { margin: 0; padding: 0; list-style: none; }

.missing {
	display: inline-block;
	padding: 0 0.45em;
	border-radius: 6px;
	background: #fff3cd;
	color: #5c4400;
	font-size: var(--fs-small);
	font-weight: 700;
}

/* ---------- Buttons and chips ---------- */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: var(--tap);
	padding: 0.55em 1.35em;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--c-red);
	color: var(--c-white);
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease;
}
.button:hover { background: var(--c-red-deep); color: var(--c-white); }
.button .icon { width: 1.2em; height: 1.2em; }
.button--large { min-height: 3.5rem; padding-inline: 1.6em; font-size: var(--fs-lead); }
.button--soft { background: var(--c-blush-100); color: var(--c-red-deep); }
.button--soft:hover { background: var(--c-blush-200); color: var(--c-red-deep); }
.button--outline { background: var(--c-white); color: var(--c-red); box-shadow: inset 0 0 0 2px var(--c-red); }
.button--outline:hover { background: var(--c-blush-50); color: var(--c-red-deep); }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.chip-link {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.4em 1em;
	border-radius: var(--r-pill);
	background: var(--c-white);
	color: var(--c-ink);
	font-size: var(--fs-small);
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 0 0 1px var(--c-blush-200);
}
.chip-link:hover { color: var(--c-red-deep); box-shadow: 0 0 0 2px var(--c-red); }

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.35em 0.85em;
	border-radius: var(--r-pill);
	background: var(--c-blush-100);
	color: var(--c-red-deep);
	font-size: var(--fs-small);
	font-weight: 700;
}
.chip .icon { width: 1.2em; height: 1.2em; }

.icon-bubble {
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	flex: none;
	border-radius: 50%;
	background: var(--c-blush-100);
	color: var(--c-red);
	box-shadow: 0 0 0 6px var(--c-blush-50);
}

/* ---------- Surfaces ---------- */
.section { padding-top: var(--s-5); }
.section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-2) var(--s-3);
	margin-bottom: var(--s-3);
}
.section__title { margin: 0 0 var(--s-3); }
.section__head .section__title { margin: 0; }
.section__lead { margin: 0.35rem 0 0; color: var(--c-muted); }

.panel { padding: var(--panel-pad); border-radius: var(--r-lg); }
.panel--blush { background: var(--c-blush-100); }
.panel--white { background: var(--c-white); box-shadow: 0 0 0 1px var(--c-line); }

.card {
	padding: var(--s-3);
	border-radius: var(--r-md);
	background: var(--c-white);
	box-shadow: 0 0 0 1px var(--c-line);
}
.card__title { margin-bottom: var(--s-2); font-size: var(--fs-base); color: var(--c-muted); }

.empty { color: var(--c-muted); }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgb(255 255 255 / 0.96);
	backdrop-filter: blur(8px);
	box-shadow: 0 1px 0 var(--c-line);
}

.site-header__bar {
	display: flex;
	align-items: center;
	gap: var(--s-2);
	min-height: 4rem;
	padding-inline: var(--gutter);
}

.site-logo { flex: none; margin-right: auto; }
.site-logo img { width: 9.5rem; }

.site-header__phones { display: none; }

.menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	min-height: var(--tap);
	padding: 0 1rem;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--c-blush-50);
	color: var(--c-ink);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.menu-toggle .icon { width: 1.4em; height: 1.4em; }
.menu-toggle__close,
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

.site-nav { display: none; }
.site-nav.is-open {
	display: block;
	position: absolute;
	inset: 100% 0 auto;
	max-height: calc(100vh - var(--header-h));
	overflow-y: auto;
	padding: var(--s-2) var(--gutter) var(--s-4);
	background: var(--c-white);
	box-shadow: 0 12px 24px -16px rgb(34 34 34 / 0.3);
}

.site-nav__list,
.lang-switch { margin: 0; padding: 0; list-style: none; }

.site-nav__list a {
	display: flex;
	align-items: center;
	min-height: 3.5rem;
	border-bottom: 1px solid var(--c-line);
	color: var(--c-ink);
	font-size: var(--fs-lead);
	font-weight: 700;
	text-decoration: none;
}
.site-nav__list a[aria-current="page"] { color: var(--c-red); }

.lang-switch { display: flex; gap: var(--s-1); margin-top: var(--s-3); }
.lang-switch a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--tap);
	min-height: var(--tap);
	border-radius: var(--r-pill);
	color: var(--c-ink);
	font-weight: 700;
	text-decoration: none;
	box-shadow: inset 0 0 0 1px var(--c-line);
}
.lang-switch a[aria-current] { background: var(--c-ink); color: var(--c-white); box-shadow: none; }
.lang-switch--bar { display: none; }

.quick-actions {
	display: grid;
	grid-template-columns: var(--tap) 1fr 1fr;
	gap: var(--s-1);
	padding: 0 var(--gutter) var(--s-1);
}
.quick-actions .button { width: 100%; padding-inline: 0.75rem; }
/* Phones: "Skambinti" as a round phone icon, so "Tapti pacientu" and "Registruotis" both fit next to it. */
/* Phones: "Skambinti" as a round phone icon that opens both numbers. */
.call-menu { position: relative; }
.call-menu > summary { width: var(--tap); padding: 0; border-radius: 50%; list-style: none; cursor: pointer; }
.call-menu > summary::-webkit-details-marker { display: none; }
.call-menu > summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.call-menu__list {
	position: absolute;
	left: 0;
	top: calc(100% + 0.5rem);
	z-index: 60;
	display: grid;
	gap: 0.25rem;
	min-width: 16rem;
	margin: 0;
	padding: 0.5rem;
	border-radius: var(--r-md);
	background: var(--c-white);
	box-shadow: 0 0 0 1px var(--c-line), var(--shadow);
	list-style: none;
}
.call-menu__list a { display: grid; padding: 0.6rem 0.75rem; border-radius: 12px; color: var(--c-ink); text-decoration: none; }
.call-menu__list a:hover { background: var(--c-blush-50); }
.call-menu__list span { color: var(--c-muted); font-size: var(--fs-small); }
.call-menu__list strong { font-size: var(--fs-lead); font-variant-numeric: tabular-nums; }
.quick-actions .button { white-space: nowrap; }
@media (max-width: 29.99rem) {
	.quick-actions .button { font-size: var(--fs-small); }
	.quick-actions__enrol .icon,
	.quick-actions__register .icon { display: none; }
}

/* ---------- Breadcrumbs, page titles ---------- */
.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.5rem;
	margin: var(--s-3) 0 var(--s-2);
	padding: 0;
	list-style: none;
	color: var(--c-muted);
	font-size: var(--fs-small);
}
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--c-blush-200); }
.breadcrumbs a { color: var(--c-muted); }

.page-title { margin-bottom: var(--s-4); max-width: 22ch; }

/* ---------- Front page: hero ---------- */
.hero { padding-top: 0; }
.hero__panel {
	display: grid;
	gap: var(--s-4);
	align-items: center;
	margin-inline: calc(-1 * var(--gutter));
	padding: var(--s-4) var(--gutter) var(--s-4);
	border-radius: 0 0 var(--r-lg) var(--r-lg);
	background: linear-gradient(160deg, var(--c-blush-50) 0%, var(--c-blush-100) 100%);
	overflow-x: clip;
}
.hero__title { max-width: 14ch; margin-bottom: var(--s-3); }
.hero__lead { max-width: 36rem; margin-bottom: var(--s-3); color: var(--c-muted); font-size: var(--fs-lead); }

/* Phones: the sticky bar already offers Registruotis; the route cards offer Tapti pacientu. */
.hero__actions { display: none; flex-wrap: wrap; gap: var(--s-1); margin-bottom: var(--s-4); }

.popular__label { margin-bottom: var(--s-1); color: var(--c-muted); font-size: var(--fs-small); font-weight: 700; }

.hero__visual--photo {
	position: relative;
	display: block;
	width: min(100%, 32rem);
	margin-inline: auto;
}
/* Photo in a rounded rectangle (Darius, 2026-10-27: no arch, no plus marks), a soft glow behind, today's hours.
   Phones get a square cut from the top, so heads stay and only the bottom is shorter. */
.hero__art { --offset: clamp(0.5rem, 2vw, 1.1rem); position: relative; isolation: isolate; }
.hero__art::after {
	content: "";
	position: absolute;
	left: -25%;
	top: 15%;
	z-index: -2;
	width: 150%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgb(255 255 255 / 0.9) 0%, rgb(255 255 255 / 0) 62%);
}
.hero__art .hero__photo { aspect-ratio: 1; border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgb(124 27 23 / 0.45); }
.hero__photo img { object-position: 50% 0; transform-origin: 50% 0; animation: hero-zoom 24s ease-in-out infinite alternate; }
@media (min-width: 60rem) {
	.hero__art .hero__photo { aspect-ratio: 4 / 5; }
}
@media (max-width: 59.99rem) {
	.hero__art .hero__status { right: var(--s-1); bottom: var(--s-1); }
}
@keyframes hero-zoom {
	from { transform: scale(1.02); }
	to { transform: scale(1.1) translate(-1.5%, 1%); }
}
.hero__status {
	position: absolute;
	right: calc(-1 * var(--offset) - 0.25rem);
	bottom: 7%;
	z-index: 2;
	display: grid;
	margin: 0;
	padding: 0.4rem 0.75rem 0.45rem;
	border-radius: var(--r-md);
	background: rgb(255 255 255 / 0.82);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: var(--shadow);
	line-height: 1.25;
	font-variant-numeric: tabular-nums;
}
.hero__status-label { display: inline-flex; align-items: center; gap: 0.45em; color: var(--c-muted); font-size: var(--fs-small); font-weight: 700; }
.hero__status-hours { font-size: var(--fs-base); }
@media (min-width: 60rem) {
	.hero__status { padding: 0.6rem 1rem 0.65rem; }
	.hero__status-hours { font-size: var(--fs-lead); }
}

/* ---------- Route cards ---------- */
.route-grid { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.route-grid > li { display: flex; }
.route-grid .route-card { flex: 1; }
.route-card {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: var(--s-2);
	min-height: 5.5rem;
	padding: var(--s-2) 3.75rem var(--s-2) var(--s-2);
	border-radius: var(--r-md);
	background: var(--c-white);
	color: var(--c-ink);
	text-decoration: none;
	box-shadow: 0 0 0 1px var(--c-line);
	transition: box-shadow 0.15s ease;
}
.route-card .icon-bubble { grid-row: span 2; }
.route-card__photo { grid-row: span 2; width: 4.5rem; height: 4.5rem; border-radius: 0.875rem; }
.route-card--photo .icon-bubble { display: none; }
.route-card:hover .photo img { transform: scale(1.04); }
.route-card__label { font-size: var(--fs-lead); font-weight: 700; line-height: 1.25; }
.route-card__hint { color: var(--c-muted); font-size: var(--fs-small); line-height: 1.4; }
.route-card__chip,
.link-rows__chip {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	flex: none;
	border-radius: 50%;
	background: var(--c-blush-50);
	color: var(--c-red);
}
.route-card__chip { position: absolute; right: var(--s-2); top: 50%; translate: 0 -50%; }
.route-card__chip .icon,
.link-rows__chip .icon { width: 1.1em; height: 1.1em; }
.route-card:hover { box-shadow: 0 0 0 2px var(--c-red), var(--shadow); }
.route-card:hover .route-card__chip { background: var(--c-red); color: var(--c-white); }

.link-rows { margin: 0; padding: 0; list-style: none; }
.link-rows a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-2);
	min-height: var(--tap);
	padding-block: 0.4rem;
	border-top: 1px solid var(--c-line);
	color: var(--c-ink);
	text-decoration: none;
	line-height: 1.35;
}
.link-rows a:hover { color: var(--c-red-deep); }
.link-rows a:hover .link-rows__chip { background: var(--c-red); color: var(--c-white); }

/* ---------- Photos (client-bought detail shots; one warm treatment so they sit with the palette) ---------- */
.photo { position: relative; overflow: hidden; margin: 0; border-radius: var(--r-md); background: var(--c-blush-100); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.88); transition: transform 0.4s ease; }
.photo::after { content: ""; position: absolute; inset: 0; background: var(--c-blush-100); mix-blend-mode: multiply; opacity: 0.18; pointer-events: none; }

.service__photo { aspect-ratio: 21 / 9; border-radius: var(--r-lg); }

.closing--photo { gap: var(--s-4); }
.closing__body { display: grid; justify-items: start; gap: var(--s-2); }
.closing__photo { width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-lg); }

/* ---------- Doctors ---------- */
.doctor-grid {
	display: grid;
	gap: var(--s-3) var(--s-2);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.doctor-card {
	display: grid;
	gap: 0.15rem;
	color: var(--c-ink);
	text-decoration: none;
}
.doctor-card .portrait { margin-bottom: var(--s-1); }
.doctor-card__name { font-size: var(--fs-lead); font-weight: 700; line-height: 1.25; }
.doctor-card__role { color: var(--c-muted); font-size: var(--fs-small); line-height: 1.4; }
.doctor-card:hover .doctor-card__name { color: var(--c-red-deep); text-decoration: underline; text-underline-offset: 0.18em; }
.doctor-card:hover .portrait__img { transform: scale(1.03); }

.portrait {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--r-md);
	background: var(--c-white);
}
.portrait__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 0.3s ease; }
.portrait__initials {
	display: grid;
	place-items: center;
	height: 100%;
	background: var(--c-blush-50);
	color: var(--c-red);
	font-size: clamp(2.5rem, 8vw, 4.5rem);
	font-weight: 400;
	letter-spacing: 0.04em;
}

.doctor-more {
	display: grid;
	align-content: center;
	justify-items: start;
	gap: var(--s-1);
	aspect-ratio: 1;
	padding: var(--s-3);
	border-radius: var(--r-md);
	background: var(--c-white);
	color: var(--c-ink);
	text-decoration: none;
	box-shadow: 0 0 0 1px var(--c-blush-200);
}
.doctor-more__count { color: var(--c-red); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); line-height: 1; }
.doctor-more__label { font-size: var(--fs-lead); font-weight: 700; line-height: 1.25; }
.doctor-more__chip { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--c-red); color: var(--c-white); }
.doctor-more:hover { box-shadow: 0 0 0 2px var(--c-red), var(--shadow); }

/* ---------- News and offers ---------- */
.news-offers { display: grid; gap: var(--s-2); }
.post-list { margin: 0; padding: 0; list-style: none; }
.post-list__item {
	display: grid;
	justify-items: start;
	gap: 0.4rem;
	padding-block: var(--s-2);
	border-top: 1px solid var(--c-line);
}
.post-list__item:first-child { border-top: 0; padding-top: 0; }
.post-list a { color: var(--c-ink); font-size: var(--fs-lead); font-weight: 700; text-decoration: none; line-height: 1.3; }
.post-list a:hover { color: var(--c-red-deep); text-decoration: underline; }
.date-chip {
	padding: 0.15em 0.7em;
	border-radius: var(--r-pill);
	background: var(--c-blush-50);
	color: var(--c-muted);
	font-size: var(--fs-small);
	font-variant-numeric: tabular-nums;
}

.offer-list { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.offer-card {
	display: grid;
	justify-items: start;
	gap: var(--s-1);
	padding: var(--s-3);
	border-radius: var(--r-md);
	background: var(--c-blush-50);
	color: var(--c-ink);
	text-decoration: none;
}
.offer-card__title { font-size: var(--fs-lead); font-weight: 700; line-height: 1.3; }
.offer-card__text { color: var(--c-muted); }
.offer-card__until {
	padding: 0.15em 0.7em;
	border-radius: var(--r-pill);
	background: var(--c-white);
	color: var(--c-red-deep);
	font-size: var(--fs-small);
	font-weight: 700;
}
.offer-card:hover .offer-card__title { color: var(--c-red-deep); text-decoration: underline; }

/* ---------- Contacts: hours, contact tiles, after hours ---------- */
.visit { display: grid; gap: var(--s-2); }

.visit__hours {
	position: relative;
	overflow: hidden;
	display: grid;
	align-content: space-between;
	gap: var(--s-3);
	padding: var(--panel-pad);
	border-radius: var(--r-lg);
	background: linear-gradient(150deg, var(--c-blush-50) 0%, var(--c-blush-100) 100%);
	isolation: isolate;
}
/* The logo's plus as a large watermark. */
.visit__hours::after {
	content: "";
	position: absolute;
	right: -3rem;
	top: -3rem;
	z-index: -1;
	width: 13rem;
	aspect-ratio: 1;
	background: var(--c-blush-200);
	opacity: 0.45;
	clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%);
}
.visit__now { display: grid; gap: 0.25rem; margin: 0; }
.visit__now-label { display: inline-flex; align-items: center; gap: 0.5em; color: var(--c-muted); font-weight: 700; }
.visit__now-hours { color: var(--c-red-deep); font-size: clamp(2.5rem, 2rem + 2.5vw, 4rem); font-weight: 400; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.week {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0.375rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-variant-numeric: tabular-nums;
	text-align: center;
}
.week__day { display: grid; justify-items: center; gap: 0.35rem; padding: 0.85rem 0.15rem; border-radius: 14px; background: var(--c-white); }
.week__name { color: var(--c-muted); font-size: var(--fs-small); font-weight: 700; }
.week__time { font-size: 0.8125rem; line-height: 1.3; }
.week__day.is-closed { background: rgb(255 255 255 / 0.5); }
.week__day.is-closed .week__time { color: var(--c-muted); }
.week__day.is-today { background: var(--c-red); box-shadow: 0 12px 24px -14px rgb(124 27 23 / 0.8); }
.week__day.is-today .week__name,
.week__day.is-today .week__time { color: var(--c-white); }
.visit__note { margin: 0; color: var(--c-muted); font-size: var(--fs-small); }

.visit__contacts {
	display: grid;
	gap: var(--s-2);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}
.contact-tile {
	position: relative;
	display: grid;
	align-content: start;
	justify-items: start;
	gap: 0.3rem;
	padding: var(--s-3);
	border-radius: var(--r-md);
	background: var(--c-white);
	box-shadow: 0 0 0 1px var(--c-line);
	transition: box-shadow 0.15s ease;
}
.contact-tile .icon-bubble { margin-bottom: var(--s-1); }
.contact-tile__label { color: var(--c-muted); font-size: var(--fs-small); font-weight: 700; }
.contact-tile__value {
	color: var(--c-ink);
	font-size: var(--fs-lead);
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	overflow-wrap: anywhere;
	font-variant-numeric: tabular-nums;
}
a.contact-tile__value::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.contact-tile:has(a):hover { box-shadow: 0 0 0 2px var(--c-red), var(--shadow); }
.contact-tile:has(a):hover .contact-tile__value { color: var(--c-red-deep); }
.contact-tile__hint { display: inline-flex; align-items: center; gap: 0.3em; color: var(--c-red-deep); font-size: var(--fs-small); font-weight: 700; }
.contact-tile__hint .icon { width: 1em; height: 1em; }

.visit__after {
	display: grid;
	gap: var(--s-3);
	padding: var(--panel-pad);
	border-radius: var(--r-lg);
	background: radial-gradient(120% 140% at 0% 0%, #3a2c2b 0%, var(--c-ink) 60%);
	color: var(--c-white);
}
.visit__after-icon {
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.08);
	color: var(--c-blush-200);
}
.visit__after-icon .icon { width: 1.75rem; height: 1.75rem; }
.visit__after-title { margin-bottom: 0.5rem; color: var(--c-white); font-size: var(--fs-h3); }
.visit__after p { max-width: 48rem; margin: 0 0 0.75rem; color: rgb(255 255 255 / 0.82); }
.visit__after p:last-child { margin-bottom: 0; }
.visit__after a { color: var(--c-white); }
.visit__emergency {
	display: grid;
	justify-items: start;
	align-self: center;
	padding: 0.9rem 1.5rem;
	border-radius: var(--r-md);
	background: var(--c-red);
	color: var(--c-white);
	text-decoration: none;
	line-height: 1.2;
}
.visit__emergency:hover { background: var(--c-red-deep); }
.visit__emergency-label { font-size: var(--fs-small); font-weight: 700; }
.visit__emergency-number { font-size: 2.5rem; line-height: 1; letter-spacing: 0.02em; }

/* ---------- Closing ---------- */
.closing { display: grid; gap: var(--s-3); align-items: center; justify-items: start; }
.closing__title { margin-bottom: var(--s-1); }
.closing__text { margin: 0; max-width: 34rem; color: var(--c-muted); font-size: var(--fs-lead); }

/* ---------- Doctor page ---------- */
.doctor {
	display: grid;
	gap: var(--s-4);
	padding-bottom: var(--s-5);
}
.doctor__photo { max-width: 26rem; border-radius: var(--r-lg); }
.doctor__role { margin-bottom: var(--s-1); color: var(--c-muted); font-size: var(--fs-lead); }
.doctor__name { margin-bottom: var(--s-4); }

.facts {
	display: grid;
	gap: var(--s-2);
	margin: 0 0 var(--s-3);
	padding: var(--s-3);
	border-radius: var(--r-md);
	background: var(--c-white);
	box-shadow: 0 0 0 1px var(--c-line);
}
.facts > div { display: grid; gap: 0.25rem; }
.facts > div + div { padding-top: var(--s-2); border-top: 1px solid var(--c-line); }
.facts dt { display: flex; align-items: center; gap: 0.5em; color: var(--c-muted); font-size: var(--fs-small); font-weight: 700; }
.facts dt .icon { width: 1.25em; height: 1.25em; color: var(--c-red); }
.facts dd { margin: 0; }

.inline-list { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin: 0; padding: 0; list-style: none; }

.actions { display: flex; flex-wrap: wrap; gap: var(--s-1); margin-bottom: var(--s-4); }

/* ---------- Service page ---------- */
.service {
	display: grid;
	gap: var(--s-3);
	padding-bottom: var(--s-5);
}
.service__title { margin-bottom: var(--s-2); }

.action-panel {
	display: grid;
	gap: var(--s-1);
	padding: var(--s-3);
	border-radius: var(--r-md);
	background: var(--c-blush-100);
}
.action-panel__title { font-size: var(--fs-h3); margin-bottom: var(--s-1); }
.action-panel .button { width: 100%; font-size: var(--fs-base); }
.action-panel .button--outline { background: var(--c-white); }
.action-panel__subtitle { margin: var(--s-3) 0 var(--s-1); font-size: var(--fs-base); }
.team-list { display: grid; gap: var(--s-1); margin: 0; padding: 0; list-style: none; }
.team-list a { display: flex; align-items: center; gap: 0.75rem; color: var(--c-ink); text-decoration: none; }
.team-list a:hover .team-list__name { color: var(--c-red-deep); text-decoration: underline; }
.team-list__photo { width: 3.5rem; flex: none; border-radius: 50%; }
.team-list__photo .portrait__initials { font-size: 1.25rem; font-weight: 700; }
.team-list__name { display: block; font-weight: 700; line-height: 1.3; }
.team-list__role { display: block; color: var(--c-muted); font-size: var(--fs-small); line-height: 1.35; }

/* ---------- Prose (content) ---------- */
.prose > :not(table) { max-width: 46rem; }
.prose > * + * { margin-top: var(--s-2); }
.prose h2 { margin-top: var(--s-4); font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.prose h3 { margin-top: var(--s-3); font-size: var(--fs-base); }
.prose ul,
.prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--c-red); }

/* Price tables in a white card; rows become blocks on narrow screens (labels from data-label). */
.prose table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border-radius: var(--r-md);
	background: var(--c-white);
	box-shadow: 0 0 0 1px var(--c-line);
	font-size: var(--fs-small);
	font-variant-numeric: tabular-nums;
}
.prose th,
.prose td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose thead th { background: var(--c-blush-50); font-weight: 700; }
.prose td:not(:first-child),
.prose th:not(:first-child) { width: 9.5rem; text-align: right; }
.prose td:not(:first-child) { white-space: nowrap; }

@media (max-width: 40rem) {
	.prose table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.prose table tr { display: block; padding: 0.85rem 1rem; border-bottom: 1px solid var(--c-line); }
	.prose table tbody tr:last-child { border-bottom: 0; }
	.prose table td { display: flex; justify-content: space-between; gap: var(--s-2); width: auto; padding: 0.15rem 0; border: 0; text-align: left; white-space: normal; }
	.prose table td:first-child { display: block; font-size: var(--fs-base); font-weight: 700; }
	.prose table td[data-label]:not(:first-child)::before { content: attr(data-label); color: var(--c-muted); }
}

/* ---------- Reviews ---------- */
/* The viewport's own padding keeps card shadows visible; the negative margins cancel it so the panel
   keeps the same inner spacing as every other panel. */
.reviews .carousel__viewport { margin-block: calc(-1 * var(--s-1)) calc(-1 * var(--s-3)); }

.stars { display: flex; gap: 0.2rem; margin: 0 0 var(--s-2); }
.stars .icon { width: 1.4rem; height: 1.4rem; }
.stars__on { color: #b26f0e; }
.stars__off { color: var(--c-blush-200); }

.review-grid { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }

/* Reviews carousel (header.js): one review per step, endless. Without JavaScript the row scrolls sideways. */
.carousel__viewport {
	container-type: inline-size;
	margin: 0 calc(-1 * var(--s-1));
	padding: var(--s-1) var(--s-1) var(--s-3);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: var(--c-blush-200) transparent;
}
.carousel__track { display: flex; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.carousel__item { display: flex; flex: none; width: 86cqi; scroll-snap-align: start; }
.carousel__item > .review-card { width: 100%; }
.carousel.is-ready .carousel__viewport { overflow: hidden; scroll-snap-type: none; touch-action: pan-y; }
.carousel.is-ready .carousel__track { will-change: transform; }
.carousel__controls { display: flex; justify-content: flex-end; gap: var(--s-1); }
.carousel__controls[hidden] { display: none; }
.carousel__button {
	display: grid;
	place-items: center;
	width: var(--tap);
	height: var(--tap);
	border: 0;
	border-radius: 50%;
	background: var(--c-white);
	color: var(--c-red);
	box-shadow: var(--shadow);
	cursor: pointer;
}
.carousel__button:hover { background: var(--c-red); color: var(--c-white); }
.carousel__button .icon { width: 1.4rem; height: 1.4rem; }

.review-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	padding: var(--s-3);
	border-radius: var(--r-md);
	background: var(--c-white);
	box-shadow: var(--shadow);
}
.review-card__text { margin: 0 0 var(--s-3); font-size: var(--fs-lead); line-height: 1.5; }
.review-card__text p { margin: 0; }
.review-card__text p::before { content: "„"; }
.review-card__text p::after { content: "“"; }
.review-card__meta { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.review-card__avatar {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	flex: none;
	border-radius: 50%;
	background: var(--c-blush-100);
	color: var(--c-red-deep);
	font-weight: 700;
}
.review-card__who { display: grid; }
.review-card__author { font-weight: 700; line-height: 1.3; }
.review-card__source { display: inline-flex; align-items: center; gap: 0.35em; color: var(--c-muted); font-size: var(--fs-small); }
.review-card__source .icon { width: 1em; height: 1em; }
.note { margin-top: var(--s-2); color: var(--c-muted); font-size: var(--fs-small); }

/* ---------- Footer ---------- */
.site-footer {
	margin-top: var(--s-5);
	padding-block: var(--s-5) var(--s-3);
	background: var(--c-footer);
	color: var(--c-ink);
}
.site-footer a { color: var(--c-ink); }
.site-footer a:hover { color: var(--c-red-deep); }
.site-footer__grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.site-footer__title { margin-bottom: var(--s-2); font-size: var(--fs-base); font-weight: 700; color: var(--c-muted); letter-spacing: 0; }
.site-footer .plain-list li { margin-bottom: 0.4rem; }
.site-footer .plain-list a { display: inline-flex; align-items: center; gap: 0.4em; min-height: 2.25rem; }
.site-footer .icon { width: 1.25em; height: 1.25em; color: var(--c-red); }
.hours-list { margin: 0 0 var(--s-2); }
.hours-list div { display: flex; gap: var(--s-2); }
.hours-list dt { width: 4.5rem; font-weight: 700; }
.hours-list dd { margin: 0; font-variant-numeric: tabular-nums; }
.site-footer__legal {
	display: flex;
	align-items: center;
	gap: var(--s-2);
	margin-top: var(--s-4);
	padding-top: var(--s-3);
	border-top: 1px solid var(--c-line);
	color: var(--c-muted);
	font-size: var(--fs-small);
}
.site-footer__legal p { margin: 0; }
.site-footer__mark { width: 2.25rem; }

/* ---------- Wider screens ---------- */
@media (min-width: 40rem) {
	.route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.doctor-grid:not(.doctor-grid--home) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.news-offers { grid-template-columns: 1fr 1fr; }
	.news-offers--single { grid-template-columns: 1fr; max-width: 46rem; }
	.carousel__item { width: calc((100cqi - var(--s-2)) / 2); }
	.closing { grid-template-columns: 1fr auto; }
	.closing--photo { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 60rem) {
	:root { --header-h: 5.5rem; }

	.site-header__bar { min-height: 5.5rem; gap: var(--s-3); }
	.site-logo img { width: 11.5rem; }


	/* Both reception numbers stacked, so they fit next to the two buttons (Darius, 2026-11-04). */
	.site-header__phones { display: flex; align-items: center; gap: 0.45em; white-space: nowrap; font-variant-numeric: tabular-nums; }
	.site-header__phones > .icon { flex: none; width: 1.25em; height: 1.25em; color: var(--c-red); }
	.site-header__numbers { display: grid; line-height: 1.25; }
	.site-header__numbers a { color: var(--c-ink); font-weight: 700; font-size: var(--fs-small); text-decoration: none; }
	.site-header__numbers a + a { color: var(--c-muted); font-weight: 400; }
	.site-header__numbers a:hover { color: var(--c-red-deep); text-decoration: underline; }

	/* Desktop: one row aligned with the page container; the menu is centred between logo and actions. */
	.site-header__inner {
		display: flex;
		align-items: center;
		gap: var(--s-3);
		width: min(100% - 2 * var(--gutter), var(--wrap));
		margin-inline: auto;
	}
	.site-header__bar { flex: 1; padding-inline: 0; }
	.site-logo { margin-right: 0; }
	.quick-actions { display: flex; gap: var(--s-1); padding: 0; }
	.quick-actions .button { width: auto; padding-inline: 1.25rem; }
	.quick-actions .quick-actions__call { display: none; }
	.lang-switch--menu { display: none; }
	.lang-switch--bar { display: flex; flex: none; margin: 0; gap: 0.25rem; }
	.lang-switch--bar a { min-width: 2.5rem; min-height: 2.5rem; font-size: var(--fs-small); }

	.hero { padding-top: var(--s-3); }
	.hero__panel {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: var(--s-4);
		margin-inline: 0;
		padding: var(--s-5) clamp(2rem, 1rem + 3vw, 4.5rem);
		border-radius: var(--r-lg);
	}
	.hero__actions { display: flex; }
	.hero__panel:has(.hero__visual--photo) { grid-template-columns: minmax(0, 1fr) min(32rem, 44%); column-gap: var(--s-5); }
	.hero__visual--photo { width: 100%; }

	.route-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.route-card {
		grid-template-columns: 1fr;
		align-content: start;
		row-gap: 0.35rem;
		min-height: 13rem;
		padding: var(--s-3);
	}
	.route-card .icon-bubble { grid-row: auto; margin-bottom: var(--s-2); }
	.route-card--photo { padding-top: 0; overflow: hidden; }
	.route-card--photo .route-card__photo { grid-row: auto; width: auto; height: 9rem; margin: 0 calc(-1 * var(--s-3)); border-radius: 0; }
	.route-card--photo .icon-bubble {
		display: grid;
		position: relative;
		z-index: 1;
		margin: -1.625rem 0 var(--s-1);
		background: var(--c-white);
		box-shadow: var(--shadow);
	}
	.route-card--photo .route-card__chip { background: var(--c-white); }
	.route-card__chip { top: var(--s-3); right: var(--s-3); translate: none; }

	.review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.carousel__item { width: calc((100cqi - 2 * var(--s-2)) / 3); }

	.doctor-grid,
	.doctor-grid:not(.doctor-grid--home) { grid-template-columns: repeat(4, minmax(0, 1fr)); }

	.visit { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
	.visit__contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.visit__after { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: var(--s-4); }

	.doctor { grid-template-columns: 24rem minmax(0, 1fr); gap: var(--s-5); align-items: start; }
	.doctor__photo { position: sticky; top: calc(var(--header-h) + var(--s-3)); }

	.service { grid-template-columns: minmax(0, 1fr) 22rem; column-gap: var(--s-5); }
	.service__head { grid-column: 1; }
	.service__photo { grid-column: 1; grid-row: 2; }
	.service__content { grid-column: 1; grid-row: 3; }
	.service__prep { grid-column: 1; grid-row: 4; }
	.action-panel { grid-column: 2; grid-row: 1 / span 4; align-self: start; position: sticky; top: calc(var(--header-h) + var(--s-3)); }
}

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

/* ---------- Pages ---------- */
.page-children { max-width: 46rem; }
.page--contacts__more { margin-top: var(--s-5); }
.prose .wp-block-quote { margin-inline: 0; padding: var(--s-2) var(--s-3); border-left: 3px solid var(--c-red); background: var(--c-blush-50); border-radius: 0 var(--r-md) var(--r-md) 0; }
.prose .wp-block-quote p { font-size: var(--fs-lead); }
.prose .wp-block-quote cite { color: var(--c-muted); font-style: normal; }
.prose .wp-block-separator { border: 0; border-top: 1px solid var(--c-line); }
.prose .wp-block-image img { height: auto; }
.prose .wp-block-image img { width: auto; max-width: 100%; }
.prose .wp-block-separator { width: 100%; max-width: 46rem; margin: var(--s-4) 0; }

/* ---------- Forms (Contact Form 7) ---------- */
.form-panel { max-width: 52rem; margin-top: var(--s-5); padding: var(--panel-pad); border-radius: var(--r-lg); background: var(--c-blush-50); scroll-margin-top: calc(var(--header-h) + var(--s-3)); }
.form-panel__lead { margin: calc(-1 * var(--s-1)) 0 var(--s-3); color: var(--c-muted); }
.smc-form { display: grid; gap: var(--s-2); }
.smc-form .form-note { margin: 0; padding: 0.75rem 1rem; border-radius: var(--r-md); background: var(--c-white); box-shadow: inset 3px 0 0 var(--c-red); font-size: var(--fs-small); }
.smc-form .form-grid { display: grid; gap: var(--s-2); }
.smc-form .form-field { display: grid; gap: 0.35rem; }
.smc-form label { font-weight: 700; font-size: var(--fs-small); }
.smc-form .form-hint { color: var(--c-muted); font-size: var(--fs-small); }
.smc-form input[type="text"],
.smc-form input[type="email"],
.smc-form input[type="tel"],
.smc-form select,
.smc-form textarea {
	width: 100%;
	min-height: var(--tap);
	padding: 0.6rem 0.85rem;
	border: 1px solid var(--c-blush-200);
	border-radius: 12px;
	background: var(--c-white);
	color: var(--c-ink);
	font: inherit;
}
.smc-form textarea { min-height: 8rem; resize: vertical; }
.smc-form :is(input, select, textarea):focus-visible { outline: 3px solid var(--c-red); outline-offset: 1px; border-color: var(--c-red); }
.smc-form .wpcf7-form-control-wrap { display: block; }
.smc-form .form-consent { font-size: var(--fs-small); }
.smc-form .form-consent label { display: inline-flex; gap: 0.5rem; align-items: flex-start; font-weight: 400; }
.smc-form .form-consent input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: var(--c-red); }
.smc-form .wpcf7-submit { justify-self: start; }
.smc-form .wpcf7-not-valid-tip { display: block; margin-top: 0.25rem; color: var(--c-red-deep); font-size: var(--fs-small); font-weight: 700; }
.smc-form .wpcf7-not-valid { border-color: var(--c-red); }
.smc-form .wpcf7-response-output { margin: 0; padding: 0.75rem 1rem; border-radius: var(--r-md); background: var(--c-white); font-weight: 700; }
.smc-form.invalid .wpcf7-response-output,
.smc-form.failed .wpcf7-response-output { box-shadow: inset 3px 0 0 var(--c-red); }
.smc-form.sent .wpcf7-response-output { box-shadow: inset 3px 0 0 #2f8f5b; }
.smc-form .wpcf7-response-output:empty { display: none; }
.smc-form .wpcf7-spinner { margin-left: 0.5rem; }
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.business { display: grid; gap: var(--s-4); }
.business__address { display: flex; gap: 0.5em; align-items: center; margin: var(--s-1) 0 0; }
.business__address .icon { color: var(--c-red); flex: none; }

@media (min-width: 40rem) {
	.smc-form .form-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 60rem) {
	.business { grid-template-columns: minmax(0, 1fr) 22rem; column-gap: var(--s-5); align-items: start; }
	.business__contact { position: sticky; top: calc(var(--header-h) + var(--s-3)); }
}
.wpcf7 .hidden-fields-container { display: none; }

/* ---------- Aktualu: group tabs and entry cards ---------- */
.aktualu-tabs { margin: 0 0 var(--s-4); }
.aktualu-tabs .chip-link.is-active { background: var(--c-red); color: var(--c-white); box-shadow: none; }
.post-cards { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.post-card { display: grid; gap: var(--s-2); height: 100%; padding: var(--s-2); border-radius: var(--r-md); background: var(--c-white); box-shadow: 0 0 0 1px var(--c-line); }
.post-card__photo { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; }
.post-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 0 var(--s-1) var(--s-1); }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0 0 var(--s-1); }
.post-card__group { font-size: var(--fs-small); font-weight: 600; color: var(--c-red-deep); }
.post-card__title { margin: 0 0 var(--s-1); font-size: var(--fs-h3); line-height: 1.3; }
.post-card__title a { color: var(--c-ink); text-decoration: none; }
.post-card__title a:hover { color: var(--c-red-deep); text-decoration: underline; }
.post-card__excerpt { margin: 0; color: var(--c-muted); }
@media (min-width: 40rem) { .post-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .post-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { text-decoration: underline; }

.screening { margin: var(--s-4) 0; padding: var(--s-3); border-radius: var(--r-md); background: var(--c-blush-100); }
.screening__title { margin: 0 0 var(--s-1); font-size: var(--fs-h3); }
.screening p:last-child { margin-bottom: 0; }

/* ---------- Statistics consent ---------- */
.consent { position: fixed; inset: auto 0 0; z-index: 60; padding: var(--s-2) 0; background: var(--c-white); box-shadow: 0 -1px 0 var(--c-line), 0 -8px 24px rgb(0 0 0 / 8%); }
.consent[hidden] { display: none; }
.consent__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }
.consent__text { flex: 1 1 28rem; margin: 0; font-size: var(--fs-small); }
.consent__text strong { display: block; font-size: var(--fs-base); }
.consent__actions { display: flex; gap: var(--s-1); flex-wrap: wrap; }
.consent__actions .button { min-width: 8rem; }

/* ---------- Front page accent band ---------- */
.accent {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--s-2) var(--s-3);
	margin-top: var(--s-4);
	padding: var(--s-3);
	border-radius: var(--r-md);
	background: var(--c-white);
	box-shadow: 0 0 0 1px var(--c-line), inset 6px 0 0 var(--c-red);
}
.accent__icon { display: grid; place-items: center; width: 4rem; height: 4rem; flex: none; border-radius: 50%; background: var(--c-blush-100); color: var(--c-red); }
.accent__icon .icon { width: 2.25rem; height: 2.25rem; }
.accent__body { flex: 1 1 16rem; }
.accent__title { margin: 0; font-size: var(--fs-h3); }
.accent__text { margin: 0.25rem 0 0; color: var(--c-muted); }
.accent__link { flex: none; }

/* ---------- Enrolment guide ---------- */
.service__lead { font-size: var(--fs-lead); }
.prose .documents { display: grid; gap: var(--s-1); margin: 0; padding: 0; list-style: none; }
.prose .documents li + li { margin-top: 0; }
.documents__item { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); padding: var(--s-2); border-radius: var(--r-md); background: var(--c-white); box-shadow: 0 0 0 1px var(--c-line); }
.documents__title { flex: 1 1 14rem; font-weight: 600; }
.documents__file { font-size: var(--fs-small); }
.price-details summary { cursor: pointer; color: var(--c-red-deep); font-weight: 600; list-style: none; }
.price-details summary::-webkit-details-marker { display: none; }
.price-details summary::after { content: " +"; }
.price-details[open] summary::after { content: " −"; }
.price-details__body { margin-top: var(--s-1); color: var(--c-ink); font-weight: 400; }
.price-details__body > :last-child { margin-bottom: 0; }
.price-details__body ul { margin: 0; padding-left: 1.2em; }
.prices__note { color: var(--c-muted); font-size: var(--fs-small); }
.service__lead p { margin-bottom: var(--s-2); }
.page-lead { max-width: 46rem; margin: calc(-1 * var(--s-2)) 0 var(--s-4); color: var(--c-muted); font-size: var(--fs-lead); }
.enrol { display: grid; gap: var(--s-4); }
.enrol__online { display: grid; gap: var(--s-5); min-width: 0; }
.enrol__portal { padding: var(--s-4) var(--s-3); border-radius: var(--r-md); background: var(--c-blush-100); }
.enrol__portal .section__title { margin-bottom: var(--s-2); }
.enrol__portal p { max-width: 40rem; margin: 0 0 var(--s-1); }
.enrol__portal p:last-child { margin: var(--s-2) 0 0; }
.enrol__portal .enrol__badge { display: inline-block; margin: 0 0 var(--s-1); padding: 0.2rem 0.75rem; border-radius: 999px; background: var(--c-red); color: var(--c-white); font-size: var(--fs-small); font-weight: 700; }
.enrol__mail { padding: 0 var(--s-3); }
.enrol__mail .section__title { margin-bottom: var(--s-2); }
.enrol__steps { display: grid; gap: var(--s-1); max-width: 40rem; margin: 0 0 var(--s-2); padding-left: 1.4em; }
.enrol__steps li::marker { color: var(--c-red); font-weight: 700; }
.team-list--inline { grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); margin-top: var(--s-1); }
.enrol__line { display: flex; gap: 0.5em; align-items: center; }
.enrol__line .icon { color: var(--c-red); flex: none; }
.enrol__visit .hours-list { margin: 0 0 var(--s-1); }
.enrol__more { margin-top: var(--s-5); }

@media (min-width: 60rem) {
	.enrol { grid-template-columns: minmax(0, 1fr) 22rem; column-gap: var(--s-5); align-items: start; }
	.enrol__visit { position: sticky; top: calc(var(--header-h) + var(--s-3)); }
}

/* ---------- Doctors list: filter, card details ---------- */
.doctor-filter { display: grid; gap: var(--s-2); margin-bottom: var(--s-4); }
.doctor-filter__search { position: relative; display: block; max-width: 26rem; }
.doctor-filter__search .icon { position: absolute; left: 0.9rem; top: 50%; translate: 0 -50%; color: var(--c-muted); pointer-events: none; }
.doctor-filter__search input {
	width: 100%;
	min-height: var(--tap);
	padding: 0.6rem 1rem 0.6rem 2.6rem;
	border: 1px solid var(--c-blush-200);
	border-radius: var(--r-pill);
	background: var(--c-white);
	font: inherit;
}
.doctor-filter__search input:focus-visible { outline: 3px solid var(--c-red); outline-offset: 1px; }
.doctor-filter__services { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.doctor-filter__services .chip-link { border: 0; font: inherit; font-size: var(--fs-small); cursor: pointer; }
.doctor-filter__services .chip-link.is-active { background: var(--c-red); color: var(--c-white); box-shadow: none; }
.doctor-filter__count { margin: 0; color: var(--c-muted); font-size: var(--fs-small); }
.doctor-card-wrap { display: grid; gap: var(--s-1); align-content: start; }
.doctor-card__languages { display: inline-flex; align-items: center; gap: 0.35em; margin-top: 0.15rem; color: var(--c-muted); font-size: var(--fs-small); }
.doctor-card__languages .icon { width: 1em; height: 1em; color: var(--c-red); }
.doctor-card__register { display: inline-flex; align-items: center; gap: 0.4em; justify-self: start; min-height: var(--tap); color: var(--c-red-deep); font-weight: 700; font-size: var(--fs-small); }
.doctor-card__register .icon { width: 1.1em; height: 1.1em; }
[data-doctor-list] > li[hidden] { display: none; }

/* ---------- Offers ---------- */
.offer-list--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.offer-list--grid .offer-card { height: 100%; }
.notice { display: inline-flex; align-items: center; gap: 0.5em; margin: 0 0 var(--s-3); padding: 0.6rem 1rem; border-radius: var(--r-md); background: var(--c-blush-50); font-weight: 700; }
.notice .icon { color: var(--c-red); }
.notice--ended { background: var(--c-footer); color: var(--c-muted); }
.action-panel .offer-card { margin-top: var(--s-1); background: var(--c-white); }

/* ---------- News ---------- */
.page > .date-chip { display: inline-block; margin-bottom: var(--s-1); }
.news__photo { margin-bottom: var(--s-3); }
.post-list { max-width: 46rem; }
.navigation.pagination { margin-top: var(--s-4); }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.navigation.pagination .page-numbers { display: inline-grid; place-items: center; min-width: var(--tap); min-height: var(--tap); padding: 0 0.75rem; border-radius: var(--r-pill); background: var(--c-white); color: var(--c-ink); box-shadow: 0 0 0 1px var(--c-line); text-decoration: none; }
.navigation.pagination .page-numbers.current { background: var(--c-red); color: var(--c-white); box-shadow: none; }
.navigation.pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Search and 404 ---------- */
.search-form { display: flex; flex-wrap: wrap; gap: var(--s-1); align-items: center; margin-bottom: var(--s-4); }
.search-form .doctor-filter__search { flex: 1 1 18rem; }
.search-results { max-width: 46rem; }
.search-results__type { display: block; color: var(--c-muted); font-size: var(--fs-small); }
.search-results__title { display: block; font-weight: 700; }
.not-found__links { margin: 0 0 var(--s-3); padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- Content blocks (patterns) ---------- */
.prose .is-style-info { padding: var(--s-3); border-radius: var(--r-md); background: var(--c-blush-50); }
.prose .is-style-info > :first-child { margin-top: 0; }
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0.6rem 1.4rem; border-radius: var(--r-pill); background: var(--c-red); color: var(--c-white); font-weight: 700; text-decoration: none; }
.prose .is-style-outline .wp-block-button__link { background: var(--c-white); color: var(--c-red-deep); box-shadow: inset 0 0 0 2px var(--c-red); }
.prose .wp-block-details { padding: var(--s-2) 0; border-top: 1px solid var(--c-line); }
.prose .wp-block-details summary { font-weight: 700; cursor: pointer; }

/* ---------- Services: one flat list (Darius, 2026-10-27) ---------- */
.service-filter { margin-bottom: var(--s-3); }
.service-tiles {
	display: grid;
	gap: var(--s-1);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}
.service-tiles > li { display: flex; }
.service-tiles > li[hidden] { display: none; }
.service-tile {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 0.85rem;
	min-height: 4.25rem;
	padding: 0.75rem 0.9rem;
	border-radius: var(--r-md);
	background: var(--c-white);
	color: var(--c-ink);
	text-decoration: none;
	box-shadow: 0 0 0 1px var(--c-line);
	transition: box-shadow 0.15s ease;
}
.service-tile__icon { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--c-blush-100); color: var(--c-red); }
.service-tile__icon .icon { width: 1.35rem; height: 1.35rem; }
.service-tile__title { flex: 1; font-weight: 700; line-height: 1.3; }
.service-tile__chip { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--c-blush-50); color: var(--c-red); }
.service-tile__chip .icon { width: 1.1em; height: 1.1em; }
.service-tile:hover { box-shadow: 0 0 0 2px var(--c-red), var(--shadow); }
.service-tile:hover .service-tile__title { color: var(--c-red-deep); }
.service-tile:hover .service-tile__chip { background: var(--c-red); color: var(--c-white); }
@media (min-width: 60rem) {
	.service-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 60rem) {
	.route-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Laptops (60–85rem): the menu stays behind "Meniu", so both phone numbers and both buttons fit in one row. */
@media (min-width: 60rem) and (max-width: 84.99rem) {
	.site-header__bar { display: contents; }
	.site-header__inner { gap: var(--s-2); }
	.site-logo { margin-right: auto; }
	.site-header__phones { order: 1; }
	.quick-actions { order: 2; }
	.menu-toggle { order: 3; }
	.lang-switch--bar { order: 4; }
}

/* Wide screens: the full menu in the header row. */
@media (min-width: 85rem) {
	.menu-toggle { display: none; }
	.site-nav,
	.site-nav.is-open {
		display: flex;
		align-items: center;
		gap: var(--s-3);
		position: static;
		padding: 0;
		box-shadow: none;
		max-height: none;
		overflow: visible;
		background: none;
	}
	.site-nav__list { display: flex; gap: var(--s-1) var(--s-3); }
	.site-nav__list a { min-height: var(--tap); border: 0; font-size: var(--fs-base); white-space: nowrap; }
	.site-nav__list a:hover { color: var(--c-red); }
	.site-nav__list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--c-red); }
	.site-nav,
	.site-nav.is-open { flex: 1; justify-content: center; }
}
