/* Native component layout and typography live in Atomic global classes.
   Retained CSS: decoration, state/descendant rules and breakpoint exceptions. */
@media (max-width: 1279px) {
  body .elementor .lc-nav-sticky-shell { --lc-nav-initial-height: 84px; --lc-nav-compact-height: 60px; }
  body .elementor .lc-nav-sticky-shell.is-floating .lc-nav--preferred { width: 100%; }
  body .elementor .lc-nav--preferred .lc-nav-mobile-toggle { min-width: 48px; min-height: 48px; justify-self: end; }
  body .elementor .lc-nav-mobile-toggle { gap: 0; }
  body .elementor .lc-nav-panels>.lc-nav-actions { flex-wrap: wrap; justify-content: space-between; }
  body .elementor .lc-nav-panels>.lc-nav-actions .lc-nav-referral { display: inline-flex; align-items: center; }
  body:not(.lc-page-home) .elementor[data-elementor-type="wp-page"] { margin-top: -104px; }
  body .elementor .lc-v2-hero { padding-top: 124px; }
  body:is(.lc-page-team, .lc-page-careers, .lc-page-contact) .elementor .lc-v2-hero { padding-top: 124px; }
  body .elementor .lc-home-current { --lc-home-nav-space: 104px; }
  body .elementor .lc-home-current .lc-hero-inner { padding-top: 124px; }
}
@media (max-width: 1023px) {
  body .elementor .lc-ft--preferred .lc-ft-mobile-brand { display: block; }
  body .elementor .lc-ft--preferred .lc-ft-mobile-brand>a { display: block; width: min(100%,320px); line-height: 0; }
  body .elementor .lc-ft--preferred .lc-ft-horizontal-logo { display: block; width: 100%; height: auto; max-width: 320px; filter: brightness(0) invert(1); opacity: .96; }
  body .elementor .lc-ft--preferred .lc-ft-right-brand { display: none; }
}
@media (max-width: 767px) {
  body .elementor .lc-nav-sticky-shell { --lc-nav-initial-height: 76px; --lc-nav-compact-height: 56px; }
  body .elementor .lc-nav-panels>.lc-nav-actions { margin-inline: 24px; gap: 16px; padding-block: 22px; }
  body:not(.lc-page-home) .elementor[data-elementor-type="wp-page"] { margin-top: -96px; }
  body .elementor .lc-v2-hero { padding-top: 112px; }
  body:is(.lc-page-team, .lc-page-careers, .lc-page-contact) .elementor .lc-v2-hero { padding-top: 112px; }
  body .elementor .lc-home-current { --lc-home-nav-space: 96px; }
  body .elementor .lc-home-current .lc-hero-inner { padding-top: 112px; }
  body .elementor .lc-v2-referral { flex-direction: column; gap: 0; min-height: 0; background: #fffdf9; }
  body .elementor .lc-v2-referral:before { content: none; }
  body .elementor .lc-v2-referral>.lc-v2-referral-photo-layout { order: 1; margin-inline: auto; }
  body .elementor .lc-v2-referral>.lc-referral-background-photo { order: 2; inset: auto; max-width: none; max-height: none; min-height: 0; aspect-ratio: auto; object-position: center; mask: none; -webkit-mask: none; opacity: 1; margin: 0; }
  body .elementor .lc-v2-referral-story { max-width: none; }
  body .elementor .lc-v2-referral .lc-v2-referral-actions { gap: 16px 22px; }
  body .elementor .lc-v2-referral-actions>.lc-choice-button { padding-inline: 20px; }
}
@media (max-width: 1279px) {
  body .elementor .lc-nav-sticky-shell.lc-navigation-ready { margin: 8px auto 0; width: calc(100% - 5rem); top: calc(var(--lc-admin-offset,0px) + 6px); }
  body .elementor-location-header:has(.lc-nav--preferred) { top: calc(var(--lc-admin-offset,0px) + 6px); }
  body .elementor-location-header .lc-nav-sticky-shell.lc-navigation-ready { top: 0; }
  body .elementor .lc-nav-sticky-shell.is-floating { transform: none; }
  body .elementor .lc-nav-sticky-shell.is-floating .lc-nav-row { padding-block: 4px; }
  body .elementor .lc-nav--preferred .lc-nav-row { grid-template-columns: minmax(0,1fr) auto auto; }
  body .elementor .lc-nav-sticky-shell.lc-navigation-ready .lc-nav-panels { display: flex; flex-direction: column; height: calc(100dvh - var(--lc-navigation-panel-top,120px) - 16px); max-height: calc(100dvh - var(--lc-navigation-panel-top,120px) - 16px); overflow: hidden; }
  body .elementor .lc-nav-mobile-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  body .elementor .lc-nav-panels>.lc-nav-actions { position: relative; flex: 0 0 auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 12px; width: 100%; min-width: 0; margin: 0; padding: 18px 20px calc(18px + env(safe-area-inset-bottom,0px)); background: #fff; border-top: 1px solid #1a305b24; box-sizing: border-box; }
  body .elementor .lc-nav-panels>.lc-nav-actions .lc-nav-referral { min-width: 0; max-width: 100%; font-size: 15px; justify-self: start; padding: 0; min-height: 48px; text-decoration: underline; text-decoration-color: #1a305b40; text-underline-offset: 6px; text-decoration-thickness: 1px; }
  body .elementor .lc-nav-panels>.lc-nav-actions .lc-nav-contact-group { grid-column: 1 / -1; justify-self: stretch; width: 100%; max-width: 100%; padding: 0; background: transparent; }
  body .elementor .lc-nav-panels>.lc-nav-actions .lc-nav-phone { white-space: nowrap; flex-shrink: 0; }
  body .elementor .lc-nav-panels>.lc-nav-actions .lc-nav-contact { justify-self: stretch; min-width: 0; max-width: 100%; width: 100%; min-height: 48px; font-size: 15px; padding: 12px 30px 12px 16px; white-space: nowrap; }
}
@media (max-width: 359px) {
  body .elementor .lc-nav-panels>.lc-nav-actions { grid-template-columns: minmax(0,1fr); gap: 8px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom,0px)); }
  body .elementor .lc-nav-panels>.lc-nav-actions .lc-nav-referral { justify-self: center; }
  body .elementor .lc-nav-panels>.lc-nav-actions .lc-nav-contact { justify-self: stretch; text-align: center; }
}
@media (max-width: 767px) {
  body .elementor .lc-nav-sticky-shell.lc-navigation-ready { width: calc(100% - 3rem); }
}
@media (max-width: 767px) {
  body .elementor .lc-page-v2>:is(.lc-care-rhythm, .lc-care-white-section) { padding-inline: 0; }
  body .elementor .lc-v2-container>.lc-care-editorial-grid { padding-inline: 0; }
  body.lc-page-about .lc-about-mission-grid { padding-inline: 0; }
}

/* Mobile contact access stays visible independently of the menu. */
@media (max-width: 1279px) {
  body .elementor .lc-nav-row > .lc-nav-phone { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border-radius: 0; background: transparent; color: var(--lc-brand-1,#1a305b); font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; text-decoration: none; }
  body .elementor .lc-nav-row > .lc-nav-phone::after { left: 12px; right: 12px; }
  body .elementor .lc-nav-mobile-toggle::before { content: none; }
  body .elementor .lc-nav-mobile-toggle[aria-expanded="true"]::after { width: 20px; height: 20px; transform: none; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6L18 18M18 6L6 18' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
}
@media (max-width: 767px) {
  body .elementor .lc-nav--preferred .lc-nav-row { gap: 6px; padding-inline: 12px; }
  body .elementor .lc-nav--preferred .lc-nav-logo { width: clamp(100px,34vw,180px) !important; }
  body .elementor .lc-nav-row > .lc-nav-phone { padding-inline: 4px; font-size: 12px; }
  body .elementor .lc-nav-row > .lc-nav-phone::after { left: 4px; right: 4px; }
  body .elementor .lc-nav--preferred .lc-nav-mobile-toggle { min-width: 44px; width: 44px; padding-inline: 0; }
}

/* Override editor-generated mobile grid and intrinsic-width declarations. */
@media (max-width: 1279px) {
  body .elementor .lc-nav--preferred .lc-nav-row { grid-template-columns: minmax(0,1fr) auto auto !important; }
  body .elementor .lc-nav-panels > .lc-nav-actions .lc-nav-contact-group { width: 100% !important; justify-self: stretch !important; }
  body .elementor .lc-nav-panels > .lc-nav-actions .lc-nav-contact-group > .lc-nav-contact { width: 100% !important; flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 767px) {
  body .elementor .lc-nav--preferred .lc-nav-mobile-toggle { min-width: 44px !important; width: 44px !important; }
}
