/*
Theme Name: Oftalmo
Theme URI: https://spitaloftalmologie.ro
Description: Tema portalului Institutului Clinic de Urgențe Oftalmologice „Prof. Dr. Mircea Olteanu”. Temă copil pentru Hello Elementor, structurată conform recomandărilor ANMCS.
Author: Tara Interactive
Author URI: https://tarainteractive.com
Template: hello-elementor
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: oftalmo
Tags: hospital, healthcare, public-institution, accessibility-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&display=swap');

/* ═══════════════════════════════════════════════════════════════════
   1. DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════════ */
:root {
	/* Navy institutional — identitatea principală */
	--oft-navy: #24377b;
	--oft-navy-dark: #1a2a5e;
	--oft-navy-deep: #0b2345;
	--oft-navy-soft: #e5ebf5;

	/* Accent turcoaz — tematică oftalmologică */
	--oft-accent: #00a0b6;
	--oft-accent-dark: #00808f;
	--oft-accent-soft: #e0f4f7;

	/* Urgență — rezervat exclusiv pentru 112 / camera de gardă */
	--oft-urgent: #d32f2f;

	/* Neutre */
	--oft-ink: #0f172a;
	--oft-body: #374151;
	--oft-muted: #6b7280;
	--oft-line: #e5e7eb;
	--oft-line-strong: #d0d5dd;
	--oft-surface: #ffffff;
	--oft-bg: #f7f7f7;
	--oft-bg-alt: #fbfbfb;

	--oft-link: #0066cc;
	--oft-focus: #00a0b6;

	/* Tipografie */
	--oft-font-ui: 'Roboto', 'Segoe UI', system-ui, sans-serif;
	--oft-font-head: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
	--oft-font-serif: 'Source Serif 4', Georgia, serif;

	/* Ritm & formă */
	--oft-radius: 10px;
	--oft-radius-lg: 16px;
	--oft-shadow-sm: 0 2px 5px rgba(15, 23, 42, .08);
	--oft-shadow: 0 8px 24px rgba(0, 0, 0, .06);
	--oft-shadow-lg: 0 12px 30px rgba(0, 0, 0, .08);
	--oft-container: 1200px;
	--oft-header-h: 92px;

	/* Scalare font pentru widget-ul de accesibilitate */
	--oft-font-scale: 1;
}

/* Temele de accesibilitate comută aceste tokenuri */
html[data-oft-contrast='high'] {
	--oft-navy: #000000;
	--oft-navy-dark: #000000;
	--oft-navy-soft: #ffffff;
	--oft-accent: #005f6b;
	--oft-accent-dark: #00434c;
	--oft-accent-soft: #ffffff;
	--oft-ink: #000000;
	--oft-body: #000000;
	--oft-muted: #1a1a1a;
	--oft-line: #000000;
	--oft-line-strong: #000000;
	--oft-bg: #ffffff;
	--oft-bg-alt: #ffffff;
	--oft-surface: #ffffff;
	--oft-link: #00008b;
	--oft-shadow: none;
	--oft-shadow-sm: none;
	--oft-shadow-lg: none;
}

html[data-oft-contrast='high'] * {
	text-shadow: none !important;
	box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════════════════
   2. BAZĂ
   ═══════════════════════════════════════════════════════════════════ */
html {
	font-size: calc(100% * var(--oft-font-scale));
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--oft-header-h) + 20px);
}

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

html body {
	background-color: var(--oft-bg);
	color: var(--oft-body);
	font-family: var(--oft-font-ui);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--oft-font-head);
	color: var(--oft-ink);
	line-height: 1.25;
	font-weight: 700;
}

h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); }
h3 { font-size: clamp(1.2rem, 1rem + .7vw, 1.4rem); }

a {
	color: var(--oft-link);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover { color: var(--oft-navy); }

/* Focus vizibil pe tot site-ul — obligatoriu pentru accesibilitate */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--oft-focus);
	outline-offset: 2px;
	border-radius: 2px;
}

img { max-width: 100%; height: auto; }

.oft-container {
	width: 100%;
	max-width: var(--oft-container);
	margin-inline: auto;
	padding-inline: 20px;
}

.oft-center { margin: 0 auto; text-align: center; }

.lead {
	font-size: 1.125rem;
	color: var(--oft-body);
}

/* Ascunde titlul pe pagina principală */
.home .entry-header,
.home .page-header,
.home .entry-title,
.home .elementor-page-title,
body.home .entry-header {
	display: none !important;
}

/* Skip link */
.oft-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 10000;
	padding: 12px 20px;
	background: var(--oft-navy);
	color: #fff;
	font-weight: 600;
	border-radius: 0 0 var(--oft-radius) 0;
}

.oft-skip-link:focus {
	left: 0;
	color: #fff;
}

.oft-sr-only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   3. BARA UTILITARĂ (top bar)
   ═══════════════════════════════════════════════════════════════════ */
.oft-topbar {
	background: var(--oft-navy);
	color: #fff;
	font-size: 14px;
}

.oft-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	min-height: 40px;
	padding-block: 6px;
}

