/* Public page shells share the homepage's content width and responsive gutters.
   Only outer shells are selected: nested cards, forms and sidebars keep their padding. */
body.dd-site-page {
	--dd-site-max-width: 1440px;
	--dd-site-gutter: 32px;
}

body.dd-site-page .header .header-nav,
body.dd-site-page .breadcrumb-bar > .container-fluid,
body.dd-site-page .main-wrapper > section > .container-fluid,
body.dd-site-page .dd-listing-page > .container-fluid,
body.dd-site-page .dd-top5-shell > section > .container-pad,
body.dd-site-page .dd-ai-page-container,
body.dd-site-page .dd-directory__inner,
body.dd-site-page .dd-doctor-page__inner,
body.dd-site-page .dd-blog-post > .container-fluid,
body.dd-site-page .dd-blog-post__hero > .container-fluid,
body.dd-site-page .dd-blog-post__cover > .container-fluid,
body.dd-site-page .footer.footer-modern .footer-top > .container-fluid,
body.dd-site-page .footer.footer-modern .footer-bottom > .container-fluid,
body.dd-site-page .dd-care-footer__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--dd-site-max-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--dd-site-gutter);
	padding-right: var(--dd-site-gutter);
}

body.dd-site-page .dd-directory {
	padding-left: 0;
	padding-right: 0;
}

/* The outer container supplies the gutter; this card must not introduce a second shell. */
body.dd-site-page.dd-doctor-page-body .dd-doctor-page.noo-mainbody {
	padding-top: 0;
}

/* The profile backdrop reaches both edges; its content shares the page gutter. */
body.dd-site-page.dd-doctor-page-body .dd-doctor-page > .dd-doctor-showcase {
	border-radius: 0;
	width: 100%;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

body.dd-site-page .dd-static-body .dd-static-card {
	width: 100%;
	max-width: none;
}

@media (max-width: 991.98px) {
	body.dd-site-page { --dd-site-gutter: 24px; }
}

@media (max-width: 767.98px) {
	body.dd-site-page { --dd-site-gutter: 16px; }
}
