/* V4.7 — explicitly scoped to theme-owned product presentation. */
.hvl47-media{position:relative;overflow:hidden}
.hvl47-media img{object-fit:contain!important;background:var(--bg,#f2f5fa)}
.hvl47-cover{position:absolute;inset:0;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:4px;padding:clamp(9px,1.4vw,20px);color:#fff!important;text-align:left;background:linear-gradient(145deg,var(--hvl-deep,#153b72),var(--hvl-deep,#153b72));overflow:hidden;isolation:isolate}
.hvl47-cover::after{content:"";position:absolute;right:-12%;bottom:-62%;width:63%;aspect-ratio:1;border:1px solid #ffffff32;border-radius:50%;box-shadow:0 0 0 18px #ffffff0b,0 0 0 42px #ffffff0a;z-index:-1;pointer-events:none}
.hvl47-cover .hvl47-wordmark{font-size:clamp(9px,1vw,12px);font-weight:800;letter-spacing:.07em;line-height:1.2;color:#fff!important}
.hvl47-cover-core{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-width:0;max-width:100%;color:#fff!important}
.hvl47-cover .hvl47-cover-title{font-size:clamp(17px,2vw,29px);font-weight:800;line-height:1.13;letter-spacing:-.02em;text-transform:uppercase;overflow-wrap:anywhere;color:#fff!important}
.hvl47-cover .hvl47-cover-type{font-size:clamp(10px,1.2vw,14px);font-weight:600;line-height:1.2;color:#fff!important}
.hvl47-cover .hvl47-cover-source{font-size:clamp(9px,1vw,11px);font-weight:600;line-height:1.2;color:#fff!important;overflow-wrap:anywhere}
.hvl47-cover-core .ui-icon,.hvl47-cover-core svg{position:static!important;width:clamp(20px,3vw,40px)!important;height:clamp(20px,3vw,40px)!important;opacity:1!important;color:#fff!important;flex:none}
.hvl47-source{display:block;font-size:11px;font-weight:700;letter-spacing:.015em;line-height:1.4;color:var(--muted,#64748b);margin:0 0 6px;overflow-wrap:anywhere}
.hvl33-cover .hvl47-cover{padding:clamp(16px,3vw,32px)}
.hvl33-cover .hvl47-cover-title{font-size:clamp(24px,4vw,44px)}
.hvl33-cover .hvl47-cover-core svg{width:clamp(32px,4vw,56px)!important;height:clamp(32px,4vw,56px)!important}
.hvl32-list .hvl47-cover{padding:10px;justify-content:center;gap:8px}
@media(max-width:600px){.hvl47-cover{padding:9px}.hvl47-cover-core svg{width:22px!important;height:22px!important}.hvl47-cover .hvl47-cover-title{font-size:18px}.hvl32-list .hvl47-cover .hvl47-wordmark,.hvl32-list .hvl47-cover .hvl47-cover-source{display:none}.hvl32-list .hvl47-cover .hvl47-cover-title{font-size:12px}.hvl32-list .hvl47-cover .hvl47-cover-type{font-size:10px}.hvl32-list .hvl47-cover-core svg{width:22px!important;height:22px!important}}
@media(prefers-reduced-motion:reduce){.hvl47-cover{transition:none;animation:none}}
/* Short homepage cards still need space for the four distinct text lines. */
.hvl2-cover.hvl47-media:has(.hvl47-cover),.hvl2-exam-cover.hvl47-media:has(.hvl47-cover){min-height:146px}
html[data-pal="custom"] .hvl47-cover{background:linear-gradient(#0009,#0009),var(--hvl-deep,#153b72)}