.oft-topbar__contact {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.oft-topbar a {
	color: #fff;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.oft-topbar a:hover {
	color: #fff;
	text-decoration: underline;
}

.oft-topbar__tools {
	display: flex;
	align-items: center;
	gap: 6px;
}

.oft-topbar .menu-top-menu-container ul {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.oft-topbar .menu-top-menu-container ul li a {
	padding: 6px 10px;
	border-radius: 4px;
}

.oft-topbar .menu-top-menu-container ul li a:hover {
	background: rgba(255, 255, 255, .14);
	text-decoration: none;
}

/* Butoane de accesibilitate */
.oft-a11y {
	display: inline-flex;
	gap: 4px;
	align-items: center;
}

.oft-a11y__btn {
	appearance: none;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .28);
	color: #fff;
	width: 30px;
	height: 30px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .18s ease;
}

.oft-a11y__btn:hover { background: rgba(255, 255, 255, .28); }
.oft-a11y__btn[aria-pressed='true'] { background: var(--oft-accent); border-color: var(--oft-accent); }

/* ═══════════════════════════════════════════════════════════════════
   4. HEADER + NAVIGAȚIE
   ═══════════════════════════════════════════════════════════════════ */
.oft-header {
	background: var(--oft-surface);
	border-bottom: 1px solid var(--oft-line);
	position: sticky;
	top: 0;
	z-index: 900;
}

.oft-header__brandbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 12px;
}

.oft-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	min-width: 0;
}

.oft-brand:hover { text-decoration: none; }

.oft-brand__logo img,
.oft-brand__logo svg {
	max-height: 60px;
	width: auto;
	display: block;
}

.oft-brand__text { min-width: 0; }

.oft-brand__name {
	font-family: var(--oft-font-head);
	font-weight: 800;
	font-size: 15px;
	line-height: 1.2;
	color: var(--oft-navy);
	letter-spacing: -.01em;
	margin: 0;
}

.oft-brand__tagline {
	font-size: 12px;
	color: var(--oft-muted);
	margin: 2px 0 0;
}

.oft-header__aside {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

.oft-badge-anmcs {
	max-height: 54px;
	width: auto;
}

/* Căutare în header */
.oft-search {
	position: relative;
}

.oft-search__form {
	display: flex;
	align-items: center;
	border: 1px solid var(--oft-line-strong);
	border-radius: 999px;
	overflow: hidden;
	background: var(--oft-bg-alt);
	transition: border-color .18s ease, box-shadow .18s ease;
}

.oft-search__form:focus-within {
	border-color: var(--oft-accent);
	box-shadow: 0 0 0 3px var(--oft-accent-soft);
}

.oft-search__input {
	border: 0;
	background: transparent;
	padding: 9px 14px;
	font-size: 14px;
	width: 190px;
	color: var(--oft-ink);
}

.oft-search__input:focus-visible { outline: none; }

.oft-search__submit {
	border: 0;
	background: var(--oft-navy);
	color: #fff;
	padding: 9px 15px;
	cursor: pointer;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
}

.oft-search__submit:hover { background: var(--oft-navy-dark); }

/* ── Meniul principal ─────────────────────────────────────────────── */
.oft-nav {
	background: var(--oft-navy);
}

.oft-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.menu-main-menu-container > ul,
.oft-nav ul.oft-menu {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.oft-menu li {
	margin: 0;
	padding: 0;
	position: relative;
}

.oft-menu > li > a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 15px 14px;
	text-decoration: none;
	font-family: var(--oft-font-ui);
	font-size: 15px;
	font-weight: 500;
	color: #fff;
	white-space: nowrap;
	border-bottom: 3px solid transparent;
	transition: background .18s ease, border-color .18s ease;
}

.oft-menu > li > a:hover,
.oft-menu > li:focus-within > a {
	background: rgba(255, 255, 255, .1);
	color: #fff;
	border-bottom-color: var(--oft-accent);
}

.oft-menu > li.current-menu-item > a,
.oft-menu > li.current-menu-ancestor > a,
.oft-menu > li.current-page-ancestor > a {
	background: rgba(0, 0, 0, .16);
	border-bottom-color: var(--oft-accent);
	color: #fff;
}

/* Săgeată pentru elementele cu submeniu */
.oft-menu li.menu-item-has-children > a::after {
	content: '';
	width: 6px;
	height: 6px;
	border: 2px solid currentColor;
	border-left: 0;
	border-top: 0;
	transform: rotate(45deg) translateY(-2px);
	flex-shrink: 0;
	transition: transform .18s ease;
}

/* ── Submeniuri ───────────────────────────────────────────────────── */
.oft-menu ul.sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	list-style: none;
	margin: 0;
	padding: 6px 0;
	background: var(--oft-surface);
	min-width: 268px;
	z-index: 1000;
	border: 1px solid var(--oft-line);
	border-top: 3px solid var(--oft-accent);
	box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
	border-radius: 0 0 var(--oft-radius) var(--oft-radius);
}

.oft-menu li:hover > ul.sub-menu,
.oft-menu li:focus-within > ul.sub-menu,
.oft-menu li > ul.sub-menu.is-open {
	display: block;
}

.oft-menu ul.sub-menu li { width: 100%; }

.oft-menu ul.sub-menu li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 18px;
	font-size: 14.5px;
	color: var(--oft-body);
	text-decoration: none;
	border-left: 3px solid transparent;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.oft-menu ul.sub-menu li a:hover,
.oft-menu ul.sub-menu li.current-menu-item > a {
	background: var(--oft-navy-soft);
	border-left-color: var(--oft-accent);
	color: var(--oft-navy);
}

/* Nivelul 3 */
.oft-menu ul.sub-menu ul.sub-menu {
	top: -9px;
	left: 100%;
	border-top-width: 1px;
	border-radius: var(--oft-radius);
}

.oft-menu ul.sub-menu li.menu-item-has-children > a::after {
	transform: rotate(-45deg);
}

