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

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

.dvf-sam {
	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-sam-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 56px;
}

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

.dvf-sam-eyebrow.dvf-sam-eyebrow.dvf-sam-eyebrow {
	display: block !important;
	margin: 0 !important;
}

.dvf-sam-eyebrow {
	color: #4B5A6B;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 600;
}

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

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

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

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

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

.dvf-sam-badge {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 6px;
}

.dvf-sam-badge-avatar.dvf-sam-badge-avatar.dvf-sam-badge-avatar {
	width: 40px !important;
	height: 40px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	flex-shrink: 0 !important;
	display: block !important;
}

.dvf-sam-badge-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.dvf-sam-badge-name.dvf-sam-badge-name.dvf-sam-badge-name {
	display: block !important;
}

.dvf-sam-badge-name {
	color: #043150;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.dvf-sam-badge-date.dvf-sam-badge-date.dvf-sam-badge-date {
	display: block !important;
}

.dvf-sam-badge-date {
	color: #8A97A6;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 400;
}

/* ===================== Buton + notă durată ===================== */

.dvf-sam-cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	margin-top: 8px;
}

.dvf-sam-btn.dvf-sam-btn.dvf-sam-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-style: solid !important;
	text-decoration: none !important;
	padding: 14px 28px !important;
	border-radius: 30px !important;
	white-space: nowrap;
}

.dvf-sam-btn {
	background-color: #043150;
	color: #FFFFFF;
	border-color: #043150;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 600;
}

.dvf-sam-btn:hover,
.dvf-sam-btn:focus {
	color: #FFFFFF !important;
	text-decoration: none !important;
	opacity: 0.9;
}

.dvf-sam-duration {
	display: flex;
	align-items: center;
	gap: 8px;
}

.dvf-sam-duration-icon.dvf-sam-duration-icon.dvf-sam-duration-icon {
	flex-shrink: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 16px !important;
}

.dvf-sam-duration-icon {
	color: #043150;
}

.dvf-sam-duration-icon svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.dvf-sam-duration-text.dvf-sam-duration-text.dvf-sam-duration-text {
	display: inline-block !important;
}

.dvf-sam-duration-text {
	color: #4B5A6B;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 400;
}

/* ===================== Imagine + texte decorative ===================== */

.dvf-sam-media {
	flex: 1 1 0%;
	min-width: 0;
	position: relative;
}

.dvf-sam-img-wrap {
	position: relative;
	width: 100%;
	height: 480px;
	overflow: hidden;
	border-radius: 24px;
}

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

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

.dvf-sam-caption {
	position: absolute;
	font-family: 'Caveat', cursive;
	font-size: 22px;
	font-weight: 600;
	color: #043150;
	line-height: 1.25;
	pointer-events: none;
	z-index: 2;
	max-width: 220px;
	text-wrap: balance;
}

.dvf-sam-caption-top {
	top: -8%;
	right: 6%;
	text-align: right;
	transform: rotate(-3deg);
}

.dvf-sam-caption-bottom {
	bottom: -6%;
	left: 4%;
	transform: rotate(-2deg);
}

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

@media (max-width: 1024px) {
	.dvf-sam {
		padding-top: 20px;
		padding-bottom: 20px;
	}
}

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

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

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

	.dvf-sam-caption {
		font-size: 19px;
	}
}

@media (max-width: 600px) {
	.dvf-sam-cta-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.dvf-sam-caption-hide-mobile {
		display: none;
	}
}
