/* Bruce Park Clinic — supplemental styles */

.bpc-mark { display: inline-flex; line-height: 0; }

.bpc-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .bpc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bpc-header { top: 46px; } }

.bpc-header .wp-block-navigation a:hover { color: var(--wp--preset--color--accent); }
.bpc-header .wp-block-navigation-item.current-menu-item > a,
.bpc-header .wp-block-navigation a[aria-current="page"] { color: var(--wp--preset--color--accent); }

@media (max-width: 900px) {
	.bpc-header-call { display: none !important; }
}

.bpc-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 700;
	opacity: 0.85;
	margin-bottom: 0.25rem;
}
.bpc-eyebrow-dark { color: var(--wp--preset--color--accent); opacity: 1; }

.bpc-hero { position: relative; overflow: hidden; }
.bpc-hero::after {
	content: "";
	position: absolute;
	right: -120px; top: -120px;
	width: 420px; height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255,255,255,0.10), rgba(255,255,255,0) 70%);
	pointer-events: none;
}
.bpc-hero h1 { margin-top: 0.25rem; max-width: 16ch; }
.bpc-lede { opacity: 0.92; max-width: 36ch; }
.bpc-hero-card { box-shadow: 0 20px 50px rgba(0,0,0,0.18); }

.bpc-btn-light .wp-block-button__link {
	color: var(--wp--preset--color--surface) !important;
	border: 2px solid rgba(255,255,255,0.7);
	background: transparent;
}
.bpc-btn-light .wp-block-button__link:hover { background: rgba(255,255,255,0.12); }
.bpc-btn-accent .wp-block-button__link:hover { filter: brightness(0.92); }

.is-style-outline .wp-block-button__link {
	border: 2px solid currentColor;
	background: transparent;
	color: var(--wp--preset--color--primary);
}

.bpc-glance { list-style: none; padding-left: 0; margin: 0; }
.bpc-glance li { padding: 0.7rem 0; border-top: 1px solid var(--wp--preset--color--line); font-size: 0.975rem; }
.bpc-glance li:first-child { border-top: 0; padding-top: 0; }
.bpc-glance strong {
	font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.bpc-cards { gap: 1.25rem !important; }
.bpc-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 16px;
	padding: 1.75rem;
	transition: transform .15s ease, box-shadow .15s ease;
}
.bpc-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(20,53,49,0.08); }
.bpc-card h2, .bpc-card h3 { margin-top: 0; }
.bpc-card ul { padding-left: 1.1rem; margin-bottom: 0; }
.bpc-card li { margin: 0.3rem 0; }

.bpc-page-hero h1 { margin: 0; }

.bpc-table table { border-collapse: collapse; width: 100%; }
.bpc-table td { border: 0; border-top: 1px solid var(--wp--preset--color--line); padding: 0.75rem 0.5rem 0.75rem 0; vertical-align: top; }
.bpc-table tr:first-child td { border-top: 0; }
.bpc-table td:first-child { font-weight: 600; width: 34%; color: var(--wp--preset--color--muted); }

.bpc-notice ul { margin: 0; padding-left: 1.1rem; }
.bpc-notice li { margin: 0.4rem 0; }

.bpc-map {
	position: relative; border-radius: 16px; overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	aspect-ratio: 4 / 3; background: var(--wp--preset--color--mist);
}
.bpc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.bpc-footer a { text-decoration: none; }
.bpc-footer a:hover { text-decoration: underline; }
.bpc-footer p { line-height: 1.8; }

.bpc-main .wp-block-post-content h2 { margin-top: 2.25rem; }

a:focus-visible, .wp-element-button:focus-visible {
	outline: 3px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

/* Sections butt directly against header/footer */
.wp-site-blocks > * + * { margin-block-start: 0; }
.bpc-main .wp-block-post-content > .alignfull:first-child { margin-block-start: 0; }
.bpc-main .wp-block-post-content > .alignfull + .alignfull { margin-block-start: 0; }
.bpc-hero-card h2 { margin-top: 0; }
.bpc-page-content { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--60); }
.bpc-facts > h2:first-child { margin-top: 0; }
.bpc-main .bpc-card h2, .bpc-main .bpc-card h3 { margin-top: 0; }