/* Submeniu care ar ieși din ecran */
.oft-menu > li:last-child ul.sub-menu,
.oft-menu > li.oft-flip ul.sub-menu {
	left: auto;
	right: 0;
}

.oft-menu > li.oft-flip ul.sub-menu ul.sub-menu {
	left: auto;
	right: 100%;
}

/* Buton urgențe în bara de navigație */
.oft-nav__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--oft-urgent);
	color: #fff;
	padding: 9px 18px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
	margin-inline-start: auto;
	flex-shrink: 0;
}

.oft-nav__cta:hover { background: #b71c1c; color: #fff; text-decoration: none; }

/* ── Toggle mobil ─────────────────────────────────────────────────── */
.oft-nav__toggle {
	display: none;
	align-items: center;
	gap: 10px;
	width: 100%;
	background: transparent;
	border: 0;
	color: #fff;
	font-family: var(--oft-font-ui);
	font-size: 15px;
	font-weight: 600;
	padding: 14px 0;
	cursor: pointer;
}

.oft-nav__toggle-bars {
	position: relative;
	width: 22px;
	height: 2px;
	background: currentColor;
	display: inline-block;
	flex-shrink: 0;
}

.oft-nav__toggle-bars::before,
.oft-nav__toggle-bars::after {
	content: '';
	position: absolute;
	left: 0;
	width: 22px;
	height: 2px;
	background: currentColor;
	transition: transform .2s ease, top .2s ease;
}

.oft-nav__toggle-bars::before { top: -7px; }
.oft-nav__toggle-bars::after { top: 7px; }

.oft-nav__toggle[aria-expanded='true'] .oft-nav__toggle-bars { background: transparent; }
.oft-nav__toggle[aria-expanded='true'] .oft-nav__toggle-bars::before { top: 0; transform: rotate(45deg); }
.oft-nav__toggle[aria-expanded='true'] .oft-nav__toggle-bars::after { top: 0; transform: rotate(-45deg); }

.oft-submenu-toggle {
	display: none;
	background: rgba(255, 255, 255, .1);
	border: 0;
	color: #fff;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	border-radius: 6px;
}

/* ═══════════════════════════════════════════════════════════════════
   5. HERO
   ═══════════════════════════════════════════════════════════════════ */
.oft-hero {
	position: relative;
	background: linear-gradient(135deg, var(--oft-navy-deep) 0%, var(--oft-navy) 58%, var(--oft-accent-dark) 100%);
	color: #fff;
	overflow: hidden;
}

.oft-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 82% 28%, rgba(0, 160, 182, .38) 0%, transparent 48%),
		radial-gradient(circle at 12% 88%, rgba(255, 255, 255, .07) 0%, transparent 42%);
	pointer-events: none;
}

.oft-hero__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(48px, 6vw, 88px);
	max-width: 760px;
}

.oft-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .24);
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 20px;
}

.oft-hero h1 {
	color: #fff;
	font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
	margin: 0 0 18px;
	text-wrap: balance;
}

.oft-hero p {
	font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
	color: rgba(255, 255, 255, .92);
	max-width: 620px;
	margin: 0 0 30px;
}

.oft-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ═══════════════════════════════════════════════════════════════════
   6. BUTOANE
   ═══════════════════════════════════════════════════════════════════ */
.cta-btn,
.oft-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--oft-accent);
	color: #fff;
	border: 1px solid transparent;
	padding: 13px 24px;
	font-family: var(--oft-font-ui);
	font-size: 15px;
	font-weight: 700;
	border-radius: var(--oft-radius);
	cursor: pointer;
	text-decoration: none;
	transition: background .2s ease, transform .2s ease, color .2s ease;
}

.cta-btn:hover,
.oft-btn:hover {
	background: var(--oft-accent-dark);
	transform: translateY(-2px);
	color: #fff;
	text-decoration: none;
}

.oft-btn--navy { background: var(--oft-navy); }
.oft-btn--navy:hover { background: var(--oft-navy-dark); }

.oft-btn--urgent { background: var(--oft-urgent); }
.oft-btn--urgent:hover { background: #b71c1c; }

.oft-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, .5);
	color: #fff;
}

.oft-btn--ghost:hover {
	background: rgba(255, 255, 255, .14);
	border-color: #fff;
}

.oft-btn--outline {
	background: var(--oft-surface);
	color: var(--oft-accent-dark);
	border-color: var(--oft-accent);
}

.oft-btn--outline:hover {
	background: var(--oft-accent);
	color: #fff;
}

.oft-btn--block { width: 100%; }

/* ═══════════════════════════════════════════════════════════════════
   7. SECȚIUNI & TITLURI
   ═══════════════════════════════════════════════════════════════════ */
.oft-section { padding-block: clamp(40px, 5vw, 64px); }
.oft-section--alt { background: var(--oft-surface); }
.oft-section--navy { background: var(--oft-navy); color: #fff; }
.oft-section--navy h2, .oft-section--navy h3 { color: #fff; }

.oft-section-header {
	text-align: center;
	margin-bottom: 34px;
	max-width: 720px;
	margin-inline: auto;
}

.oft-section-header h2 {
	margin: 0 0 12px;
	position: relative;
	padding-bottom: 14px;
}

.oft-section-header h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 56px;
	height: 3px;
	background: var(--oft-accent);
	border-radius: 2px;
}

.oft-section-header p {
	font-size: 16px;
	color: var(--oft-muted);
	margin: 0;
}

.widget-title {
	font-family: var(--oft-font-head);
	font-size: 20px;
	font-weight: 700;
	color: var(--oft-ink);
	margin-top: 1.5rem;
	text-align: left;
	border-bottom: 2px solid var(--oft-line);
	margin-bottom: 0;
	padding-bottom: 6px;
	position: relative;
}

.widget-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 48px;
	height: 2px;
	background: var(--oft-accent);
}

