/**
 * BlueMed Dental — homepage section color treatments.
 * Global tokens and shared components live in site-colors.css.
 */

/* —— Hero —— */
body.home .bluemed-hero-mega,
body.front-page .bluemed-hero-mega {
	background: var(--surface-primary);
}

body.home .bluemed-hero-mega::after,
body.front-page .bluemed-hero-mega::after {
	background: radial-gradient(ellipse, rgba(217, 226, 237, 0.42) 0%, transparent 70%);
}

body.home .bluemed-hero-lux__kicker,
body.front-page .bluemed-hero-lux__kicker {
	border-color: var(--border-default);
	color: var(--text-muted) !important;
}

body.home .bluemed-hero-lux__lead,
body.front-page .bluemed-hero-lux__lead {
	color: var(--text-secondary) !important;
}

body.home .bluemed-hero-lux__cta-primary .wp-block-button__link,
body.home .bluemed-hero-lux__cta-primary a.wp-block-button__link,
body.front-page .bluemed-hero-lux__cta-primary .wp-block-button__link,
body.front-page .bluemed-hero-lux__cta-primary a.wp-block-button__link {
	background-color: var(--accent-primary) !important;
	box-shadow: 0 16px 44px rgba(21, 61, 138, 0.18) !important;
}

body.home .bluemed-hero-lux__cta-primary .wp-block-button__link:hover,
body.front-page .bluemed-hero-lux__cta-primary .wp-block-button__link:hover {
	background-color: var(--accent-hover) !important;
	box-shadow: 0 24px 56px rgba(21, 61, 138, 0.22) !important;
}

body.home .bluemed-hero-lux__cta-secondary .wp-block-button__link,
body.home .bluemed-hero-lux__cta-secondary a.wp-block-button__link,
body.front-page .bluemed-hero-lux__cta-secondary .wp-block-button__link,
body.front-page .bluemed-hero-lux__cta-secondary a.wp-block-button__link {
	border-color: rgba(21, 61, 138, 0.28) !important;
	color: var(--accent-primary) !important;
}

body.home .bluemed-hero-lux__trust,
body.front-page .bluemed-hero-lux__trust {
	border-color: var(--border-default);
	background: var(--surface-primary);
}

body.home .bluemed-hero-lux__trust-item + .bluemed-hero-lux__trust-item::before,
body.front-page .bluemed-hero-lux__trust-item + .bluemed-hero-lux__trust-item::before {
	background: var(--border-light);
}

body.home .bluemed-hero-lux__trust-ico,
body.home .bluemed-hero-lux__trust-ico svg,
body.front-page .bluemed-hero-lux__trust-ico,
body.front-page .bluemed-hero-lux__trust-ico svg {
	color: var(--accent-light) !important;
}

body.home .bluemed-hero-lux__photo--hero-asset img,
body.front-page .bluemed-hero-lux__photo--hero-asset img {
	box-shadow: none !important;
}

body.home .bluemed-hero-lux__review-badge,
body.front-page .bluemed-hero-lux__review-badge {
	border-color: var(--border-light);
	box-shadow:
		0 20px 50px rgba(51, 52, 61, 0.08),
		0 1px 0 rgba(255, 255, 255, 1) inset;
}

body.home .bluemed-hero-lux__review-badge__stars,
body.front-page .bluemed-hero-lux__review-badge__stars {
	color: var(--accent-light);
}

@media (min-width: 900px) {
	body.home .bluemed-hero-lux--art .bluemed-hero-lux__visual--art::before,
	body.front-page .bluemed-hero-lux--art .bluemed-hero-lux__visual--art::before {
		background:
			radial-gradient(ellipse 70% 60% at 38% 32%, rgba(217, 226, 237, 0.55), transparent 58%),
			radial-gradient(ellipse 50% 45% at 72% 70%, rgba(240, 243, 250, 0.75), transparent 55%);
	}

	body.home .bluemed-hero-lux--art .bluemed-hero-lux__photo--hero-asset img,
	body.front-page .bluemed-hero-lux--art .bluemed-hero-lux__photo--hero-asset img {
		filter: none !important;
	}
}

@media (max-width: 899px) {
	body.home .bluemed-hero-lux--art .bluemed-hero-lux__photo--hero-asset img,
	body.front-page .bluemed-hero-lux--art .bluemed-hero-lux__photo--hero-asset img {
		filter: none !important;
	}
}

/* —— Trust strip —— */
body.home .bluemed-trust-strip-v2,
body.front-page .bluemed-trust-strip-v2 {
	background: var(--bg-soft);
	border-top-color: var(--border-light);
	border-bottom-color: var(--border-light);
}

