/* VIRTUAL AI ADS · Startseite Videokarten (Werbevideos + Motion Design), 26.11.2026
   Grid-Fix 17:45: Kartengrösse und Raster wie vorher (startseite-showcase-20261125.css:
   4 pro Reihe, ab 1100px 2 pro Reihe). Nur Cover-Look: Standbild, Verlauf unten,
   Titel + Unterzeile unten links, Play-Button rechts auf Titelhöhe. */
html body.rh-home section#work .hs-vcard .hs-media{
  container-type:inline-size;
  isolation:isolate;
  background:#111!important;
  --vc-fs:clamp(12px,7cqw,40px);
  --vc-sub:clamp(10px,3.6cqw,16px);
  --vc-gap:clamp(3px,1.2cqw,8px);
  --vc-btn:clamp(28px,13cqw,64px);
  --vc-b:max(7px,7.5%);
}
html body.rh-home section#work .hs-vcard .hs-media::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
  background:linear-gradient(to top,rgba(8,8,10,.8) 0%,rgba(8,8,10,.55) 28%,rgba(8,8,10,.2) 52%,rgba(8,8,10,0) 70%)!important;
  transition:opacity .3s ease!important;
}
html body.rh-home section#work .hs-vcard .hs-cover-text{
  position:absolute!important;
  z-index:2!important;
  left:6%!important;
  right:6%!important;
  bottom:var(--vc-b)!important;
  margin:0!important;
  padding:0!important;
  color:#fff!important;
  pointer-events:none!important;
  transition:opacity .3s ease!important;
}
html body.rh-home section#work :is(#work-videos,#work-motion) .hs-vcard h3.hs-cover-title,
html body.rh-home section#work :is(#work-videos,#work-motion) .hs-vcard h3.hs-cover-title .hs-ct-line{
  display:block!important;
  -webkit-line-clamp:unset!important;
  overflow:visible!important;
  margin:0!important;
  font-weight:700!important;
  font-size:var(--vc-fs)!important;
  line-height:1!important;
  letter-spacing:-.02em!important;
  color:#fff!important;
  text-shadow:0 2px 12px rgba(0,0,0,.35)!important;
}
html body.rh-home section#work :is(#work-videos,#work-motion) .hs-vcard h3.hs-cover-title{
  padding:0 calc(var(--vc-btn) + 4%) 0 0!important;
}
html body.rh-home section#work :is(#work-videos,#work-motion) .hs-vcard h3.hs-cover-title .hs-ct-line{padding:0!important;white-space:nowrap!important;}
html body.rh-home section#work :is(#work-videos,#work-motion) .hs-vcard p.hs-cover-sub,
html body.rh-home section#work :is(#work-videos,#work-motion) .hs-vcard p.hs-cover-sub span{
  margin:0!important;
  padding:0!important;
  font-weight:500!important;
  font-size:var(--vc-sub)!important;
  line-height:1.3!important;
  color:rgba(255,255,255,.92)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-shadow:0 1px 8px rgba(0,0,0,.35)!important;
}
html body.rh-home section#work :is(#work-videos,#work-motion) .hs-vcard p.hs-cover-sub{margin-top:var(--vc-gap)!important;display:block!important;}
/* Play-Button rechts, mittig auf Höhe des zweizeiligen Titels */
html body.rh-home section#work .hs-vcard .hs-play{
  inset:auto 6% auto auto!important;
  bottom:calc(var(--vc-b) + var(--vc-sub)*1.3 + var(--vc-gap) + var(--vc-fs) - var(--vc-btn)/2)!important;
  width:var(--vc-btn)!important;
  height:var(--vc-btn)!important;
  z-index:3!important;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(0,0,0,.28)!important;
}
html body.rh-home section#work .hs-vcard .hs-play span{
  margin:0!important;
  left:54%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  border-width:calc(var(--vc-btn)*.17) 0 calc(var(--vc-btn)*.17) calc(var(--vc-btn)*.27)!important;
  border-color:transparent transparent transparent #111113!important;
}
/* Sehr kleine Karten (Handy, 2 pro Reihe): nur Titel, ohne Unterzeile */
@container (max-width:210px){
  html body.rh-home section#work :is(#work-videos,#work-motion) .hs-vcard p.hs-cover-sub{display:none!important;}
  html body.rh-home section#work .hs-vcard .hs-play{bottom:calc(var(--vc-b) + var(--vc-fs) - var(--vc-btn)/2)!important;}
}
html body.rh-home section#work .hs-vcard .hs-hover-video{z-index:1!important;}
html body.rh-home section#work .hs-vcard.is-hover-playing .hs-cover-text,
html body.rh-home section#work .hs-vcard.is-hover-playing .hs-media::after{opacity:0!important;}