/* ═══════════════════════════════════════════════════════════════════
   8. CARDURI ACCES RAPID
   ═══════════════════════════════════════════════════════════════════ */
.oft-quick {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
}

.oft-quick__card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: var(--oft-surface);
	border: 1px solid var(--oft-line);
	border-radius: var(--oft-radius-lg);
	padding: 24px;
	text-decoration: none;
	box-shadow: var(--oft-shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.oft-quick__card:hover {
	transform: translateY(-4px);
	box-shadow: var(--oft-shadow-lg);
	border-color: var(--oft-accent);
	text-decoration: none;
}

.oft-quick__icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--oft-accent-soft);
	color: var(--oft-accent-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	flex-shrink: 0;
}

.oft-quick__card--urgent .oft-quick__icon {
	background: #fdecec;
	color: var(--oft-urgent);
}

.oft-quick__card h3 {
	margin: 0;
	font-size: 17px;
	color: var(--oft-ink);
}

.oft-quick__card p {
	margin: 0;
	font-size: 14px;
	color: var(--oft-muted);
	line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════
   9. CARD ANUNȚ / NOUTATE
   ═══════════════════════════════════════════════════════════════════ */
.oft-news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.noutati-evenimente-card {
	background: var(--oft-surface);
	border: 1px solid var(--oft-line);
	border-radius: var(--oft-radius);
	padding: 20px;
	transition: background-color .35s ease, border-color .35s ease, transform .2s ease, box-shadow .2s ease;
}

.noutati-evenimente-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--oft-shadow);
	border-color: var(--oft-accent);
}

.noutati-evenimente-card__date {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 600;
	color: var(--oft-accent-dark);
	text-transform: uppercase;
	letter-spacing: .03em;
	margin-bottom: 10px;
}

.noutati-evenimente-card__cat {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	background: var(--oft-navy-soft);
	color: var(--oft-navy);
	padding: 3px 9px;
	border-radius: 4px;
	margin-bottom: 10px;
}

.noutati-evenimente-card .project-title,
.noutati-evenimente-card h3 {
	margin: 0 0 10px;
	font-size: 17px;
	line-height: 1.35;
}

.noutati-evenimente-card h3 a,
.noutati-evenimente-card .project-title a {
	color: var(--oft-ink);
	font-weight: 600;
	text-decoration: none;
}

.noutati-evenimente-card h3 a:hover { color: var(--oft-navy); }

.noutati-evenimente-card p {
	font-size: 14.5px;
	color: var(--oft-muted);
	margin: 0 0 12px;
}

/* Variantă listă compactă (widget-ul tara-projects-list) */
html .home-projects-list .noutati-evenimente-card {
	padding: 14px 16px;
	margin-bottom: 8px;
	border-radius: var(--oft-radius);
}

html .home-projects-list .noutati-evenimente-card:hover {
	background-color: var(--oft-navy);
	border-color: var(--oft-navy);
	transform: none;
}

html .home-projects-list .noutati-evenimente-card:hover a,
html .home-projects-list .noutati-evenimente-card:hover .noutati-evenimente-card__date,
html .home-projects-list .noutati-evenimente-card:hover p {
	color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════
   10. LISTĂ DE DOCUMENTE
   ═══════════════════════════════════════════════════════════════════ */
.oft-docs {
	list-style: none;
	margin: 24px 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.oft-docs__item {
	background: var(--oft-surface);
	border: 1px solid var(--oft-line);
	border-left: 4px solid var(--oft-accent);
	border-radius: var(--oft-radius);
	transition: box-shadow .2s ease, border-color .2s ease;
}

.oft-docs__item:hover {
	box-shadow: var(--oft-shadow-sm);
	border-color: var(--oft-line-strong);
	border-left-color: var(--oft-navy);
}

.oft-docs__link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	text-decoration: none;
	color: var(--oft-ink);
}

.oft-docs__link:hover { text-decoration: none; }

.oft-docs__icon {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	background: var(--oft-navy-soft);
	color: var(--oft-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 700;
}

.oft-docs__body { flex: 1; min-width: 0; }

.oft-docs__title {
	display: block;
	font-weight: 600;
	font-size: 15.5px;
	line-height: 1.4;
}

.oft-docs__meta {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--oft-muted);
	margin-top: 3px;
}

.oft-docs__dl {
	flex-shrink: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--oft-accent-dark);
	white-space: nowrap;
}

.oft-empty {
	background: var(--oft-navy-soft);
	border: 1px dashed var(--oft-line-strong);
	border-radius: var(--oft-radius);
	padding: 22px;
	color: var(--oft-muted);
	text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════
   11. BREADCRUMB & PAGINI INTERIOARE
   ═══════════════════════════════════════════════════════════════════ */
.oft-page-head {
	background: var(--oft-surface);
	border-bottom: 1px solid var(--oft-line);
	padding-block: 26px 24px;
}

.oft-page-head h1 { margin: 8px 0 0; }

.oft-breadcrumb {
	font-size: 13.5px;
	color: var(--oft-muted);
}

.oft-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.oft-breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }

.oft-breadcrumb li:not(:last-child)::after {
	content: '›';
	color: var(--oft-line-strong);
	font-size: 15px;
}

.oft-breadcrumb a { color: var(--oft-muted); text-decoration: none; }
.oft-breadcrumb a:hover { color: var(--oft-navy); text-decoration: underline; }
.oft-breadcrumb [aria-current='page'] { color: var(--oft-navy); font-weight: 600; }

/* Layout cu sidebar pentru paginile interioare */
.oft-layout {
	display: grid;
	grid-template-columns: 268px minmax(0, 1fr);
	gap: 34px;
	align-items: start;
	padding-block: 34px 56px;
}

.oft-layout--full { grid-template-columns: minmax(0, 1fr); }

.oft-sidenav {
	background: var(--oft-surface);
	border: 1px solid var(--oft-line);
	border-radius: var(--oft-radius);
	overflow: hidden;
	position: sticky;
	top: calc(var(--oft-header-h) + 16px);
}

.oft-sidenav__title {
	margin: 0;
	padding: 14px 18px;
	background: var(--oft-navy);
	color: #fff;
	font-size: 15px;
	font-family: var(--oft-font-head);
	font-weight: 700;
}

.oft-sidenav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.oft-sidenav li a {
	display: block;
	padding: 11px 18px;
	font-size: 14.5px;
	color: var(--oft-body);
	text-decoration: none;
	border-bottom: 1px solid var(--oft-line);
	border-left: 3px solid transparent;
}

.oft-sidenav li:last-child a { border-bottom: 0; }

.oft-sidenav li a:hover {
	background: var(--oft-bg-alt);
	border-left-color: var(--oft-accent);
	color: var(--oft-navy);
}

.oft-sidenav li.current_page_item > a,
.oft-sidenav li.current_page_ancestor > a {
	background: var(--oft-navy-soft);
	border-left-color: var(--oft-accent);
	color: var(--oft-navy);
	font-weight: 600;
}

.oft-sidenav ul ul li a { padding-left: 34px; font-size: 14px; }

.oft-content {
	background: var(--oft-surface);
	border: 1px solid var(--oft-line);
	border-radius: var(--oft-radius);
	padding: clamp(20px, 3vw, 38px);
}

.oft-content > *:first-child { margin-top: 0; }
.oft-content > *:last-child { margin-bottom: 0; }

.oft-content h2 { margin-top: 2em; }
.oft-content h3 { margin-top: 1.6em; }

.oft-content table {
	width: 100%;
	border-collapse: collapse;
	margin-block: 22px;
	font-size: 15px;
}

.oft-content table th,
.oft-content table td {
	border: 1px solid var(--oft-line);
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.oft-content table th {
	background: var(--oft-navy-soft);
	color: var(--oft-navy);
	font-family: var(--oft-font-head);
	font-weight: 700;
}

.oft-content table tbody tr:nth-child(even) { background: var(--oft-bg-alt); }

.oft-table-wrap { overflow-x: auto; }

.oft-content blockquote {
	margin: 24px 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--oft-accent);
	font-family: var(--oft-font-serif);
	font-size: 1.05rem;
	color: var(--oft-body);
}

/* ═══════════════════════════════════════════════════════════════════
   12. GRID SECȚII (tara-departments-grid)
   ═══════════════════════════════════════════════════════════════════ */
.dd_departments-grid { margin: 30px auto 50px; }

.dd_departments-grid .dd_section-header {
	text-align: center;
	margin-bottom: 30px;
}

.dd_departments-grid .dd_section-header h1,
.dd_departments-grid .dd_section-header h2 {
	font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
	font-weight: 700;
	margin-bottom: 12px;
}

.dd_departments-grid .dd_section-header p {
	font-size: 16px;
	color: var(--oft-muted);
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.6;
}

.dd_departments-grid .dd_cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.dd_departments-grid .dd_card {
	display: flex;
	flex-direction: column;
	background: var(--oft-surface);
	border-radius: var(--oft-radius-lg);
	padding: 28px;
	box-shadow: var(--oft-shadow);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	border: 1px solid var(--oft-line);
}

.dd_departments-grid .dd_card:hover {
	transform: translateY(-4px);
	box-shadow: var(--oft-shadow-lg);
	border-color: var(--oft-accent);
}

.dd_departments-grid .dd_icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--oft-accent-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	color: var(--oft-accent-dark);
	font-size: 24px;
}

.dd_departments-grid .dd_icon img { width: 25px !important; height: 25px !important; }
.dd_departments-grid .dd_icon svg { width: 28px; height: 28px; stroke: var(--oft-accent-dark); }

.dd_departments-grid .dd_card h3 {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 12px;
}

.dd_departments-grid .dd_card h3 a { color: var(--oft-ink); text-decoration: none; }
.dd_departments-grid .dd_card h3 a:hover { color: var(--oft-navy); }

.dd_departments-grid .dd_card p {
	font-size: 14px;
	color: var(--oft-muted);
	line-height: 1.6;
	margin-bottom: 16px;
}

.dd_departments-grid .dd_card ul {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
}

.dd_departments-grid .dd_card li {
	font-size: 14px;
	color: var(--oft-body);
	margin-bottom: 8px;
	position: relative;
	padding-left: 16px;
}

.dd_departments-grid .dd_card li::before {
	content: '';
	width: 6px;
	height: 6px;
	background: var(--oft-accent);
	border-radius: 50%;
	position: absolute;
	left: 0;
	top: 8px;
}