body.home .bluemed-trust-strip-v2__item + .bluemed-trust-strip-v2__item::before,
body.front-page .bluemed-trust-strip-v2__item + .bluemed-trust-strip-v2__item::before {
	background: var(--border-default);
}

body.home .bluemed-trust-strip-v2__icon,
body.front-page .bluemed-trust-strip-v2__icon {
	background: var(--glass-2);
}

body.home .bluemed-trust-strip-v2__icon svg,
body.front-page .bluemed-trust-strip-v2__icon svg {
	color: var(--accent-primary) !important;
	stroke: var(--accent-primary) !important;
}

/* —— Services —— */
body.home .bluemed-home-services,
body.front-page .bluemed-home-services {
	background: var(--surface-primary) !important;
}

body.home .bluemed-home-svc-card--hero::before,
body.front-page .bluemed-home-svc-card--hero::before {
	background: linear-gradient(to top, rgba(21, 61, 138, 0.78) 0%, transparent 100%);
}

body.home .bluemed-home-svc-card:hover,
body.front-page .bluemed-home-svc-card:hover {
	box-shadow: 0 24px 64px rgba(51, 52, 61, 0.08) !important;
}

body.home .bluemed-home-services--art .bluemed-home-svc-card:hover,
body.front-page .bluemed-home-services--art .bluemed-home-svc-card:hover {
	box-shadow:
		0 32px 72px rgba(51, 52, 61, 0.07),
		0 0 0 1px rgba(220, 228, 239, 0.65) !important;
}

body.home .bluemed-svc-card__icon,
body.home .bluemed-svc-card__icon svg,
body.front-page .bluemed-svc-card__icon,
body.front-page .bluemed-svc-card__icon svg {
	color: var(--accent-light) !important;
	stroke: var(--accent-light) !important;
}

body.home .bluemed-svc-link-arrow,
body.front-page .bluemed-svc-link-arrow {
	color: var(--accent-primary);
}

body.home .bluemed-svc-link-arrow:hover,
body.front-page .bluemed-svc-link-arrow:hover {
	color: var(--accent-hover);
	border-bottom-color: var(--accent-hover);
}

/* —— About (homepage section) —— */
body.home .bluemed-home-about,
body.front-page .bluemed-home-about {
	background: var(--bg-soft) !important;
}

body.home .bluemed-home-about::after,
body.front-page .bluemed-home-about::after {
	border-color: rgba(205, 216, 228, 0.55);
}

body.home .bluemed-home-about__figure::after,
body.front-page .bluemed-home-about__figure::after {
	background: var(--accent-primary);
	box-shadow: 0 12px 32px rgba(21, 61, 138, 0.18);
}

body.home .bluemed-home-about__pull,
body.front-page .bluemed-home-about__pull {
	border-left-color: var(--accent-light) !important;
	background: rgba(234, 240, 250, 0.55);
}

body.home .bluemed-home-about__features span[style*="border-radius:50%"],
body.front-page .bluemed-home-about__features span[style*="border-radius:50%"] {
	background: var(--glass-2) !important;
}

body.home .bluemed-home-about__features [data-lucide="check"],
body.home .bluemed-home-about__features [data-lucide="check"] svg,
body.front-page .bluemed-home-about__features [data-lucide="check"],
body.front-page .bluemed-home-about__features [data-lucide="check"] svg {
	color: var(--accent-primary) !important;
	stroke: var(--accent-primary) !important;
}

/* —— Why choose us ribbon —— */
body.home .bluemed-home-ribbon,
body.front-page .bluemed-home-ribbon {
	background: var(--surface-primary) !important;
}

body.home .bluemed-home-ribbon__tile--art,
body.front-page .bluemed-home-ribbon__tile--art {
	border-color: var(--border-default) !important;
}

body.home .bluemed-home-ribbon__tile--art:hover,
body.front-page .bluemed-home-ribbon__tile--art:hover {
	border-color: var(--glass-3) !important;
	box-shadow: 0 24px 56px rgba(51, 52, 61, 0.06) !important;
}

body.home .bluemed-home-ribbon__tile--art .bluemed-trust-ribbon__ico,
body.front-page .bluemed-home-ribbon__tile--art .bluemed-trust-ribbon__ico {
	background: var(--glass-1);
	border-color: var(--border-light);
}

body.home .bluemed-trust-ribbon__ico,
body.home .bluemed-trust-ribbon__ico svg,
body.front-page .bluemed-trust-ribbon__ico,
body.front-page .bluemed-trust-ribbon__ico svg {
	color: var(--accent-light) !important;
}

