/* Figma mobile 2346:4412; shared service hero, typography, buttons and forms. */
.de-periodontics .de-prosthetics-hero h1 {
	margin-bottom: clamp(1rem, 4dvh, 3rem);
}

.de-periodontics-section {
	padding-top: 70px;
	font-size: 18px;
	line-height: 24px;
}

.de-periodontics-section p {
	margin: 0 0 24px;
}

.de-periodontics-section p:last-child {
	margin-bottom: 0;
}

.de-periodontics-intro .de-eyebrow {
	background: var(--prosthetics-tint);
	color: var(--prosthetics-brand);
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 25px;
	padding: 7px 20px;
}

.de-periodontics-intro .de-section-heading {
	margin-bottom: 35px;
}

.de-periodontics h2.de-prosthetics-subtitle {
	margin-bottom: 25px;
}

.de-periodontics-about,
.de-periodontics-articles {
	align-items: start;
	display: grid;
	gap: 40px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.de-periodontics-about__progression {
	column-count: 2;
	column-gap: 40px;
	grid-column: 1 / -1;
}

.de-periodontics-about__progression p {
	break-inside: avoid;
}

.de-periodontics-factors {
	display: grid;
	gap: 25px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.de-periodontics-factors__card {
	background: var(--prosthetics-tint);
	border-radius: 20px;
	color: #756e87;
	font-size: 16px;
	line-height: 1.45;
	padding: 24px;
}

.de-periodontics-factors__card:nth-child(even) {
	background: #ebddff;
}

@media (min-width: 768px) {
	.de-periodontics-factors__card:nth-child(4n + 1),
	.de-periodontics-factors__card:nth-child(4n) {
		background: var(--prosthetics-tint);
	}

	.de-periodontics-factors__card:nth-child(4n + 2),
	.de-periodontics-factors__card:nth-child(4n + 3) {
		background: #ebddff;
	}
}

.de-periodontics-treatments.de-check-list {
	gap: 0;
}

.de-periodontics-treatments.de-check-list li {
	border-bottom: 1px solid var(--de-line);
	font-size: inherit;
	gap: 7px;
	line-height: inherit;
	padding-block: 25px;
}

.de-periodontics-treatments.de-check-list li:first-child {
	padding-top: 0;
}

.de-periodontics-treatments.de-check-list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.de-periodontics-treatments .de-check-list__animated-icon {
	height: 18px;
	margin-top: 3px;
	width: 18px;
}

.de-periodontics-success {
	max-width: 1000px;
}

/* Keep the illustration balanced beside long copy on narrower tablets. */
@media (min-width: 768px) and (max-width: 1023px) {
	.de-periodontics-about {
		grid-template-columns: minmax(0, 1fr);
	}

	.de-periodontics-about > img {
		margin-inline: auto;
		max-width: 600px;
	}
}

@media (max-width: 767px) {
	.de-periodontics > .de-prosthetics-hero > .de-prosthetics-hero__inner {
		padding-bottom: max(7rem, env(safe-area-inset-bottom));
	}

	.de-periodontics .de-prosthetics-hero h1 {
		line-height: 1.2;
	}

	.de-periodontics-about,
	.de-periodontics-articles,
	.de-periodontics-factors {
		grid-template-columns: minmax(0, 1fr);
	}

	.de-periodontics-about {
		gap: 30px;
	}

	.de-periodontics-about__progression {
		column-count: 1;
	}

	.de-periodontics-articles {
		gap: 70px;
	}

	.de-periodontics-factors__card {
		padding: 20px 18px;
	}
}