.dd_departments-grid .dd_card__meta {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--oft-line);
	font-size: 13px;
	color: var(--oft-muted);
	display: flex;
	justify-content: space-between;
	gap: 10px;
	align-items: center;
}

.dd_departments-grid .dd_card__beds {
	font-weight: 700;
	color: var(--oft-navy);
}

.dd_departments-grid > .cta-btn {
	display: flex;
	margin: 30px auto 0;
	max-width: 300px;
}

/* ═══════════════════════════════════════════════════════════════════
   13. BLOC PROGRAMĂRI (tara-programare-block)
   ═══════════════════════════════════════════════════════════════════ */
.appointment-card {
	max-width: 900px;
	margin: 30px auto;
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 32px;
	border-radius: var(--oft-radius-lg);
	background: var(--oft-surface);
	border: 1px solid var(--oft-line);
	box-shadow: var(--oft-shadow-sm);
}

.appointment-card .icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--oft-accent-soft);
	color: var(--oft-accent-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 30px;
}

.appointment-card .content h2,
.appointment-card .content h3 {
	margin: 0 0 12px;
	font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
	color: var(--oft-ink);
}

.appointment-card .content p {
	margin: 0 0 20px;
	color: var(--oft-muted);
	line-height: 1.6;
	max-width: 620px;
}

.appointment-card__phones {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin-bottom: 20px;
	font-size: 15px;
}

