/* Oxygen wraps loose text in a div; keep the original inline layout. */
:is(a, span, button, label, li, strong, small, p, .is-p) > div.oxy-text { display: contents; }
.oxy-container-link { text-decoration: none; }
#oxy-main { display: block; }
body { margin: 0; font-family: Manrope, sans-serif; background: var(--background); color: var(--foreground); }
:root { --bde-headings-color: inherit; --bde-links-color: inherit; --bde-links-color-hover: inherit; --bde-body-text-color: var(--foreground); --bde-background-color: var(--background); --bde-body-font-family: Manrope, sans-serif; --bde-heading-font-family: Manrope, sans-serif; }
/* Oxygen wraps each inline SVG in a div that carries the icon's classes. */
.oxy-svg-icon2 { --oxy-icon-size: 24px; flex: none; }
/* Header pieces normally provided by utility classes */
.nav-services { position: relative; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .nav-cta, .mobile-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 999px; background: var(--card); cursor: pointer; }
@media (max-width: 1099px) { .site-header .nav-links, .site-header .nav-actions > .nav-cta { display: none !important; } .nav-toggle { display: inline-flex; } }
.practice-menu-all { display: flex; align-items: center; gap: 8px; }
.mobile-drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgb(0 0 0 / .45); }
.mobile-menu-drawer { position: fixed; inset: 0 auto 0 0; z-index: 100; background: var(--background); transform: translateX(-100%); transition: transform .3s ease; }
.mobile-menu-drawer.is-open { transform: none; }
.mobile-menu-drawer .drawer-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--card); color: var(--primary); cursor: pointer; }
.mobile-menu-drawer .drawer-close svg { width: 20px; height: 20px; }
.mobile-nav { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.mobile-nav-row { display: flex; flex-wrap: wrap; gap: 16px; margin: 12px 0; }
.form-unsent { margin-top: 16px; font-size: 14px; line-height: 1.6; }
.form-unsent a { color: var(--primary); text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .mobile-menu-drawer { transition: none; } }
/* These pages place the footer flush against their last section in the app. */
body:has(.contact-page, .about-page, .legal-services-page) .site-footer { margin-top: 0; }
/* Oxygen's normalize sets headings to 1.2; the app lets them inherit unless a class sets it. */
h1, h2, h3, h4, h5, h6 { line-height: inherit; }
/* Room for the article's fixed mobile contact bar (the app's footer is a sibling of .bl-single). */
@media (max-width: 1023px) { body:has(.bl-single) .site-footer { padding-bottom: 90px; } }
/* Loose text beside the pin icon and separator is a set of flex items in the app, not one block. */
.consult-hero-location > div.oxy-text { display: contents; }
/* Blog share controls are links on WordPress (they work without scripts), sized like the app's buttons. */
.bl-share a { width:44px; height:44px; box-shadow:none; border-color:var(--muted-foreground); }
/* Article pages beyond the first nine. */
.bl-pagination { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:56px; }
.blog-page .bl-pagination .bl-topic { min-width:44px; justify-content:center; text-decoration:none; }
.blog-page .bl-pagination .bl-topic:not(.is-selected) { border-color:var(--border); }
