/*
 * DiraChart premium care-setting section
 * Version 3.1.5
 */

body.dc-route-home .dc-care-setting-premium,
body.path-frontpage .dc-care-setting-premium {
  position: relative;
  overflow: hidden;

  padding:
    clamp(76px, 8vw, 112px)
    0
    clamp(82px, 9vw, 124px) !important;

  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(62, 156, 150, .18),
      transparent 28rem
    ),
    radial-gradient(
      circle at 96% 90%,
      rgba(74, 128, 196, .16),
      transparent 30rem
    ),
    linear-gradient(
      135deg,
      #102038 0%,
      #16304e 48%,
      #284870 100%
    ) !important;

  color: #ffffff !important;
}

body.dc-route-home
.dc-care-setting-premium::before,
body.path-frontpage
.dc-care-setting-premium::before {
  position: absolute;
  top: -220px;
  right: -190px;

  width: 480px;
  height: 480px;

  border: 64px solid rgba(159, 188, 216, .07);
  border-radius: 50%;

  content: "";
  pointer-events: none;
}

body.dc-route-home
.dc-care-setting-premium
.dcv2-wrap,
body.path-frontpage
.dc-care-setting-premium
.dcv2-wrap {
  position: relative;
  z-index: 1;

  width: min(1180px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
}

/* Section introduction */

body.dc-route-home
.dc-care-setting-premium
.dcv2-section-head,
body.path-frontpage
.dc-care-setting-premium
.dcv2-section-head {
  display: grid !important;
  grid-template-columns:
    minmax(0, .8fr)
    minmax(340px, 1.2fr) !important;
  grid-template-areas:
    "eyebrow eyebrow"
    "title copy";
  gap: 10px 64px !important;

  width: 100% !important;
  max-width: none !important;

  margin: 0 0 48px !important;
}

body.dc-route-home
.dc-care-setting-premium
.dcv2-section-head::before,
body.path-frontpage
.dc-care-setting-premium
.dcv2-section-head::before {
  grid-area: eyebrow;

  margin-bottom: 8px;

  color: #80d4cd;

  font: 600 .68rem/1.3 var(--mono);
  letter-spacing: .15em;
  text-transform: uppercase;

  content: "Choose your workspace";
}

body.dc-route-home
.dc-care-setting-premium
.dcv2-section-head h2,
body.path-frontpage
.dc-care-setting-premium
.dcv2-section-head h2 {
  grid-area: title;

  max-width: 520px;
  margin: 0 !important;

  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;

  font:
    700
    clamp(3.5rem, 6vw, 5.8rem)
    /.89
    var(--display) !important;

  letter-spacing: .01em !important;
}

body.dc-route-home
.dc-care-setting-premium
.dcv2-section-head p,
body.path-frontpage
.dc-care-setting-premium
.dcv2-section-head p {
  grid-area: copy;
  align-self: end;

  max-width: 590px;
  margin: 0 0 6px !important;

  color: #c8d8e5 !important;
  -webkit-text-fill-color: #c8d8e5 !important;

  font-family: var(--serif) !important;
  font-size: 1.08rem !important;
  line-height: 1.68 !important;
}

/* Two workspace cards */

body.dc-route-home
.dc-care-setting-premium
.dcv2-entry-grid,
body.path-frontpage
.dc-care-setting-premium
.dcv2-entry-grid {
  display: grid !important;
  grid-template-columns:
    repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

body.dc-route-home
.dc-care-setting-premium
.dcv2-entry,
body.path-frontpage
.dc-care-setting-premium
.dcv2-entry {
  --workspace-accent: #3e9c96;

  position: relative !important;
  overflow: hidden !important;

  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;

  min-height: 520px !important;
  padding: 35px !important;

  border: 0 !important;
  border-top:
    6px solid
    var(--workspace-accent) !important;
  border-radius: 20px !important;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fbfc 100%
    ) !important;

  color: #122a42 !important;
  text-decoration: none !important;

  box-shadow:
    0 28px 64px rgba(4, 18, 33, .25) !important;

  transform: translateY(0);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease !important;
}

body.dc-route-home
.dc-care-setting-premium
#home-care,
body.path-frontpage
.dc-care-setting-premium
#home-care {
  --workspace-accent: #4a80c4;
}

