/* ------------------------------------------------------------
   Tablet Hero Layout Overrides
   Loaded only for 600px–991.98px.
------------------------------------------------------------- */

.vh-layout-hero{
  --vh-hero-shell-pad-x: clamp(1.25rem, 4vw, 2rem);
  --vh-hero-row-gap: clamp(1.75rem, 5vw, 3rem);
  min-height: auto !important;
  padding-top: var(--vh-context-hero-padding-top-tablet, clamp(4.75rem, 8vw, 6.5rem)) !important;
  padding-bottom: var(--vh-context-hero-padding-bottom-tablet, clamp(4.75rem, 8vw, 6.5rem)) !important;
  text-align: center;
}

body.home .vh-hero-context-home{
  padding-top: clamp(5rem, 9vw, 7rem) !important;
  padding-bottom: clamp(5rem, 9vw, 7rem) !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{
  margin-left: auto;
  margin-right: auto;
}

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

.vh-layout-hero .vh-hero-lead{
  font-size: min(var(--vh-hero-subtitle-size, 18px), 19px) !important;
  margin-left: auto;
  margin-right: auto;
}

.vh-layout-hero .vh-hero-actions{
  justify-content: center !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{
  margin-left: auto !important;
  margin-right: auto !important;
}

.vh-layout-hero .vh-hero-media,
.vh-layout-hero .vh-hero-wide-media{
  width: min(100%, 42rem) !important;
}

.vh-layout-hero .vh-hero-media img,
.vh-layout-hero .vh-hero-wide-media img{
  max-height: 34rem;
  object-fit: cover;
}

.vh-hero-layout-default_split .row,
.vh-hero-layout-lifestyle_collage .row,
.vh-hero-layout-video_hero .row,
.vh-hero-layout-asymmetric_magazine .row,
.vh-hero-layout-right_edge_image .row,
.vh-hero-layout-center_image_three .row{
  align-items: 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-proof,
.vh-layout-hero .vh-hero-proof--rating,
.vh-layout-hero .vh-hero-proof--quote,
.vh-layout-hero .vh-hero-inline-detail-stack{
  margin-left: auto !important;
  margin-right: auto !important;
}

.vh-layout-hero .vh-hero-portfolio-grid{
  gap: .85rem !important;
}

.vh-layout-hero.vh-hero-portfolio-grid-cols-3 .vh-hero-portfolio-grid,
.vh-layout-hero.vh-hero-portfolio-grid-cols-4 .vh-hero-portfolio-grid{
  --vh-portfolio-grid-columns: 2;
}
