/* ------------------------------------------------------------
   Mobile Hero Layout Overrides
   Loaded only below 600px.
------------------------------------------------------------- */

.vh-layout-hero{
  --vh-hero-shell-pad-x: 1rem;
  --vh-hero-row-gap: 1.6rem;
  min-height: auto !important;
  padding-top: var(--vh-context-hero-padding-top-mobile, clamp(3.75rem, 12vw, 5rem)) !important;
  padding-bottom: var(--vh-context-hero-padding-bottom-mobile, clamp(3.75rem, 12vw, 5rem)) !important;
  text-align: center;
}

body.home .vh-hero-context-home{
  padding-top: clamp(4.25rem, 13vw, 5.5rem) !important;
  padding-bottom: clamp(4.25rem, 13vw, 5.5rem) !important;
}

.vh-layout-hero > .container{
  padding-left: var(--vh-hero-shell-pad-x) !important;
  padding-right: var(--vh-hero-shell-pad-x) !important;
}

.vh-layout-hero .row{
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.vh-layout-hero .row > [class*="col-"]{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.vh-layout-hero .vh-hero-copy,
.vh-layout-hero .vh-hero-copy--overlay,
.vh-layout-hero .vh-hero-copy--minimal,
.vh-layout-hero .vh-hero-copy--center{
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.vh-layout-hero .vh-hero-title{
  font-size: min(var(--vh-hero-title-size, 56px), 38px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
  max-width: min(100%, 18ch) !important;
  margin-left: auto;
  margin-right: auto;
}

body.home .vh-hero-context-home .vh-hero-title{
  max-width: min(100%, 19ch) !important;
}

.vh-layout-hero .vh-hero-lead{
  font-size: min(var(--vh-hero-subtitle-size, 18px), 17px) !important;
  line-height: 1.55 !important;
  max-width: min(100%, 32rem) !important;
  margin-left: auto;
  margin-right: auto;
}

.vh-layout-hero .vh-hero-eyebrow{
  max-width: 100%;
  white-space: normal;
  justify-content: center;
}

.vh-layout-hero .vh-hero-actions{
  display: grid !important;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
  justify-content: stretch !important;
}

.vh-layout-hero .vh-action-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.15rem;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.vh-layout-hero .vh-hero-media,
.vh-layout-hero .vh-hero-wide-media,
.vh-layout-hero .vh-hero-collage,
.vh-layout-hero .vh-hero-before-after,
.vh-layout-hero .vh-hero-portfolio-grid,
.vh-layout-hero .vh-hero-finder,
.vh-layout-hero .vh-hero-proof,
.vh-layout-hero .vh-hero-proof--rating,
.vh-layout-hero .vh-hero-proof--quote,
.vh-layout-hero .vh-hero-inline-detail-stack{
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.vh-layout-hero .vh-hero-media,
.vh-layout-hero .vh-hero-wide-media{
  border-radius: var(--vh-hero-media-radius-top, 1rem) !important;
}

.vh-layout-hero .vh-hero-media img,
.vh-layout-hero .vh-hero-wide-media img{
  width: 100% !important;
  max-height: 24rem;
  object-fit: cover;
}

.vh-layout-hero .vh-hero-placeholder{
  min-height: 14rem !important;
}

.vh-hero-layout-bottom_image .vh-hero-media--bottom-touch img,
.vh-hero-layout-editorial_center_bottom_image .vh-hero-wide-media--bottom-edge img{
  max-height: 24rem !important;
  object-fit: contain !important;
  object-position: bottom center !important;
}

.vh-hero-layout-right_edge_image > .container{
  padding-left: var(--vh-hero-shell-pad-x) !important;
  padding-right: var(--vh-hero-shell-pad-x) !important;
}

.vh-hero-layout-right_edge_image .vh-hero-right-edge-copy,
.vh-hero-layout-right_edge_image .vh-hero-right-edge-media-col{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.vh-layout-hero .vh-hero-before-after{
  grid-template-columns: 1fr !important;
}

.vh-layout-hero .vh-hero-before-after::before{
  display: none !important;
}

.vh-layout-hero .vh-hero-portfolio-grid{
  --vh-portfolio-grid-columns: 2;
  gap: .7rem !important;
}

.vh-layout-hero.vh-hero-portfolio-grid-cols-1 .vh-hero-portfolio-grid{
  --vh-portfolio-grid-columns: 1;
}

.vh-layout-hero .vh-hero-portfolio-caption{
  left: .55rem !important;
  right: .55rem !important;
  bottom: .55rem !important;
  padding: .42rem .5rem !important;
}

.vh-layout-hero .vh-hero-portfolio-excerpt{
  display: none !important;
}

.vh-layout-hero .vh-hero-finder{
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.vh-layout-hero .vh-hero-finder-form{
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: .75rem !important;
}

.vh-layout-hero .vh-hero-finder-form input[type="search"],
.vh-layout-hero .vh-hero-finder-form button{
  width: 100% !important;
  border-radius: .9rem !important;
}

.vh-layout-hero .vh-hero-proof,
.vh-layout-hero .vh-hero-proof--rating,
.vh-layout-hero .vh-hero-proof--quote{
  justify-content: center;
  text-align: center;
}

.vh-layout-hero .vh-hero-inline-detail{
  text-align: left;
}

.vh-layout-hero .vh-hero-extra .container,
.vh-layout-hero .vh-hero-extra .row{
  max-width: 100%;
}