.appointment-card__phones a {
	font-weight: 700;
	color: var(--oft-navy);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

/* ═══════════════════════════════════════════════════════════════════
   14. FAQ (tara-faq)
   ═══════════════════════════════════════════════════════════════════ */
.faq-accordion {
	max-width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.faq-item {
	background: var(--oft-surface);
	border: 1px solid var(--oft-line);
	border-radius: var(--oft-radius);
	box-shadow: var(--oft-shadow-sm);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.faq-item.is-open {
	border-color: var(--oft-accent);
	box-shadow: 0 3px 6px rgba(15, 23, 42, .12);
	transform: translateY(-2px);
}

.faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: transparent;
	color: var(--oft-ink);
	margin: 0;
	padding: 15px 22px;
	font-family: var(--oft-font-ui);
	font-size: 15.5px;
	font-weight: 600;
	border: 0;
	cursor: pointer;
	gap: 1rem;
	text-align: left;
}

.faq-question::after {
	content: '';
	width: 8px;
	height: 8px;
	border: 2px solid var(--oft-accent-dark);
	border-left: 0;
	border-top: 0;
	transform: rotate(45deg);
	transition: transform .2s ease;
	flex-shrink: 0;
}

.faq-item.is-open .faq-question::after { transform: rotate(225deg); }

.faq-question-text { flex: 1; line-height: 1.4; }

.faq-answer {
	display: none;
	padding: 4px 22px 20px;
	color: var(--oft-body);
	font-size: 15px;
	line-height: 1.65;
}

.faq-item.is-open .faq-answer { display: block; }
.faq-answer > *:first-child { margin-top: 0; }
.faq-answer > *:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════════
   15. MEDICI (tara-doctors)
   ═══════════════════════════════════════════════════════════════════ */
.oft-doctors {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 20px;
}

.oft-doctor {
	background: var(--oft-surface);
	border: 1px solid var(--oft-line);
	border-radius: var(--oft-radius-lg);
	overflow: hidden;
	box-shadow: var(--oft-shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
}

.oft-doctor:hover { transform: translateY(-4px); box-shadow: var(--oft-shadow-lg); }

.oft-doctor__photo {
	aspect-ratio: 4 / 3;
	background: var(--oft-navy-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.oft-doctor__photo img { width: 100%; height: 100%; object-fit: cover; }

.oft-doctor__photo-placeholder {
	font-size: 34px;
	color: var(--oft-navy);
	opacity: .38;
}

.oft-doctor__body { padding: 18px; }

.oft-doctor__name {
	margin: 0 0 4px;
	font-size: 16.5px;
	line-height: 1.35;
}

.oft-doctor__name a { color: var(--oft-ink); text-decoration: none; }

.oft-doctor__role {
	font-size: 13.5px;
	color: var(--oft-accent-dark);
	font-weight: 600;
	margin: 0 0 8px;
}

.oft-doctor__spec {
	font-size: 13.5px;
	color: var(--oft-muted);
	margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   16. CONTACT
   ═══════════════════════════════════════════════════════════════════ */
.oft-contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-block: 26px;
}

.oft-contact-card {
	background: var(--oft-surface);
	border: 1px solid var(--oft-line);
	border-radius: var(--oft-radius-lg);
	padding: 24px;
	box-shadow: var(--oft-shadow-sm);
}

.oft-contact-card h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 16.5px;
	color: var(--oft-navy);
}

.oft-contact-card h3 i { color: var(--oft-accent-dark); }

.oft-contact-card dl { margin: 0; }
.oft-contact-card dt {
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--oft-muted);
	font-weight: 600;
	margin-top: 12px;
}
.oft-contact-card dt:first-child { margin-top: 0; }
.oft-contact-card dd { margin: 3px 0 0; font-size: 15px; color: var(--oft-ink); }
.oft-contact-card dd a { color: var(--oft-link); text-decoration: none; font-weight: 500; }
.oft-contact-card dd a:hover { text-decoration: underline; }

.oft-map {
	border: 1px solid var(--oft-line);
	border-radius: var(--oft-radius-lg);
	overflow: hidden;
	line-height: 0;
	background: var(--oft-navy-soft);
}

.oft-map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ═══════════════════════════════════════════════════════════════════
   17. FORMULARE (Contact Form 7 + chestionar)
   ═══════════════════════════════════════════════════════════════════ */
.wpcf7 { margin-block: 20px; }

.wpcf7-form p { margin-bottom: 18px; }

.wpcf7-form label {
	display: block;
	font-weight: 600;
	font-size: 14.5px;
	color: var(--oft-ink);
	margin-bottom: 6px;
}

.wpcf7-form-control-wrap { display: block; width: 100%; }

.wpcf7 input[type='text'],
.wpcf7 input[type='email'],
.wpcf7 input[type='tel'],
.wpcf7 input[type='url'],
.wpcf7 input[type='number'],
.wpcf7 input[type='date'],
.wpcf7 select,
.wpcf7 textarea,
.oft-form input[type='text'],
.oft-form input[type='email'],
.oft-form input[type='tel'],
.oft-form select,
.oft-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 14px;
	font-family: var(--oft-font-ui);
	font-size: 15px;
	color: var(--oft-ink);
	background: var(--oft-surface);
	border: 1px solid var(--oft-line-strong);
	border-radius: 8px;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus,
.oft-form input:focus,
.oft-form select:focus,
.oft-form textarea:focus {
	border-color: var(--oft-accent);
	box-shadow: 0 0 0 3px var(--oft-accent-soft);
	outline: none;
}

.wpcf7 textarea, .oft-form textarea { min-height: 140px; resize: vertical; }

.wpcf7 input[type='submit'],
.oft-form button[type='submit'] {
	background: var(--oft-accent);
	color: #fff;
	border: 0;
	padding: 13px 30px;
	font-family: var(--oft-font-ui);
	font-size: 15px;
	font-weight: 700;
	border-radius: var(--oft-radius);
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}

.wpcf7 input[type='submit']:hover,
.oft-form button[type='submit']:hover {
	background: var(--oft-accent-dark);
	transform: translateY(-2px);
}

.wpcf7-not-valid-tip { color: var(--oft-urgent); font-size: 13.5px; margin-top: 5px; }

.wpcf7 form .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 14px 18px;
	border-radius: var(--oft-radius);
	border-width: 1px;
	font-size: 14.5px;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #2e7d32;
	background: #edf7ed;
	color: #1b5e20;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	border-color: var(--oft-urgent);
	background: #fdecec;
	color: #931f1f;
}

/* ═══════════════════════════════════════════════════════════════════
   18. REZULTATE CĂUTARE
   ═══════════════════════════════════════════════════════════════════ */
.oft-search-results { list-style: none; margin: 0; padding: 0; }

.oft-search-result {
	display: flex;
	gap: 18px;
	background: var(--oft-surface);
	border: 1px solid var(--oft-line);
	border-radius: var(--oft-radius);
	padding: 18px;
	margin-bottom: 12px;
	transition: box-shadow .2s ease, border-color .2s ease;
}

.oft-search-result:hover { box-shadow: var(--oft-shadow-sm); border-color: var(--oft-accent); }

.oft-search-result__thumb {
	flex-shrink: 0;
	width: 96px;
	height: 72px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--oft-navy-soft);
}

.oft-search-result__thumb img { width: 100%; height: 100%; object-fit: cover; }

.oft-search-result__meta {
	font-size: 12.5px;
	color: var(--oft-muted);
	text-transform: uppercase;
	letter-spacing: .04em;
	margin-bottom: 5px;
}

.oft-search-result__title { margin: 0 0 6px; font-size: 17px; }
.oft-search-result__title a { color: var(--oft-ink); text-decoration: none; }
.oft-search-result__title a:hover { color: var(--oft-navy); }
.oft-search-result__excerpt { font-size: 14.5px; color: var(--oft-muted); margin: 0; }

/* ═══════════════════════════════════════════════════════════════════
   19. PAGINAȚIE
   ═══════════════════════════════════════════════════════════════════ */
.oft-pagination { margin-block: 34px; }

.oft-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 12px;
	margin: 0 3px;
	background: var(--oft-surface);
	border: 1px solid var(--oft-line);
	border-radius: 8px;
	color: var(--oft-body);
	text-decoration: none;
	font-weight: 600;
	font-size: 14.5px;
}

.oft-pagination .page-numbers:hover {
	background: var(--oft-navy-soft);
	border-color: var(--oft-accent);
	color: var(--oft-navy);
}

.oft-pagination .page-numbers.current {
	background: var(--oft-navy);
	border-color: var(--oft-navy);
	color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════
   20. FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.oft-footer {
	background: var(--oft-navy-deep);
	color: rgba(255, 255, 255, .82);
	font-size: 14.5px;
	margin-top: 40px;
}

.oft-footer__main {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	gap: 34px;
	padding-block: 48px 36px;
}

.oft-footer h4,
.oft-footer .footer-widget h4 {
	font-family: var(--oft-font-head);
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, .16);
	position: relative;
}

.oft-footer h4::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 42px;
	height: 2px;
	background: var(--oft-accent);
}

.oft-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.oft-footer a:hover { color: #fff; text-decoration: underline; }

.oft-footer ul { list-style: none; margin: 0; padding: 0; }
.oft-footer ul li { margin-bottom: 9px; }

.oft-footer__brand-name {
	font-family: var(--oft-font-head);
	font-weight: 700;
	color: #fff;
	font-size: 16px;
	line-height: 1.35;
	margin: 0 0 10px;
}

.oft-footer__desc { margin: 0 0 18px; line-height: 1.7; }

.oft-footer__contact li {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	margin-bottom: 11px;
}

.oft-footer__contact i {
	color: var(--oft-accent);
	margin-top: 4px;
	flex-shrink: 0;
	width: 16px;
	text-align: center;
}

.oft-footer__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 18px;
}

