/* Cost pages (Resources): body content and related services */

/* Lead paragraph */
.design-pricing .dbody__main > .alcair-seo-content:first-child > p:first-child {
	margin: 0 0 clamp(40px, 5vw, 56px); padding: 4px 0 4px 28px; border-left: 2px solid var(--c-ink);
	font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.7; color: var(--c-ink);
}

/* Section headings */
.design-pricing .dbody__main h2:not(.alcair-related h2) {
	display: flex; align-items: center; gap: 16px;
	margin: clamp(48px, 6vw, 72px) 0 22px; font-size: clamp(1.75rem, 2.8vw, 2.375rem); line-height: 1.15;
}
.design-pricing .dbody__main .alcair-seo-content > h2:first-child,
.design-pricing .dbody__main > .alcair-seo-content:first-child > p:first-child + h2 { margin-top: 0; }
.design-pricing .dbody__main h2:not(.alcair-related h2)::after {
	content: ""; flex: 1 1 auto; min-width: 32px; height: 1px; background: rgba(0, 0, 0, .16);
}

/* Lists: tidy cards with a check mark */
.design-pricing .dbody__main ul:not([class]) {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 8px; padding: 0; list-style: none;
}
.design-pricing .dbody__main ul:not([class]) > li {
	position: relative; margin: 0; padding: 16px 18px 16px 54px;
	background: var(--c-soft); border: 1px solid transparent; border-radius: 0;
	font-size: 0.9375rem; line-height: 1.55; color: var(--c-ink);
	transition: background-color .35s var(--ease), border-color .35s, transform .35s var(--ease);
}
.design-pricing .dbody__main ul:not([class]) > li:hover { background: #fff; border-color: var(--c-line); transform: translateY(-2px); }
.design-pricing .dbody__main ul:not([class]) > li::before {
	content: ""; position: absolute; left: 18px; top: 16px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--c-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Implant cost breakdown (h3 + paragraph pairs) as a simple timeline */
.design-pricing .dbody__main .alcair-seo-content > h3 {
	position: relative; margin: 28px 0 8px; padding-left: 36px;
	font-family: var(--f-sans); font-size: 1.0625rem; font-weight: 600; color: var(--c-ink);
}
.design-pricing .dbody__main .alcair-seo-content > h3::before {
	content: ""; position: absolute; left: 0; top: .25em; width: 14px; height: 14px; border-radius: 50%;
	background: #fff; border: 2px solid var(--c-ink); box-shadow: 0 0 0 5px var(--c-soft);
}
.design-pricing .dbody__main .alcair-seo-content > h3 + p {
	margin: 0 0 0 6px; padding: 0 0 8px 29px; border-left: 2px solid var(--c-line);
}

/* Dividers */
.design-pricing .dbody__main hr { margin: clamp(40px, 5vw, 56px) 0; border: 0; border-top: 1px solid var(--c-line); }
.design-pricing .dbody__main hr + hr { display: none; }

/* "Learn more" line after the FAQ */
.design-pricing .dbody__main .alcair-faq + p {
	position: relative;
	margin: 24px 0 0; padding: 20px 24px 20px 70px; border: 1px dashed var(--c-line); border-radius: 0;
	font-size: 0.9375rem; color: var(--c-text);
}
.design-pricing .dbody__main .alcair-faq + p::before {
	content: ""; position: absolute; left: 22px; top: 50%; margin-top: -17px; width: 34px; height: 34px; border-radius: 50%;
	background: var(--c-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.design-pricing .dbody__main .alcair-faq + p a { color: var(--c-ink); font-weight: 500; text-underline-offset: 3px; }

/* Related services (all pages): light band so it never sits dark-on-dark next to the CTA */
body:not(.home) .entry-content .alcair-related {
	background: var(--c-soft); color: var(--c-text);
}
body:not(.home) .entry-content .alcair-related > h2 { color: var(--c-ink); }
body:not(.home) .entry-content .alcair-related__grid { gap: 16px; }
body:not(.home) .entry-content .alcair-related__card,
body:not(.home) .entry-content .alcair-related__card:first-child,
body:not(.home) .entry-content .alcair-related__card:nth-child(n) {
	display: flex; flex-direction: column; padding: 30px 28px 28px; border: 1px solid var(--c-line); border-radius: 0;
	background: #fff; color: var(--c-text);
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
body:not(.home) .entry-content .alcair-related__card:hover { transform: translateY(-5px); border-color: var(--c-ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .08); }
body:not(.home) .entry-content .alcair-related__card-icon {
	display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 50%;
	background: var(--c-soft); color: var(--c-ink); transition: background-color .4s, color .4s;
}
body:not(.home) .entry-content .alcair-related__card:hover .alcair-related__card-icon { background: var(--c-ink); color: #fff; }
body:not(.home) .entry-content .alcair-related__card h4 { color: var(--c-ink); }
body:not(.home) .entry-content .alcair-related__card p { flex: 1 1 auto; color: var(--c-text); }
body:not(.home) .entry-content .alcair-related__card::after { color: var(--c-ink); }
body:not(.home) .entry-content .alcair-related + .alcair-cta-banner,
body:not(.home) .entry-content .alcair-cta-banner + .alcair-related { border-top: 0; }

@media (max-width: 900px) {
	body:not(.home) .entry-content .alcair-related__card:nth-child(n) { padding: 26px 24px; }
}
@media (max-width: 600px) {
	.design-pricing .dbody__main ul:not([class]) { grid-template-columns: minmax(0, 1fr); }
	body:not(.home) .entry-content .alcair-related__card, body:not(.home) .entry-content .alcair-related__card:nth-child(n) { border-bottom: 1px solid var(--c-line); padding: 24px 22px; }
	.design-pricing .dbody__main > .alcair-seo-content:first-child > p:first-child { padding-left: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.design-pricing .dbody__main ul:not([class]) > li, body:not(.home) .entry-content .alcair-related__card { transition: none; transform: none !important; }
}

/* No rounded corners on buttons and boxed groups */
html body .entry-content .wp-element-button, html body .entry-content .wp-block-group.has-background { border-radius: 0 !important; }
