
/* Homepage + finder pages need a 16px root because the mockup CSS was
   authored assuming 1rem = 16px. OceanWP globally sets `html { font-size: 62.5% }`
   which makes 1rem = 10px and shrinks every rem-based value by 62.5%.
   Restore a normal root for pages we own. */
html { font-size: 100% !important; }
/* Homepage: break out of OceanWP's `#content-wrap.container` max-width so
   our sections can span the viewport. Inner `.container` divs inside each
   section keep their own max-width, which is what constrains content. */
/* All pages: kill OceanWP's sidebar column layout so content spans full width.
   OceanWP's default `.content-area { width: 72%; float: left; }` was squeezing
   every ported page into a narrow left column with a huge empty right gutter. */
body #content-wrap.container {
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}
body #primary,
body #content,
body .content-area,
body .single-page-article,
body .entry {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  float: none !important;
  border: 0 !important;
}

/* A-Z conditions page: intro paragraph sits between the site header and the
   shortcode's jump-nav. Wrap it in a container-width block with hero-style
   spacing + typography so it doesn't render as an unstyled bare `<p>`. */
body.page-id-9002 .entry > p,
body.page-id-9002 .entry > .wp-block-paragraph {
  max-width: 1180px !important;
  width: min(1180px, calc(100% - 48px)) !important;
  margin: 56px auto 24px !important;
  padding: 0 !important;
  font-size: 20px !important;
  line-height: 1.55 !important;
  color: #4A5568 !important;
  font-weight: 500 !important;
}
/* Hide the sidebar sitewide (we don't use one anywhere). */
body #sidebar,
body .widget-area { display: none !important; }
/* And ensure the theme's main wrapper doesn't add left/right padding either. */
body #main { padding: 0 !important; }

/* Header should NOT be sticky/fixed — content was scrolling under it on ported pages. */
body #site-header,
body header.site-header {
  position: static !important;
}

/* ==========================================================================
   Neutralize legacy idcare.com theme classes that came in with scraped pages.
   The source HTML has:
     - `.parallax-mirror` (position: fixed) that stays glued to the viewport
     - `.hero.parallax-window` with clip-path/height that overlaps other content
     - Bootstrap-style `.row` / `.col-lg-7` / `.col-copy` grid classes
     - `.skew-section` / `.white-diagonal` decorative wrappers
     - `.wow` / `.fadeInLeft` animation library markers that leave elements
       invisible when the JS library isn't loaded
   ========================================================================== */
body .entry .parallax-mirror,
body .entry .holder-parallax-slider,
body .entry .sh,
body .entry .sh-full {
  display: none !important;
  position: static !important;
}
body .entry .hero,
body .entry .hero.parallax-window,
body .entry .parallax-window {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
  min-height: 0 !important;
  height: auto !important;
  transform: none !important;
  clip-path: none !important;
}
body .entry .hero .item,
body .entry .parallax-window .item {
  background: transparent !important;
  padding: 0 !important;
  min-height: 0 !important;
}
body .entry .hero .data,
body .entry .parallax-window .data {
  padding: 24px 0 8px !important;
}
body .entry .hero h1,
body .entry .parallax-window h1 {
  color: #0F2940 !important;
  text-shadow: none !important;
  background: transparent !important;
}
body .entry .hero .small-txt { font-weight: 500 !important; }

/* Bootstrap-style grids from legacy content → normal block flow */
body .entry .row {
  display: block !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
}
body .entry [class*="col-lg-"],
body .entry [class*="col-md-"],
body .entry [class*="col-sm-"],
body .entry .col-12, body .entry .col-6, body .entry .col-4, body .entry .col-8,
body .entry .col-copy {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  float: none !important;
  flex: 0 0 100% !important;
}

/* Decorative skew wrappers → normal block */
body .entry .box-copy-img,
body .entry .box-copy,
body .entry .box-half-img,
body .entry .skew-section,
body .entry .white-diagonal,
body .entry .bgwhite,
body .entry .spacing-fix,
body .entry .more-spacing-fix {
  background: transparent !important;
  transform: none !important;
  clip-path: none !important;
  padding: 24px 0 !important;
  margin: 0 !important;
}

