/* =========================================================
   VATAX public hero cleanup patch - 2026-06-25
   - Removes generic hero badges and side mini cards from inner heroes.
   - Keeps the Tools hero with the same VATAX Compass visual style as homepage.
   - Restores the bottom hero cut/wave color so it never renders black.
   - Gives pages without a local hero photo a page-related external image through PHP.
   ========================================================= */

body.public-body:not(.admin-body) .hero-badge{
  display:none!important;
}

body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced{
  background-color:var(--bg,#eef5f6)!important;
}

body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .hero-wave{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:-1px!important;
  height:76px!important;
  z-index:5!important;
  pointer-events:none!important;
  line-height:0!important;
  overflow:hidden!important;
}

body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .hero-wave svg{
  display:block!important;
  width:100%!important;
  height:100%!important;
}

body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .hero-wave .wave-soft{
  fill:rgba(238,245,246,.72)!important;
  opacity:1!important;
}

body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .hero-wave .wave-main{
  fill:var(--bg,#eef5f6)!important;
  opacity:1!important;
}

body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .hero-wave path{
  stroke:none!important;
}

body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .hero-mini-service-card,
body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .hero-mini-service-card,
body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-video-card,
body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-video-card{
  display:none!important;
}

body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .compact-hero-grid,
body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .compact-hero-grid{
  grid-template-columns:minmax(0,980px)!important;
  justify-content:start!important;
  align-items:center!important;
}

html[dir="rtl"] body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .compact-hero-grid,
html[dir="rtl"] body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .compact-hero-grid{
  justify-content:end!important;
}

html[dir="ltr"] body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .compact-hero-grid,
html[dir="ltr"] body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .compact-hero-grid{
  justify-content:start!important;
}

body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-hero-copy,
body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-hero-copy{
  max-width:980px!important;
  width:100%!important;
  text-align:start!important;
  margin-inline:0!important;
  justify-self:stretch!important;
}

html[dir="rtl"] body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-hero-copy,
html[dir="rtl"] body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-hero-copy{
  text-align:right!important;
}

html[dir="ltr"] body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-hero-copy,
html[dir="ltr"] body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-hero-copy{
  text-align:left!important;
}

body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-hero-copy h1,
body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-hero-copy h1{
  max-width:940px!important;
  margin-inline:0!important;
}

body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-hero-copy p,
body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-hero-copy p{
  max-width:760px!important;
  margin-inline:0!important;
}

body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .hero-actions,
body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .hero-actions{
  justify-content:flex-start!important;
}

body.public-body:not(.admin-body) .vtx-page-standard-hero.has-hero-tool-card .compact-hero-grid,
body.public-body:not(.admin-body) .vtx-inner-classic-hero.has-hero-tool-card .compact-hero-grid{
  grid-template-columns:minmax(0,1.1fr) minmax(310px,.55fr)!important;
  gap:clamp(22px,3.8vw,54px)!important;
  align-items:center!important;
}

body.public-body:not(.admin-body) .vtx-page-standard-hero.has-hero-tool-card .vtx-hero-tool-card,
body.public-body:not(.admin-body) .vtx-inner-classic-hero.has-hero-tool-card .vtx-hero-tool-card,
body.public-body:not(.admin-body) .classic-home-hero .vtx-hero-tool-card{
  display:grid!important;
  grid-template-areas:"icon" "title" "sub" "text" "cta"!important;
  align-content:start!important;
  justify-self:start!important;
  max-width:350px!important;
  width:min(100%,350px)!important;
  min-height:0!important;
  padding:28px 26px!important;
  border-radius:28px!important;
  border:1px solid rgba(255,255,255,.72)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(239,249,250,.92))!important;
  color:#073944!important;
  box-shadow:0 28px 76px rgba(0,24,27,.24)!important;
  backdrop-filter:blur(16px)!important;
  overflow:hidden!important;
}

html[dir="rtl"] body.public-body:not(.admin-body) .vtx-page-standard-hero.has-hero-tool-card .vtx-hero-tool-card,
html[dir="rtl"] body.public-body:not(.admin-body) .vtx-inner-classic-hero.has-hero-tool-card .vtx-hero-tool-card,
html[dir="rtl"] body.public-body:not(.admin-body) .classic-home-hero .vtx-hero-tool-card{
  justify-self:start!important;
  text-align:right!important;
}

body.public-body:not(.admin-body) .vtx-page-standard-hero.has-hero-tool-card .vtx-hero-tool-card::before,
body.public-body:not(.admin-body) .vtx-inner-classic-hero.has-hero-tool-card .vtx-hero-tool-card::before,
body.public-body:not(.admin-body) .classic-home-hero .vtx-hero-tool-card::before{
  content:""!important;
  position:absolute!important;
  width:240px!important;
  height:240px!important;
  border-radius:50%!important;
  inset:-80px -80px auto auto!important;
  background:radial-gradient(circle,rgba(223,155,34,.22),rgba(223,155,34,0) 68%)!important;
  pointer-events:none!important;
}

html[dir="rtl"] body.public-body:not(.admin-body) .vtx-page-standard-hero.has-hero-tool-card .vtx-hero-tool-card::before,
html[dir="rtl"] body.public-body:not(.admin-body) .vtx-inner-classic-hero.has-hero-tool-card .vtx-hero-tool-card::before,
html[dir="rtl"] body.public-body:not(.admin-body) .classic-home-hero .vtx-hero-tool-card::before{
  inset:-80px auto auto -80px!important;
}

body.public-body:not(.admin-body) .vtx-page-standard-hero.has-hero-tool-card .vtx-hero-tool-card > *,
body.public-body:not(.admin-body) .vtx-inner-classic-hero.has-hero-tool-card .vtx-hero-tool-card > *,
body.public-body:not(.admin-body) .classic-home-hero .vtx-hero-tool-card > *{
  position:relative!important;
  z-index:1!important;
}

body.public-body:not(.admin-body) .vtx-hero-tool-card .vtx-hero-tool-icon,
body.public-body:not(.admin-body) .vtx-hero-tool-card > span:first-child{
  grid-area:icon!important;
  width:68px!important;
  height:68px!important;
  min-width:68px!important;
  border-radius:22px!important;
  display:grid!important;
  place-items:center!important;
  margin:0 0 14px!important;
  color:#fff!important;
  background:linear-gradient(135deg,#005a5c,#003638)!important;
  box-shadow:0 18px 34px rgba(0,90,92,.24)!important;
}

body.public-body:not(.admin-body) .vtx-hero-tool-card .vtx-hero-tool-icon .icon,
body.public-body:not(.admin-body) .vtx-hero-tool-card > span:first-child .icon{
  width:38px!important;
  height:38px!important;
  stroke:#fff!important;
}

body.public-body:not(.admin-body) .vtx-hero-tool-card h3,
body.public-body:not(.admin-body) .vtx-hero-tool-card h2{
  grid-area:title!important;
  color:#073944!important;
  font-size:clamp(21px,1.65vw,27px)!important;
  line-height:1.25!important;
  margin:0 0 8px!important;
  text-align:inherit!important;
}

body.public-body:not(.admin-body) .vtx-hero-tool-card strong{
  grid-area:sub!important;
  display:block!important;
  color:#005a5c!important;
  font-size:14px!important;
  line-height:1.65!important;
  margin:0 0 8px!important;
  text-align:inherit!important;
}

body.public-body:not(.admin-body) .vtx-hero-tool-card p{
  grid-area:text!important;
  color:#536b70!important;
  font-size:13px!important;
  line-height:1.75!important;
  margin:0 0 18px!important;
  text-align:inherit!important;
}

body.public-body:not(.admin-body) .vtx-hero-tool-card .vtx-hero-compass-btn,
body.public-body:not(.admin-body) .vtx-hero-tool-card .btn{
  grid-area:cta!important;
  width:max-content!important;
  min-height:42px!important;
  padding:10px 16px!important;
  border-radius:14px!important;
  color:#111!important;
}

body.public-body:not(.admin-body) .vtx-hero-tool-card .vtx-brand-word .vtx-brand-letter{
  color:#073944!important;
  text-shadow:none!important;
  opacity:1!important;
}

body.public-body:not(.admin-body) .vtx-hero-tool-card .vtx-brand-word .vtx-brand-t{
  color:#E8A11D!important;
  text-shadow:none!important;
}

body.public-body:not(.admin-body) .vtx-hero-tool-card .vtx-compass-title{
  display:inline-flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:baseline!important;
  gap:.18em!important;
  white-space:nowrap!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
}

@media(max-width:980px){
  body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .compact-hero-grid,
  body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .compact-hero-grid,
  body.public-body:not(.admin-body) .vtx-page-standard-hero.has-hero-tool-card .compact-hero-grid,
  body.public-body:not(.admin-body) .vtx-inner-classic-hero.has-hero-tool-card .compact-hero-grid{
    grid-template-columns:1fr!important;
    justify-content:center!important;
    text-align:center!important;
    justify-items:center!important;
  }
  body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-hero-copy,
  body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-hero-copy,
  body.public-body:not(.admin-body) .vtx-page-standard-hero.has-hero-tool-card .classic-hero-copy,
  body.public-body:not(.admin-body) .vtx-inner-classic-hero.has-hero-tool-card .classic-hero-copy{
    max-width:860px!important;
    text-align:center!important;
    justify-self:center!important;
    margin-inline:auto!important;
  }
  body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-hero-copy h1,
  body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-hero-copy h1,
  body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-hero-copy p,
  body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-hero-copy p{
    margin-inline:auto!important;
  }
  body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .hero-actions,
  body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .hero-actions,
  body.public-body:not(.admin-body) .vtx-page-standard-hero.has-hero-tool-card .hero-actions,
  body.public-body:not(.admin-body) .vtx-inner-classic-hero.has-hero-tool-card .hero-actions{
    justify-content:center!important;
  }
  body.public-body:not(.admin-body) .vtx-page-standard-hero.has-hero-tool-card .vtx-hero-tool-card,
  body.public-body:not(.admin-body) .vtx-inner-classic-hero.has-hero-tool-card .vtx-hero-tool-card{
    display:none!important;
  }
}

@media(max-width:760px){
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .hero-wave{
    height:54px!important;
  }
}

/* =========================================================
   VATAX final hero vertical balance patch - 2026-06-25
   - Restores the homepage VATAX Compass card as a real side card.
   - Fixes the CSS conflict that turned the hero grid into block layout.
   - Centers/lower-balances all inner hero content so titles do not stick to the top.
   - Keeps inner hero mini cards removed except the approved Tools/Compass hero card.
   ========================================================= */

body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced,
body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-gcc-home-hero,
body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-page-standard-hero,
body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-inner-classic-hero{
  height:auto!important;
  min-height:clamp(540px,32vw,620px)!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  overflow:hidden!important;
}

body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-gcc-home-hero{
  min-height:clamp(560px,34vw,650px)!important;
}

body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced > .container,
body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .classic-hero-grid,
body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .compact-hero-grid{
  width:100%!important;
  max-width:1220px!important;
  min-height:0!important;
  margin-inline:auto!important;
  position:relative!important;
  z-index:4!important;
  box-sizing:border-box!important;
}

body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .classic-hero-grid,
body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .compact-hero-grid{
  display:grid!important;
  align-items:center!important;
  align-content:center!important;
  justify-content:center!important;
  gap:clamp(28px,4vw,70px)!important;
  transform:translateY(18px)!important;
}

body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-gcc-home-hero .classic-hero-grid,
body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.has-hero-tool-card .compact-hero-grid{
  grid-template-columns:minmax(0,1.04fr) minmax(320px,.52fr)!important;
}

body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.no-hero-card .compact-hero-grid,
body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .compact-hero-grid,
body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .compact-hero-grid{
  grid-template-columns:minmax(0,980px)!important;
  justify-content:center!important;
  justify-items:stretch!important;
}

body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.no-hero-card .classic-hero-copy,
body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-hero-copy,
body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-hero-copy{
  max-width:980px!important;
  width:100%!important;
  margin-inline:0!important;
  justify-self:stretch!important;
}

html[dir="rtl"] body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.no-hero-card .classic-hero-copy,
html[dir="rtl"] body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-hero-copy,
html[dir="rtl"] body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-hero-copy{
  text-align:right!important;
}

html[dir="ltr"] body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.no-hero-card .classic-hero-copy,
html[dir="ltr"] body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-hero-copy,
html[dir="ltr"] body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-hero-copy{
  text-align:left!important;
}

body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .classic-hero-copy h1,
body.public-body:not(.admin-body) .vtx-page-standard-hero .classic-hero-copy h1,
body.public-body:not(.admin-body) .vtx-inner-classic-hero .classic-hero-copy h1{
  max-width:920px!important;
  margin:0 0 14px!important;
  font-size:clamp(34px,3.9vw,68px)!important;
  line-height:1.12!important;
  letter-spacing:-.02em!important;
  text-align:inherit!important;
  color:#fff!important;
}

body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .classic-hero-copy p,
body.public-body:not(.admin-body) .vtx-page-standard-hero .classic-hero-copy p,
body.public-body:not(.admin-body) .vtx-inner-classic-hero .classic-hero-copy p{
  max-width:780px!important;
  margin:0 0 18px!important;
  font-size:clamp(14px,1.12vw,18px)!important;
  line-height:1.75!important;
  text-align:inherit!important;
}

body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .hero-actions,
body.public-body:not(.admin-body) .vtx-page-standard-hero .hero-actions,
body.public-body:not(.admin-body) .vtx-inner-classic-hero .hero-actions{
  justify-content:flex-start!important;
  margin-top:12px!important;
}

html[dir="rtl"] body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .hero-actions,
html[dir="rtl"] body.public-body:not(.admin-body) .vtx-page-standard-hero .hero-actions,
html[dir="rtl"] body.public-body:not(.admin-body) .vtx-inner-classic-hero .hero-actions{
  direction:rtl!important;
}

/* Keep only the official VATAX Compass hero side card. */
body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .hero-mini-service-card,
body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .hero-mini-service-card,
body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-video-card,
body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-video-card{
  display:none!important;
}

body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-gcc-home-hero .vtx-hero-tool-card,
body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.has-hero-tool-card .vtx-hero-tool-card{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:12px!important;
  width:min(100%,350px)!important;
  max-width:350px!important;
  min-height:0!important;
  height:auto!important;
  padding:28px 26px!important;
  border-radius:28px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(239,249,250,.93))!important;
  color:#073944!important;
  border:1px solid rgba(255,255,255,.72)!important;
  box-shadow:0 28px 76px rgba(0,24,27,.24)!important;
  overflow:hidden!important;
  align-self:center!important;
  justify-self:start!important;
  text-align:start!important;
}

html[dir="rtl"] body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-gcc-home-hero .vtx-hero-tool-card,
html[dir="rtl"] body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.has-hero-tool-card .vtx-hero-tool-card{
  justify-self:start!important;
  text-align:right!important;
  align-items:flex-end!important;
}

html[dir="ltr"] body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-gcc-home-hero .vtx-hero-tool-card,
html[dir="ltr"] body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.has-hero-tool-card .vtx-hero-tool-card{
  justify-self:end!important;
  text-align:left!important;
  align-items:flex-start!important;
}

body.public-body:not(.admin-body) .vtx-hero-tool-card .vtx-hero-tool-icon,
body.public-body:not(.admin-body) .vtx-hero-tool-card > span:first-child{
  flex:0 0 auto!important;
  width:68px!important;
  height:68px!important;
  min-width:68px!important;
  margin:0 0 8px!important;
  border-radius:22px!important;
  display:grid!important;
  place-items:center!important;
}

body.public-body:not(.admin-body) .vtx-hero-tool-card h3{
  width:100%!important;
  margin:0!important;
  font-size:clamp(21px,1.55vw,27px)!important;
  line-height:1.24!important;
  text-align:inherit!important;
}

body.public-body:not(.admin-body) .vtx-hero-tool-card strong,
body.public-body:not(.admin-body) .vtx-hero-tool-card p{
  width:100%!important;
  margin:0!important;
  font-size:13.5px!important;
  line-height:1.65!important;
  font-weight:700;
  text-align:inherit!important;
}

body.public-body:not(.admin-body) .vtx-hero-tool-card p{
  color:#536b70!important;
}

body.public-body:not(.admin-body) .vtx-hero-tool-card .vtx-hero-compass-btn,
body.public-body:not(.admin-body) .vtx-hero-tool-card .btn{
  margin-top:4px!important;
  width:max-content!important;
  min-height:42px!important;
  padding:10px 18px!important;
  border-radius:14px!important;
  color:#fff!important;
  align-self:inherit!important;
}

@media(max-width:1024px){
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced,
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-gcc-home-hero,
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-page-standard-hero,
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-inner-classic-hero{
    min-height:500px!important;
    padding:64px 0 86px!important;
  }
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .classic-hero-grid,
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .compact-hero-grid{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    text-align:center!important;
    transform:none!important;
  }
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .classic-hero-copy{
    text-align:center!important;
    justify-self:center!important;
    margin-inline:auto!important;
  }
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .hero-actions{
    justify-content:center!important;
  }
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .vtx-hero-tool-card,
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .hero-mini-service-card{
    display:none!important;
  }
}

@media(max-width:640px){
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced,
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-gcc-home-hero,
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-page-standard-hero,
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-inner-classic-hero{
    min-height:460px!important;
    padding:56px 0 76px!important;
  }
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .classic-hero-copy h1,
  body.public-body:not(.admin-body) .vtx-page-standard-hero .classic-hero-copy h1,
  body.public-body:not(.admin-body) .vtx-inner-classic-hero .classic-hero-copy h1{
    font-size:clamp(28px,8vw,38px)!important;
  }
}

/* Final correction: keep the desktop hero within the viewport while preserving the fixed grid/card layout. */
@media(min-width:1025px){
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced,
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-gcc-home-hero,
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-page-standard-hero,
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-inner-classic-hero{
    min-height:500px!important;
    height:500px!important;
    padding:0!important;
  }
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .classic-hero-grid,
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced .compact-hero-grid{
    transform:none!important;
  }
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.no-hero-card .compact-hero-grid,
  body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .compact-hero-grid,
  body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .compact-hero-grid{
    transform:translateY(-34px)!important;
  }
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.vtx-gcc-home-hero .classic-hero-grid,
  body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.has-hero-tool-card .compact-hero-grid{
    transform:translateY(10px)!important;
  }
}

/* Keep inner hero content side-aligned by language after vertical balancing. */
@media(min-width:1025px){
  html[dir="rtl"] body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.no-hero-card .compact-hero-grid,
  html[dir="rtl"] body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .compact-hero-grid,
  html[dir="rtl"] body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .compact-hero-grid{
    justify-content:end!important;
    justify-items:end!important;
  }
  html[dir="ltr"] body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.no-hero-card .compact-hero-grid,
  html[dir="ltr"] body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .compact-hero-grid,
  html[dir="ltr"] body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .compact-hero-grid{
    justify-content:start!important;
    justify-items:start!important;
  }
  html[dir="rtl"] body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.no-hero-card .classic-hero-copy,
  html[dir="rtl"] body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-hero-copy,
  html[dir="rtl"] body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-hero-copy{
    justify-self:end!important;
    text-align:right!important;
  }
  html[dir="ltr"] body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.no-hero-card .classic-hero-copy,
  html[dir="ltr"] body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-hero-copy,
  html[dir="ltr"] body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-hero-copy{
    justify-self:start!important;
    text-align:left!important;
  }
  html[dir="rtl"] body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.no-hero-card .classic-hero-copy :where(h1,p),
  html[dir="rtl"] body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-hero-copy :where(h1,p),
  html[dir="rtl"] body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-hero-copy :where(h1,p){
    margin-inline-start:auto!important;
    margin-inline-end:0!important;
    text-align:right!important;
  }
  html[dir="ltr"] body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.no-hero-card .classic-hero-copy :where(h1,p),
  html[dir="ltr"] body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-hero-copy :where(h1,p),
  html[dir="ltr"] body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-hero-copy :where(h1,p){
    margin-inline-start:0!important;
    margin-inline-end:auto!important;
    text-align:left!important;
  }
}

/* RTL/LTR visual-side correction for CSS Grid logical alignment. */
@media(min-width:1025px){
  html[dir="rtl"] body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.no-hero-card .compact-hero-grid,
  html[dir="rtl"] body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .compact-hero-grid,
  html[dir="rtl"] body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .compact-hero-grid{
    justify-content:start!important;
    justify-items:start!important;
  }
  html[dir="rtl"] body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.no-hero-card .classic-hero-copy,
  html[dir="rtl"] body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-hero-copy,
  html[dir="rtl"] body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-hero-copy{
    justify-self:start!important;
  }
  html[dir="rtl"] body.public-body:not(.admin-body) .classic-home-hero.vtx-home-hero-enhanced.no-hero-card .classic-hero-copy :where(h1,p),
  html[dir="rtl"] body.public-body:not(.admin-body) .vtx-page-standard-hero.no-hero-card .classic-hero-copy :where(h1,p),
  html[dir="rtl"] body.public-body:not(.admin-body) .vtx-inner-classic-hero.no-hero-card .classic-hero-copy :where(h1,p){
    margin-inline-start:0!important;
    margin-inline-end:auto!important;
  }
}
