/* LLCIG Medical Liquid Glass — explicit selectors only. No content or geometry overrides. */
body.llcig-mlg {
  --mlg-ink: #0c2d49;
  --mlg-muted: #38536b;
  --mlg-blue: #075b9c;
  --mlg-cta: linear-gradient(160deg,#147cb9 0%,#07568d 58%,#064777 100%);
  --mlg-wash: linear-gradient(155deg,#f6fcff 0%,#e0f0fb 54%,#f4faff 100%);
  --mlg-glass: linear-gradient(145deg,#fff 0%,#e7f4fd 55%,#f8fcff 100%);
  --mlg-hero-glass: linear-gradient(145deg,#fff 0%,#e7f4fd 72%,#f3faff 100%);
  --mlg-edge: rgba(57,133,183,.29);
  --mlg-shadow: inset 0 1px 0 #fff,0 5px 15px rgba(13,66,106,.10);
  --mlg-filter: none;
  --mlg-hero-filter: none;
  --mlg-small-filter: none;
}
@media (min-width:1025px) {
  body.llcig-mlg.llcig-mlg-desktop-high {
    --mlg-wash: radial-gradient(ellipse at 92% 10%,#b5e0fb 0%,transparent 42%),radial-gradient(ellipse at 5% 85%,#d1effb 0%,transparent 38%),linear-gradient(145deg,#f3fbff,#e6f4fd 54%,#f8fcff);
    --mlg-glass: linear-gradient(152deg,rgba(255,255,255,.92) 0%,rgba(237,249,255,.63) 42%,rgba(195,229,249,.49) 82%,rgba(255,255,255,.88) 100%);
    --mlg-hero-glass: linear-gradient(145deg,rgba(255,255,255,.97) 0%,rgba(232,247,255,.93) 70%,rgba(214,239,252,.91) 100%);
    --mlg-shadow: inset 0 1px 0 #fff,inset 0 -1px 0 rgba(255,255,255,.72),inset 1px 0 0 rgba(255,255,255,.7),0 0 0 1px rgba(255,255,255,.42),0 13px 36px rgba(17,89,145,.13);
    --mlg-filter: blur(14px) saturate(135%);
    --mlg-hero-filter: blur(22px) saturate(140%);
    --mlg-small-filter: blur(8px) saturate(120%);
  }
  body.llcig-mlg.llcig-mlg-desktop-balanced {
    --mlg-glass: linear-gradient(145deg,rgba(255,255,255,.97),rgba(223,241,253,.82));
    --mlg-shadow: inset 0 1px 0 #fff,0 8px 24px rgba(13,66,106,.12);
    --mlg-hero-filter: blur(12px) saturate(120%);
    --mlg-filter: blur(6px) saturate(115%);
  }
}
@media (max-width:1024px) {
  body.llcig-mlg.llcig-mlg-mobile-balanced { --mlg-hero-filter: blur(6px) saturate(110%); }
}
/* Hero: preserve actual photo, image sizes, grid, links, copy and hierarchy. */
body.llcig-mlg.llcig-mlg-hero .llcig-hero { background:var(--mlg-wash); color:var(--mlg-ink); }
body.llcig-mlg.llcig-mlg-hero .llcig-hero__shade { background:linear-gradient(90deg,rgba(218,241,253,.04) 0%,rgba(218,241,253,.12) 48%,rgba(224,244,255,.78) 100%); }
body.llcig-mlg.llcig-mlg-hero .llcig-hero__glass { background:var(--mlg-hero-glass); border-color:var(--mlg-edge); box-shadow:var(--mlg-shadow); -webkit-backdrop-filter:var(--mlg-hero-filter); backdrop-filter:var(--mlg-hero-filter); color:var(--mlg-ink); }
body.llcig-mlg.llcig-mlg-hero .llcig-hero__glass::before { background:radial-gradient(ellipse at 85% 0%,rgba(151,213,250,.16),transparent 65%); }
body.llcig-mlg.llcig-mlg-hero .llcig-hero :is(.llcig-hero__title,.llcig-hero__limit strong,.llcig-hero__trust-item strong) { color:var(--mlg-ink); text-shadow:none; }
body.llcig-mlg.llcig-mlg-hero .llcig-hero :is(.llcig-hero__title span,.llcig-hero__eyebrow,.llcig-hero__limit b,.llcig-hero__details) { color:var(--mlg-blue); text-shadow:none; }
body.llcig-mlg.llcig-mlg-hero .llcig-hero :is(.llcig-hero__lead,.llcig-hero__note,.llcig-hero__limit span,.llcig-hero__trust-item span) { color:var(--mlg-muted); }
body.llcig-mlg.llcig-mlg-hero .llcig-hero :is(.llcig-hero__limit,.llcig-hero__trust-item) { background:var(--mlg-glass); border-color:var(--mlg-edge); box-shadow:var(--mlg-shadow); -webkit-backdrop-filter:none; backdrop-filter:none; }
body.llcig-mlg.llcig-mlg-hero .llcig-hero__button--secondary { background:var(--mlg-glass); color:var(--mlg-ink); border-color:var(--mlg-edge); box-shadow:var(--mlg-shadow); }
body.llcig-mlg.llcig-mlg-hero .llcig-hero__details:hover { color:var(--mlg-ink); }
/* Section backgrounds & outer cards. No filters on entire images or whole sections. */
body.llcig-mlg.llcig-mlg-surfaces :is(.llcig-proof,.llcig-journey,.llcig-methods,.llcig-international,.llcig-results) { background:var(--mlg-wash); }
body.llcig-mlg.llcig-mlg-surfaces :is(.llcig-proof__video-card,.llcig-journey__step,.llcig-methods__card,.llcig-international__card,.llcig-results__card) {
  background:var(--mlg-glass); border-color:var(--mlg-edge); box-shadow:var(--mlg-shadow); -webkit-backdrop-filter:var(--mlg-filter); backdrop-filter:var(--mlg-filter);
}
/* Avoid stacked blur on nested panels. */
body.llcig-mlg.llcig-mlg-surfaces :is(.llcig-proof__trust-block,.llcig-proof__trust-card,.llcig-journey__panel,.llcig-journey__note,.llcig-methods__decision,.llcig-international__route,.llcig-international__contact,.llcig-results__consult) {
  background:var(--mlg-glass); border-color:var(--mlg-edge); box-shadow:var(--mlg-shadow); -webkit-backdrop-filter:none; backdrop-filter:none;
}
body.llcig-mlg.llcig-mlg-surfaces :is(.llcig-proof__eyebrow,.llcig-journey__eyebrow,.llcig-methods__eyebrow,.llcig-international__eyebrow,.llcig-results__eyebrow) { background:var(--mlg-glass); color:var(--mlg-blue); border-color:var(--mlg-edge); -webkit-backdrop-filter:none; backdrop-filter:none; }
body.llcig-mlg.llcig-mlg-surfaces :is(.llcig-results__gain,.llcig-methods__image-badge,.llcig-methods__method-code) { -webkit-backdrop-filter:var(--mlg-small-filter); backdrop-filter:var(--mlg-small-filter); }
/* Existing call-to-action elements only; leave play, upload and field controls untouched. */
body.llcig-mlg.llcig-mlg-actions :is(.llcig-hero__button--primary,.llcig-proof__button--primary,.llcig-journey__button--primary,.llcig-methods__button--primary,.llcig-results__button--primary) { background:var(--mlg-cta); color:#fff; border-color:#07568d; box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 6px 16px rgba(5,73,125,.16); }
body.llcig-mlg.llcig-mlg-actions :is(.llcig-proof__button--secondary,.llcig-journey__button--secondary,.llcig-journey__button--ghost,.llcig-methods__button--secondary,.llcig-international__card-link,.llcig-results__button--secondary) { background:var(--mlg-glass); color:var(--mlg-blue); border-color:var(--mlg-edge); box-shadow:var(--mlg-shadow); -webkit-backdrop-filter:none; backdrop-filter:none; }
/* Medical intake: shell only; preserve all field, validation, upload and modal behavior. */
body.llcig-mlg.llcig-mlg-consult .llcig-consultation { background:var(--mlg-wash); }
body.llcig-mlg.llcig-mlg-consult :is(.llcig-consultation__form-panel,.llcig-consultation__doctor) { background:var(--mlg-glass); border-color:var(--mlg-edge); box-shadow:var(--mlg-shadow); -webkit-backdrop-filter:none; backdrop-filter:none; }
body.llcig-mlg.llcig-mlg-consult :is(.llcig-consultation__experience,.llcig-consultation__eyebrow) { -webkit-backdrop-filter:var(--mlg-small-filter); backdrop-filter:var(--mlg-small-filter); }
/* Shared custom CSS targets verified in source; no broad Gutenberg/Spectra wildcard. */
body.llcig-mlg.llcig-mlg-articles :is(.ig-post-card,.ig-cta-glass) { border-color:var(--mlg-edge); box-shadow:var(--mlg-shadow); -webkit-backdrop-filter:var(--mlg-filter); backdrop-filter:var(--mlg-filter); }
body.llcig-mlg.llcig-mlg-articles .ig-post-card { background:var(--mlg-glass); }
/* Do not change footer's original foreground/background pairing. */
body.llcig-mlg.llcig-mlg-footer .site-footer :is(.site-primary-footer-wrap,.site-below-footer-wrap) { border-color:var(--mlg-edge); box-shadow:inset 0 1px 0 rgba(111,184,227,.28); }
/* Keep keyboard focus visible, without affecting medical inputs. */
body.llcig-mlg.llcig-mlg-actions :is(.llcig-hero__button,.llcig-proof__button,.llcig-journey__button,.llcig-methods__button,.llcig-results__button,.llcig-international__card-link):focus-visible { outline:3px solid #0a5289; outline-offset:3px; }
@media (max-width:1024px) {
  body.llcig-mlg.llcig-mlg-hero .llcig-hero__shade { background:linear-gradient(0deg,#e1f1fc 0%,rgba(225,241,252,.40) 40%,transparent 75%); }
  body.llcig-mlg.llcig-mlg-surfaces :is(.llcig-proof__orb,.llcig-journey__orb,.llcig-methods__orb,.llcig-international__orb,.llcig-results__decor),body.llcig-mlg.llcig-mlg-consult :is(.llcig-consultation__orb,.llcig-consultation__doctor-glow) { filter:none; opacity:.2; }
}
@media (prefers-reduced-motion:reduce) {
  body.llcig-mlg.llcig-mlg-surfaces :is(.llcig-proof__video-card,.llcig-proof__trust-card,.llcig-journey__step,.llcig-methods__card,.llcig-results__card),body.llcig-mlg.llcig-mlg-actions :is(.llcig-hero__button,.llcig-proof__button,.llcig-journey__button,.llcig-methods__button,.llcig-results__button) { transition-duration:.01ms; }
}
