/* Widget: Slider medici. */

.icc-medici {
	width: 100%;
	padding: 6px 6px 18px;
	margin-inline: -6px;
}

.icc-medici .swiper-wrapper {
	align-items: stretch;
}

.icc-medici .swiper-slide {
	height: auto;
}

/* ----------------------------------------------------------------- Card --- */

.icc-medic {
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	padding: 10px 10px 16px;
	border-radius: 10px;
	background-color: #fff;
	color: inherit;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(12, 32, 47, 0.07);
}

.icc-medic__foto {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	border-radius: 6px;
	background-color: var(--icc-color-grey, #e6e6e6);
}

.icc-medic__foto img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.icc-medic__avatar {
	width: 70%;
	height: auto;
	color: var(--icc-color-ink, #0c202f);
}

.icc-medic__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-inline: 4px;
}

.icc-medic .icc-medic__nume {
	margin: 0;
	font-size: var(--icc-fs-footer, 0.9375rem);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.0145em;
	color: var(--icc-color-ink, #0c202f);
}

.icc-medic .icc-medic__spec {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.0145em;
	color: var(--icc-color-ink, #0c202f);
	opacity: 0.72;
}

.icc-medic:focus-visible {
	outline: 2px solid var(--icc-color-orange, #bf592d);
	outline-offset: 3px;
}

.icc-medici .icc-medici__gol {
	margin: 0;
	font-size: var(--icc-fs-ui, 1rem);
	text-align: center;
	opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
	.icc-medici .swiper-wrapper {
		transition-duration: 0ms !important;
	}
}

/* --------------------------------------------- Previzualizare in editor --- */

.icc-medici.is-editor .swiper-wrapper {
	display: block;
}

.icc-medici.is-editor .swiper-slide + .swiper-slide {
	display: none;
}

.icc-medici.is-editor .swiper-slide {
	max-width: 278px;
}

/* Derulare cursiva: cu pauza zero intre cadre, tranzitia liniara leaga cadrele
   intre ele, deci banda nu se mai opreste pe fiecare card. */
.icc-medici.is-cursiv .swiper-wrapper {
	transition-timing-function: linear;
}
