/* OVP Dentissimo Widgets — Tehnologie: Antet
   Structura e definită aici; culorile/tipografia vin din controalele de
   Stil din Elementor (vezi class-tehnologie-antet-widget.php) și au
   !important — aceeași hibă de temă întâlnită la celelalte widgeturi. */

.dvf-tha,
.dvf-tha * {
	box-sizing: border-box;
}

.dvf-tha {
	width: 100%;
	/* Spațiu vertical standard plugin-wide (v3.0.0): 25px, cu breakpoint-uri
	   mai jos pentru tabletă/mobil. */
	padding-top: 25px;
	padding-bottom: 25px;
}

.dvf-tha-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 48px;
}

.dvf-tha-content {
	flex: 0 0 48%;
	max-width: 48%;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.dvf-tha-eyebrow.dvf-tha-eyebrow.dvf-tha-eyebrow {
	display: block !important;
	margin: 0 !important;
	text-transform: uppercase !important;
}

.dvf-tha-eyebrow {
	color: #1C6FEB;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
}

.dvf-tha-heading.dvf-tha-heading.dvf-tha-heading {
	display: block !important;
	margin: 0 !important;
}

.dvf-tha-heading {
	color: #043150;
	font-family: 'Inter', sans-serif;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.2;
}

.dvf-tha-desc.dvf-tha-desc.dvf-tha-desc {
	display: block !important;
	margin: 0 !important;
}

.dvf-tha-desc {
	color: #4B5A6B;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
}

/* ===================== Insignă „Verificat medical" ===================== */

.dvf-tha-badge.dvf-tha-badge.dvf-tha-badge {
	display: inline-flex !important;
	align-items: center !important;
	align-self: flex-start !important;
	gap: 12px !important;
	width: auto !important;
	border-style: none !important;
	margin: 4px 0 0 !important;
	padding: 12px 16px !important;
	border-radius: 12px !important;
}

.dvf-tha-badge {
	background-color: #EFF4FA;
}

.dvf-tha-badge-icon.dvf-tha-badge-icon.dvf-tha-badge-icon {
	flex-shrink: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 22px !important;
	height: 22px !important;
	font-size: 18px !important;
}

.dvf-tha-badge-icon {
	color: #1C6FEB;
}

.dvf-tha-badge-icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.dvf-tha-badge-text.dvf-tha-badge-text.dvf-tha-badge-text {
	display: block !important;
	line-height: 1.5 !important;
}

.dvf-tha-badge-text {
	color: #1F2933;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 500;
}

.dvf-tha-badge-text strong {
	font-weight: 700;
	color: inherit;
}

/* ===================== Imagine ===================== */

.dvf-tha-media {
	flex: 1 1 0%;
	min-width: 0;
	/* overflow:hidden taie ce iese din cutie când se aplică "Zoom";
	   fără nicio "Înălțime imagine" setată din Stil ar rămâne 0 — de
	   asta controlul are valori implicite (nu gol), spre deosebire de
	   restul controalelor de acest tip din plugin. */
	position: relative;
	overflow: hidden;
}

.dvf-tha-img.dvf-tha-img.dvf-tha-img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

.dvf-tha-img {
	border-radius: 20px;
	/* „Poziție orizontală/verticală decupare" din Stil scriu aceste
	   variabile; fără nicio valoare, fallback 50%/50% (centrat). */
	object-position: var(--dvf-tha-img-x, 50%) var(--dvf-tha-img-y, 50%);
	/* „Zoom" scrie --dvf-tha-img-zoom (ex: 1.2 = 120%); fără valoare,
	   fallback 1 = fără zoom, identic cu până acum. */
	transform: scale(var(--dvf-tha-img-zoom, 1));
	transform-origin: center;
}

/* ===================== Responsive ===================== */

@media (max-width: 1024px) {
	.dvf-tha-row {
		flex-direction: column;
		align-items: stretch;
		gap: 28px;
	}

	.dvf-tha-content {
		flex-basis: auto !important;
		max-width: 100% !important;
	}

	.dvf-tha {
		padding-top: 20px;
		padding-bottom: 20px;
	}
}

@media (max-width: 767px) {
	.dvf-tha {
		padding-top: 16px;
		padding-bottom: 16px;
	}
}
