/* REVIX — scoped changes for client's 2026-10-11 request only.
   Mobile hero to viewport width + large direct inline video players.
   No existing client CSS stylesheets were changed. */
body.revix-v7 :is(.videos-grid,.rev9-home-videos){
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:clamp(18px,2.1vw,30px)!important;
  align-items:start;
}
body.revix-v7 :is(.videos-grid,.rev9-home-videos) > .revix-inline-video-card{
  display:flex!important;
  flex-direction:column;
  width:100%!important;
  height:auto!important;
  min-width:0;
  min-height:0!important;
  overflow:hidden;
  text-align:right;
  padding:0!important;
  border-radius:24px;
  background:#fff;
  border:1px solid #dfebf5;
  box-shadow:0 12px 38px rgba(15,72,110,.06);
}
body.revix-v7 .revix-inline-video-card .revix-inline-video-frame{
  position:relative;
  isolation:isolate;
  display:block;
  width:100%;
  height:auto;
  margin:0;
  overflow:hidden;
  background-color:#e8f2fa;
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
  border:0;
}
body.revix-v7 .revix-inline-video-card .revix-inline-video-landscape{aspect-ratio:16/9}
body.revix-v7 .revix-inline-video-card .revix-inline-video-portrait{aspect-ratio:9/16}
body.revix-v7 .revix-inline-video-card .revix-inline-video-frame iframe{
  position:absolute;inset:0;display:block;
  width:100%!important;height:100%!important;
  margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;
  background:transparent;
}
body.revix-v7 .revix-inline-video-card .revix-inline-video-details{
  padding:19px clamp(16px,2vw,24px) 22px;
  text-align:right;
}
body.revix-v7 :is(.videos-grid,.rev9-home-videos) > .revix-inline-video-card h3{
  margin:0 0 9px!important;
  padding:0!important;
  font-size:clamp(15px,1.4vw,20px)!important;
  line-height:1.7!important;
  font-weight:850;
  color:#143955;
  min-height:0!important;
}
body.revix-v7 :is(.videos-grid,.rev9-home-videos) > .revix-inline-video-card p{
  margin:0 0 13px!important;
  padding:0!important;
  font-size:12px!important;
  line-height:1.9!important;
  color:#688096;
  min-height:0!important;
}
body.revix-v7 .revix-inline-video-source{
  display:inline-flex;align-items:center;
  min-height:42px;padding:10px 15px;
  border:1px solid #d6e9f8;
  border-radius:12px;
  background:#f0f8ff;
  color:#096aa8!important;
  font-size:11px;
  font-weight:800;
  text-decoration:none;
}
body.revix-v7 .revix-inline-video-source:hover,
body.revix-v7 .revix-inline-video-source:focus-visible{background:#e5f3ff;border-color:#a9d9fa}
@media(max-width:800px){
  /* Edge to edge hero slider while preserving the client's other mobile CSS. */
  body.revix-v7 .revix-hero-pro-media[data-hero-gallery]{
    width:100vw!important;
    max-width:100vw!important;
    margin-inline:calc(50% - 50vw)!important;
    padding-inline:0!important;
  }
  body.revix-v7 .revix-hero-pro-gallery{
    width:100%!important;
    max-width:100%;
    height:clamp(320px,92vw,520px)!important;
  }
  body.revix-v7 .revix-hero-pro-slide{inset:1.4% 4.5%!important}
  body.revix-v7 .revix-hero-pro-arrow--prev{right:2%!important}
  body.revix-v7 .revix-hero-pro-arrow--next{left:2%!important}
}
@media(max-width:740px){
  body.revix-v7 :is(.videos-grid,.rev9-home-videos){
    grid-template-columns:minmax(0,1fr)!important;
    gap:20px!important;
  }
  body.revix-v7 .revix-inline-video-card .revix-inline-video-details{padding:17px 18px 19px}
}
@media(max-width:410px){
  body.revix-v7 .revix-hero-pro-gallery{height:clamp(315px,93vw,400px)!important}
  body.revix-v7 .revix-hero-pro-slide{inset:1.5% 4%!important}
}
