/* OVP Dentissimo Widgets — Cui I Se Potrivește (Chirurgie Alveolară)
   Structura e definită aici; culorile și tipografia vin din controalele
   de Stil din Elementor (vezi class-cui-i-se-potriveste-chirurgie-alveolara-widget.php)
   și au !important — aceeași hibă de temă întâlnită la celelalte
   widgeturi. Listă cu iconițe — aceeași convenție ca la
   ovp-ce-inseamna-verificare-chirurgie-alveolara.css (vezi acolo nota
   despre iconițele custom vs. bibliotecă), sub prefixul dvf-csp.

   Imagine opțională (.dvf-csp-row / .dvf-csp-content / .dvf-csp-media):
   când e completată, textul (.dvf-csp-content, cu titlul + lista) stă pe
   o coloană, iar imaginea pe alta, în DREAPTA (ordinea din HTML —
   conținut, apoi media). Fără imagine, .dvf-csp-row nici nu se randează,
   iar cardul arată exact ca înainte. Crop/zoom — aceeași convenție ca la
   ovp-tehnologie-antet.css (object-position din variabile CSS). */

.dvf-csp {
	width: 100%;
	box-sizing: border-box;
	background-color: #FFFFFF;
	border-width: 1.5px;
	border-style: solid;
	border-color: #E9EDF2;
	border-radius: 16px;
	/* Spațiu vertical standard plugin-wide (v3.0.0): 25px, cu breakpoint-uri
	   mai jos pentru tabletă/mobil. Orizontal (stânga/dreapta) rămâne 32px. */
	padding: 25px 32px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

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

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

.dvf-csp * {
	box-sizing: border-box;
}

/* ===== Rând text + imagine (doar când e completată o imagine) ===== */
.dvf-csp-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 32px;
}

.dvf-csp-content {
	flex: 1 1 0%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.dvf-csp-media {
	flex: 0 0 38%;
	max-width: 38%;
	height: 320px;
	border-radius: 16px;
	position: relative;
	overflow: hidden;
}

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

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

/* ===== Titlu ===== */
.dvf-csp-head {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

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

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

.dvf-csp-heading {
	margin: 0 !important;
	font-family: 'Inter', sans-serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.3;
	color: #043150 !important;
}

/* ===== Listă (icon + text, opțional link) ===== */
.dvf-csp-list {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.dvf-csp-list-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.dvf-csp-list-icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background-color: #EAF1FB;
	color: #1C6FEB;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dvf-csp-list-icon svg,
.dvf-csp-list-icon i {
	width: 18px;
	height: 18px;
	font-size: 18px;
	fill: currentColor;
}

/* Iconițele din pachetul Dentissimo sunt desenate cu contur
   (stroke="currentColor") — regulă mai specifică, câștigă indiferent de
   ordine (vezi nota din class-icons.php / ovp-servicii-grila.css). */
.dvf-csp-list-icon svg.dvf-csp-list-icon-svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.dvf-csp-list-text.dvf-csp-list-text.dvf-csp-list-text {
	display: block !important;
	margin: 4px 0 0 !important;
}

.dvf-csp-list-text {
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	color: #333333 !important;
}

.dvf-csp-list-text a {
	color: #1C6FEB;
	font-weight: 600;
	text-decoration: underline;
}

.dvf-csp-list-text a:hover {
	text-decoration: none;
}

@media (max-width: 767px) {
	.dvf-csp-row {
		flex-direction: column;
		align-items: stretch;
	}

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

@media (max-width: 480px) {
	.dvf-csp-heading {
		font-size: 24px;
	}
}
