/*
 * Ambient visual layer
 *
 * Gives the site a calm, lightly tinted canvas without changing the existing
 * content, imagery or layout. White cards remain the reading surface while
 * section backgrounds add rhythm to long pages.
 */
:root {
	--medfx-ambient: #f6f9fb;
	--medfx-ambient-soft: #edf6f8;
	--medfx-ambient-warm: #fffaf2;
}

body {
	background: #eef4f7 !important;
}

.site-content,
.entry-content {
	background: #eef4f7 !important;
}

.medfx-home,
.medfx-page {
	background: #f2f7f9;
}

.medfx-page-hero {
	background: linear-gradient(135deg, #ffffff 0%, #f4fafb 68%, #eaf5f6 100%);
	box-shadow: 0 1px 0 rgba(18, 59, 93, .04);
}

/* Subtle alternating bands make the reading path easier to follow. */
.medfx-page > .medfx-inner-section:nth-of-type(odd) {
	background: #f8fbfd !important;
}

.medfx-page > .medfx-inner-section:nth-of-type(even) {
	background: #eaf3f6 !important;
}

.medfx-page > .medfx-inner-section + .medfx-inner-section {
	border-top: 1px solid rgba(220, 232, 237, .82);
}

/* Keep the intentional navy callout as the visual anchor. */
.medfx-page > .medfx-inner-band {
	box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset;
}

.medfx-inner-card,
.medfx-inner-product,
.medfx-contact-box,
.medfx-about-link,
.medfx-quality-visuals figure {
	box-shadow: 0 7px 22px rgba(18, 59, 93, .055);
}

.medfx-page.medfx-solutions-index > .medfx-inner-section.medfx-solutions-applications {
	background: linear-gradient(180deg, #f5fafb 0%, #e6f1f4 100%) !important;
}

.medfx-page.medfx-solutions-index > .medfx-inner-section.medfx-solutions-brands {
	background: #f8fbfd !important;
}

.medfx-page.medfx-solutions-index > .medfx-inner-section.medfx-solutions-docs {
	background: linear-gradient(180deg, #fff8ed 0%, #f8fbfd 100%) !important;
}

.medfx-solutions-index .medfx-solution-card,
.medfx-solutions-index .medfx-brand-grid a {
	box-shadow: 0 7px 22px rgba(18, 59, 93, .065);
}

@media (max-width: 800px) {
	.medfx-page > .medfx-inner-section:nth-of-type(odd),
	.medfx-page > .medfx-inner-section:nth-of-type(even) {
		background: #f6f9fb;
	}
}