body.dc-route-home
.dc-care-setting-premium
.dcv2-entry:hover,
body.path-frontpage
.dc-care-setting-premium
.dcv2-entry:hover {
  transform: translateY(-6px);

  box-shadow:
    0 36px 76px rgba(4, 18, 33, .32) !important;
}

/* Remove the old beige decorative circles */

body.dc-route-home
.dc-care-setting-premium
.dcv2-entry::after,
body.path-frontpage
.dc-care-setting-premium
.dcv2-entry::after {
  display: none !important;
  content: none !important;
}

/* Card numbering */

body.dc-route-home
.dc-care-setting-premium
.dcv2-entry::before,
body.path-frontpage
.dc-care-setting-premium
.dcv2-entry::before {
  position: absolute;
  top: 27px;
  right: 29px;

  color: rgba(26, 58, 92, .09);

  font: 700 4.5rem/1 var(--display);

  content: "01";
  pointer-events: none;
}

body.dc-route-home
.dc-care-setting-premium
#home-care::before,
body.path-frontpage
.dc-care-setting-premium
#home-care::before {
  content: "02";
}

body.dc-route-home
.dc-care-setting-premium
.dcv2-kicker,
body.path-frontpage
.dc-care-setting-premium
.dcv2-kicker {
  position: relative;
  z-index: 1;

  color: var(--workspace-accent) !important;

  font:
    600
    .65rem
    /1.3
    var(--mono) !important;

  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

body.dc-route-home
.dc-care-setting-premium
.dcv2-entry h3,
body.path-frontpage
.dc-care-setting-premium
.dcv2-entry h3 {
  position: relative;
  z-index: 1;

  max-width: 430px;
  margin: 22px 0 13px !important;

  color: #1a3a5c !important;
  -webkit-text-fill-color: #1a3a5c !important;

  font:
    700
    clamp(2.4rem, 3.3vw, 3.15rem)
    /.96
    var(--display) !important;
}

body.dc-route-home
.dc-care-setting-premium
.dcv2-entry p,
body.path-frontpage
.dc-care-setting-premium
.dcv2-entry p {
  max-width: 490px;
  margin: 0 0 24px !important;

  color: #54708c !important;
  -webkit-text-fill-color: #54708c !important;

  font-family: var(--serif) !important;
  font-size: .94rem !important;
  line-height: 1.58 !important;
}

/* Product rows */

body.dc-route-home
.dc-care-setting-premium
.dcv2-entry ul,
body.path-frontpage
.dc-care-setting-premium
.dcv2-entry ul {
  display: grid !important;
  gap: 8px !important;

  margin: 0 0 28px !important;
  padding: 0 !important;

  list-style: none !important;
}

body.dc-route-home
.dc-care-setting-premium
.dcv2-entry li,
body.path-frontpage
.dc-care-setting-premium
.dcv2-entry li {
  display: flex !important;
  gap: 14px !important;

  min-height: 45px;
  padding: 11px 13px !important;

  border: 1px solid #dce6ee !important;
  border-radius: 9px !important;

  align-items: center !important;
  justify-content: space-between !important;

  background: #f5f9fa !important;

  color: #1a3a5c !important;
  -webkit-text-fill-color: #1a3a5c !important;

  font:
    700
    .76rem
    /1.3
    var(--ui) !important;
}

body.dc-route-home
.dc-care-setting-premium
.dcv2-entry li:hover,
body.path-frontpage
.dc-care-setting-premium
.dcv2-entry li:hover {
  border-color: #bfd6dc !important;
  background: #edf5f6 !important;
}

/* Status pills: no beige or gold */

body.dc-route-home
.dc-care-setting-premium
.tag,
body.path-frontpage
.dc-care-setting-premium
.tag {
  flex: 0 0 auto;

  display: inline-flex !important;

  padding: 6px 9px !important;

  border: 0 !important;
  border-radius: 999px !important;

  background: #e5f2ea !important;

  color: #267a4d !important;
  -webkit-text-fill-color: #267a4d !important;

  font:
    700
    .57rem
    /1
    var(--ui) !important;

  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

body.dc-route-home
.dc-care-setting-premium
.tag.soon,
body.path-frontpage
.dc-care-setting-premium
.tag.soon {
  background: #e6edf6 !important;

  color: #35699f !important;
  -webkit-text-fill-color: #35699f !important;
}

/* Workspace buttons */

body.dc-route-home
.dc-care-setting-premium
.go,
body.path-frontpage
.dc-care-setting-premium
.go {
  display: inline-flex !important;

  width: fit-content;
  min-height: 48px;
  padding: 0 19px !important;

  border: 1px solid transparent !important;
  border-radius: 7px !important;

  align-items: center !important;
  justify-content: center !important;

  background:
    var(--workspace-accent) !important;

  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;

  font:
    700
    .8rem
    /1
    var(--ui) !important;

  text-decoration: none !important;

  box-shadow:
    0 12px 26px
    rgba(26, 58, 92, .16) !important;
}

body.dc-route-home
.dc-care-setting-premium
.go::after,
body.path-frontpage
.dc-care-setting-premium
.go::after {
  margin-left: 10px;
  content: "→";
}

/* Tablet */

@media (max-width: 900px) {
  body.dc-route-home
  .dc-care-setting-premium
  .dcv2-section-head,
  body.path-frontpage
  .dc-care-setting-premium
  .dcv2-section-head {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "eyebrow"
      "title"
      "copy";

    gap: 12px !important;
  }

  body.dc-route-home
  .dc-care-setting-premium
  .dcv2-section-head p,
  body.path-frontpage
  .dc-care-setting-premium
  .dcv2-section-head p {
    max-width: 680px;
    margin-top: 8px !important;
  }

  body.dc-route-home
  .dc-care-setting-premium
  .dcv2-entry-grid,
  body.path-frontpage
  .dc-care-setting-premium
  .dcv2-entry-grid {
    grid-template-columns: 1fr !important;
  }

  body.dc-route-home
  .dc-care-setting-premium
  .dcv2-entry,
  body.path-frontpage
  .dc-care-setting-premium
  .dcv2-entry {
    min-height: auto !important;
  }
}

/* Mobile */

@media (max-width: 640px) {
  body.dc-route-home
  .dc-care-setting-premium,
  body.path-frontpage
  .dc-care-setting-premium {
    padding: 64px 0 74px !important;
  }

  body.dc-route-home
  .dc-care-setting-premium
  .dcv2-wrap,
  body.path-frontpage
  .dc-care-setting-premium
  .dcv2-wrap {
    width: calc(100% - 24px) !important;
  }

  body.dc-route-home
  .dc-care-setting-premium
  .dcv2-section-head h2,
  body.path-frontpage
  .dc-care-setting-premium
  .dcv2-section-head h2 {
    font-size:
      clamp(3.1rem, 15vw, 4.5rem) !important;
  }

  body.dc-route-home
  .dc-care-setting-premium
  .dcv2-entry,
  body.path-frontpage
  .dc-care-setting-premium
  .dcv2-entry {
    padding: 27px 23px !important;
    border-radius: 17px !important;
  }

  body.dc-route-home
  .dc-care-setting-premium
  .dcv2-entry h3,
  body.path-frontpage
  .dc-care-setting-premium
  .dcv2-entry h3 {
    max-width: 310px;

    font-size:
      clamp(2.35rem, 11vw, 3rem) !important;
  }

  body.dc-route-home
  .dc-care-setting-premium
  .dcv2-entry::before,
  body.path-frontpage
  .dc-care-setting-premium
  .dcv2-entry::before {
    right: 20px;
    font-size: 3.7rem;
  }

  body.dc-route-home
  .dc-care-setting-premium
  .go,
  body.path-frontpage
  .dc-care-setting-premium
  .go {
    width: 100%;
  }
}
