/*!
 * HotVC V2 — build fallback CSS.
 * File này được WordPress nạp ngay cả khi đã có Tailwind CDN,
 * cover các case runtime chưa áp class đúng.
 */
:root {
    color-scheme: dark light;
    --brand-500: #e11d48;
    --brand-400: #fb7185;
    --neutral-950: #0a0a0b;
    --neutral-900: #171717;
    --neutral-800: #262626;
    --neutral-700: #404040;
    --neutral-300: #d4d4d4;
    --neutral-100: #f5f5f5;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    background: var(--neutral-950);
    color: var(--neutral-100);
    font: 16px/1.5 Inter, system-ui, sans-serif;
    text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, iframe, video { max-width: 100%; }

/* ---- Movie card — hard guarantee aspect & equal height ---- */
.hotvc-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.hotvc-card > div:first-child {
    /* image container với padding-top trick */
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    background: #262626;
    border-radius: 8px 8px 0 0;
}
.hotvc-card > div:first-child > img,
.hotvc-card > div:first-child > div {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hotvc-card > div:last-child {
    flex: 1 0 auto;
}
.hotvc-card h3 {
    min-height: 2.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- line-clamp fallback ---- */
.line-clamp-1,.line-clamp-2,.line-clamp-3,.line-clamp-4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-1 { -webkit-line-clamp: 1; }
.line-clamp-2 { -webkit-line-clamp: 2; }
.line-clamp-3 { -webkit-line-clamp: 3; }
.line-clamp-4 { -webkit-line-clamp: 4; }
