.dolcecasa-certifications {
	--dc-cert-duration: 34s;
	width: 100%;
	overflow: visible;
	background: #fff;
	color: #000;
	font-family: "Poppins", sans-serif;
}

body .elementor .elementor-element.elementor-widget-dolcecasa_certifications .dolcecasa-certifications {
	padding-right: 0;
	padding-left: 0;
}

.dolcecasa-certifications,
.dolcecasa-certifications * {
	box-sizing: border-box;
}

.dc-cert-intro {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.dc-cert-title {
	margin: 0;
	font-family: "Cormorant Garamond", serif;
	font-size: 48px;
	font-weight: 700;
	line-height: .9;
	text-transform: uppercase;
}

.dc-cert-description,
.dc-cert-description p {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
}

.dc-cert-description > * + * {
	margin-top: 16px;
}

.dc-cert-description h2,
.dc-cert-description h3,
.dc-cert-description h4,
.dc-cert-description h5,
.dc-cert-description h6 {
	margin-bottom: 0;
	color: #000;
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	line-height: 1.35;
}

.dc-cert-description h2 {
	font-size: 24px;
}

.dc-cert-description h3 {
	font-size: 20px;
}

.dc-cert-description h4,
.dc-cert-description h5,
.dc-cert-description h6 {
	font-size: 16px;
}

.dc-cert-description strong,
.dc-cert-description b {
	font-weight: 600;
	line-height: 1.7;
}

.dc-cert-description ul,
.dc-cert-description ol {
	margin-bottom: 0;
	padding-left: 1.4em;
	font-size: 14px;
	line-height: 1.7;
}

.dc-cert-description a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.dc-cert-carousel {
	position: relative;
	left: 50%;
	width: 100vw;
	max-width: none;
	margin: 80px 0 0 -50vw;
	overflow: hidden;
}

.dc-cert-track {
	display: flex;
	width: max-content;
	animation: dc-cert-loop var(--dc-cert-duration) linear infinite;
	will-change: transform;
}

.dc-cert-carousel:hover .dc-cert-track {
	animation-play-state: paused;
}

.dc-cert-group {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 61px;
	padding-right: 61px;
}

.dc-cert-slide {
	width: 366px;
	height: 518px;
	margin: 0;
	flex: 0 0 auto;
	overflow: hidden;
	background: #fff;
}

.dc-cert-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dc-cert-official {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) minmax(0, 2.4fr);
	min-height: 160px;
	margin-top: 80px;
	padding: 0 32px;
	align-items: center;
	background: #f1f1f1;
}

.dc-cert-official-intro {
	max-width: 267px;
	margin: 0;
	color: #5c5c5c;
	font-size: 16px;
	line-height: 1.6;
}

.dc-cert-official-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-width: 0;
}

.dc-cert-official-link {
	display: flex;
	min-width: 0;
	min-height: 80px;
	padding: 0 32px;
	align-items: center;
	gap: 16px;
	color: #5c5c5c;
	font-size: 16px;
	line-height: 1.6;
	text-decoration: none;
	border-left: 1px solid #d7d7d7;
}

.dc-cert-official-link:hover,
.dc-cert-official-link:focus {
	color: #000;
}

.dc-cert-official-link img {
	display: block;
	width: auto;
	max-width: 150px;
	height: auto;
	max-height: 79px;
	object-fit: contain;
}

.dc-cert-official-link span {
	min-width: 0;
}

.dc-cert-external-icon {
	margin-left: auto;
	flex: 0 0 22px;
}

.dc-cert-reports {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-top: 80px;
}

.dc-cert-report {
	display: flex;
	min-height: 80px;
	padding: 18px 32px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	border: 1px solid #d7d7d7;
	color: #000;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition: border-color 180ms ease, background-color 180ms ease;
}

.dc-cert-report:hover,
.dc-cert-report:focus {
	border-color: #000;
	background: #f8f8f8;
	color: #000;
}

.dc-cert-report svg {
	flex: 0 0 8px;
}

@keyframes dc-cert-loop {
	to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 1024px) {
	.dc-cert-carousel {
		width: 100vw;
		margin-right: 0;
		margin-left: -50vw;
	}

	.dc-cert-group {
		gap: 32px;
		padding-right: 32px;
	}

	.dc-cert-slide {
		width: 300px;
		height: 424px;
	}

	.dc-cert-official {
		grid-template-columns: 1fr;
		padding: 24px 32px;
		gap: 20px;
	}

	.dc-cert-official-intro {
		max-width: 560px;
	}

	.dc-cert-official-link:first-child {
		border-left: 0;
	}
}

@media (max-width: 767px) {
	.dc-cert-intro {
		gap: 18px;
	}

	.dc-cert-title {
		font-size: clamp(30px, 9vw, 38px);
		line-height: .95;
		letter-spacing: -.02em;
	}

	.dc-cert-description,
	.dc-cert-description p {
		color: #333;
		font-size: 13px;
		line-height: 1.7;
	}

	.dc-cert-description h2 {
		font-size: 21px;
	}

	.dc-cert-description h3 {
		font-size: 18px;
	}

	.dc-cert-description h4,
	.dc-cert-description h5,
	.dc-cert-description h6 {
		font-size: 15px;
	}

	.dc-cert-description ul,
	.dc-cert-description ol {
		font-size: 13px;
	}

	.dc-cert-carousel {
		width: 100vw;
		margin: 44px 0 0 -50vw;
		padding-left: 0;
	}

	.dc-cert-group {
		gap: 16px;
		padding-right: 16px;
	}

	.dc-cert-slide {
		width: min(248px, 72vw);
		height: auto;
		aspect-ratio: 366 / 518;
		padding: 8px;
		border: 1px solid #ececec;
		box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
	}

	.dc-cert-official {
		margin: 52px -16px 0;
		padding: 26px 16px 12px;
		gap: 22px;
	}

	.dc-cert-official-intro {
		max-width: 310px;
		font-size: 14px;
		line-height: 1.6;
	}

	.dc-cert-official-links {
		grid-template-columns: 1fr;
	}

	.dc-cert-official-link {
		min-height: 78px;
		padding: 14px 0;
		font-size: 14px;
		border-top: 1px solid #d7d7d7;
		border-left: 0;
	}

	.dc-cert-official-link + .dc-cert-official-link {
		border-top-color: #d7d7d7;
	}

	.dc-cert-official-link img {
		width: 92px;
		max-width: 28vw;
		max-height: 54px;
	}

	.dc-cert-official-link span {
		flex: 1 1 auto;
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.dc-cert-external-icon {
		width: 20px;
		height: 20px;
		flex-basis: 20px;
	}

	.dc-cert-reports {
		grid-template-columns: 1fr;
		gap: 10px;
		margin-top: 52px;
	}

	.dc-cert-report {
		min-height: 70px;
		padding: 16px 18px;
		align-items: center;
		gap: 18px;
		font-size: 13px;
		line-height: 1.45;
	}

	.dc-cert-report span {
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.dc-cert-report svg {
		width: 7px;
		height: 12px;
	}
}

@media (max-width: 380px) {
	.dc-cert-title {
		font-size: 29px;
	}

	.dc-cert-slide {
		width: 74vw;
	}

	.dc-cert-official-link {
		gap: 12px;
		font-size: 13px;
	}

	.dc-cert-report {
		padding-right: 15px;
		padding-left: 15px;
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dc-cert-track {
		animation-play-state: paused;
	}
}