.oft-footer__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 12.5px;
	font-weight: 600;
	color: #fff;
}

.oft-footer__social {
	display: flex;
	gap: 9px;
	margin-top: 18px;
	list-style: none;
	padding: 0;
}

.oft-footer__social a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease;
}

.oft-footer__social a:hover { background: var(--oft-accent); }

.oft-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, .14);
	padding-block: 16px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	font-size: 13px;
}

.oft-footer__bar nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
}

.oft-footer__bar nav ul li { margin: 0; }

.footer-disclaimer {
	text-align: center;
	font-size: 12px;
	color: rgba(255, 255, 255, .6);
	padding: 10px 0;
}

/* ═══════════════════════════════════════════════════════════════════
   21. BANDĂ URGENȚE
   ═══════════════════════════════════════════════════════════════════ */
.oft-emergency {
	background: var(--oft-urgent);
	color: #fff;
}

.oft-emergency__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 22px;
	padding-block: 13px;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
}

.oft-emergency a { color: #fff; font-weight: 800; text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════
   22. RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1120px) {
	.oft-footer__main { grid-template-columns: 1fr 1fr; }
	.oft-menu > li > a { padding: 14px 10px; font-size: 14px; }
	.oft-search__input { width: 140px; }
}

@media (max-width: 1024px) {
	:root { --oft-header-h: auto; }

	.oft-header { position: static; }

	.oft-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.oft-sidenav { position: static; }

	.oft-header__aside .oft-search { display: none; }

	/* Meniu mobil */
	.oft-nav__inner { display: block; position: relative; }

	.oft-nav__toggle { display: flex; }

	.oft-nav__cta {
		display: none;
	}

	.menu-main-menu-container,
	.oft-nav .oft-menu-wrap {
		display: none;
		padding-bottom: 14px;
	}

	.oft-nav .oft-menu-wrap.is-open { display: block; }

	.oft-menu {
		flex-direction: column;
		max-height: 70vh;
		overflow-y: auto;
		border-top: 1px solid rgba(255, 255, 255, .16);
	}

	.oft-menu > li,
	.oft-menu ul.sub-menu > li {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		border-bottom: 1px solid rgba(255, 255, 255, .1);
	}

	.oft-menu > li > a {
		flex: 1;
		padding: 13px 4px;
		border-bottom: 0;
		white-space: normal;
	}

	.oft-menu > li > a::after { display: none; }

	.oft-submenu-toggle { display: inline-flex; align-items: center; justify-content: center; }

	.oft-menu ul.sub-menu {
		display: none;
		position: static;
		width: 100%;
		flex-basis: 100%;
		background: rgba(0, 0, 0, .2);
		border: 0;
		border-radius: 0;
		box-shadow: none;
		min-width: 0;
		padding: 0;
	}

	.oft-menu li > ul.sub-menu.is-open { display: block; }
	.oft-menu li:hover > ul.sub-menu { display: none; }
	.oft-menu li > ul.sub-menu.is-open { display: block; }

	.oft-menu ul.sub-menu li a {
		color: rgba(255, 255, 255, .9);
		padding: 11px 4px 11px 20px;
		border-left: 0;
		flex: 1;
	}

	.oft-menu ul.sub-menu li a:hover,
	.oft-menu ul.sub-menu li.current-menu-item > a {
		background: rgba(255, 255, 255, .1);
		color: #fff;
	}

	.oft-menu ul.sub-menu ul.sub-menu li a { padding-left: 38px; }
	.oft-menu ul.sub-menu li a::after { display: none; }
}

@media (max-width: 782px) {
	.oft-topbar__contact { font-size: 13px; gap: 12px; }
	.oft-topbar .menu-top-menu-container { display: none; }

	.oft-header__brandbar { gap: 12px; }
	.oft-brand__logo img { max-height: 46px; }
	.oft-brand__name { font-size: 13.5px; }
	.oft-badge-anmcs { max-height: 40px; }

	.appointment-card { flex-direction: column; text-align: center; padding: 24px; }
	.appointment-card .content p { max-width: none; }
	.appointment-card__phones { justify-content: center; }

	.oft-footer__main { grid-template-columns: 1fr; gap: 26px; padding-block: 34px 24px; }
	.oft-footer__bar { flex-direction: column; text-align: center; }

	.oft-search-result { flex-direction: column; }
	.oft-search-result__thumb { width: 100%; height: 150px; }

	.oft-hero__actions .oft-btn { width: 100%; }
}

@media (max-width: 480px) {
	.oft-brand__tagline { display: none; }
	.oft-topbar__inner { justify-content: center; }
	.oft-content { padding: 18px; }
}

/* ═══════════════════════════════════════════════════════════════════
   23. PRINT
   ═══════════════════════════════════════════════════════════════════ */
@media print {
	.oft-topbar,
	.oft-nav,
	.oft-footer,
	.oft-sidenav,
	.oft-search,
	.oft-a11y,
	.oft-emergency,
	.oft-nav__cta { display: none !important; }

	body { background: #fff; font-size: 11pt; }
	.oft-content, .oft-layout { border: 0; padding: 0; display: block; }
	a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
}