/* —— Team —— */
body.home .bluemed-home-team,
body.front-page .bluemed-home-team {
	background: var(--bg-secondary) !important;
}

body.home .bluemed-doctor-avatar--lg img,
body.home .bluemed-home-team--art .bluemed-doctor-avatar--lg img,
body.front-page .bluemed-doctor-avatar--lg img,
body.front-page .bluemed-home-team--art .bluemed-doctor-avatar--lg img {
	box-shadow: 0 8px 24px rgba(51, 52, 61, 0.08) !important;
}

body.home .bluemed-home-team-card,
body.front-page .bluemed-home-team-card {
	border: 1px solid var(--border-light);
}

body.home .bluemed-home-team-card__avatar img,
body.front-page .bluemed-home-team-card__avatar img {
	box-shadow: 0 8px 24px rgba(51, 52, 61, 0.08) !important;
}

/* —— Testimonials —— */
body.home .bluemed-home-testimonials,
body.front-page .bluemed-home-testimonials {
	background: var(--accent-primary) !important;
}

body.home .bluemed-home-testimonials::before,
body.front-page .bluemed-home-testimonials::before {
	background-image:
		radial-gradient(ellipse at 20% 80%, rgba(234, 240, 250, 0.1) 0%, transparent 55%),
		radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

body.home .bluemed-home-testimonials__head .wp-block-heading,
body.home .bluemed-home-testimonials__head h2,
body.front-page .bluemed-home-testimonials__head .wp-block-heading,
body.front-page .bluemed-home-testimonials__head h2 {
	text-shadow: 0 1px 18px rgba(18, 54, 122, 0.22);
}

body.home .bluemed-home-testimonials__quote,
body.front-page .bluemed-home-testimonials__quote {
	box-shadow: 0 24px 60px rgba(21, 61, 138, 0.16) !important;
}

body.home .bluemed-home-testimonials__mark,
body.home .bluemed-home-testimonials__mark svg,
body.front-page .bluemed-home-testimonials__mark,
body.front-page .bluemed-home-testimonials__mark svg {
	color: var(--glass-2) !important;
}

body.home .bluemed-testimonials-slider__quote,
body.home .bluemed-testimonials-slider__quote p,
body.home .bluemed-testimonials-slider--xl .bluemed-testimonials-slider__quote p,
body.front-page .bluemed-testimonials-slider__quote,
body.front-page .bluemed-testimonials-slider__quote p,
body.front-page .bluemed-testimonials-slider--xl .bluemed-testimonials-slider__quote p {
	color: var(--text-primary) !important;
	-webkit-text-fill-color: var(--text-primary);
}

body.home .bluemed-testimonials-slider__quote,
body.front-page .bluemed-testimonials-slider__quote {
	background: var(--surface-primary);
	border-color: var(--border-light);
	box-shadow: 0 24px 70px rgba(51, 52, 61, 0.08);
}

body.home .bluemed-testimonials-slider__quote::before,
body.front-page .bluemed-testimonials-slider__quote::before {
	color: var(--glass-3);
}

body.home .bluemed-testimonials-slider__quote footer,
body.front-page .bluemed-testimonials-slider__quote footer {
	border-top-color: var(--border-light);
}

body.home .bluemed-testimonials-slider__dot.is-active,
body.front-page .bluemed-testimonials-slider__dot.is-active {
	background: var(--accent-light);
}

/* —— Blog (homepage section) —— */
body.home .bluemed-home-magazine,
body.home .bluemed-home-blog-editorial,
body.front-page .bluemed-home-magazine,
body.front-page .bluemed-home-blog-editorial {
	background: var(--bg-secondary) !important;
}

body.home .bluemed-home-blog-card,
body.home .bluemed-home-blog-editorial__card,
body.front-page .bluemed-home-blog-card,
body.front-page .bluemed-home-blog-editorial__card {
	border: 1px solid var(--border-light);
}

body.home .bluemed-home-blog-card a.wp-block-read-more,
body.home .bluemed-home-blog-editorial a.wp-block-read-more,
body.home .bluemed-home-blog-editorial__read,
body.front-page .bluemed-home-blog-card a.wp-block-read-more,
body.front-page .bluemed-home-blog-editorial a.wp-block-read-more,
body.front-page .bluemed-home-blog-editorial__read {
	color: var(--accent-primary) !important;
}

body.home .bluemed-home-blog-card a.wp-block-read-more:hover,
body.front-page .bluemed-home-blog-card a.wp-block-read-more:hover {
	color: var(--accent-hover) !important;
	border-bottom-color: var(--accent-hover) !important;
}