/* WOW animation library — force elements visible */
body .entry .wow,
body .entry .fadeInLeft, body .entry .fadeInRight,
body .entry .fadeInUp, body .entry .fadeInDown, body .entry .fadeIn {
  visibility: visible !important;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Scraped `.container` should not add its own max-width — the wrapping
   `body:not(.home) .entry { max-width: 900px }` rule already handles that. */
body:not(.home):not(.page-id-8506):not(.page-id-9002) .entry .container {
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

/* ==========================================================================
   Live idcare.com block-pattern port — Phase 2
   The scraped HTML retains live's original class names. Rather than transform
   the markup on import, we style each pattern class with our brand system so
   ported pages look intentional (and cleaner than live).
   ========================================================================== */

/* Full-bleed page hero used on service/infection singular templates */
body .idc-scraped-page .idc-page-hero {
  background: linear-gradient(135deg, #F4F5F6 0%, #EAF7F7 100%);
  padding: 48px 0 44px;
  border-bottom: 1px solid #E8EAED;
}
body .idc-scraped-page .idc-page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}
body .idc-scraped-page .idc-page-hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2BA1A3;
  margin-bottom: 12px;
}
body .idc-scraped-page .idc-page-hero-eyebrow a { color: #2BA1A3 !important; text-decoration: none !important; }
body .idc-scraped-page .idc-page-hero-eyebrow a:hover { color: #016F73 !important; }
body .idc-scraped-page .idc-page-hero-title {
  font-size: clamp(32px, 4.2vw, 48px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -.015em !important;
  color: #0F2940 !important;
  margin: 0 !important;
}
/* When a scraped page ALSO has an internal .hero from the imported content,
   hide it since our idc-page-hero replaces it. */
body .idc-scraped-page .entry > .hero,
body .idc-scraped-page .entry > .hero.parallax-window {
  display: none !important;
}

/* ---- Body copy patterns from live ---- */

/* .box-questions — the site's primary body-copy container. Live wraps the
   whole article body in this. */
body .entry .box-questions,
body .entry .box-1colleft {
  background: #fff !important;
  padding: 40px 0 32px !important;
}
body .entry .box-questions .container,
body .entry .box-1colleft .container,
body .entry .box-copy-img .container {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}

/* .box-copy-img — two-column text-left / image-right layout. Real CSS grid. */
body .entry .box-copy-img .container > .row,
body .entry .box-copy-img > .container .row {
  display: grid !important;
  grid-template-columns: 1.15fr 1fr !important;
  gap: 48px !important;
  align-items: center !important;
  margin: 0 !important;
}
body .entry .box-copy-img .col-copy,
body .entry .box-copy-img .col-lg-7 { grid-column: 1 !important; }
body .entry .box-copy-img .col-lg-5,
body .entry .box-copy-img .col-lg-4 { grid-column: 2 !important; }
body .entry .box-copy-img img {
  border-radius: 16px !important;
  box-shadow: 0 12px 32px rgba(15,41,64,.10) !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}
@media (max-width: 900px) {
  body .entry .box-copy-img .container > .row,
  body .entry .box-copy-img > .container .row {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  body .entry .box-copy-img .col-copy,
  body .entry .box-copy-img .col-lg-7,
  body .entry .box-copy-img .col-lg-5,
  body .entry .box-copy-img .col-lg-4 { grid-column: 1 !important; }
}

/* .box-tit — live's section-heading class, often wrapping a stray <p>.
   Style it as an accent-underlined H3. */
body .entry .box-tit {
  font-weight: 800 !important;
  color: #0F2940 !important;
  font-size: clamp(24px, 2.6vw, 32px) !important;
  line-height: 1.2 !important;
  margin: 0 0 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 3px solid #2BA1A3 !important;
  display: inline-block !important;
  letter-spacing: -.01em !important;
}
body .entry .box-tit p {
  margin: 0 !important;
  display: inline !important;
  font-size: inherit !important;
  color: inherit !important;
  font-weight: inherit !important;
}
body .entry .copy {
  font-size: inherit !important;
  color: inherit !important;
}
body .entry .copy p {
  margin: 0 0 18px !important;
}

/* Related-posts / featured-post carousels from live — kill the owl-carousel
   dependency and render as a simple 3-col grid, or hide if scripts missing. */
body .entry .owl-carousel {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  padding: 0 !important;
}
body .entry .owl-carousel .owl-stage-outer,
body .entry .owl-carousel .owl-stage {
  display: contents !important;
}
body .entry .owl-carousel .owl-item {
  display: block !important;
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}
body .entry .owl-carousel .owl-nav,
body .entry .owl-carousel .owl-dots,
body .entry .owl-carousel + .owl-nav { display: none !important; }
body .entry .owl-carousel .post-box {
  background: #fff !important;
  border: 1px solid #E8EAED !important;
  border-radius: 14px !important;
  padding: 20px !important;
  box-shadow: 0 6px 18px rgba(15,41,64,.05) !important;
  transition: transform .18s, box-shadow .18s;
}
body .entry .owl-carousel .post-box:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 24px rgba(15,41,64,.10) !important;
}
body .entry .owl-carousel .post-thumb img {
  width: 100% !important;
  height: 160px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  margin: 0 0 12px !important;
}
body .entry .owl-carousel .featured-post-date {
  color: #6B7C93 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
}
body .entry .owl-carousel .blog-post-title,
body .entry .owl-carousel h2.blog-post-title {
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  margin: 0 !important;
}
body .entry .owl-carousel .blog-post-title a,
body .entry .owl-carousel a.blog-post-url {
  color: #0F2940 !important;
  text-decoration: none !important;
}
body .entry .owl-carousel .blog-post-title a:hover { color: #2BA1A3 !important; }
@media (max-width: 900px) {
  body .entry .owl-carousel { grid-template-columns: 1fr !important; }
}

/* Featured-post-widget wrapper on live wraps carousel in another .box-copy-img
   with .widget-title — style the widget title as an accent-underlined H3 too. */
body .entry .featured-post-widget .widget-title { margin: 0 0 24px; }

/* Blog single: 2-column .blog-single-row layout — treat like box-copy-img
   but with sidebar-right pattern. If it appears, style the sidebar cleanly. */
body .entry .blog-single-row {
  display: grid !important;
  grid-template-columns: 1fr 300px !important;
  gap: 48px !important;
}
body .entry .blog-single-content { grid-column: 1 !important; }
body .entry .blog-single-row .col-md-4:not(.blog-single-content) {
  grid-column: 2 !important;
  padding: 24px !important;
  background: #F4F5F6 !important;
  border-radius: 14px !important;
  height: fit-content;
  font-size: 14px;
}
@media (max-width: 900px) {
  body .entry .blog-single-row { grid-template-columns: 1fr !important; }
  body .entry .blog-single-row .col-md-4:not(.blog-single-content) { grid-column: 1 !important; }
}

/* Social share bar on blog posts (shared-counts plugin) */
body .entry .shared-counts-wrapper {
  display: flex !important;
  gap: 8px !important;
  margin: 24px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
body .entry .shared-counts-button {
  padding: 8px 14px !important;
  border-radius: 6px !important;
  background: #F4F5F6 !important;
  color: #0F2940 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-decoration: none !important;
}

/* ---- Extend .reveal / IntersectionObserver to .wow elements so live's
        wow.js fadeIn* classes get revealed on scroll without loading wow.js. */
body .entry .wow,
body .entry .fadeInLeft, body .entry .fadeInRight,
body .entry .fadeInUp, body .entry .fadeInDown, body .entry .fadeIn {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  animation: none !important;
}

/* WordPress Gutenberg .wp-block-cover blocks (dark hero panels).
   Keep the dark bg, disable parallax, and force ALL text inside to WHITE so
   it's readable — my general `.entry p { color: #4A5568 }` was making gray
   paragraphs invisible on the dark cover background. */
body .entry .wp-block-cover {
  padding: 48px 32px !important;
  border-radius: 16px !important;
  margin: 24px 0 !important;
  min-height: auto !important;
}
body .entry .wp-block-cover.has-parallax,
body .entry .wp-block-cover .wp-block-cover__image-background {
  background-attachment: scroll !important;
  transform: none !important;
}
/* Match the same 5-:not() specificity used by the general .entry p rule above
   so this override wins on non-home content pages. */
body:not(.home):not(.page-id-8506):not(.page-id-9002):not(.page-id-8844):not(.page-id-8845) .entry .wp-block-cover h1,
body:not(.home):not(.page-id-8506):not(.page-id-9002):not(.page-id-8844):not(.page-id-8845) .entry .wp-block-cover h2,
body:not(.home):not(.page-id-8506):not(.page-id-9002):not(.page-id-8844):not(.page-id-8845) .entry .wp-block-cover h3,
body:not(.home):not(.page-id-8506):not(.page-id-9002):not(.page-id-8844):not(.page-id-8845) .entry .wp-block-cover h4,
body:not(.home):not(.page-id-8506):not(.page-id-9002):not(.page-id-8844):not(.page-id-8845) .entry .wp-block-cover p,
body:not(.home):not(.page-id-8506):not(.page-id-9002):not(.page-id-8844):not(.page-id-8845) .entry .wp-block-cover li,
body:not(.home):not(.page-id-8506):not(.page-id-9002):not(.page-id-8844):not(.page-id-8845) .entry .wp-block-cover strong,
body:not(.home):not(.page-id-8506):not(.page-id-9002):not(.page-id-8844):not(.page-id-8845) .entry .wp-block-cover span {
  color: #ffffff !important;
}
body:not(.home):not(.page-id-8506):not(.page-id-9002):not(.page-id-8844):not(.page-id-8845) .entry .wp-block-cover a { color: #9FDCDD !important; }

/* Respect explicit WP text-color classes (they know what color they want) */
body .entry .has-white-color { color: #ffffff !important; }
body .entry .has-black-color { color: #0F2940 !important; }

/* Gutenberg wp-block-columns: force stacked block layout so col ratios don't
   break in our narrower container. Also disable animated `.wow` visibility. */
body .entry .wp-block-columns {
  display: block !important;
  gap: 0 !important;
}
body .entry .wp-block-column {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 32px !important;
}

/* Legacy A-Z conditions block at bottom of scraped pages — we already have
   /infection/ page for browsing conditions. Hide the giant cross-link dump. */
body .entry #letter-A:not(.idc-az-group),
body .entry [id^="letter-"].group-letter,
body .entry .group-letter,
body .entry .letter-selected {
  display: none !important;
}

/* OceanWP's own #site-header — force static so the sticky-header plugin
   can't re-attach it. Our own <header> element is NOT overridden here so
   it can carry `position: relative; z-index: 2147483000` from below. */
html body #site-header,
html body .site-header {
  position: static !important;
  top: auto !important;
  transform: none !important;
}

    /* Alt 4b palette — Teal + Navy + Burgundy (with light-gray backgrounds).
       Approved brand colors — do NOT introduce off-palette hex codes without confirming. */
    :root{
      /* Navy (primary dark) */
      --navy-950:#0F2940;   /* deepest navy — text on light, backgrounds on dark bands */
      --navy-900:#0F2940;
      --navy-800:#1A6979;   /* navy-teal blend, use for gradient stops */
      /* Teal (primary accent) */
      --teal-600:#2BA1A3;   /* primary teal — eyebrows, dividers, highlights */
      --teal-300:#9FDCDD;   /* light-teal accent — soft section backgrounds, borders */
      /* Burgundy (CTA / brand pop) */
      --burgundy-700:#6E184F;
      --burgundy-600:#842062;
      --burgundy-100:#F0CCE0;
      /* Neutrals */
      --gray-100:#F4F5F6;   /* soft gray section background */
      --gray-50:#FAFAF7;    /* barely-off-white */
      --ink:#0F2940;        /* body text (deep navy) */
      --muted:#4A5568;      /* secondary text */
      --line:#E8EAED;       /* borders/dividers */
      --white:#fff;
      /* Legacy aliases — kept so existing rules that reference these keep working */
      --navy-700:#2BA1A3;   /* → teal-600 (many rules still use --navy-700) */
      --blue-100:#9FDCDD;   /* was #9FDCDD (off-palette) → teal-300 */
      --blue-50:#F4F5F6;    /* → gray-100 */
      --purple-700:#6E184F; /* → burgundy-700 */
      --purple-600:#842062; /* → burgundy-600 */
      --purple-100:#F0CCE0; /* was #F0CCE0 → burgundy-100 */
      /* Shape + shadow tokens */
      --shadow-sm:0 10px 30px rgba(15,41,64,.08);
      --shadow-md:0 24px 70px rgba(15,41,64,.14);
      --radius-sm:14px;
      --radius-md:22px;
      --radius-lg:34px;
      --container:min(1180px, calc(100% - 40px));
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:#fff;
      font-family:Aptos, "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      line-height:1.55;
      -webkit-font-smoothing:antialiased;
    }
    img{display:block;max-width:100%}
    a{color:inherit;text-decoration:none}
    button,input{font:inherit}
    button{cursor:pointer}
    .container{width:var(--container);margin-inline:auto}
    .skip-link{position:absolute;left:16px;top:-80px;background:#fff;padding:12px 18px;border-radius:10px;z-index:1000;box-shadow:var(--shadow-sm)}
    .skip-link:focus{top:16px}
    .eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--navy-700);font-weight:800;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase}
    .eyebrow::before{content:"";width:30px;height:2px;background:linear-gradient(90deg,var(--purple-600),var(--navy-700));border-radius:10px}
    .section{padding:104px 0}
    .section-head{display:flex;justify-content:space-between;gap:36px;align-items:end;margin-bottom:44px}
    .section-head h2,.split-copy h2,.care-copy h2{font-size:clamp(2rem,4vw,3.55rem);line-height:1.05;letter-spacing:-.018em;margin:12px 0 0;color:var(--navy-950)}
    .section-head p{max-width:560px;color:var(--muted);font-size:1.06rem;margin:0}
    .btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:14px 20px;border:1px solid transparent;border-radius:8px;font-weight:800;transition:.22s ease;min-height:50px}
    .btn svg{width:18px;height:18px;transition:transform .22s ease}
    .btn:hover svg{transform:translateX(3px)}
    .btn-primary{background:linear-gradient(135deg,#842062,#6E184F);color:#fff;box-shadow:0 12px 30px rgba(132,32,98,.18)}
    .btn-primary:hover{transform:translateY(-2px);box-shadow:0 17px 36px rgba(132,32,98,.24)}
    .btn-secondary{background:#fff;color:var(--navy-800);border-color:#D5DEE2;box-shadow:0 8px 22px rgba(15,41,64,.07)}
    .btn-secondary:hover{border-color:var(--navy-700);transform:translateY(-2px)}
    .btn-ghost{color:var(--navy-800);padding-inline:4px;border-radius:0;border-bottom:1px solid #C8D6DC;min-height:auto}
    .icon-btn{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid var(--line);color:var(--navy-700)}

    /* Utility and navigation */
    .utility{background:var(--navy-950);color:#D5E4EA;font-size:.82rem}
    .utility-inner{min-height:38px;display:flex;justify-content:space-between;align-items:center;gap:18px}
    .utility-left{display:flex;align-items:center;gap:10px;white-space:nowrap}
    .utility-dot{width:7px;height:7px;border-radius:50%;background:#842062;box-shadow:0 0 0 4px rgba(43,161,163,.15)}
    .utility-links{display:flex;align-items:center;gap:22px}
    .utility a{opacity:.9}.utility a:hover{opacity:1;text-decoration:underline}
    header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid rgba(232,234,237,.9)}
    .nav{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:26px}
    .brand{display:flex;align-items:center;flex:0 0 auto}
    .brand img{width:301px;height:auto}
    .nav-links{display:flex;align-items:center;gap:28px;font-size:.94rem;font-weight:750;color:#0F2940}
    .nav-links a{position:relative;padding:30px 0}
    .nav-links a:not(.nav-cta)::after{content:"";position:absolute;left:0;right:100%;bottom:21px;height:2px;background:var(--purple-600);transition:right .2s ease}
    .nav-links a:hover::after{right:0}
    .nav-cta{padding:12px 18px!important;background:var(--purple-600);color:white;border-radius:8px}
    .menu-btn{display:none;border:0;background:none;color:var(--navy-900);padding:10px}
    .menu-btn svg{width:26px;height:26px}

    /* Hero */
    .hero{position:relative;overflow:hidden;background:
      radial-gradient(circle at 86% 16%, rgba(132,32,98,.10), transparent 26%),
      radial-gradient(circle at 8% 80%, rgba(43,161,163,.12), transparent 29%),
      linear-gradient(180deg,#F4F5F6 0%,#fff 100%);
      padding:72px 0 62px;
    }
    .hero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(15,41,64,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(15,41,64,.035) 1px,transparent 1px);background-size:64px 64px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.55),transparent 72%);pointer-events:none}
    .hero-grid{position:relative;display:grid;grid-template-columns:1.02fr .98fr;gap:68px;align-items:center}
    .hero-copy .eyebrow{font-size:clamp(.96rem,1.25vw,1.12rem);line-height:1.35;letter-spacing:.105em;max-width:680px}
    .hero-copy h1{font-size:clamp(2.35rem,4.6vw,4.25rem);line-height:1.08;letter-spacing:-.012em;margin:16px 0 22px;color:var(--navy-950);max-width:690px;font-weight:800}
    .hero-copy h1 span{background:linear-gradient(100deg,#0F2940,#2BA1A3);-webkit-background-clip:text;background-clip:text;color:transparent}
    .hero-copy p{font-size:clamp(1rem,1.35vw,1.13rem);line-height:1.68;letter-spacing:.003em;color:#4A5568;max-width:610px;margin:0 0 31px}
    .hero-actions{display:flex;flex-wrap:wrap;gap:12px}
    .hero-proof{display:flex;align-items:center;gap:14px;margin-top:31px;color:#4A5568;font-size:.9rem}
    .avatars{display:flex}
    .avatar{width:38px;height:38px;border:3px solid #fff;border-radius:50%;margin-left:-9px;display:grid;place-items:center;color:#fff;font-size:.74rem;font-weight:800;background:linear-gradient(135deg,var(--navy-700),var(--purple-600))}
    .avatar:first-child{margin-left:0}.avatar:nth-child(2){background:linear-gradient(135deg,#2BA1A3,#0F2940)}.avatar:nth-child(3){background:linear-gradient(135deg,#842062,#6E184F)}
    .hero-visual{position:relative;min-height:540px}
    .hero-photo{position:absolute;inset:24px 0 0 42px;border-radius:40px;overflow:hidden;box-shadow:var(--shadow-md);background:var(--navy-900)}
    .hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center}
    .hero-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 46%,rgba(15,41,64,.62) 100%)}
    .photo-caption{position:absolute;left:32px;right:32px;bottom:27px;z-index:2;color:#fff;display:flex;justify-content:space-between;align-items:end;gap:20px}
    .photo-caption strong{display:block;font-size:1.08rem}.photo-caption small{opacity:.85}
    .photo-badge{background:rgba(159,220,221,.24);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.32);padding:9px 12px;border-radius:12px;font-weight:750;font-size:.78rem;white-space:nowrap}
    .float-card{position:absolute;z-index:4;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border:1px solid rgba(232,234,237,.95);box-shadow:var(--shadow-sm);border-radius:18px;padding:16px 17px;display:flex;align-items:center;gap:13px}
    .float-card .fc-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:var(--purple-100);color:var(--purple-600)}
    .float-card .fc-icon svg{width:23px;height:23px}.float-card strong{display:block;color:var(--navy-950);font-size:.94rem}.float-card small{color:var(--muted)}
    .float-one{left:-8px;top:96px}.float-two{right:-24px;bottom:96px}
    .orbit{position:absolute;width:146px;height:146px;border:1px solid rgba(132,32,98,.16);border-radius:50%;right:-44px;top:-22px}.orbit::before,.orbit::after{content:"";position:absolute;border-radius:50%;background:var(--purple-600)}.orbit::before{width:12px;height:12px;left:14px;top:26px}.orbit::after{width:7px;height:7px;right:17px;bottom:28px;background:var(--navy-700)}

    /* Quick actions */
    .quick-actions{position:relative;margin-top:-8px;z-index:8}
    .quick-grid{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow-sm);overflow:hidden}
    .quick-card{padding:24px 27px;display:flex;align-items:center;gap:18px;position:relative}
    .quick-card + .quick-card{border-left:1px solid var(--line)}
    .quick-icon{flex:0 0 auto;width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#9FDCDD,#fff);color:var(--navy-700)}
    .quick-icon svg{width:25px;height:25px}.quick-card strong{display:block;color:var(--navy-950);font-size:1rem}.quick-card span{font-size:.88rem;color:var(--muted)}
    .quick-arrow{margin-left:auto;color:var(--navy-700);transition:transform .2s}.quick-card:hover .quick-arrow{transform:translateX(4px)}

    /* Prominent news and alerts */
    .updates-section{
      padding:56px 0 34px;
      background:
        radial-gradient(circle at 94% 8%,rgba(43,161,163,.08),transparent 24%),
        linear-gradient(180deg,#fff 0%,#F4F5F6 100%);
    }
    .updates-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:24px}
    .updates-heading h2{font-size:clamp(1.85rem,3.2vw,2.8rem);line-height:1.08;letter-spacing:-.025em;color:var(--navy-950);margin:10px 0 0}
    .updates-heading p{max-width:560px;color:var(--muted);margin:0;font-size:.98rem}
    .updates-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:20px;align-items:stretch}
    .alert-feature{position:relative;overflow:hidden;min-height:390px;border-radius:30px;padding:34px;background:linear-gradient(140deg,var(--navy-950),var(--navy-700));color:#fff;box-shadow:var(--shadow-md);display:flex;flex-direction:column;justify-content:space-between}
    .alert-feature::before{content:"";position:absolute;width:360px;height:360px;right:-150px;top:-165px;border-radius:50%;border:1px solid rgba(255,255,255,.14);box-shadow:0 0 0 45px rgba(255,255,255,.03),0 0 0 90px rgba(255,255,255,.025)}
    .alert-feature::after{content:"";position:absolute;inset:auto -5% -42% 28%;height:72%;background:radial-gradient(circle,rgba(132,32,98,.30),transparent 68%);pointer-events:none}
    .alert-top,.alert-bottom{position:relative;z-index:2}
    .alert-label{display:inline-flex;align-items:center;gap:10px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);font-size:.74rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
    .alert-pulse{width:9px;height:9px;border-radius:50%;background:#9FDCDD;box-shadow:0 0 0 6px rgba(159,220,221,.18)}
    .alert-feature h3{font-size:clamp(2rem,4vw,3.25rem);line-height:1.02;letter-spacing:-.035em;max-width:620px;margin:25px 0 17px}
    .alert-feature p{max-width:650px;color:#C8D6DC;font-size:1.02rem;margin:0;line-height:1.65}
    .alert-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:28px}
    .alert-actions .btn{background:#fff;color:var(--navy-900);box-shadow:none}
    .alert-phone{display:inline-flex;align-items:center;gap:8px;color:#C8D6DC;font-weight:750;font-size:.9rem}
    .alert-phone svg{width:18px;height:18px}
    .news-stack{display:grid;grid-template-rows:repeat(3,1fr);gap:13px}
    .news-item{display:grid;grid-template-columns:74px 1fr auto;gap:18px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px 20px 20px 18px;transition:.22s ease;box-shadow:0 6px 22px rgba(15,41,64,.035)}
    .news-item:hover{transform:translateY(-3px);border-color:#B8D9DA;box-shadow:var(--shadow-sm)}
    .news-date{width:62px;height:62px;border-radius:17px;background:linear-gradient(145deg,#9FDCDD,#fff);border:1px solid #D5DEE2;display:grid;place-items:center;text-align:center;color:var(--navy-800);line-height:1}
    .news-date strong{display:block;font-size:1.42rem;letter-spacing:-.04em}
    .news-date span{display:block;font-size:.67rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase;margin-top:4px}
    .news-copy small{display:block;color:var(--purple-600);font-size:.7rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase;margin-bottom:6px}
    .news-copy h3{font-size:1.02rem;line-height:1.28;color:var(--navy-950);letter-spacing:-.012em;margin:0 0 5px}
    .news-copy p{color:var(--muted);font-size:.82rem;line-height:1.45;margin:0}
    .news-arrow{width:37px;height:37px;border-radius:50%;display:grid;place-items:center;color:var(--navy-700);background:var(--blue-50);transition:.2s}
    .news-item:hover .news-arrow{transform:translateX(3px);background:var(--blue-100)}
    .updates-foot{display:flex;justify-content:flex-end;margin-top:18px}
    @media (max-width:900px){
      .updates-heading{display:block}.updates-heading p{margin-top:12px}
      .updates-grid{grid-template-columns:1fr}.alert-feature{min-height:350px}
    }
    @media (max-width:560px){
      .updates-section{padding:43px 0 24px}.alert-feature{min-height:auto;padding:27px 23px;border-radius:25px}.alert-feature h3{font-size:2.15rem}.alert-actions .btn{width:100%}
      .news-item{grid-template-columns:58px 1fr;padding:16px;gap:13px}.news-date{width:54px;height:54px}.news-date strong{font-size:1.2rem}.news-arrow{display:none}.news-copy p{display:none}.updates-foot{justify-content:stretch}.updates-foot .btn{width:100%}
    }

    /* Stats */
    .trust{padding:56px 0 24px}
    .trust-grid{display:grid;grid-template-columns:1.25fr repeat(3,.75fr);gap:18px;align-items:stretch}
    .trust-lead{border-radius:24px;padding:30px;background:linear-gradient(135deg,var(--navy-900),var(--navy-700));color:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:198px;position:relative;overflow:hidden}
    .trust-lead::after{content:"";position:absolute;width:220px;height:220px;border:1px solid rgba(159,220,221,.24);border-radius:50%;right:-85px;bottom:-110px;box-shadow:0 0 0 35px rgba(255,255,255,.03),0 0 0 70px rgba(255,255,255,.025)}
    .trust-lead small{font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#D5E4EA}.trust-lead strong{font-size:1.65rem;line-height:1.2;max-width:420px;letter-spacing:-.02em}
    .stat{padding:29px 24px;border:1px solid var(--line);border-radius:24px;background:#fff;display:flex;flex-direction:column;justify-content:center}
    .stat strong{font-size:2.65rem;line-height:1;color:var(--navy-800);letter-spacing:-.055em}.stat span{color:var(--muted);font-size:.9rem;margin-top:9px}

    /* Service cards */
    .services{background:linear-gradient(180deg,#fff 0,#F4F5F6 100%)}
    .service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
    .service-card{background:#fff;border:1px solid var(--line);border-radius:25px;padding:28px 24px 25px;min-height:315px;display:flex;flex-direction:column;transition:.25s ease;position:relative;overflow:hidden}
    .service-card::after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-55px;top:-55px;background:linear-gradient(145deg,rgba(43,161,163,.08),rgba(8,43,112,.03));transition:transform .3s ease}
    .service-card:hover{transform:translateY(-7px);box-shadow:var(--shadow-sm);border-color:#D5DEE2}.service-card:hover::after{transform:scale(1.4)}
    .service-icon{width:56px;height:56px;border-radius:17px;background:linear-gradient(145deg,#9FDCDD,#fff);display:grid;place-items:center;color:var(--navy-700);margin-bottom:32px}
    .service-icon.purple{background:linear-gradient(145deg,#F0CCE0,#fff);color:var(--purple-600)}
    .service-icon svg{width:27px;height:27px}.service-card h3{font-size:1.25rem;color:var(--navy-950);margin:0 0 12px;letter-spacing:-.025em}.service-card p{font-size:.94rem;color:var(--muted);margin:0 0 23px}.service-card a{margin-top:auto;color:var(--navy-700);font-weight:800;font-size:.9rem;display:inline-flex;align-items:center;gap:7px}

    /* Care pathway */
    .care-path{padding:110px 0;background:var(--navy-950);color:#fff;position:relative;overflow:hidden}
    .care-path::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 9% 15%,rgba(132,32,98,.28),transparent 25%),radial-gradient(circle at 90% 80%,rgba(43,161,163,.26),transparent 24%)}
    .care-grid{position:relative;display:grid;grid-template-columns:.88fr 1.12fr;gap:72px;align-items:center}
    .care-copy .eyebrow{color:#9FDCDD}.care-copy h2{color:#fff}.care-copy p{color:#C8D6DC;font-size:1.05rem;max-width:510px}.care-copy .btn-secondary{margin-top:16px;background:transparent;color:white;border-color:rgba(255,255,255,.35);box-shadow:none}
    .steps{display:grid;gap:14px}
    .step{display:grid;grid-template-columns:62px 1fr auto;align-items:center;gap:20px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);border-radius:22px;padding:19px 21px;backdrop-filter:blur(10px);transition:.2s}
    .step:hover{background:rgba(255,255,255,.1);transform:translateX(6px)}
    .step-num{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,var(--purple-600),#6E184F);font-weight:900}.step h3{margin:0 0 3px;font-size:1.12rem}.step p{margin:0;color:#A7B5BF;font-size:.88rem}.step-arrow{opacity:.5}

    /* Find care */
    .find-care{background:#F4F5F6}
    .finder{border:1px solid var(--line);background:#fff;border-radius:30px;box-shadow:var(--shadow-sm);overflow:hidden}
    .finder-top{padding:26px 28px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px}
    .tabs{display:inline-flex;background:#EEF2F3;border-radius:999px;padding:5px;gap:4px}
    .tab{border:0;background:transparent;color:#4A5568;font-weight:800;padding:10px 17px;border-radius:999px}.tab.active{background:#fff;color:var(--navy-800);box-shadow:0 4px 14px rgba(15,41,64,.10)}
    .search-wrap{position:relative;width:min(430px,100%)}
    .search-wrap svg{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:19px;height:19px;color:#6B7280}.search-wrap input{width:100%;border:1px solid #D5DEE2;background:#FFFFFF;border-radius:14px;padding:13px 16px 13px 46px;outline:none;color:var(--ink)}.search-wrap input:focus{border-color:var(--navy-700);box-shadow:0 0 0 4px rgba(15,41,64,.08)}
    .tab-panel{display:none;padding:27px}.tab-panel.active{display:block}
    .location-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
    .location-card{border:1px solid var(--line);border-radius:17px;padding:18px;background:#fff;transition:.2s}.location-card:hover{border-color:#B8D9DA;transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,41,64,.07)}.location-card strong{display:block;color:var(--navy-900);font-size:.95rem}.location-card span{font-size:.8rem;color:var(--muted)}.location-pin{width:30px;height:30px;border-radius:10px;background:var(--purple-100);color:var(--purple-600);display:grid;place-items:center;margin-bottom:13px}.location-pin svg{width:16px;height:16px}.empty{display:none;text-align:center;color:var(--muted);padding:25px}
    .provider-panel{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}.provider-visual{border-radius:22px;min-height:230px;background:linear-gradient(145deg,#F4F5F6,#F0CCE0);position:relative;overflow:hidden;display:grid;place-items:center}.provider-visual svg{width:76%;max-width:370px}.provider-copy h3{font-size:1.8rem;margin:0 0 12px;color:var(--navy-950);letter-spacing:-.035em}.provider-copy p{color:var(--muted);margin:0 0 22px}

    /* Conditions */
    .conditions{padding:88px 0;background:#fff}
    .condition-wrap{border:1px solid var(--line);border-radius:28px;padding:37px;background:linear-gradient(135deg,#fff,#F4F5F6)}
    .condition-wrap h2{font-size:clamp(1.8rem,3.2vw,2.75rem);margin:0 0 9px;color:var(--navy-950);letter-spacing:-.016em}.condition-wrap p{color:var(--muted);margin:0 0 26px}.chips{display:flex;flex-wrap:wrap;gap:10px}.chip{padding:10px 14px;border-radius:999px;background:#fff;border:1px solid #D5DEE2;color:#0F2940;font-weight:750;font-size:.88rem;transition:.2s}.chip:hover{border-color:var(--purple-600);color:var(--purple-600);transform:translateY(-2px)}

    /* Organizations */
    .organizations{background:#F4F5F6}
    .split{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
    .split-media{position:relative}
    .split-media img{width:100%;aspect-ratio:1.12/1;object-fit:cover;border-radius:32px;box-shadow:var(--shadow-md)}
    .split-media::before{content:"";position:absolute;inset:-18px 32px 18px -18px;border:1px solid rgba(132,32,98,.18);border-radius:36px;z-index:0}.split-media img{position:relative;z-index:1}
    .split-tag{position:absolute;z-index:2;left:24px;bottom:24px;background:rgba(15,41,64,.92);color:#fff;padding:14px 17px;border-radius:15px;max-width:270px;box-shadow:var(--shadow-sm);font-weight:750}
    .split-copy p{color:var(--muted);font-size:1.05rem}.feature-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:25px 0 30px}.feature{display:flex;gap:10px;align-items:flex-start;color:#0F2940;font-weight:700;font-size:.91rem}.check{width:22px;height:22px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;background:var(--purple-100);color:var(--purple-600)}.check svg{width:13px;height:13px}

    /* Insights */
    .insight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}
    .insight-card{border:1px solid var(--line);border-radius:23px;overflow:hidden;background:#fff;transition:.24s}.insight-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-sm)}
    .insight-card img{width:100%;aspect-ratio:1.55/1;object-fit:cover}.insight-body{padding:22px}.insight-meta{font-size:.75rem;text-transform:uppercase;letter-spacing:.11em;color:var(--purple-600);font-weight:900}.insight-card h3{font-size:1.14rem;line-height:1.28;margin:9px 0 15px;color:var(--navy-950);letter-spacing:-.02em}.insight-link{font-size:.88rem;font-weight:850;color:var(--navy-700)}

    /* Testimonial / CTA */
    .testimonial{padding:98px 0;background:linear-gradient(145deg,#F4F5F6,#fff)}
    .quote-card{display:grid;grid-template-columns:180px 1fr;gap:42px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:30px;padding:46px;box-shadow:var(--shadow-sm)}
    .quote-mark{width:150px;height:150px;border-radius:38px;background:linear-gradient(145deg,#0F2940,#1A6979);display:grid;place-items:center;color:#fff;font-family:Georgia,serif;font-size:7rem;line-height:1;padding-top:32px}.quote-text blockquote{font-size:clamp(1.35rem,2.8vw,2.15rem);line-height:1.35;margin:0 0 23px;color:var(--navy-950);letter-spacing:-.028em}.quote-text cite{font-style:normal;font-weight:850;color:var(--navy-800)}.quote-text small{display:block;color:var(--muted);margin-top:3px}
    .cta{padding:0 0 100px;background:#fff}.cta-box{background:linear-gradient(135deg,var(--navy-900),#1A6979);border-radius:34px;padding:56px 60px;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:35px;position:relative;overflow:hidden}.cta-box::before{content:"";position:absolute;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(159,220,221,.24),transparent 65%);right:15%;top:-110px}.cta-box h2{position:relative;font-size:clamp(2rem,4vw,3.25rem);line-height:1.04;letter-spacing:-.018em;margin:0 0 12px;max-width:660px}.cta-box p{position:relative;margin:0;color:#D5E4EA}.cta-actions{position:relative;display:flex;gap:12px;flex-wrap:wrap}.cta .btn-primary{background:#fff;color:var(--navy-800);box-shadow:none}.cta .btn-secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.42);box-shadow:none}

    /* Footer */
    footer{background:var(--navy-950);color:#D0DADE;padding:66px 0 25px}.footer-grid{display:grid;grid-template-columns:1.45fr repeat(3,1fr);gap:46px}.footer-brand img{width:304px;background:#fff;border-radius:13px;padding:9px 12px}.footer-brand p{max-width:390px;color:#A7B5BF;font-size:.92rem}.footer-title{color:#fff;font-size:.86rem;text-transform:uppercase;letter-spacing:.1em;margin:8px 0 17px;font-weight:850}.footer-links{display:grid;gap:10px;font-size:.9rem}.footer-links a:hover{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:46px;padding-top:22px;display:flex;justify-content:space-between;gap:20px;font-size:.78rem;color:#A3B0B9}.footer-bottom-links{display:flex;gap:18px}

    /* Reveals and responsive */
    .reveal{opacity:0;transform:translateY(22px);transition:opacity .65s ease,transform .65s ease}.reveal.visible{opacity:1;transform:none}
    @media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}}
    @media (max-width:1050px){
      .nav-links{gap:18px;font-size:.88rem}.brand img{width:263px}
      .hero-grid{gap:36px}.hero-visual{min-height:500px}.hero-photo{left:20px}
      .service-grid{grid-template-columns:repeat(2,1fr)}
      .location-grid{grid-template-columns:repeat(3,1fr)}
      .trust-grid{grid-template-columns:1fr 1fr}.trust-lead{grid-row:span 2}
      .care-grid,.split{gap:45px}
      .footer-grid{grid-template-columns:1.4fr 1fr 1fr}.footer-grid > div:last-child{grid-column:2/4}
    }
    @media (max-width:820px){
      .utility-left span:last-child{display:none}.utility-links a:first-child{display:none}
      .menu-btn{display:block}.nav-links{position:absolute;left:20px;right:20px;top:78px;display:none;flex-direction:column;align-items:stretch;gap:0;background:#fff;border:1px solid var(--line);border-radius:20px;padding:12px;box-shadow:var(--shadow-md)}.nav-links.open{display:flex}.nav-links a{padding:13px 14px}.nav-links a::after{display:none}.nav-cta{text-align:center;margin-top:5px}
      .hero{padding-top:54px}.hero-grid{grid-template-columns:1fr}.hero-copy h1{max-width:690px}.hero-visual{min-height:480px;margin-top:10px}.hero-photo{left:7%;right:2%}.float-one{left:0}.float-two{right:0}
      .quick-grid{grid-template-columns:1fr}.quick-card + .quick-card{border-left:0;border-top:1px solid var(--line)}
      .section{padding:82px 0}.section-head{display:block}.section-head p{margin-top:18px}
      .care-grid,.split{grid-template-columns:1fr}.care-grid{gap:45px}.split-media{order:2}
      .finder-top{align-items:stretch;flex-direction:column}.search-wrap{width:100%}.location-grid{grid-template-columns:repeat(2,1fr)}
      .provider-panel{grid-template-columns:1fr}
      .insight-grid{grid-template-columns:1fr 1fr}.insight-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.insight-card:last-child img{height:100%;aspect-ratio:auto}
      .quote-card{grid-template-columns:1fr}.quote-mark{width:90px;height:90px;border-radius:25px;font-size:4.5rem;padding-top:20px}
      .cta-box{display:block;padding:45px 38px}.cta-actions{margin-top:27px}
      .footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-grid > div:last-child{grid-column:auto}.footer-bottom{flex-direction:column}
    }
    @media (max-width:560px){
      :root{--container:min(100% - 28px,1180px)}
      .utility-inner{justify-content:flex-end}.utility-left{display:none}.utility-links{gap:14px}
      .nav{min-height:78px}.brand img{width:235px}.nav-links{top:73px;left:14px;right:14px}
      .hero{padding:43px 0 43px}.hero-copy .eyebrow{font-size:.9rem;line-height:1.4;letter-spacing:.085em}.hero-copy h1{font-size:2.55rem;line-height:1.11;letter-spacing:-.006em}.hero-actions .btn{width:100%}.hero-proof{align-items:flex-start}
      .hero-visual{min-height:390px}.hero-photo{inset:22px 0 0 0;border-radius:28px}.photo-caption{left:20px;right:20px;bottom:18px}.photo-badge{display:none}.float-card{padding:11px 12px}.float-card .fc-icon{width:36px;height:36px}.float-one{top:5px;left:12px}.float-two{right:10px;bottom:25px}.float-card small{display:none}.orbit{display:none}
      .quick-card{padding:20px}.trust-grid{grid-template-columns:1fr}.trust-lead{grid-row:auto}.stat{min-height:130px}
      .service-grid{grid-template-columns:1fr}.service-card{min-height:auto}.service-icon{margin-bottom:24px}
      .care-path{padding:80px 0}.step{grid-template-columns:48px 1fr;padding:15px}.step-num{width:43px;height:43px}.step-arrow{display:none}
      .finder-top{padding:20px}.tab-panel{padding:20px}.tabs{width:100%}.tab{flex:1;padding-inline:7px}.location-grid{grid-template-columns:1fr}.provider-visual{min-height:180px}
      .condition-wrap{padding:26px 21px}.feature-list{grid-template-columns:1fr}.split{gap:35px}.split-media::before{inset:-10px 17px 10px -10px}.split-tag{left:15px;right:15px;bottom:15px;max-width:none}
      .insight-grid{grid-template-columns:1fr}.insight-card:last-child{grid-column:auto;display:block}.insight-card:last-child img{aspect-ratio:1.55/1}
      .quote-card{padding:30px 23px}.cta-box{padding:38px 25px;border-radius:27px}.cta-actions .btn{width:100%}
      .footer-grid{grid-template-columns:1fr}.footer-brand{grid-column:auto}.footer-grid > div:last-child{grid-column:auto}.footer-bottom-links{flex-wrap:wrap}
    }
  

    /* Location card refinements */
    .location-card{
      display:flex;
      align-items:center;
      gap:12px;
      min-height:72px;
      background:var(--blue-100);
      border-color:#9FDCDD;
      padding:14px 16px;
    }
    .location-card:hover{
      border-color:var(--navy-700);
      box-shadow:0 10px 24px rgba(15,41,64,.07);
    }
    .location-pin{
      flex:0 0 auto;
      margin-bottom:0;
      background:#fff;
      color:var(--navy-700);
      border:1px solid rgba(43,161,163,.28);
    }
    .location-card strong{line-height:1.2}
    .location-card span{line-height:1.2}


    /* Location card refinements — two-line cards, no icons */
    .location-card{
      display:block;
      min-height:92px;
      background:var(--blue-100);
      border-color:#9FDCDD;
      padding:18px 18px 16px;
    }
    .location-card strong{
      display:block;
      color:var(--navy-950);
      font-weight:850;
      font-size:.98rem;
      line-height:1.22;
      margin:0 0 7px;
    }
    .location-card span{
      display:block;
      color:var(--muted);
      font-size:.82rem;
      line-height:1.35;
    }
    .location-card:hover{
      border-color:var(--navy-700);
      box-shadow:0 10px 24px rgba(15,41,64,.07);
    }
    .location-pin{display:none!important;}


/* === hb2-* block from mockup === */

.hb2-hero{position:relative;background:#fff;padding:60px 0 44px;overflow:hidden}
.hb2-hero::before{content:"";position:absolute;top:-40px;left:-40px;width:280px;height:220px;background:radial-gradient(circle at 30% 30%,rgba(155,89,155,.12),transparent 65%);pointer-events:none;z-index:0}
.hb2-grid{position:relative;display:grid;grid-template-columns:.9fr 1.2fr;gap:48px;align-items:center;z-index:1}
.hb2-eyebrow{display:block;font-size:.78rem;font-weight:800;letter-spacing:.20em;color:#842062;text-transform:uppercase;margin:0 0 16px}
.hb2-copy h1{font-size:clamp(2.3rem,4.7vw,3.85rem);font-weight:800;line-height:1.05;letter-spacing:-.018em;color:#0F2940;margin:0 0 22px;max-width:560px}
.hb2-copy h1 .hb2-accent{color:#842062;display:block;margin-top:4px}
.hb2-copy p.hb2-lede{font-size:1.02rem;line-height:1.55;color:#4A5568;max-width:470px;margin:0 0 30px;font-weight:500}
.hb2-actions{display:flex;flex-wrap:wrap;gap:12px}
.hb2-btn-primary{background:#2BA1A3;color:#fff;padding:14px 24px;font-weight:700;font-size:.95rem;border-radius:8px;text-decoration:none;display:inline-flex;align-items:center;gap:8px;box-shadow:0 8px 18px rgba(2,137,142,.24);transition:transform .16s,box-shadow .16s;border:0}
.hb2-btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 22px rgba(2,137,142,.32)}
.hb2-btn-secondary{background:#fff;color:#0F2940;padding:12.5px 22px;font-weight:700;font-size:.95rem;border-radius:8px;border:1.5px solid #0F2940;text-decoration:none;display:inline-flex;align-items:center;gap:8px;transition:background .16s}
.hb2-btn-secondary:hover{background:#F4F5F8}
.hb2-visual{position:relative}
.hb2-slash{display:none}
.hb2-slash svg{width:100%;height:100%;display:block}
@media(max-width:960px){.hb2-slash{display:none}}
.hb2-photo{border-radius:14px;overflow:hidden;background:transparent;position:relative;aspect-ratio:1.5/1;box-shadow:none}
.hb2-photo img{width:100%;height:100%;object-fit:cover;display:block}
.hb2-stats{background:#F4F5F6;padding:26px 0;border-bottom:1px solid rgba(155,89,155,.18)}
.hb2-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;align-items:center}
.hb2-stat{display:flex;align-items:center;gap:14px;color:#0F2940;font-weight:600;font-size:1rem;justify-content:center;border-left:1px solid rgba(155,89,155,.24);padding:6px 20px}
.hb2-stat:first-child{border-left:0}
.hb2-stat-num{font-size:1.55rem;font-weight:800;color:#0F2940;margin-right:2px}
.hb2-stat-icon{width:36px;height:36px;color:#2BA1A3;flex:0 0 auto}
.hb2-stat-icon svg{width:100%;height:100%}
.hb2-services{background:#F3EEF6;padding:56px 0 76px}
.hb2-services h2{text-align:center;font-size:clamp(1.75rem,2.8vw,2.35rem);font-weight:800;color:#0F2940;margin:0 0 40px;letter-spacing:-.01em}
.hb2-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.hb2-card{background:#fff;border-radius:18px;padding:22px 20px;box-shadow:0 6px 18px rgba(15,41,64,.07);display:flex;gap:14px;align-items:flex-start}
.hb2-card-icon{flex:0 0 58px;width:58px;height:58px;border-radius:50%;background:#F0CCE0;color:#0F2940;display:grid;place-items:center}
.hb2-card-icon svg{width:30px;height:30px}
.hb2-card h3{color:#0F2940;font-size:1.05rem;font-weight:800;margin:0 0 6px;letter-spacing:-.005em}
.hb2-card p{color:#5A6478;font-size:.85rem;line-height:1.5;margin:0}
@media(max-width:960px){
  .hb2-grid{grid-template-columns:1fr;gap:36px}
  .hb2-photo{border-radius:22px}
  .hb2-stats-grid{grid-template-columns:1fr;gap:12px}
  .hb2-stat{border-left:0;border-top:1px solid rgba(155,89,155,.24);padding:12px 0}
  .hb2-stat:first-child{border-top:0;padding-top:0}
  .hb2-cards{grid-template-columns:1fr 1fr;gap:14px}
  .hb2-btn-primary,.hb2-btn-secondary{width:100%;justify-content:center}
}
@media(max-width:560px){.hb2-cards{grid-template-columns:1fr}}


/* === Overrides to defeat OceanWP / Elementor default styles ===
   NOTE: OceanWP/Elementor sets `html { font-size: 62.5% }` (10px root),
   so 1rem = 10px. All nav sizes here use explicit px to bypass that. */
header nav.nav {
  min-height: 100px;
}
header .nav-links {
  gap: 24px !important;
  flex-wrap: nowrap !important;
}
header .nav-links a {
  color: #0F2940 !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
header .nav-links a.nav-cta,
header .nav-links a.nav-cta:hover,
header .nav-links a.nav-cta:visited {
  color: #ffffff !important;
  background: #842062 !important;
  padding: 12px 18px !important;
  font-size: 14px !important;
  white-space: nowrap !important;
}
header .brand img {
  width: 301px !important;
  height: auto !important;
  max-width: none !important;
}
/* At medium widths, shrink slightly + tighten gap so nav fits on one line */
@media (max-width: 1200px) {
  header .nav-links { gap: 18px !important; }
  header .nav-links a { font-size: 14px !important; }
  header .brand img { width: 250px !important; }
}
@media (max-width: 1050px) {
  header .brand img { width: 220px !important; }
}
/* Below 1100px, force the hamburger menu (the mockup only triggers it at 820px
   but the CTA gets clipped on tablet-sized viewports). */
@media (max-width: 1100px) {
  header .menu-btn { display: block !important; }
  header .nav-links {
    position: absolute !important;
    left: 20px !important;
    right: 20px !important;
    top: 78px !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    background: #fff !important;
    border: 1px solid #E8EAED !important;
    border-radius: 12px !important;
    padding: 12px !important;
    box-shadow: 0 24px 70px rgba(15,41,64,.14) !important;
  }
  header .nav-links.open { display: flex !important; }
  header .nav-links a { padding: 13px 14px !important; font-size: 15px !important; }
  header .nav-links a::after { display: none !important; }
  header .nav-cta { text-align: center !important; margin-top: 5px !important; }
}
/* Hero CTAs — make sure text/background render */
.hb2-actions a.hb2-btn-primary,
.hb2-actions a.hb2-btn-primary:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}
.hb2-actions a.hb2-btn-secondary,
.hb2-actions a.hb2-btn-secondary:hover {
  text-decoration: none !important;
}
/* Generic .btn overrides so OceanWP doesn't repaint them */
.btn-primary, a.btn-primary, a.btn-primary:hover, a.btn-primary:visited {
  color: #ffffff !important;
  text-decoration: none !important;
}
.btn-secondary, a.btn-secondary, a.btn-secondary:hover, a.btn-secondary:visited {
  text-decoration: none !important;
}
/* Force .reveal elements to be visible immediately — the fade-in was
   causing sections to stay opacity:0 if the observer script hit any timing
   issue. Reliability > animation. */
.reveal { opacity: 1 !important; transform: none !important; }

/* [idcare_location_providers] shortcode output */
.idcare-loc-providers { margin: 20px 0; }
.idcare-loc-providers h4 {
  color: #0F2940; font-size: 20px; margin: 20px 0 10px; font-weight: 700;
  padding-bottom: 6px; border-bottom: 2px solid #2BA1A3;
  display: inline-block;
}
.idcare-loc-providers .idcare-loc-providers-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 24px;
}
.idcare-loc-providers .idcare-loc-providers-list li { margin: 0; padding: 6px 0; }
.idcare-loc-providers .idcare-loc-providers-list a {
  color: #0F2940; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color .15s ease;
}
.idcare-loc-providers .idcare-loc-providers-list a:hover {
  color: #6E184F; border-bottom-color: #6E184F;
}

/* ==========================================================================
   Provider profile page — v2 (informed by angela-provider-mockup.png)
   Uses px sizing since site root is font-size: 62.5%.
   ========================================================================== */

.idc-provider-hero {
  background: #F4F5F6 url('/wp-content/uploads/provider-hero-bg-navy.webp') center center / cover no-repeat;
  color: #0F2940;
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}
.idc-provider-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.idc-provider-hero-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.idc-provider-photo img,
.idc-provider-photo-fallback {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 44px rgba(15,41,64,.18) !important;
  border: 4px solid #842062 !important; /* brand purple frame — matches .btn-primary — 2026-09-15 */
  max-width: 280px !important;
  display: block !important;
}
.idc-provider-photo-fallback { background: rgba(15,41,64,.06); }
.idc-provider-eyebrow {
  display: inline-block;
  color: #2BA1A3;
  font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 12px;
}
.idc-provider-name {
  font-size: 44px !important;
  line-height: 1.05;
  margin: 0 0 8px !important;
  color: #0F2940 !important;
  letter-spacing: -.015em;
  font-weight: 800;
}
.idc-provider-position {
  color: #4A5568;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}
.idc-provider-reviews {
  display: flex;
  gap: 16px;
  margin: 0 0 24px;
  flex-wrap: wrap;
}
.idc-review-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: #0F2940 !important;
  font-size: 14px; font-weight: 600;
  padding: 8px 14px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(15,41,64,.15);
  border-radius: 8px;
  text-decoration: none !important;
  transition: background .15s, border-color .15s;
}
.idc-review-link:hover {
  background: #fff;
  border-color: rgba(15,41,64,.35);
}
.idc-review-icon {
  display: inline-flex; width: 22px; height: 22px;
  align-items: center; justify-content: center;
  background: #fff; color: #4285F4; border-radius: 50%;
  font-weight: 900; font-size: 12px;
  border: 1px solid rgba(15,41,64,.1);
}
.idc-review-icon-hg { color: #FF6C36; }
.idc-provider-hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.idc-provider-hero-cta .btn {
  font-size: 16px !important; padding: 14px 22px !important;
}
.idc-provider-hero-cta .btn-secondary {
  background: #fff !important;
  color: #0F2940 !important;
  border: 1.5px solid rgba(15,41,64,.2) !important;
  box-shadow: 0 4px 12px rgba(15,41,64,.06) !important;
}
.idc-provider-hero-cta .btn-secondary:hover {
  background: #fff !important;
  border-color: #2BA1A3 !important;
  color: #0F2940 !important;
}

.idc-provider-body-section {
  background: #F4F5F6;
  padding: 60px 0 80px;
}
.idc-provider-body-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}
.idc-provider-sidebar {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.idc-sidebar-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 24px rgba(15,41,64,.06);
  border: 1px solid #E8EAED;
}
.idc-sidebar-card h3 {
  color: #0F2940;
  font-size: 20px;
  margin: 0 0 16px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid #2BA1A3;
  display: inline-block;
}
.idc-sidebar-cta {
  background: linear-gradient(135deg, #0F2940, #16364F);
  color: #fff;
  border: 0;
}
.idc-sidebar-cta h3 { color: #fff; border-bottom-color: #2BA1A3; }
.idc-sidebar-cta p { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.5; margin: 0 0 20px; }
.idc-btn-block { display: block !important; text-align: center; width: 100%; }
.idc-sidebar-cta .idc-btn-block {
  background: #2BA1A3 !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(43,161,163,.25) !important;
}
.idc-sidebar-cta .idc-btn-block:hover {
  background: #1A6979 !important;
}
.idc-office-list { list-style: none; padding: 0; margin: 0; }
.idc-office-list li {
  padding: 14px 0;
  border-bottom: 1px solid #F0F2F4;
}
.idc-office-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.idc-office-list li:first-child { padding-top: 0; }
.idc-office-name {
  display: block;
  color: #0F2940 !important;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
  text-decoration: none !important;
}
.idc-office-name:hover { color: #6E184F !important; }
.idc-office-addr {
  color: #4A5568;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 4px;
}
.idc-office-phone { font-size: 14px; }
.idc-office-phone a { color: #2BA1A3 !important; font-weight: 600; text-decoration: none !important; }
.idc-office-phone a:hover { color: #0F2940 !important; }

.idc-provider-main { min-width: 0; }
.idc-provider-bio {
  background: #fff;
  border-radius: 18px;
  padding: 32px 36px;
  box-shadow: 0 10px 24px rgba(15,41,64,.06);
  border: 1px solid #E8EAED;
  margin-bottom: 24px;
  color: #0F2940;
  font-size: 16px;
  line-height: 1.65;
}
.idc-provider-bio p { margin: 0 0 16px; }
.idc-provider-bio p:last-child { margin-bottom: 0; }
.idc-provider-bio h2 { color: #0F2940; font-size: 24px; margin: 24px 0 12px; }

.idc-content-block {
  background: #fff;
  border-radius: 18px;
  padding: 32px 36px;
  box-shadow: 0 10px 24px rgba(15,41,64,.06);
  border: 1px solid #E8EAED;
  margin-bottom: 24px;
}
.idc-content-block h2 {
  color: #0F2940;
  font-size: 24px;
  margin: 0 0 20px;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 3px solid #2BA1A3;
  display: inline-block;
}
.idc-content-block-blue { background: #9FDCDD; border-color: rgba(43,161,163,.2); }
.idc-content-block-plum { background: #F0CCE0; border-color: rgba(132,32,98,.15); }
.idc-content-block-plum h2 { color: #6E184F; border-bottom-color: #842062; }

.idc-clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.idc-clean-list li {
  padding: 10px 0 10px 24px;
  position: relative;
  border-bottom: 1px solid rgba(15,41,64,.06);
  color: #0F2940;
  font-size: 15px;
  line-height: 1.5;
}
.idc-clean-list li:last-child { border-bottom: 0; }
.idc-clean-list li::before {
  content: "\2022"; /* • bullet */
  position: absolute; left: 4px; top: 8px;
  color: #2BA1A3;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}
.idc-cv-heading {
  color: #6E184F !important;
  font-size: 16px !important;
  margin: 20px 0 8px !important;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.idc-cv-heading:first-child { margin-top: 0 !important; }

/* Mobile — stack the hero + body grids */
@media (max-width: 900px) {
  .idc-provider-hero-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .idc-provider-photo { max-width: 220px; margin: 0 auto; }
  .idc-provider-reviews { justify-content: center; }
  .idc-provider-hero-cta { justify-content: center; }
  .idc-provider-body-grid { grid-template-columns: 1fr; gap: 24px; }
  .idc-provider-sidebar { position: static; }
  .idc-provider-name { font-size: 32px !important; }
}

/* ---- Provider profile intro + accordions ---- */
.idc-provider-intro {
  background: #fff;
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 0 10px 24px rgba(15,41,64,.06);
  border: 1px solid #E8EAED;
  margin-bottom: 24px;
  color: #0F2940;
  font-size: 17px;
  line-height: 1.65;
  border-left: 4px solid #2BA1A3;
}
.idc-provider-intro p { margin: 0 0 12px; }
.idc-provider-intro p:last-child { margin-bottom: 0; }

.idc-accordions {
  display: flex; flex-direction: column; gap: 10px;
}
.idc-accordion {
  background: #fff;
  border: 1px solid #E8EAED;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15,41,64,.04);
  transition: box-shadow .2s;
}
.idc-accordion.open { box-shadow: 0 12px 28px rgba(15,41,64,.08); }
.idc-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  color: #0F2940;
  font-size: 17px;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  transition: background .15s;
}
.idc-accordion-header:hover { background: rgba(43,161,163,.04); }
.idc-accordion-header::after {
  content: "+";
  font-size: 26px;
  font-weight: 400;
  color: #2BA1A3;
  transition: transform .2s;
  margin-left: 12px;
  line-height: 1;
}
.idc-accordion.open .idc-accordion-header::after {
  content: "−";
}
.idc-accordion-panel {
  display: none;
  padding: 0 28px 24px;
  color: #0F2940;
  font-size: 15px;
  line-height: 1.65;
  border-top: 1px solid #F0F2F4;
  padding-top: 20px;
}
.idc-accordion.open .idc-accordion-panel { display: block; }
.idc-accordion-panel p { margin: 0 0 12px; }
.idc-accordion-panel p:last-child { margin-bottom: 0; }
.idc-accordion-panel h3,
.idc-accordion-panel h4 {
  color: #0F2940;
  font-size: 16px;
  margin: 18px 0 10px;
  font-weight: 700;
}
.idc-accordion-panel h3:first-child,
.idc-accordion-panel h4:first-child { margin-top: 0; }
.idc-accordion-panel ul { padding-left: 22px !important; margin: 0 0 12px !important; list-style: disc !important; }
.idc-accordion-panel ul li { list-style: disc !important; }
.idc-accordion-panel ul li::marker { color: #2BA1A3 !important; }
.idc-accordion-panel .idc-clean-list,
.idc-accordion-panel .idc-clean-list li { list-style: none !important; padding-left: 0 !important; }
.idc-accordion-panel .idc-clean-list li { padding-left: 24px !important; }

/* ---- Accordion overrides — defeat OceanWP button styles ---- */
.idc-accordion,
.idc-accordion .idc-accordion-header,
.idc-accordion .idc-accordion-panel {
  background: #fff !important;
  color: #0F2940 !important;
}
.idc-accordion .idc-accordion-header {
  background: transparent !important;
  color: #0F2940 !important;
  border: 0 !important;
  padding: 20px 28px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  text-align: left !important;
  cursor: pointer;
  text-transform: none !important;
  letter-spacing: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
}
.idc-accordion .idc-accordion-header:hover {
  background: rgba(43,161,163,.05) !important;
  color: #0F2940 !important;
}
.idc-accordion .idc-accordion-panel {
  display: none !important;
  padding: 20px 28px 24px !important;
  color: #0F2940 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  border-top: 1px solid #F0F2F4 !important;
}
.idc-accordion.open .idc-accordion-panel { display: block !important; }
.idc-provider-intro {
  background: #fff !important;
  color: #0F2940 !important;
  border: 1px solid #E8EAED !important;
  border-left: 4px solid #2BA1A3 !important;
}

/* Bottom "Approach to Care" stylized box (main column, below accordions) */
.idc-approach-box {
  margin-top: 32px;
  background: linear-gradient(135deg, #0F2940 0%, #16364F 100%);
  color: #fff;
  border-radius: 18px;
  padding: 40px 44px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15,41,64,.18);
}
.idc-approach-box::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(43,161,163,.22), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(132,32,98,.18), transparent 40%);
  pointer-events: none;
}
.idc-approach-box > * { position: relative; z-index: 1; }
.idc-approach-box h2 {
  color: #9FDCDD !important;
  font-size: 26px !important;
  margin: 0 0 20px !important;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(127,224,227,.35);
  display: inline-block;
}
.idc-approach-box p {
  color: rgba(255,255,255,.92) !important;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.idc-approach-box p:last-child { margin-bottom: 0; }
.idc-approach-box a { color: #9FDCDD !important; text-decoration: underline; }

/* ==========================================================================
   Single location page — v2 (Unio-inspired: sidebar with embedded map + hours)
   ========================================================================== */
.idc-location-hero {
  background: linear-gradient(135deg, #0F2940 0%, #16364F 100%);
  color: #fff;
  padding: 56px 0;
}
.idc-location-eyebrow {
  display: inline-block;
  color: #9FDCDD;
  font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 12px;
}
.idc-location-title {
  font-size: 40px !important;
  color: #fff !important;
  line-height: 1.1;
  margin: 0 !important;
  font-weight: 800;
  letter-spacing: -.015em;
}
.idc-location-subtitle {
  color: #9FDCDD;
  font-size: 18px;
  margin-top: 8px;
}

.idc-location-body-section {
  background: #F4F5F6;
  padding: 60px 0 80px;
}
.idc-location-body-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.idc-location-body {
  background: #fff;
  border-radius: 18px;
  padding: 32px 36px;
  box-shadow: 0 10px 24px rgba(15,41,64,.06);
  border: 1px solid #E8EAED;
  min-width: 0;
}
.idc-location-body h2 { color: #0F2940; font-size: 24px; margin: 24px 0 12px; }
.idc-location-body h2:first-child { margin-top: 0; }
.idc-location-body h3 { color: #0F2940; font-size: 18px; margin: 20px 0 10px; }
.idc-location-body p { color: #0F2940; line-height: 1.65; font-size: 16px; margin: 0 0 14px; }
.idc-location-body ul { color: #0F2940; padding-left: 22px; }
.idc-location-body ul li { margin-bottom: 6px; }
.idc-location-body a { color: #2BA1A3; }

.idc-location-sidebar {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.idc-map-embed {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15,41,64,.10);
  border: 1px solid #E8EAED;
  background: #F0F2F4;
  aspect-ratio: 4 / 3;
  min-height: 260px;
}
.idc-map-embed iframe {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 260px !important;
  border: 0 !important;
}
.idc-visit-address {
  color: #0F2940 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  margin: 0 0 16px !important;
}
.idc-visit-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #F0F2F4;
  font-size: 15px !important;
  margin: 0 !important;
}
.idc-visit-line:last-of-type { border-bottom: 0; }
.idc-visit-line > span:first-child {
  color: #4A5568; font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: .06em;
}
.idc-visit-line a { color: #2BA1A3 !important; font-weight: 600; text-decoration: none !important; }
.idc-visit-line a:hover { color: #0F2940 !important; }

.idc-hours-card h3 { border-bottom-color: #9FDCDD !important; }
.idc-hours-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.idc-hours-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0 !important;
  border-bottom: 1px solid #F0F2F4;
  font-size: 15px;
  list-style: none !important;
}
.idc-hours-list li::before { display: none !important; }
.idc-hours-list li:last-child { border-bottom: 0; }
.idc-hours-day { color: #0F2940; font-weight: 700; }
.idc-hours-time { color: #4A5568; }
.idc-hours-list li.is-closed .idc-hours-time { color: #C0C7CE; font-style: italic; }

.idc-location-team {
  background: #9FDCDD;
  padding: 60px 0;
}
.idc-location-team-title {
  font-size: clamp(26px, 3vw, 36px) !important;
  color: #0F2940 !important;
  margin: 8px 0 32px !important;
}
.idc-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.idc-team-card {
  background: #fff;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(15,41,64,.06);
  text-align: center;
  transition: transform .18s, box-shadow .18s;
  display: block;
  color: inherit !important;
  text-decoration: none !important;
  border: 1px solid #E8EAED;
}
.idc-team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15,41,64,.12);
}
.idc-team-card img {
  width: 120px !important; height: 120px !important;
  object-fit: cover !important; border-radius: 50% !important;
  margin: 0 auto 12px !important;
  display: block !important;
}
.idc-team-card-placeholder {
  width: 120px; height: 120px; border-radius: 50%;
  background: #9FDCDD; margin: 0 auto 12px;
}
.idc-team-card h4 {
  margin: 0 0 4px !important;
  color: #0F2940 !important;
  font-size: 15px !important;
  font-weight: 700;
}
.idc-team-card-deg { color: #4A5568; font-size: 13px; }

@media (max-width: 900px) {
  .idc-location-body-grid { grid-template-columns: 1fr; }
  .idc-location-sidebar { position: static; }
}

/* Grid layout for [idcare_location_providers layout="grid"] — inline in main column.
   The wrapper carries `.idcare-loc-providers-grid` as a variant marker
   (do NOT put display:grid on it, or the h4 headings become grid cells).
   The actual card grid is the inner `.idcare-loc-providers-cards` div. */
.idcare-loc-providers-cards {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
  gap: 14px !important;
  margin: 8px 0 28px !important;
  list-style: none !important;
  padding: 0 !important;
}
.idcare-loc-providers-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 16px 8px !important;
  background: #fff !important;
  border: 1px solid #E8EAED !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform .18s, box-shadow .18s, border-color .18s !important;
  box-shadow: 0 2px 8px rgba(15,41,64,.04) !important;
}
.idcare-loc-providers-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 24px rgba(15,41,64,.10) !important;
  border-color: #2BA1A3 !important;
}
.idcare-loc-providers-card img,
.idcare-loc-providers-card-fallback {
  width: 88px !important;
  height: 88px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  margin: 0 0 10px !important;
  display: block !important;
  background: #9FDCDD !important;
  border: 2px solid #F0F2F4 !important;
}
.idcare-loc-providers-card-name {
  display: block !important;
  font-weight: 700 !important;
  color: #0F2940 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  margin-bottom: 3px !important;
}
.idcare-loc-providers-card-deg {
  display: block !important;
  color: #4A5568 !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}
.idcare-loc-providers-grid h4 {
  margin: 24px 0 8px !important;
  color: #0F2940 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  padding-bottom: 6px !important;
  border-bottom: 2px solid #2BA1A3 !important;
  display: inline-block !important;
}
.idcare-loc-providers-grid > h4:first-of-type { margin-top: 8px !important; }

/* Force wp-block-columns inside the location body to stack full-width.
   The SEO source used two-column layouts we can't easily strip in PHP because
   the columns are already rendered as literal <div>s in some posts. */
.idc-location-body .wp-block-columns {
  display: block !important;
  flex-wrap: nowrap !important;
}
.idc-location-body .wp-block-column {
  width: 100% !important;
  max-width: 100% !important;
  flex-basis: 100% !important;
  margin-left: 0 !important;
}
/* Hide hardcoded map-screenshot images embedded in the SEO copy — the sidebar
   has the live map, we don't need a static one duplicated inline. */
.idc-location-body figure.wp-block-image:has(img[src*="Infectious-Disease-Doctors"]),
.idc-location-body figure.wp-block-image:has(a[href*="maps.app.goo.gl"]),
.idc-location-body figure.wp-block-image:has(a[href*="maps.google.com/maps"]) {
  display: none !important;
}

/* Location page — Patient reviews section (rendered from [rater8-widget]) */
.idc-location-reviews {
  background: #9FDCDD;
  padding: 60px 0 80px;
}
.idc-location-reviews-title {
  font-size: clamp(26px, 3vw, 34px) !important;
  color: #0F2940 !important;
  margin: 8px 0 32px !important;
  font-weight: 800;
}
.idc-location-reviews .rater8_title { display: none; } /* our own H2 above */
.idc-location-reviews #rater8Testimonials {
  background: #fff;
  border-radius: 18px;
  padding: 32px 36px;
  box-shadow: 0 10px 24px rgba(15,41,64,.06);
  border: 1px solid #E8EAED;
}

/* Plugin `[multi-brand-map]` shortcode container — needs explicit height
   or Google Maps JS renders a 0×0 canvas and only the placeholder text shows. */
#map {
  width: 100% !important;
  height: 480px !important;
  min-height: 480px !important;
  margin: 20px 0 !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15,41,64,.10);
  border: 1px solid #E8EAED;
}
/* Location cards from [multi-brand-map-post-list] shortcode */
.map-post-list {
  margin: 0 0 16px !important;
  padding: 20px !important;
  background: #fff !important;
  border: 1px solid #E8EAED !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(15,41,64,.04) !important;
}
.map-post-list .title {
  color: #0F2940 !important;
  font-size: 18px !important;
  margin: 0 0 8px !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   Finder pages — /find-a-provider/ and /find-a-location/
   Overrides to fix Unio-imported Elementor templates for IDCare brand
   ========================================================================== */

/* Hero band: replace Unio's light-blue background with our provider hero image */
/* Provider finder (page-id-8844) — restore the branded hero image.
   Targets both the mobile section (5bf727dd) and the desktop section (159835ce). */
body.page-id-8844 .elementor-element-5bf727dd,
body.page-id-8844 .elementor-element-159835ce {
  background-image: url('/wp-content/uploads/provider-hero-bg-navy.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-color: #F4F5F6 !important;
  background-repeat: no-repeat !important;
  /* Trim hero to ~60% of previous height per client feedback. */
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  min-height: 0 !important;
}
body.page-id-8844 .elementor-element-5bf727dd .elementor-container,
body.page-id-8844 .elementor-element-159835ce .elementor-container {
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
/* Neutralise the dark overlay Unio put on their hero photo */
body.page-id-8844 .elementor-element-5bf727dd > .elementor-background-overlay,
body.page-id-8844 .elementor-element-159835ce > .elementor-background-overlay {
  background: rgba(255,255,255,.10) !important;
  opacity: 1 !important;
}
/* Beat Elementor's inline background-image style attribute */
body.page-id-8844 .elementor-element-5bf727dd[style*="background-image"],
body.page-id-8844 .elementor-element-159835ce[style*="background-image"] {
  background-image: url('/wp-content/uploads/provider-hero-bg-navy.webp') !important;
}

/* Location finder (page-id-8845) — solid palette BG per request (image was
   clipping and breaking the map column when 10 cards render below). */
body.page-id-8845 .elementor-section:first-of-type {
  background-image: none !important;
  background-color: #F4F5F6 !important;
}
body.page-id-8845 .elementor-section:first-of-type > .elementor-background-overlay {
  background: transparent !important;
  opacity: 0 !important;
}

/* Search form fields — visible borders + contrast on white BG.
   Selectors chain body + .search-form to beat Unio's inline template CSS
   `.search-form .search-input-type { border-radius: 30px }` which was
   giving the zip input a pill shape. */
body .search-form { display: flex !important; gap: 12px !important; align-items: stretch !important; flex-wrap: wrap !important; }
body .search-form .search-form__container { flex: 1 1 240px !important; position: relative !important; }
body .search-form .search-input-title,
body .search-form .search-input-type,
body .search-form select[name="location_zip_code"],
body .search-form select[name="provider_name"],
body .search-form select.search-input-type,
body .search-form input.search-input-title {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1.5px solid #C7D5E2 !important;
  border-radius: 6px !important;
  background: #FFFFFF !important;
  color: #0F2940 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  height: 46px !important;
  min-height: 46px !important;
  box-shadow: 0 2px 6px rgba(15,41,64,.04) !important;
  appearance: auto !important;
  -webkit-appearance: menulist !important;
}
body .search-form .search-input-title:focus,
body .search-form .search-input-type:focus {
  border-color: #2BA1A3 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(43,161,163,.15) !important;
}
body .search-form .search-input-title::placeholder { color: #4A5568 !important; opacity: 1 !important; }

/* Map — stretch to fill its column height, minimum 640px so it feels substantial */
.elementor-widget-shortcode:has(#map) { height: 100% !important; }
.elementor-widget-shortcode:has(#map) .elementor-widget-container,
.elementor-widget-shortcode:has(#map) .elementor-shortcode { height: 100% !important; min-height: 640px !important; }
#map {
  width: 100% !important;
  height: 100% !important;
  min-height: 640px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 28px rgba(15,41,64,.10) !important;
  border: 1px solid #E8EAED !important;
  margin: 0 !important;
}

/* APPOINTMENT button on location cards — force teal.
   Elementor kit CSS is highly specific (`.elementor-* .elementor-button {}`) so we boost
   with body-prefix + the two literal classes on the element. */
body article.map-post-list a.elementor-button.app_link,
body article.map-post-list a.elementor-button.app_link:link,
body article.map-post-list a.elementor-button.app_link:visited,
html body .map-post-list a.app_link {
  background: #02898E !important;
  background-color: #02898E !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 10px 18px !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 12px rgba(2,137,142,.24) !important;
  transition: background-color .18s, transform .18s !important;
  display: inline-block !important;
  text-decoration: none !important;
}
body article.map-post-list a.elementor-button.app_link:hover,
html body .map-post-list a.app_link:hover {
  background: #016F73 !important;
  background-color: #016F73 !important;
  transform: translateY(-1px) !important;
}
/* Secondary link inside cards (More Information) — plain link style */
.map-post-list a:not(.app_link):not([id*="Appointment"]):not(.elementor-button) {
  color: #2BA1A3 !important;
  font-weight: 600 !important;
}

/* Location cards — nicer card treatment */
.map-post-list {
  display: block !important;
  margin: 0 0 12px !important;
  padding: 20px 22px !important;
  background: #FFFFFF !important;
  border: 1px solid #E8EAED !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(15,41,64,.04) !important;
  transition: box-shadow .2s, transform .2s !important;
}
.map-post-list:hover {
  box-shadow: 0 8px 20px rgba(15,41,64,.10) !important;
  transform: translateY(-1px) !important;
}
.map-post-list .title {
  color: #0F2940 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin: 0 0 6px !important;
  line-height: 1.3 !important;
}

/* Provider cards on the finder — bigger + more polished than location page's small grid.
   Elementor's Post widget wraps cards in `.elementor-posts .elementor-post` — we need
   higher specificity than that. */
body article.elementor-post.provider,
body .elementor-posts article.elementor-post.provider {
  background: #FFFFFF !important;
  border: 1px solid #E8EAED !important;
  border-radius: 12px !important;
  padding: 24px 20px 20px !important;
  text-align: center !important;
  box-shadow: 0 4px 12px rgba(15,41,64,.05) !important;
  transition: transform .2s, box-shadow .2s, border-color .2s !important;
}
body article.elementor-post.provider:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 30px rgba(15,41,64,.12) !important;
  border-color: #2BA1A3 !important;
}
body article.elementor-post.provider .elementor-post__card {
  background: transparent !important;
  padding: 0 !important;
}
body article.elementor-post.provider .elementor-post__thumbnail,
body article.elementor-post.provider .elementor-post__thumbnail__link,
body article.elementor-post.provider a.elementor-post__thumbnail__link {
  width: 150px !important;
  height: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  min-height: 150px !important;
  max-height: 150px !important;
  margin: 0 auto 14px !important;
  border-radius: 50% !important;
  -webkit-mask-image: radial-gradient(circle, #000 99%, transparent 100%) !important;
          mask-image: radial-gradient(circle, #000 99%, transparent 100%) !important;
  overflow: hidden !important;
  border: 3px solid #F0F2F4 !important;
  background: #F0F2F4 !important;
  display: block !important;
  padding: 0 !important;
  padding-bottom: 0 !important;
  aspect-ratio: 1 / 1 !important;
  box-sizing: border-box !important;
  position: relative !important;
}
body article.elementor-post.provider .elementor-post__thumbnail img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  /* Face-centered crop for portrait headshots. */
  object-position: center 30% !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
article.elementor-post.provider .elementor-post__title,
article.elementor-post.provider h3,
article.elementor-post.provider h4 {
  color: #0F2940 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin: 0 0 6px !important;
  line-height: 1.3 !important;
}
article.elementor-post.provider .elementor-post__title a { color: #0F2940 !important; }
article.elementor-post.provider .elementor-post__title a:hover { color: #6E184F !important; }
article.elementor-post.provider .elementor-post__excerpt {
  color: #4A5568 !important;
  font-size: 13px !important;
  margin: 0 0 14px !important;
}

/* A-Z filter bar (injected by JS) */
.idc-az-filter {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  margin: 20px auto 28px; max-width: 900px;
}
.idc-az-filter button {
  padding: 8px 12px !important;
  min-width: 36px !important;
  background: #FFFFFF !important;
  color: #0F2940 !important;
  border: 1.5px solid #C7D5E2 !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: all .15s !important;
}
.idc-az-filter button:hover:not(:disabled) {
  border-color: #2BA1A3 !important;
  color: #2BA1A3 !important;
}
.idc-az-filter button.active {
  background: #2BA1A3 !important;
  color: #FFFFFF !important;
  border-color: #2BA1A3 !important;
  box-shadow: 0 2px 6px rgba(43,161,163,.25) !important;
}
.idc-az-filter button:disabled {
  opacity: 1 !important;
  color: #4A5568 !important;
  background: #ffffff !important;
  border-color: #E8EAED !important;
  cursor: not-allowed !important;
}
.idc-az-filter button.reset {
  background: #ffffff !important;
  color: #4A5568 !important;
  border-color: #C7D5E2 !important;
  min-width: 60px !important;
}
.idc-az-filter button.reset:hover:not(:disabled) {
  color: #2BA1A3 !important;
  border-color: #2BA1A3 !important;
}
.idc-az-filter button.reset.active {
  background: #4A5568 !important;
  color: #ffffff !important;
  border-color: #4A5568 !important;
}

/* Hero title text on provider/location finder pages — dark navy against light BG */
body.page-id-8844 .elementor-heading-title,
body.page-id-8845 .elementor-heading-title {
  color: #0F2940 !important;
}

/* Provider finder — 2 hero buttons ("Appointment" + "Patient Portal") 
   Currently render as Unio's original blue pills — force teal rounded rectangles. */
body.page-id-8844 .elementor-element-159835ce a.elementor-button,
body.page-id-8844 .elementor-element-159835ce a.elementor-button-link,
body.page-id-8844 .elementor-element-159835ce .elementor-button-wrapper a {
  background: #02898E !important;
  background-color: #02898E !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 14px 26px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 12px rgba(2,137,142,.24) !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background-color .18s, transform .18s !important;
}
body.page-id-8844 .elementor-element-159835ce a.elementor-button:hover,
body.page-id-8844 .elementor-element-159835ce .elementor-button-wrapper a:hover {
  background: #016F73 !important;
  background-color: #016F73 !important;
  transform: translateY(-1px) !important;
}

/* Finder search-form submit button — OceanWP defaults to customizer gold `#c7a156`,
   override with the deeper hero teal so the search action matches the finder CTAs. */
body.page-id-8844 .search-form button.search-form__submit,
body.page-id-8844 .search-form input[type="submit"],
body.page-id-8845 .search-form button.search-form__submit,
body.page-id-8845 .search-form input[type="submit"] {
  background: #02898E !important;
  background-color: #02898E !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 12px 20px !important;
  font-weight: 700 !important;
  min-height: 46px !important;
  box-shadow: 0 4px 12px rgba(2,137,142,.24) !important;
  transition: background-color .18s !important;
  cursor: pointer !important;
}
body.page-id-8844 .search-form button.search-form__submit:hover,
body.page-id-8844 .search-form input[type="submit"]:hover,
body.page-id-8845 .search-form button.search-form__submit:hover,
body.page-id-8845 .search-form input[type="submit"]:hover {
  background: #016F73 !important;
  background-color: #016F73 !important;
}

/* ==========================================================================
   Conditions A-Z archive (archive-infection.php)
   ========================================================================== */
.idc-az-hero {
  background: url('/wp-content/uploads/provider-hero-bg-navy.webp') center / cover no-repeat #F4F5F6;
  padding: 60px 0;
  text-align: left;
}
.idc-az-eyebrow {
  display: inline-block;
  color: #2BA1A3;
  font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 12px;
}
.idc-az-title {
  color: #0F2940 !important;
  font-size: clamp(32px, 4vw, 44px) !important;
  font-weight: 800 !important;
  letter-spacing: -.015em !important;
  margin: 0 0 12px !important;
  line-height: 1.1 !important;
}
.idc-az-sub {
  color: #4A5568;
  font-size: 17px;
  line-height: 1.55;
  max-width: 720px;
  margin: 0;
}

.idc-az-jump {
  background: #FFFFFF;
  border-bottom: 1px solid #E8EAED;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(15,41,64,.04);
}
.idc-az-jump-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px;
}
.idc-az-jump-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  color: #0F2940 !important;
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background .15s;
}
.idc-az-jump-link:hover { background: #9FDCDD; }
.idc-az-jump-link.is-empty {
  color: #C7D5E2 !important;
  pointer-events: none;
}

.idc-az-index { padding: 60px 0 80px; background: #FAFAF7; }
.idc-az-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
}
.idc-az-group {
  scroll-margin-top: 80px; /* account for sticky jump-nav */
}
.idc-az-letter-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: 2px solid #2BA1A3;
  border-radius: 50%;
  color: #2BA1A3;
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 14px;
  background: #FFFFFF;
}
.idc-az-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.idc-az-list li {
  padding: 6px 0 !important;
  border-bottom: 1px solid #E8EAED;
  list-style: none !important;
}
.idc-az-list li::before { display: none !important; }
.idc-az-list li:last-child { border-bottom: 0; }
.idc-az-list a {
  color: #0F2940 !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  transition: color .15s;
  display: block;
}
.idc-az-list a:hover { color: #2BA1A3 !important; }

@media (max-width: 900px) { .idc-az-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .idc-az-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Homepage contrast overrides — beat OceanWP's global styles.
   OceanWP's Customizer sets body color and button colors at higher specificity
   than the mockup's `.care-copy h2` / `.btn-primary` rules, which turns
   headlines dark on dark backgrounds and buttons off-brand red. These rules
   restore the intended mockup contrast.
   ========================================================================== */

/* ---- White text on dark backgrounds ---- */
body .care-path,
body .care-path .care-copy .eyebrow,
body .care-path .care-copy h2,
body .care-path .care-copy p,
body .care-path .step,
body .care-path .step h3,
body .care-path .step p,
body .care-path .step .step-num,
body .care-path .step .step-arrow { color: #fff !important; }
body .care-path .care-copy .eyebrow { color: #9FDCDD !important; }
body .care-path .care-copy p       { color: #C8D6DC !important; }
body .care-path .step p            { color: #B8CCD3 !important; }

body .alert-feature,
body .alert-feature h3,
body .alert-feature p,
body .alert-feature .alert-label,
body .alert-feature .alert-phone { color: #fff !important; }
body .alert-feature p { color: #C8D6DC !important; }

body .cta-box,
body .cta-box h2,
body .cta-box p { color: #fff !important; }
body .cta-box p { color: #D5E4EA !important; }

/* Testimonial cite stays dark on light bg */
body .testimonial .quote-card cite,
body .testimonial .quote-card blockquote { color: #0F2940 !important; }
body .testimonial .quote-card small      { color: #4A5568 !important; }

/* ---- Buttons — override OceanWP's theme button colors ---- */

/* Hero pill buttons (inline hb2- classes) */
body a.hb2-btn-primary,
body a.hb2-btn-primary:visited {
  background: #2BA1A3 !important;
  background-color: #2BA1A3 !important;
  color: #fff !important;
  border: 0 !important;
  border-color: transparent !important;
}
body a.hb2-btn-primary:hover {
  background: #248789 !important;
  background-color: #248789 !important;
  color: #fff !important;
}
body a.hb2-btn-secondary,
body a.hb2-btn-secondary:visited {
  background: #fff !important;
  background-color: #fff !important;
  color: #0F2940 !important;
  border: 1.5px solid #0F2940 !important;
}
body a.hb2-btn-secondary:hover {
  background: #F4F5F8 !important;
  background-color: #F4F5F8 !important;
  color: #0F2940 !important;
}

/* General mockup .btn variants */
body a.btn.btn-primary,
body a.btn.btn-primary:visited {
  background: linear-gradient(135deg,#842062,#6E184F) !important;
  background-color: #842062 !important;
  color: #fff !important;
  border: 0 !important;
  border-color: transparent !important;
}
body a.btn.btn-primary:hover { color: #fff !important; }

body a.btn.btn-secondary,
body a.btn.btn-secondary:visited {
  background: #fff !important;
  background-color: #fff !important;
  color: #0F2940 !important;
  border: 1px solid #D5DEE2 !important;
}
body a.btn.btn-secondary:hover {
  background: #fff !important;
  color: #0F2940 !important;
  border-color: #0F2940 !important;
}

body a.btn.btn-ghost,
body a.btn.btn-ghost:visited {
  background: transparent !important;
  background-color: transparent !important;
  color: #0F2940 !important;
  border: 0 !important;
  border-bottom: 1px solid #C8D6DC !important;
  border-radius: 0 !important;
  min-height: auto !important;
  padding: 6px 4px !important;
}
body a.btn.btn-ghost:hover {
  color: #2BA1A3 !important;
  border-bottom-color: #2BA1A3 !important;
}

/* .alert-feature button (white pill on dark alert card) */
body .alert-feature .alert-actions a.btn,
body .alert-feature .alert-actions a.btn:visited {
  background: #fff !important;
  background-color: #fff !important;
  color: #0F2940 !important;
  border: 0 !important;
}

/* .cta-box (dark navy gradient section) reverses button colors:
   primary becomes white pill w/ navy text; secondary becomes transparent w/ white outline */
body .cta-box a.btn.btn-primary,
body .cta-box a.btn.btn-primary:visited {
  background: #fff !important;
  background-color: #fff !important;
  color: #0F2940 !important;
  border: 0 !important;
}
body .cta-box a.btn.btn-primary:hover {
  background: #F4F5F8 !important;
  color: #0F2940 !important;
}
body .cta-box a.btn.btn-secondary,
body .cta-box a.btn.btn-secondary:visited {
  background: transparent !important;
  background-color: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.42) !important;
}
body .cta-box a.btn.btn-secondary:hover {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
}

/* .care-path secondary button (dark bg): transparent w/ white outline */
body .care-path a.btn.btn-secondary,
body .care-path a.btn.btn-secondary:visited {
  background: transparent !important;
  background-color: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.35) !important;
}
body .care-path a.btn.btn-secondary:hover {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
}

/* ---- Finder tabs ---- inactive should NOT be theme-red-filled */
body .find-care .tabs button.tab {
  background: transparent !important;
  background-color: transparent !important;
  color: #4A5568 !important;
  border: 0 !important;
  padding: 10px 17px !important;
  min-height: auto !important;
  box-shadow: none !important;
}
body .find-care .tabs button.tab.active {
  background: #fff !important;
  background-color: #fff !important;
  color: #0F2940 !important;
  box-shadow: 0 4px 14px rgba(15,41,64,.10) !important;
}
body .find-care .tabs {
  background: #EEF2F3 !important;
  border-radius: 999px !important;
  padding: 5px !important;
}

/* ==========================================================================
   Parity pass — mockup vs live differences flagged in visual audit
   ========================================================================== */

/* Global font family: mockup targets Aptos/Segoe UI/system; live inherits
   OceanWP's Montserrat + Poppins/Lato for headings. Force the mockup stack
   sitewide so weights, x-height, and rendering match the design. */
body,
body h1, body h2, body h3, body h4, body h5, body h6,
body p, body a, body button, body input, body select, body textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Global link reset: mockup has no default underline on links. OceanWP + GV
   theme is applying underline + a crimson `#8a061b` color to plain <a>. */
body #main a,
body #main a:visited,
body #main a:hover,
body .entry a,
body .entry a:visited {
  text-decoration: none !important;
  color: inherit;
}
body #main a:hover { text-decoration: none !important; }

/* Headings — mockup uses 700 for h2/h3, live was rendering 400/600 */
body .updates-section h2,
body .services h2, body .service-card h3,
body .care-path h2, body .care-path .step h3,
body .find-care h2,
body .conditions h2, body .conditions h3,
body .organizations h2,
body .insights h2, body .insight-card h3,
body .testimonial h2,
body .cta-box h2,
body .alert-feature h3,
body .news-item h3,
body .hb2-services h2 {
  font-weight: 700 !important;
}
body .care-path h2, body .cta-box h2, body .alert-feature h3 {
  font-weight: 800 !important;   /* extra-bold on dark contrast sections */
}

/* ==========================================================================
   Nav dropdowns (WP menu with children shows sub-menus on hover)
   ========================================================================== */

/* Header itself must be its own stacking context ABOVE page content, otherwise
   Elementor sections / z-indexed page blocks cover the dropdown. Use the
   near-max z-index so it wins against every plugin's stacking context. */
body header,
body header nav.nav {
  position: relative !important;
  z-index: 2147483000 !important;
  isolation: isolate !important;
}

/* WP menu items render as <li> — kill browser default disc bullets that were
   showing as a dot before "Our Practice". */
body header .nav-links,
body header .nav-links li,
body header .nav-links > li,
body header .nav-links .sub-menu,
body header .nav-links .sub-menu li {
  list-style: none !important;
}
body header .nav-links li::marker,
body header .nav-links .sub-menu li::marker { content: '' !important; }
body header .nav-links {
  padding-left: 0 !important;
  margin-left: 0 !important;
}
body header .nav-links > li {
  padding: 0 !important;
  margin: 0 !important;
  align-self: center !important;
}

body .nav-links { position: relative !important; }
body .nav-links .menu-item-has-children {
  position: relative !important;
  padding-bottom: 0 !important;
}
body .nav-links .menu-item-has-children > a {
  display: inline-block !important;
  white-space: nowrap !important;
}
/* No caret ▾ on parent items — was causing baseline-alignment issues where
   parents with children sat higher/wider than plain items. Cleaner without. */
body .nav-links .menu-item-has-children > a::after {
  display: none !important;
  content: none !important;
}
html body header .nav-links .sub-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  width: auto !important;
  min-width: 260px !important;
  max-width: none !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid #E8EAED !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(15,41,64,.10) !important;
  padding: 8px !important;
  /* Remove the mouse-gap between parent link and sub-menu — the parent li
     now carries the padding-bottom so hover doesn't drop when moving down. */
  margin: 0 !important;
  list-style: none !important;
  display: none !important;
  z-index: 2147483000 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  box-sizing: content-box !important;
  flex-direction: column !important;
  transform: none !important;
  clip: auto !important;
  clip-path: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  visibility: visible !important;
  isolation: isolate !important;
}
/* Extra safety — each sub-menu item gets its own solid white bg to guarantee
   nothing renders through, even if the parent panel has an odd rendering bug. */
html body header .nav-links .sub-menu > li {
  background: #ffffff !important;
  background-color: #ffffff !important;
  position: relative !important;
  z-index: 1 !important;
}
html body header .nav-links .sub-menu > li:first-child { border-radius: 8px 8px 0 0 !important; }
html body header .nav-links .sub-menu > li:last-child  { border-radius: 0 0 8px 8px !important; }
/* JS toggles `.is-open` on the parent li — CSS hover fallback kept as safety
   net for a11y (keyboard focus). */
body .nav-links .menu-item-has-children.is-open > .sub-menu,
body .nav-links .menu-item-has-children:focus-within > .sub-menu {
  display: block !important;
}
body .nav-links .sub-menu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}
body .nav-links .sub-menu li a {
  display: block !important;
  padding: 10px 16px !important;
  color: #0F2940 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  white-space: nowrap;
  border-radius: 8px !important;
  transition: background .12s, color .12s;
  background: #ffffff !important;
  background-color: #ffffff !important;
  height: auto !important;
  line-height: 1.35 !important;
}
/* Full-fill background on hover (the mockup's `.nav-links a::after` underline
   animation was showing as "just a line" on sub-menu items — disable it here). */
body .nav-links .sub-menu li a::after {
  display: none !important;
  content: none !important;
}
body .nav-links .sub-menu li a:hover,
body .nav-links .sub-menu li a:focus,
body .nav-links .sub-menu li.current-menu-item > a {
  background: #EEF2F3 !important;
  color: #02898E !important;
}
/* Hide submenus on mobile — the mockup's hamburger flattens the menu */
@media (max-width: 1100px) {
  body .nav-links .sub-menu { display: none !important; }
}

/* ==========================================================================
   Scraped-content pages (imported from live idcare.com)
   The scraped HTML has raw article markup with no container / typography scale.
   Wrap it and give it sensible defaults so it doesn't render edge-to-edge. */
body:not(.home):not(.page-id-8506):not(.page-id-9002):not(.page-id-8844):not(.page-id-8845) .entry {
  max-width: 1180px !important;
  margin: 40px auto 80px !important;
  padding: 0 40px !important;
}
/* Text content inside ported pages — keep paragraphs to a readable 780px column
   inside the wider entry wrapper so long lines don't get uncomfortable to scan.
   Images/rows/hero blocks are allowed to fill the full 1180px. */
body:not(.home):not(.page-id-8506):not(.page-id-9002):not(.page-id-8844):not(.page-id-8845) .entry > p,
body:not(.home):not(.page-id-8506):not(.page-id-9002):not(.page-id-8844):not(.page-id-8845) .entry > ul,
body:not(.home):not(.page-id-8506):not(.page-id-9002):not(.page-id-8844):not(.page-id-8845) .entry > ol,
body:not(.home):not(.page-id-8506):not(.page-id-9002):not(.page-id-8844):not(.page-id-8845) .entry > h2,
body:not(.home):not(.page-id-8506):not(.page-id-9002):not(.page-id-8844):not(.page-id-8845) .entry > h3,
body:not(.home):not(.page-id-8506):not(.page-id-9002):not(.page-id-8844):not(.page-id-8845) .entry .box-copy-img .copy p,
body:not(.home):not(.page-id-8506):not(.page-id-9002):not(.page-id-8844):not(.page-id-8845) .entry .box-copy .copy p {
  max-width: 820px !important;
}
body:not(.home) .entry h1 { font-size: clamp(32px, 4vw, 44px) !important; font-weight: 800 !important; color: #0F2940 !important; margin: 0 0 20px !important; line-height: 1.15 !important; }
body:not(.home) .entry h2 { font-size: clamp(24px, 2.6vw, 30px) !important; font-weight: 700 !important; color: #0F2940 !important; margin: 40px 0 14px !important; line-height: 1.25 !important; }
body:not(.home) .entry h3 { font-size: 20px !important; font-weight: 700 !important; color: #0F2940 !important; margin: 28px 0 12px !important; }
body:not(.home) .entry p  { font-size: 17px !important; line-height: 1.7 !important; color: #4A5568 !important; margin: 0 0 18px !important; }
body:not(.home) .entry ul, body:not(.home) .entry ol { margin: 0 0 18px 22px !important; }
body:not(.home) .entry li { font-size: 17px !important; line-height: 1.7 !important; color: #4A5568 !important; margin-bottom: 6px !important; }
body:not(.home) .entry a { color: #02898E !important; font-weight: 600 !important; text-decoration: none !important; }
body:not(.home) .entry a:hover { color: #016F73 !important; }
body:not(.home) .entry img { max-width: 100%; height: auto; border-radius: 12px; margin: 20px 0; }

/* ==========================================================================
   Top utility ribbon — navy strip carrying CTAs (Find a Provider, Find a
   Location, Call, Patient Portal, Pay a Bill, Request an Appointment button).
   ========================================================================== */
body .utility {
  background: #0F2940 !important;
  color: #C8D6DC !important;
  font-size: 13.5px !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}
body .utility .utility-inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}
body .utility .utility-links {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body .utility .utility-links a,
body .utility .utility-links a:visited {
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 650 !important;
  transition: color .15s;
}
body .utility .utility-links a:hover { color: #9FDCDD !important; }

/* Request an Appointment button in the ribbon — magenta/plum */
body .utility .utility-links a.utility-cta,
body .utility .utility-links a.utility-cta:visited {
  background: linear-gradient(135deg,#842062,#6E184F) !important;
  color: #ffffff !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  font-weight: 800 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: background .15s, transform .15s;
}
body .utility .utility-links a.utility-cta:hover {
  background: linear-gradient(135deg,#6E184F,#5A1340) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  body .utility .utility-inner { flex-direction: column; gap: 8px; text-align: center; }
  body .utility .utility-links { flex-wrap: wrap; justify-content: center; gap: 14px; font-size: 12.5px; }
}

/* ==========================================================================
   Site footer — matches live idcare.com structure
   ========================================================================== */
body .idc-footer {
  background: #0F2940 !important;
  color: #C8D6DC !important;
  padding: 66px 0 24px !important;
  margin-top: 0 !important;
  font-size: 15px;
  line-height: 1.55;
}
body .idc-footer .container {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}
body .idc-footer .idc-footer-top {
  display: grid;
  grid-template-columns: 1.35fr 1.1fr 1fr 1fr;
  gap: 46px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
body .idc-footer .idc-footer-brand img {
  width: 260px;
  background: #fff;
  border-radius: 12px;
  padding: 9px 12px;
  margin-bottom: 18px;
  height: auto;
  max-width: 100%;
}
body .idc-footer .idc-footer-brand p {
  color: #A7B5BF;
  font-size: 14px;
  margin: 0 0 16px;
  max-width: 320px;
}
body .idc-footer a.idc-footer-phone,
body .idc-footer a.idc-footer-phone:visited {
  color: #fff !important;
  font-weight: 850 !important;
  font-size: 18px !important;
  letter-spacing: .04em;
  text-decoration: none !important;
}
body .idc-footer a.idc-footer-phone:hover { color: #9FDCDD !important; }
body .idc-footer h4 {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 18px;
}
body .idc-footer ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 10px;
}
body .idc-footer ul li { padding: 0; margin: 0; }
body .idc-footer ul li::before { content: none !important; }
body .idc-footer a,
body .idc-footer a:visited {
  color: #C8D6DC !important;
  text-decoration: none !important;
  font-size: 14px;
  transition: color .15s;
}
body .idc-footer a:hover { color: #fff !important; }
body .idc-footer .idc-footer-locations li a {
  color: #fff !important;
  font-weight: 700 !important;
}
body .idc-footer .idc-footer-locations li a + a {
  color: #A7B5BF !important;
  font-weight: 500 !important;
}
body .idc-footer .idc-footer-social {
  display: flex;
  flex-direction: row !important;
  gap: 18px;
}
body .idc-footer .idc-footer-social li a {
  color: #C8D6DC !important;
  font-size: 13px;
}
body .idc-footer .idc-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  color: #7A8791;
  font-size: 12px;
}
body .idc-footer .idc-footer-bottom a { color: #A7B5BF !important; }
@media (max-width: 1050px) {
  body .idc-footer .idc-footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  body .idc-footer .idc-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body .idc-footer .idc-footer-top { grid-template-columns: 1fr; gap: 36px; }
  body .idc-footer .idc-footer-bottom { flex-direction: column; text-align: center; }
}

/* Hero eyebrow — bump 1-2px larger + tighten top spacing */
body .hb2-eyebrow {
  font-size: 14px !important;
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}
body.page-id-8506 .hb2-hero,
body.home .hb2-hero {
  padding-top: 32px !important;
}

/* Hero primary button: mockup uses deeper teal #02898E, not #2BA1A3 */
body a.hb2-btn-primary,
body a.hb2-btn-primary:visited {
  background: #02898E !important;
  background-color: #02898E !important;
}
body a.hb2-btn-primary:hover {
  background: #016F73 !important;
  background-color: #016F73 !important;
}
/* Hero secondary: brand navy */
body a.hb2-btn-secondary,
body a.hb2-btn-secondary:visited {
  color: #0F2940 !important;
  border: 1.5px solid #0F2940 !important;
}

/* Header CTA — pill shape not rounded rect, 15px 750 weight */
body header .nav-cta,
body header a.nav-cta {
  border-radius: 999px !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  padding: 12px 20px !important;
}

/* Step description paragraph color */
body .care-path .step p { color: #A7B5BF !important; }

/* Chip color + no underline */
body .conditions .chip,
body .conditions a.chip,
body .conditions a.chip:visited {
  color: #0F2940 !important;
  text-decoration: none !important;
  font-weight: 750 !important;
}
body .conditions a.chip:hover {
  color: #842062 !important;
  border-color: #842062 !important;
  text-decoration: none !important;
}

/* Insight card "Read article →" — teal, no underline */
body .insights .insight-card a.insight-link,
body .insights .insight-card a.insight-link:visited {
  color: #2BA1A3 !important;
  text-decoration: none !important;
  font-weight: 800 !important;
}
body .insights .insight-card a.insight-link:hover {
  color: #016F73 !important;
  text-decoration: none !important;
}

/* Service card "Explore care →" — teal, no underline */
body .services .service-card a,
body .services .service-card a:visited {
  color: #2BA1A3 !important;
  text-decoration: none !important;
  font-weight: 800 !important;
}

/* News item wrapper links + child links — no underline */
body .news-item, body .news-item:visited,
body .news-item h3, body .news-item h3 a {
  color: #0F2940 !important;
  text-decoration: none !important;
}

/* Location cards — softer teal BG per design mockup */
body.page-id-8506 .location-card,
body.page-id-8506 .location-card:visited,
body.home .location-card,
body.home .location-card:visited {
  background: #EAF7F7 !important;
  background-color: #EAF7F7 !important;
  border: 1px solid #C9EAEB !important;
  color: #0F2940 !important;
  text-decoration: none !important;
}
body.page-id-8506 .location-card:hover,
body.home .location-card:hover {
  background: #DFF2F3 !important;
  background-color: #DFF2F3 !important;
  border-color: #2BA1A3 !important;
}
body.page-id-8506 .location-card strong,
body.home .location-card strong { color: #0F2940 !important; }
body.page-id-8506 .location-card span,
body.home .location-card span   { color: #4A5568 !important; }

/* ==========================================================================
   2026-09-14 — Ported-page fixes (content pages, blog, forms)
   ========================================================================== */

/* --- .box-copy-img grid: live's markup has an empty 1-col spacer between
       text and image (`.col-lg-1.col-mid`). In our 2-col grid it was grabbing
       column 2 and pushing the image to the next row. Hide spacers; let
       full-width children (col-12 / col-lg-12) span both columns. */
body .entry .box-copy-img .col-mid,
body .entry .box-copy-img .d-none.d-lg-block:empty { display: none !important; }
body .entry .box-copy-img .row > .col-12,
body .entry .box-copy-img .row > .col-lg-12 { grid-column: 1 / -1 !important; }
body .entry .box-copy-img .col-copy,
body .entry .box-copy-img .col-lg-7 { grid-row: 1 !important; }
body .entry .box-copy-img .col-pic,
body .entry .box-copy-img .col-lg-5,
body .entry .box-copy-img .col-lg-4 { grid-row: 1 !important; }
body .entry .box-th-txt { padding: 0 !important; margin: 0 !important; }
@media (max-width: 900px) {
  body .entry .box-copy-img .col-pic,
  body .entry .box-copy-img .col-lg-5,
  body .entry .box-copy-img .col-lg-4 { grid-row: auto !important; }
}

/* Owl carousel clones (scraped after owl.js ran) — never show duplicates. */
body .entry .owl-item.cloned { display: none !important; }

/* --- Featured-post widget ("Infectious Disease News") — 3 cards, 4th wraps */
body .entry .featured-post-widget .widget-title .box-tit { margin-bottom: 8px !important; }
body .entry .owl-carousel .post-thumb { margin: 0 0 12px; }
body .entry .owl-carousel .post-thumb img { height: 180px !important; }

/* --- Testimonials ("Life-Changing results speak for themselves") */
body .entry .testimonial-featured-box {
  background: #F4F5F6 !important;
  padding: 56px 0 !important;
  margin: 24px 0 0 !important;
}
body .entry .testimonial-featured-box .container { max-width: 1180px !important; margin: 0 auto !important; padding: 0 40px !important; }
body .entry .testimonial-featured-box .box-tit { margin-bottom: 28px !important; }
body .entry .testimonial-featured-box .owl-carousel {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}
body .entry .testimonial-featured-box .owl-item { display: block !important; width: auto !important; margin: 0 !important; }
body .entry .testimonial-featured-box .testimonial-data {
  background: #fff !important;
  border-radius: 16px !important;
  padding: 28px 28px 24px !important;
  height: 100% !important;
  box-shadow: 0 6px 18px rgba(15,41,64,.06) !important;
  position: relative;
  display: flex; flex-direction: column;
}
body .entry .testimonial-featured-box .testimonial-data::before {
  content: "\201C";
  position: absolute; top: 6px; left: 20px;
  font-size: 72px; line-height: 1; font-weight: 800;
  color: #9FDCDD; font-family: Georgia, serif;
}
body .entry .testimonial-featured-box .testimonial-featured-quote p {
  font-size: 16px !important; line-height: 1.6 !important; color: #0F2940 !important;
  margin: 24px 0 16px !important; font-style: italic;
}
body .entry .testimonial-featured-box .testimonial-featured-author-name p {
  margin: auto 0 0 !important;
  font-size: 12px !important; letter-spacing: .1em !important; text-transform: uppercase !important;
  font-weight: 800 !important; color: #2BA1A3 !important;
}
body .entry .testimonial-featured-box + p,
body .entry .testimonial-featured-box .btn { margin-top: 20px; }
@media (max-width: 900px) {
  body .entry .testimonial-featured-box .owl-carousel { grid-template-columns: 1fr !important; }
}

/* --- Legacy "Infectious Diseases" letter block → compact A–Z chip row that
       jumps to /infection/#letter-X (anchors rewritten in IdcareCustom). */
body .entry .box-infection-list {
  background: #fff !important;
  padding: 40px 0 48px !important;
  margin: 0 !important;
  border-top: 1px solid #E8EAED;
}
body .entry .box-infection-list .container { max-width: 1180px !important; margin: 0 auto !important; padding: 0 40px !important; }
body .entry .box-infection-list .infections-selected,
body .entry .box-infection-list .sh-full { display: none !important; }
body .entry .box-infection-list .box-tit.pink { font-size: 20px !important; border-bottom-width: 2px !important; margin-bottom: 16px !important; }
body .entry .box-infection-list ul.list {
  list-style: none !important;
  display: flex !important; flex-wrap: wrap !important; gap: 8px !important;
  margin: 0 !important; padding: 0 !important;
}
body .entry .box-infection-list ul.list li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
body .entry .box-infection-list ul.list li::before { display: none !important; }
body .entry .box-infection-list ul.list a {
  display: inline-flex !important; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 10px; border: 1px solid #D6DBE1;
  background: #F4F5F6; color: #0F2940 !important;
  font-weight: 800; font-size: 14px; text-decoration: none !important;
  transition: background .15s, color .15s, border-color .15s;
}
body .entry .box-infection-list ul.list a:hover { background: #2BA1A3; border-color: #2BA1A3; color: #fff !important; }

/* --- Contact block (General Inquiries + Formstack iframe) */
body .entry .box-contact { padding: 48px 0 !important; }
body .entry .box-contact .container { max-width: 1180px !important; margin: 0 auto !important; padding: 0 40px !important; }
body .entry .box-contact .row {
  display: grid !important;
  grid-template-columns: 1fr 1.25fr !important;
  gap: 48px !important;
  align-items: start !important;
}
body .entry .box-contact .row > [class*="col-"] { width: auto !important; max-width: none !important; }
body .entry .box-contact p.phone a { font-size: 22px; font-weight: 800; color: #2BA1A3 !important; text-decoration: none !important; }
@media (max-width: 900px) {
  body .entry .box-contact .row { grid-template-columns: 1fr !important; gap: 24px !important; }
}
body .entry .idc-form-embed { margin: 0; }
body .entry .idc-form-embed iframe {
  display: block; width: 100% !important; border: 0;
  background: #fff; border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15,41,64,.08);
}

/* --- Page hero extras (blog index lede, blog single date) */
body .idc-scraped-page .idc-page-hero-lede {
  max-width: 720px; margin: 14px 0 0 !important;
  font-size: 18px !important; line-height: 1.55 !important; color: #4A5568 !important;
}
body .idc-scraped-page .idc-page-hero-meta {
  margin: 12px 0 0 !important; font-size: 14px !important; font-weight: 700 !important;
  letter-spacing: .06em; text-transform: uppercase; color: #6B7C93 !important;
}

/* --- Blog index: card grid */
body .idc-blog-wrap { max-width: 1180px; margin: 0 auto; padding: 48px 40px 72px; }
body .idc-blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
@media (max-width: 1000px) { body .idc-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { body .idc-blog-grid { grid-template-columns: 1fr; } body .idc-blog-wrap { padding: 32px 20px 56px; } }
body a.idc-blog-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #E8EAED; border-radius: 16px; overflow: hidden;
  text-decoration: none !important; color: inherit !important;
  box-shadow: 0 6px 18px rgba(15,41,64,.05);
  transition: transform .18s, box-shadow .18s;
}
body a.idc-blog-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(15,41,64,.10); }
body .idc-blog-card-media { aspect-ratio: 16 / 10; background: #EAF7F7; overflow: hidden; }
body .idc-blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0 !important; border-radius: 0 !important; }
body .idc-blog-card-media-fallback { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #EAF7F7, #9FDCDD); }
body .idc-blog-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
body .idc-blog-card-date { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6B7C93; margin-bottom: 8px; }
body .idc-blog-card-title { font-size: 19px !important; line-height: 1.3 !important; font-weight: 800 !important; color: #0F2940 !important; margin: 0 0 10px !important; }
body a.idc-blog-card:hover .idc-blog-card-title { color: #2BA1A3 !important; }
body .idc-blog-card-excerpt { font-size: 14.5px !important; line-height: 1.55 !important; color: #4A5568 !important; margin: 0 0 16px !important; }
body .idc-blog-card-more { margin-top: auto; font-size: 14px; font-weight: 800; color: #2BA1A3; }
body .idc-blog-card-more::after { content: " \2192"; }

body .idc-blog-pagination { margin: 48px 0 0; display: flex; justify-content: center; }
body .idc-blog-pagination .page-numbers { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
body .idc-blog-pagination a.page-numbers,
body .idc-blog-pagination span.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px;
  border: 1px solid #D6DBE1; background: #fff; color: #0F2940 !important;
  font-weight: 700; font-size: 14px; text-decoration: none !important;
}
body .idc-blog-pagination span.page-numbers.current { background: #2BA1A3; border-color: #2BA1A3; color: #fff !important; }
body .idc-blog-pagination a.page-numbers:hover { border-color: #2BA1A3; color: #2BA1A3 !important; }
body .idc-blog-pagination span.page-numbers.dots { border: 0; }

/* --- Blog single */
body .idc-blog-body { max-width: 1180px; margin: 0 auto; padding: 40px 40px 24px; }
body .idc-blog-body > p, body .idc-blog-body > ul, body .idc-blog-body > ol, body .idc-blog-body > h2, body .idc-blog-body > h3,
body .idc-blog-body .blog-single-content { max-width: 820px; }
body .idc-blog-body > p { font-size: 17px !important; line-height: 1.7 !important; color: #4A5568 !important; margin: 0 0 20px !important; }
body .idc-blog-body img { max-width: 100%; height: auto; border-radius: 12px; }
body .idc-blog-postnav { border-top: 1px solid #E8EAED; }
body .idc-blog-postnav-inner {
  max-width: 1180px; margin: 0 auto; padding: 24px 40px 56px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center;
  font-size: 14px; font-weight: 700;
}
body .idc-blog-postnav-inner a { color: #0F2940 !important; text-decoration: none !important; }
body .idc-blog-postnav-inner a:hover { color: #2BA1A3 !important; }
body .idc-blog-postnav-prev { text-align: left; }
body .idc-blog-postnav-next { text-align: right; grid-column: 3; }
body .idc-blog-postnav-all {
  grid-column: 2; padding: 10px 18px; border-radius: 10px;
  background: #F4F5F6; border: 1px solid #D6DBE1; font-size: 13px;
}
@media (max-width: 640px) {
  body .idc-blog-postnav-inner { grid-template-columns: 1fr; text-align: center; }
  body .idc-blog-postnav-prev, body .idc-blog-postnav-next { text-align: center; grid-column: auto; }
  body .idc-blog-postnav-all { grid-column: auto; justify-self: center; }
}

/* --- Round 2 fixes --- */
/* Testimonial grid rule above re-showed owl clones; exclude them explicitly. */
body .entry .testimonial-featured-box .owl-item.cloned,
body .entry .owl-carousel .owl-item.cloned { display: none !important; }
/* Featured news: 3 cards only — a lone 4th card wraps to its own row. */
body .entry .featured-post-widget .owl-carousel .post-box:nth-child(n+4) { display: none !important; }
/* Blog single: keep TOC box and other blocks on the same 820px measure as the copy. */
body .idc-blog-body > * { max-width: 820px; }
body .idc-blog-body > .alignfull, body .idc-blog-body > .alignwide { max-width: none; }

/* Section index (For Patients / For Organizations / Resources parents) */
body .idc-section-index { max-width: 1180px; margin: 0 auto; padding: 48px 40px 72px; }
body .idc-section-index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { body .idc-section-index-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { body .idc-section-index-grid { grid-template-columns: 1fr; } body .idc-section-index { padding: 32px 20px 56px; } }
body a.idc-section-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #E8EAED; border-radius: 16px; padding: 26px 26px 22px;
  text-decoration: none !important; color: inherit !important;
  box-shadow: 0 6px 18px rgba(15,41,64,.05); transition: transform .18s, box-shadow .18s, border-color .18s;
}
body a.idc-section-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(15,41,64,.10); border-color: #9FDCDD; }
body .idc-section-card-title { font-size: 20px !important; line-height: 1.3 !important; font-weight: 800 !important; color: #0F2940 !important; margin: 0 0 10px !important; }
body a.idc-section-card:hover .idc-section-card-title { color: #2BA1A3 !important; }
body .idc-section-card-teaser { font-size: 14.5px !important; line-height: 1.55 !important; color: #4A5568 !important; margin: 0 0 16px !important; }
body .idc-section-card-more { margin-top: auto; font-size: 14px; font-weight: 800; color: #2BA1A3; }
body .idc-section-card-more::after { content: " \2192"; }
/* OceanWP paints a colored left border on .widget-title — not wanted on the ported news widget. */
body .entry .featured-post-widget .widget-title { border: 0 !important; padding: 0 !important; margin: 0 0 8px !important; }

/* Block-editor pages scraped from live keep their theme wrappers: the
   <header class="entry-header"> (hero + duplicate H1) and an empty
   <footer class="entry-meta"> that picks up the site-footer navy. Hide both. */
body .idc-scraped-body > header.entry-header,
body .idc-scraped-body header.entry-header,
body .idc-scraped-body footer.entry-meta { display: none !important; }

/* ==========================================================================
   Ported content: buttons, full-bleed bands, award grids, accordions
   ========================================================================== */

/* --- Buttons in scraped/block content: <a class="btn"> (live theme) and
       Gutenberg .wp-block-button__link. One look, matching the header CTA:
       brand purple #842062 fill (same as .btn-primary), white text. */
body .entry a.btn:not(.btn-primary):not(.btn-secondary):not(.btn-ghost),
body .entry a.btn:not(.btn-primary):not(.btn-secondary):not(.btn-ghost):visited,
body .entry .wp-block-button__link,
body .entry .wp-block-button__link:visited,
body .entry a.wp-element-button {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px !important; min-height: 0 !important; width: auto !important;
  background: linear-gradient(135deg,#842062,#6E184F) !important; color: #fff !important;
  border: 0 !important; border-radius: 8px !important;
  font-weight: 800 !important; font-size: 15px !important; line-height: 1.2 !important;
  text-decoration: none !important; text-transform: none !important; letter-spacing: 0 !important;
  box-shadow: 0 8px 20px rgba(132,32,98,.22);
  transition: background .18s, transform .18s, box-shadow .18s;
}
body .entry a.btn:not(.btn-primary):not(.btn-secondary):not(.btn-ghost):hover,
body .entry .wp-block-button__link:hover,
body .entry a.wp-element-button:hover {
  background: linear-gradient(135deg,#6E184F,#5A1340) !important; color: #fff !important;
  transform: translateY(-1px); box-shadow: 0 12px 26px rgba(132,32,98,.28);
}
body .entry p > a.btn { margin-top: 8px; }
body .entry .wp-block-buttons { margin: 8px 0 24px !important; }
body .entry .wp-block-button { margin: 0 !important; }

/* --- Tinted bands inside the 1180px .entry column: break out to full viewport
       width and pad the inside back to the 1100px text column, so the band reads
       as a page section instead of a grey box with flush-left text. */
body .entry .testimonial-featured-box,
body .entry .box-infection-list {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: max(40px, calc(50vw - 550px)) !important;
  padding-right: max(40px, calc(50vw - 550px)) !important;
}
body .entry .testimonial-featured-box { padding-top: 64px !important; padding-bottom: 64px !important; }
body .entry .testimonial-featured-box .container,
body .entry .box-infection-list .container { max-width: 1100px !important; padding: 0 !important; margin: 0 auto !important; }
body .entry .testimonial-featured-box .row > [class*="col-"] { width: 100% !important; max-width: none !important; margin: 0 !important; }
body .entry .testimonial-featured-box + p { margin-top: 28px !important; }

/* --- Awards logo grid (.row > .award-box × 4). The generic bootstrap-flatten
       rule made each a full-width block with a giant image. */
body .entry .row:has(> .award-box) {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 32px 24px !important;
  margin: 32px 0 40px !important;
  align-items: start;
}
body .entry .row > .award-box {
  width: auto !important; max-width: none !important; padding: 0 !important;
  display: flex !important; flex-direction: column; align-items: center; text-align: center;
  font-size: 13.5px; line-height: 1.4; color: #0F2940;
}
body .entry .row > .award-box img {
  display: block; width: auto !important; max-width: 82% !important; height: auto !important; max-height: 120px !important;
  object-fit: contain; margin: 0 auto 14px !important;
  border-radius: 0 !important; box-shadow: none !important;
}
body .entry .row > .award-box > br { display: none; }
body .entry .row > .award-box strong { font-weight: 700; color: #0F2940; }
body .entry .row:has(> .award-box) > div:empty { display: none !important; }
@media (max-width: 900px) { body .entry .row:has(> .award-box) { grid-template-columns: repeat(2, 1fr) !important; } }

/* --- Accordions (.box-accordion): live used Bootstrap collapse. We ship a tiny
       toggle in idcare-mockup.js; these styles make headings read as controls. */
body .entry .box-accordion .item { border-bottom: 1px solid #E3E7EB; padding: 0 !important; }
body .entry .box-accordion .item:first-child { border-top: 1px solid #E3E7EB; }
body .entry .box-accordion h3.box-tit.mb-0 {
  display: block !important; border: 0 !important; padding: 0 !important; margin: 0 !important;
  font-size: 18px !important; line-height: 1.35 !important;
}
body .entry .box-accordion h3.box-tit br,
body .entry .box-accordion h3.box-tit span br { display: none !important; }
body .entry .box-accordion [data-toggle="collapse"] {
  display: block !important; position: relative;
  width: 100%; padding: 18px 56px 18px 4px !important; cursor: pointer;
  color: #0F2940 !important; font-weight: 800 !important;
  transition: color .15s;
}
body .entry .box-accordion [data-toggle="collapse"]:hover { color: #2BA1A3 !important; }
body .entry .box-accordion [data-toggle="collapse"] em { font-style: italic; }
body .entry .box-accordion [data-toggle="collapse"]::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #EAF7F7; color: #2BA1A3; font-size: 22px; font-weight: 700; line-height: 1;
  transition: transform .2s, background .2s;
}
body .entry .box-accordion [data-toggle="collapse"][aria-expanded="true"]::after { content: "\2212"; background: #2BA1A3; color: #fff; }
body .entry .box-accordion .collapse:not(.show) { display: none !important; }
body .entry .box-accordion .collapse.show { display: block !important; padding: 0 4px 22px !important; }
body .entry .box-accordion .collapse p:last-child { margin-bottom: 0 !important; }


/* --- Testimonials page (.box-testimonial-list): 65 short quotes that live laid
       out as alternating left/right rows. Render as a 3-column masonry of quote
       cards; every 4th gets a soft lavender fill for rhythm. */
body .entry .box-testimonial-list { padding: 8px 0 48px !important; }
body .entry .box-testimonial-list .container { column-count: 3; column-gap: 24px; }
body .entry .box-testimonial-list .row.testimonial-item {
  display: block !important; break-inside: avoid; -webkit-column-break-inside: avoid;
  margin: 0 0 24px !important; padding: 0 !important;
}
body .entry .box-testimonial-list .testimonial-item > [class*="col-"] { width: 100% !important; max-width: none !important; padding: 0 !important; }
body .entry .box-testimonial-list .quote-holder {
  position: relative; background: #fff; border: 1px solid #E8EAED; border-radius: 16px;
  padding: 30px 26px 24px; box-shadow: 0 6px 18px rgba(15,41,64,.05);
  transition: transform .18s, box-shadow .18s;
}
body .entry .box-testimonial-list .quote-holder:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(15,41,64,.09); }
body .entry .box-testimonial-list .testimonial-item:nth-child(4n+1) .quote-holder { background: #F3EEF6; border-color: #E9DFF0; }
body .entry .box-testimonial-list .testimonial-item:nth-child(6n+3) .quote-holder { background: #EAF7F7; border-color: #D5EFEF; }
body .entry .box-testimonial-list .quote-holder::before {
  content: "\201C"; position: absolute; top: 4px; left: 20px;
  font-family: Georgia, "Times New Roman", serif; font-size: 64px; line-height: 1; font-weight: 800;
  color: #9FDCDD;
}
body .entry .box-testimonial-list .testimonial-item:nth-child(4n+1) .quote-holder::before { color: #D9B8D6; }
body .entry .box-testimonial-list .testimonial-text {
  position: relative; margin: 22px 0 14px !important;
  font-size: 16.5px !important; line-height: 1.6 !important; color: #0F2940 !important; font-style: italic;
}
body .entry .box-testimonial-list .final-quote { display: none; }
body .entry .box-testimonial-list .testimonial-author {
  margin: 0 !important; font-size: 12px !important; font-weight: 800 !important;
  letter-spacing: .1em !important; text-transform: uppercase !important; color: #2BA1A3 !important;
}
body .entry .box-testimonial-list .testimonial-author::before { content: "\2014 "; }
@media (max-width: 1000px) { body .entry .box-testimonial-list .container { column-count: 2; } }
@media (max-width: 640px)  { body .entry .box-testimonial-list .container { column-count: 1; } }

/* ==========================================================================
   Mobile nav fix (2026-09-15). `body .nav-links { position: relative !important }`
   (dropdown section) was out-ranking the ≤1100px `header .nav-links { position:
   absolute }` rule — equal specificity, later wins — so the opened menu became an
   in-flow flex item shoved off the right edge of the viewport. Re-assert the
   mobile panel with higher specificity.
   ========================================================================== */
@media (max-width: 1100px) {
  html body header .nav-links {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 8px !important;
    background: #fff !important;
    border: 1px solid #E8EAED !important;
    border-radius: 14px !important;
    box-shadow: 0 24px 70px rgba(15,41,64,.18) !important;
    z-index: 2147483001 !important;
    max-height: calc(100vh - 140px);
    overflow-y: auto !important;
  }
  html body header .nav-links.open { display: flex !important; }
  html body header .nav-links > li {
    display: block !important;
    width: 100% !important;
    align-self: stretch !important;
    border-bottom: 1px solid #F0F2F4;
  }
  html body header .nav-links > li:last-child { border-bottom: 0; }
  html body header .nav-links > li > a,
  html body header .nav-links .menu-item-has-children > a {
    display: block !important;
    width: 100% !important;
    padding: 14px 14px !important;
    font-size: 16px !important;
    white-space: normal !important;
    color: #0F2940 !important;
  }
  html body header .nav-links > li > a:hover { color: #2BA1A3 !important; background: #F7FAFA; border-radius: 8px; }
  html body header .nav-links .sub-menu { display: none !important; }

  /* Top ribbon: the left link group is nowrap and was overflowing off-screen left. */
  body .utility .utility-left { white-space: normal !important; flex-wrap: wrap !important; justify-content: center !important; gap: 8px 14px !important; }
  body .utility .utility-inner { padding: 8px 0 !important; }
}
/* Mockup hid the first link of each ribbon group under 820px (Find a Provider,
   Patient Portal). With the ribbon wrapping to two rows there's room — and
   Find a Provider is the primary CTA, absent from the hamburger. Show them. */
@media (max-width: 1100px) {
  body .utility .utility-links a:first-child { display: inline-block !important; }
  body .utility .utility-links { gap: 10px 16px !important; }
}

/* --- Leadership team (.wp-block-columns.leadership-columns): person cards.
       The generic `.wp-block-columns { display:block }` flattening rule made
       every person full-width with a 1100px portrait. Rows have 3 / 1 / 3 / 4
       people, so use a centred wrapping flex row rather than a fixed grid. */
body .entry .wp-block-columns.leadership-columns {
  display: flex !important; flex-wrap: wrap !important; justify-content: center !important;
  gap: 28px !important; margin: 8px 0 40px !important; padding: 0 !important; max-width: none !important;
}
body .entry .leadership-columns > .wp-block-column {
  flex: 0 1 calc(25% - 21px) !important; min-width: 240px !important; max-width: 300px !important;
  width: auto !important; margin: 0 !important; padding: 0 !important;
  display: flex !important; flex-direction: column !important;
  background: #fff; border: 1px solid #E8EAED; border-radius: 16px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(15,41,64,.05); transition: transform .18s, box-shadow .18s;
}
body .entry .leadership-columns > .wp-block-column:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(15,41,64,.10); }
body .entry .leadership-columns .expert-thumb { margin: 0 !important; width: 100% !important; }
body .entry .leadership-columns .expert-thumb img {
  display: block; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1 !important;
  object-fit: cover !important; object-position: center 20%; border-radius: 0 !important; box-shadow: none !important; margin: 0 !important;
}
body .entry .leadership-columns .pic-tx,
body .entry .leadership-columns .pic-tx .wp-block-group__inner-container,
body .entry .leadership-columns .wrapper { padding: 0 !important; margin: 0 !important; background: transparent !important; transform: none !important; clip-path: none !important; }
body .entry .leadership-columns .pic-tx { padding: 20px 20px 22px !important; display: flex; flex-direction: column; flex: 1; }
body .entry .leadership-columns .pic-tx > .wp-block-group__inner-container { display: flex; flex-direction: column; flex: 1; }
body .entry .leadership-columns .tit {
  font-size: 12px !important; font-weight: 800 !important; letter-spacing: .1em !important; text-transform: uppercase !important;
  color: #2BA1A3 !important; margin: 0 0 6px !important; line-height: 1.3 !important;
}
body .entry .leadership-columns h3 {
  font-size: 17px !important; line-height: 1.3 !important; font-weight: 800 !important; color: #0F2940 !important; margin: 0 0 10px !important;
}
body .entry .leadership-columns p.wp-block-paragraph:not(.tit) { font-size: 14px !important; line-height: 1.55 !important; color: #4A5568 !important; margin: 0 0 14px !important; text-align: left !important; }
body .entry .leadership-columns .tit, body .entry .leadership-columns h3 { text-align: left !important; }
body .entry .leadership-columns .wp-block-buttons { margin: auto 0 0 !important; justify-content: flex-start !important; }
body .entry .leadership-columns .wp-block-button__link { padding: 10px 16px !important; font-size: 13.5px !important; }
@media (max-width: 640px) { body .entry .leadership-columns > .wp-block-column { flex-basis: 100% !important; max-width: 360px !important; } }
/* Leadership cards: the block's `is-vertically-aligned-center` classes centre each
   card on its row, so tops drift. Stretch them so every row shares one top and bottom. */
body .entry .wp-block-columns.leadership-columns { align-items: stretch !important; }
body .entry .leadership-columns > .wp-block-column,
body .entry .leadership-columns > .wp-block-column.is-vertically-aligned-center { align-self: stretch !important; }
/* Empty placeholder columns in the leadership block render as blank cards. Hide any
   column with no image, heading or paragraph; the row's justify-content:center then
   centres whatever remains (e.g. 2 cards under a row of 3). */
body .entry .leadership-columns > .wp-block-column:not(:has(img, h3, p)) { display: none !important; }
body .entry .leadership-columns > .wp-block-column:empty { display: none !important; }

/* Provider finder cards: Elementor's card skin draws an inner .elementor-post__card
   box with no top padding, so the round photo sat flush against its edge (and the
   page showed a card-within-a-card). Merge into one card and lift the photo. */
body article.elementor-post.provider .elementor-post__card {
  border: 0 !important; box-shadow: none !important; background: transparent !important;
  padding: 22px 0 4px !important; margin: 0 !important;
}
body article.elementor-post.provider .elementor-post__thumbnail { margin-top: 0 !important; }

/* New logo (2026-09-15): idcare-logo-2026.png is 3:1 (old mark was 2.4:1), so at the
   same width it renders shorter. Nudge widths up to keep the same visual presence. */
header .brand img { width: 265px !important; height: auto !important; }   /* 330 → 265 (−20%) per client 2026-09-15 */
@media (max-width: 1050px) { header .brand img { width: 200px !important; } }
@media (max-width: 560px)  { header .brand img { width: 185px !important; } }
body .idc-footer .idc-footer-logo img,
body .idc-footer img[alt="ID Care"] { width: 100%; max-width: 240px; height: auto; display: block; }
/* Breathing room around the (taller) new logo — it was flush to the ribbon. */
header nav.nav { padding-top: 14px !important; padding-bottom: 12px !important; }
@media (max-width: 560px) { header nav.nav { padding-top: 10px !important; padding-bottom: 8px !important; } }

/* Provider hero: location chips (replace the Google/Healthgrades review links, 2026-09-29) */
.idc-provider-locations { display: flex; flex-wrap: wrap; gap: 8px; }
.idc-provider-locations .idc-location-icon { background: #EAF7F7 !important; color: #016F73 !important; display: inline-flex; align-items: center; justify-content: center; }
.idc-provider-locations a.idc-location-link:hover { border-color: #2BA1A3 !important; color: #016F73 !important; }
/* Homepage trust stats are links (2026-09-29) */
body a.stat, body a.stat:visited { text-decoration: none !important; color: inherit !important; transition: transform .18s, box-shadow .18s; }
body a.stat:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15,41,64,.10); }
body a.stat:hover span { color: #016F73 !important; }
/* Trust stats: make the hover state read as clickable — light teal fill + teal border (2026-09-29) */
body a.stat { cursor: pointer; transition: transform .18s, box-shadow .18s, background-color .18s, border-color .18s; }
body a.stat:hover, body a.stat:focus-visible { background: #EAF7F7 !important; border-color: #2BA1A3 !important; }
body a.stat:hover strong, body a.stat:focus-visible strong { color: #016F73 !important; }
/* Hero stat strip: first two stats are links (2026-09-29) */
body a.hb2-stat, body a.hb2-stat:visited { color: #0F2940 !important; text-decoration: none !important; border-radius: 12px; cursor: pointer; transition: background-color .18s, box-shadow .18s, color .18s; }
body a.hb2-stat:hover, body a.hb2-stat:focus-visible { background: #EAF7F7 !important; box-shadow: inset 0 0 0 1px #2BA1A3; color: #016F73 !important; }
body a.hb2-stat:hover .hb2-stat-num, body a.hb2-stat:focus-visible .hb2-stat-num { color: #016F73 !important; }
body a.hb2-stat:hover > div::after, body a.hb2-stat:focus-visible > div::after { content: " \2192"; font-weight: 800; }
/* Linked hero stats: keep the divider straight at rest; round only on hover */
body a.hb2-stat { border-radius: 0; }
body a.hb2-stat:hover, body a.hb2-stat:focus-visible { border-radius: 12px; border-left-color: transparent !important; }

/* === Colour consistency pass (2026-11-12) ===
 * One navy (#0F2940) and one purple (#842062 -> #6E184F) site-wide. The rules below
 * catch the strays that live outside this file: the page builder's old global blue,
 * inline colours carried over in imported content, and the Mailchimp embed. */
body[class*="elementor-kit-"] {
  --e-global-color-primary: #0F2940;
  --e-global-color-8bd3ad9: rgba(15, 41, 64, .75);
}
/* Imported cover blocks carry an indigo overlay (#454b80) inline. */
body .entry .wp-block-cover > .wp-block-cover__background[style*="454b80"] { background-color: #0F2940 !important; }
/* Imported testimonial band: lavender-blue (#eff0f8) -> the site's soft grey. */
body .testimonial-featured-box.has-background { background-color: #F4F5F6 !important; }
/* Newsletter sign-up button: off-brand magenta -> the standard purple button. */
body #mc-embedded-subscribe {
  background: linear-gradient(135deg, #842062, #6E184F) !important;
  color: #fff !important;
  border: 0 !important;
}

/* ── In the News list (2026-11-17) ───────────────────────────────────────────
   Date sits close above its linked title; even gap and a hairline between items.
   Covers both the automatic list ([idcare_news_list]) and the older hand-entered items.
   Selectors start with "body:not(.home) .entry" so they outrank the general page rules
   (body:not(.home) .entry p / h3), which are !important. */
body:not(.home) .entry .in-the-news > div { margin: 0 !important; padding: 16px 0 !important; border-bottom: 1px solid #E8EAED; }
body:not(.home) .entry .in-the-news > div > h6 { margin: 0 0 4px !important; font-size: 13px; line-height: 1.5; letter-spacing: .04em; color: #5b6676; }
body:not(.home) .entry .in-the-news > div > p { margin: 0 !important; line-height: 1.4 !important; }
body:not(.home) .entry .in-the-news > p:empty { display: none; }
body:not(.home) .entry .in-the-news > div > a,
body:not(.home) .entry .in-the-news > div > p > a:not(.btn) { font-size: 17px; line-height: 1.4; }
body:not(.home) .entry .in-the-news > div > p > a.btn { margin-top: 10px; }
body:not(.home) .entry .in-the-news > h3 { margin: 36px 0 4px !important; }
body:not(.home) .entry .skew-section:has(> .in-the-news) { padding-bottom: 0 !important; }
body:not(.home) .entry .skew-section:has(> .in-the-news) + .skew-section:has(> .in-the-news) { padding-top: 0 !important; padding-bottom: 40px !important; }
body:not(.home) .entry .skew-section:has(> .in-the-news) + .skew-section > .in-the-news > div:last-child { border-bottom: 0; }
