/* RHV V128 - Homepage Hero Glass Content Card responsive tuning
   Purpose: make the homepage hero glass content card friendly on mobile, tablets, and small 11-inch screens.
   Scope: homepage hero card only. Does not affect admin toggle, hero slider images, subpage hero cards, popups, or galleries. */

#rhvHomeHeroV113 .rhv62-hero-card,
.rhv62-home-hero .rhv62-hero-card{
  box-sizing: border-box !important;
}

/* Small laptop / 11-inch landscape screens */
@media (max-width: 1180px){
  #rhvHomeHeroV113.rhv-hero-slider[data-hero-slider="1"],
  .rhv62-home-hero.rhv-hero-slider[data-hero-slider="1"]{
    padding-left: clamp(22px, 4vw, 54px) !important;
    padding-right: clamp(22px, 4vw, 54px) !important;
  }

  #rhvHomeHeroV113 .rhv62-hero-card,
  .rhv62-home-hero .rhv62-hero-card{
    width: min(92vw, 680px) !important;
    max-width: 680px !important;
    padding: clamp(26px, 3.2vw, 42px) !important;
    border-radius: clamp(24px, 3vw, 34px) !important;
  }

  #rhvHomeHeroV113 .rhv62-title,
  .rhv62-home-hero .rhv62-title{
    font-size: clamp(45px, 6vw, 78px) !important;
    line-height: .92 !important;
    letter-spacing: -0.045em !important;
  }

  #rhvHomeHeroV113 .rhv62-body,
  .rhv62-home-hero .rhv62-body{
    font-size: clamp(14px, 1.55vw, 17px) !important;
    line-height: 1.55 !important;
    max-width: 58ch !important;
  }
}

/* Tablet portrait / 11-inch portrait */
@media (max-width: 900px){
  #rhvHomeHeroV113.rhv-hero-slider[data-hero-slider="1"],
  .rhv62-home-hero.rhv-hero-slider[data-hero-slider="1"]{
    align-items: center !important;
    justify-content: center !important;
    padding: 104px 22px 56px !important;
  }

  #rhvHomeHeroV113 .rhv62-hero-card,
  .rhv62-home-hero .rhv62-hero-card{
    width: min(92vw, 620px) !important;
    max-width: 620px !important;
    padding: 30px 28px !important;
    text-align: left !important;
  }

  #rhvHomeHeroV113 .rhv62-eyebrow,
  .rhv62-home-hero .rhv62-eyebrow{
    font-size: 10px !important;
    letter-spacing: .12em !important;
    padding: 9px 14px !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  #rhvHomeHeroV113 .rhv62-title,
  .rhv62-home-hero .rhv62-title{
    font-size: clamp(42px, 7.2vw, 62px) !important;
    line-height: .94 !important;
    margin-top: 18px !important;
  }

  #rhvHomeHeroV113 .rhv62-actions,
  .rhv62-home-hero .rhv62-actions{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  #rhvHomeHeroV113 .rhv62-btn,
  .rhv62-home-hero .rhv62-btn{
    min-height: 44px !important;
    padding: 13px 18px !important;
    font-size: 12px !important;
  }
}

/* Phones and narrow tablets */
@media (max-width: 640px){
  #rhvHomeHeroV113.rhv-hero-slider[data-hero-slider="1"],
  .rhv62-home-hero.rhv-hero-slider[data-hero-slider="1"]{
    padding: 96px 14px 42px !important;
  }

  #rhvHomeHeroV113 .rhv62-hero-card,
  .rhv62-home-hero .rhv62-hero-card{
    width: calc(100vw - 22px) !important;
    max-width: calc(100vw - 22px) !important;
    padding: 22px 20px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
  }

  #rhvHomeHeroV113 .rhv62-title,
  .rhv62-home-hero .rhv62-title{
    font-size: clamp(37px, 12vw, 50px) !important;
    line-height: .91 !important;
    letter-spacing: -0.05em !important;
    max-width: 100% !important;
  }

  #rhvHomeHeroV113 .rhv62-body,
  .rhv62-home-hero .rhv62-body{
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
    margin-top: 14px !important;
  }

  #rhvHomeHeroV113 .rhv62-actions,
  .rhv62-home-hero .rhv62-actions{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 18px !important;
  }

  #rhvHomeHeroV113 .rhv62-btn,
  .rhv62-home-hero .rhv62-btn{
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 44px !important;
    padding: 13px 14px !important;
    border-radius: 999px !important;
  }
}

/* Very small phones */
@media (max-width: 390px){
  #rhvHomeHeroV113 .rhv62-hero-card,
  .rhv62-home-hero .rhv62-hero-card{
    padding: 20px 17px !important;
    border-radius: 22px !important;
  }

  #rhvHomeHeroV113 .rhv62-title,
  .rhv62-home-hero .rhv62-title{
    font-size: clamp(34px, 11.5vw, 43px) !important;
  }

  #rhvHomeHeroV113 .rhv62-body,
  .rhv62-home-hero .rhv62-body{
    font-size: 13px !important;
  }
}