/* v0.2.528 Figma update 2026-11-30 (designer's "Changes" frame 3071:32792 + diff of the new local Figma vs the 2026-11-27 copy).
   Loaded last (after cura-forms.css). Remove this file's <link> to see the old look.
   Not here on purpose (already done in WP Additional CSS 2026-11-28..30): header, Home, For Families, For Caregivers layout,
   Log in / Sign up pages and the 1454x1115 pop-ups. Eyebrow taglines were already hidden. */

/* 1. Designer note 5 "font changes" (desktop, Figma = desktop):
      H1 = Sofia Sans Semi Condensed Bold (was ExtraBold 800), 60 / 68, letter-spacing 2% (size/lh/ls unchanged).
      H-sub = Sofia Sans Semi Condensed SemiBold 40 / Auto (was Medium 36 / 43.2); Figma "Auto" for Sofia = 1.2 -> 48. */
@media (min-width: 1025px) {
  html body .elementor-element.elementor-element-c468ba1 .elementor-heading-title,
  html body .elementor-element.elementor-element-f3c6964 .elementor-heading-title,
  html body .elementor-element.elementor-element-2ea226b .elementor-heading-title,
  html body .elementor-element.elementor-element-17e3459 .elementor-heading-title,
  html body .elementor-element.elementor-element-9373334 .elementor-heading-title,
  html body .elementor-element.elementor-element-83be0cd .elementor-heading-title,
  html body .elementor-element.elementor-element-9185644 .elementor-heading-title,
  html body .elementor-element.elementor-element-954deb2 .elementor-heading-title,
  html body .elementor-element.elementor-element-7e33b96 .elementor-heading-title,
  html body .elementor-element.elementor-element-46b1c50 .elementor-heading-title,
  html body .elementor-element.elementor-element-1628738 .elementor-heading-title,
  html body .elementor-element.elementor-element-8ada5c6 .elementor-heading-title,
  html body .elementor-element.elementor-element-ffdfcba .elementor-heading-title,
  html body .elementor-element.elementor-element-5c9cf71 .elementor-heading-title,
  html body .elementor-element.elementor-element-52edca5 .elementor-heading-title,
  html body .elementor-element.elementor-element-0f59337 .elementor-heading-title,
  html body .elementor-element.elementor-element-a8dece3 .elementor-heading-title,
  html body .elementor-widget-heading h1.elementor-heading-title,
  html body .cura-fmc .cura-fmc-hero-title,
  html body .cura-ck-card .cura-ck-h1,
  html body .cura-land-title {
    font-weight: 700 !important;
  }
  html body.home .elementor-element-1246a91 .elementor-heading-title,
  html body.home .elementor-element-8918e33 p,
  html body.home .elementor-element-e816c16 p,
  html body.page-id-8 .elementor-element-3d78fcd .elementor-heading-title,
  html body #our-caregivers .cura-directory-head h3,
  html body.page-id-9 .elementor-element-3e971d8 .elementor-heading-title,
  html body.page-id-10 .elementor-element-1f06beb .elementor-heading-title,
  html body.page-id-10 .elementor-element-9044114 .elementor-heading-title,
  html body.page-id-10 .elementor-element-559bfbf .elementor-heading-title,
  html body.page-id-10 .elementor-element-9c1f9ac .elementor-heading-title,
  html body.page-id-10 .elementor-element-18a83c3 .elementor-heading-title,
  html body.page-id-12 .elementor-element-df2431f .elementor-heading-title,
  html body.blog .cura-bs-title,
  html body .elementor-location-footer .elementor-element.elementor-element-e5ee285 .elementor-heading-title {
    font-size: 40px !important;
    font-weight: 600 !important;
    line-height: 48px !important;
  }
}

/* 2. For Caregivers FAQ search = Figma "for CGs" Input value 880 x 68, centred (was 1200 in the old Figma; the WP Additional CSS
      rule sets 1201, so this needs one id more). */
@media (min-width: 1025px) {
  html:not(#cura-f) body.page-id-9 .elementor-element.elementor-element-5366323 {
    --container-widget-width: 880px;
    width: 880px !important;
    max-width: 880px !important;
  }
  html:not(#cura-f) body.page-id-9 .elementor-element-5366323 .cura-faq-search { width: 880px !important; max-width: 880px !important; }
}

/* 3. Blog hero = Figma Blog-v4 Hero Box: 568 -> 536 high, title 4 higher, bottom space 28 less. */
@media (min-width: 1025px) {
  html body.blog .elementor-element.elementor-element-bbb6fc8 {
    min-height: 536px !important;
    --min-height: 536px;
    padding-top: 118px !important;
    padding-bottom: 54px !important;
  }
}

/* 4. About "Care decisions" box = Figma About-F Box 4: title 76 below the box top (was 120). */
@media (min-width: 1025px) {
  html body.page-id-10 .elementor-element.elementor-element-b8d1d5a > .e-con-inner {
    padding-top: 76px !important;
  }
}

/* 5. Designer note 6 "hover interactions": card shadow on hover for every button except on dark backgrounds,
      and the move-up stays on for all of them. Classes come from cura-hover.js. */
@media (hover: hover) {
  html body .cura-h.cura-h-pr.cura-h-pr:hover,
  html body .cura-h.cura-h-sc.cura-h-sc:hover,
  html body .cura-h.cura-h-prd.cura-h-prd:hover,
  html body .cura-h.cura-h-scd.cura-h-scd:hover,
  html body .cura-h.cura-h-ub.cura-h-ub:hover {
    transform: translateY(-2px) !important;
  }
  /* light-background buttons that had "move up" only: same "card shadow/hover" as the other buttons */
  html body .cura-h.cura-h-ub.cura-h-ub:hover,
  html body .cura-h.cura-h-ub.cura-h-ub:focus-visible {
    box-shadow: 0 0 8px 2px rgba(63, 97, 122, .16), 0 2px 4px 0 rgba(63, 97, 122, .16) !important;
  }
  /* new Figma Button variants: link-m/-hov (light bg, #73B1DD -> #223542) and Link/dark-hov + link-footer/dark-hov (#FBFEFD -> #D4E7F4) */
  html body .cura-h.cura-h-lkm.cura-h-lkm:hover { color: #223542 !important; }
  html body .cura-h.cura-h-lkd.cura-h-lkd:hover { color: #D4E7F4 !important; }
}

/* 6. v0.2.531 Families "Our caregivers" pagination = Figma Pages: < 1 2 3 ... > (3 numbers around the current page).
      The dots circle looks like a page number but is not a link. Other pages (Browse caregivers) keep all numbers, no dots. */
.cura-page-gap { display: none !important; }
#our-caregivers .cura-directory .cura-page-far { display: none !important; }
#our-caregivers .cura-directory .cura-page-gap { display: inline-flex !important; align-items: center; justify-content: center; cursor: default; pointer-events: none; }
