/* Sandbox marketing heroes: keep the photograph in view and prices near the copy. */
.drb-brand-experience .home-hero--care-home .home-hero__timing { white-space: nowrap; }
@media (max-width: 760px) {
  .drb-brand-experience .home-hero > .wrapper { padding: 0 20px !important; }
  .drb-brand-experience .home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    column-gap: 16px;
    row-gap: 0;
    padding: 24px 0 26px;
    align-items: stretch;
  }
  .drb-brand-experience .home-hero__content,
  .drb-brand-experience .home-hero__media { display: contents; }
  .drb-brand-experience .home-hero__eyebrow { display: none; }
  .drb-brand-experience .home-hero__title {
    grid-column: 1; grid-row: 1;
    align-self: center;
    font-size: clamp(27px, 7.2vw, 42px) !important;
    line-height: 1.12;
    letter-spacing: -.05em;
    margin: 0;
    padding: 10px 0;
  }
  .drb-brand-experience .home-hero__photo {
    grid-column: 2; grid-row: 1;
    position: relative; inset: auto;
    width: 100%; height: 100%; min-height: 220px;
    border-radius: 80px 80px 22px 22px;
    
    background-position: 52% center;
    background-size: cover;
    margin: 0;
  }
  /* Keep the portrait compact alongside the headline while retaining the face. */
  body.drb-sandbox.drb-brand-experience .home-hero--care-home .home-hero__title {
    font-size: clamp(30px, 7.7vw, 36px) !important;
    line-height: 1.12;
    letter-spacing: -.045em;
  }
  body.drb-sandbox.drb-brand-experience .home-hero--care-home .home-hero__photo {
    min-height: clamp(208px, 52vw, 244px);
    background-position: 52% center;
  }
  .drb-brand-experience .home-hero__subtitle {
    grid-column: 1 / -1; grid-row: 2;
    font-size: 14px; line-height: 1.65;
    max-width: none; margin: 20px 0 16px;
  }
  .drb-brand-experience .home-hero__prices-wrap { grid-column: 1 / -1; grid-row: 3; margin: 0; }
  .drb-brand-experience .home-hero__prices--four {
    grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; overflow: visible;
  }
  .drb-brand-experience .home-hero__prices--four .home-hero__price {
    padding: 12px 8px; min-height: 114px; border-radius: 13px; box-shadow: none;
  }
  .drb-brand-experience .home-hero__prices--four .home-hero__price::before { display: none; }
  .drb-brand-experience .home-hero__prices--four .home-hero__price-label {
    min-height: 30px; font-size: 10px; line-height: 1.35;
  }
  .drb-brand-experience .home-hero__prices--four .home-hero__price-value { font-size: 27px; }
  .drb-brand-experience .home-hero__prices--four .home-hero__price-check { font-size: 12px; line-height: 2.8; }
  .drb-brand-experience .home-hero__prices--four .home-hero__price-per { font-size: 10px; }
  .drb-brand-experience .home-hero__price-detail { display: none; }
  .drb-brand-experience .home-hero__billing-note { font-size: 11px; line-height: 1.5; margin: 10px 0 0; text-align: left; }
  .drb-brand-experience .home-hero__availability { grid-column: 1 / -1; grid-row: 4; justify-self: start; margin: 16px 0 0; }
  .drb-brand-experience .home-hero__actions { grid-column: 1 / -1; grid-row: 5; display: flex; flex-wrap: nowrap; gap: 8px; margin: 14px 0 0; }
  .drb-brand-experience .home-hero__actions .btn { width: auto; flex: 1; min-width: 0; margin: 0; padding: 14px 10px; font-size: 11px; line-height: 1.4; box-shadow: none; }
  /* Keep the existing provider available without placing a card over the face. */
  .drb-brand-experience .home-hero__card {
    grid-column: 1 / -1; grid-row: 6; position: static;
    display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 3px 12px;
    width: 100%; max-width: none; margin: 18px 0 0; padding: 14px;
    border: 1px solid #dce3dc; border-radius: 16px;
    text-align: left; box-shadow: none; background: #fff;
  }
  .drb-brand-experience .home-hero__card-photo { grid-column: 1; grid-row: 1 / 3; width: 50px; height: 50px; margin: 0; }
  .drb-brand-experience .home-hero__card-name { grid-column: 2; grid-row: 1; align-self: end; font-size: 13px; margin: 0; }
  .drb-brand-experience .home-hero__card-spec { grid-column: 2; grid-row: 2; font-size: 11px; margin: 0; }
  .drb-brand-experience .home-hero__card-rating { grid-column: 1 / -1; margin: 8px 0 0; }
  .drb-brand-experience .home-hero__card-cta { grid-column: 1 / -1; margin-top: 8px; min-height: 44px; }
  .drb-brand-experience .home-hero__card-badge { display: none; }

  .drb-public-program .hero-reference {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 16px; row-gap: 0; padding: 22px 0 30px; align-items: stretch;
  }
  .drb-public-program .hero-reference > .hero-copy { display: contents; }
  .drb-public-program .hero-reference .eyebrow { grid-column: 1 / -1; grid-row: 1; font-size: 9px; letter-spacing: .1em; margin: 0 0 14px; }
  .drb-public-program .hero-reference h1 { grid-column: 1; grid-row: 2; align-self: center; font-size: clamp(31px, 8.6vw, 48px) !important; line-height: 1.06; letter-spacing: -.045em; padding: 12px 0; }
  .drb-public-program .hero-reference .hero-picture { grid-column: 2; grid-row: 2; min-width: 0; }
  .drb-public-program .hero-reference .hero-photo { height: 210px; width: 100%; border-radius: 80px 80px 22px 22px; object-position: 73% center; }
  .drb-public-program .hero-reference .caption { position: static; width: auto; margin: 7px 0 0; padding: 0; background: transparent; font-size: 8px; line-height: 1.4; }
  .drb-public-program .hero-reference .lead { grid-column: 1 / -1; grid-row: 3; max-width: none; margin: 18px 0 16px; font-size: 15px; line-height: 1.65; }
  .drb-public-program .hero-clinical-price {
    grid-column: 1 / -1; grid-row: 4; display: grid;
    grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px;
    max-width: none; margin: 0; padding: 18px; border-radius: 16px;
  }
  .drb-public-program .hero-clinical-price .hero-membership-label { grid-column: 1; grid-row: 1; align-self: center; font-size: 12px; line-height: 1.4; }
  .drb-public-program .hero-clinical-price strong { grid-column: 2; grid-row: 1; margin: 0; font-size: 36px; white-space: nowrap; }
  .drb-public-program .hero-clinical-price strong small { font-size: 12px; margin-left: 3px; }
  .drb-public-program .hero-clinical-price .hero-medication-cost { grid-column: 1 / -1; font-size: 12px; margin: 0; }
  .drb-public-program .hero-clinical-price .hero-renewal { grid-column: 1 / -1; font-size: 11px; line-height: 1.5; margin: 0; }
  .drb-public-program .hero-reference .actions { grid-column: 1 / -1; grid-row: 5; gap: 8px; margin: 16px 0 0; }
  .drb-public-program .hero-reference .actions > a { min-width: 0; flex: 1 1 0; padding: 13px 9px; font-size: 11px; text-align: center; }
  .drb-public-program .hero-reference .trust-row { grid-column: 1 / -1; grid-row: 6; gap: 8px 12px; margin: 18px 0 0; font-size: 10px; }
  .drb-public-program .hero-reference .hero-safety { grid-column: 1 / -1; grid-row: 7; margin-top: 14px; line-height: 1.6; }
}
@media (max-width: 374px) {
  .drb-brand-experience .home-hero > .wrapper { padding: 0 16px !important; }
  .drb-brand-experience .home-hero__grid { column-gap: 12px; }
  .drb-brand-experience .home-hero__title { font-size: 26px !important; }
  body.drb-sandbox.drb-brand-experience .home-hero--care-home .home-hero__title {
    font-size: clamp(26px, 8.125vw, 30px) !important;
  }
  .drb-brand-experience .home-hero__prices--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .drb-brand-experience .home-hero__prices--four .home-hero__price { padding: 12px 14px; min-height: 96px; }
  .drb-brand-experience .home-hero__prices--four .home-hero__price-label { min-height: 19px; font-size: 11px; }
  .drb-brand-experience .home-hero__prices--four .home-hero__price-check { font-size: 16px; line-height: 2; }
  .drb-public-program .hero-reference { column-gap: 12px; }
  .drb-public-program .hero-reference h1 { font-size: 29px !important; }
  .drb-public-program .hero-reference .hero-photo { height: 190px; }
  .drb-public-program .hero-clinical-price { padding: 14px; }
  .drb-public-program .hero-clinical-price strong { font-size: 32px; }
}
