/* ==========================================================================
   Enago Indonesia — Video Hub (video.htm)
   Values extracted from Figma "Video library page" (node 1638:8221, 1080px frame).
   Colors/typography per Figma design context; hero & speakers band tints
   pending exact variable export (Figma seat quota) — see page notes.
   ========================================================================== */

.vhub {
    --vh-red: #d52b1e;
    --vh-red-dark: #b71d11;
    --vh-ink: #100f0d;
    --vh-body: #240300;
    --vh-hero-bg: #f4ece6;
    --vh-tab-border: #c1c1c1;
    --vh-canvas: 1140px;
    background: #fff;
    color: var(--vh-ink);
    overflow-x: hidden;
}

.vhub,
.vhub * {
    box-sizing: border-box;
}

/* :where() keeps these resets at zero specificity so component classes win */
:where(.vhub) h1,
:where(.vhub) h2,
:where(.vhub) h3,
:where(.vhub) p {
    margin: 0;
    padding: 0;
}

.vhub img {
    max-width: 100%;
}

:where(.vhub) button {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.vh-wrap {
    max-width: var(--vh-canvas);
    margin: 0 auto;
    position: relative;
}

/* Shared: section headings — 44px SemiBold, per 599x58 / 565x116 Figma text boxes */
.vh-heading {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.32;
    color: var(--vh-ink);
    text-align: center;
    text-transform: capitalize;
}

.vh-subheading {
    font-size: 18px;
    font-weight: 400;
    color: var(--vh-body);
    opacity: .75;
    text-align: center;
    margin-top: 10px;
}

/* Shared: red CTA — Figma Component 10/11: #d52b1e, r5, 20px/1.6 SemiBold, -0.2px */
.vh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--vh-red);
    color: #fff;
    border-radius: 5px;
    padding: 6px 20px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: -0.2px;
    text-transform: capitalize;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}

.vh-btn:hover,
.vh-btn:focus {
    background: var(--vh-red-dark);
    color: #fff;
    text-decoration: none;
}

.vh-btn-signin {
    padding: 6px 40px;
}

/* Shared: play button (Figma Group 1000006690 — white triangle, 36.76x38.04) */
.vh-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 36.76px;
    height: 38.04px;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .35));
    transition: transform .25s ease;
    pointer-events: none;
}

.vh-play img {
    display: block;
    width: 100%;
    height: 100%;
}

.vh-play-lg {
    width: 51px;
    height: 53px;
}

/* Shared: type badge — 21px tall pill (Figma Frame 1000007956), 10px SemiBold white */
.vh-badge {
    position: absolute;
    left: 18px;
    top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 21px;
    border: 1px solid #fff;
    border-radius: 68px;
    padding: 0 10px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-transform: capitalize;
    text-shadow: 0 4px 22.8px rgba(0, 0, 0, .25);
    z-index: 3;
}

.vh-badge-video {
    padding: 0 12px;
}

/* Shared: premium crown — 34px circle, Figma gold gradient, 24px mdi:crown */
.vh-crown {
    position: absolute;
    right: 13px;
    top: 11px;
    width: 34px;
    height: 34px;
    border-radius: 79px;
    background: linear-gradient(169.5deg, #fddd9c 37.731%, #fbd075 5.4416%, #ffb200 49.979%, #a87228 119.71%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.vh-crown img {
    width: 24px;
    height: 24px;
    display: block;
}

/* Shared: dots — active red pill, inactive gray */
.vh-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
}

.vh-dot {
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: #d9d9d9;
    transition: all .3s ease;
}

.vh-dot.is-active {
    width: 26px;
    background: var(--vh-red);
}

/* ==========================================================================
   HERO — pink band 539px; text at x78/y106; cluster 656x497 anchored right
   ========================================================================== */

.vh-hero {
    background: var(--vh-hero-bg);
}

.vh-hero-inner {
    min-height: 457px;
    display: flex;
    align-items: flex-start;
}

.vh-hero-copy {
    padding: 90px 0 0 78px;
    flex: 0 0 auto;
    width: 411px;
    position: relative;
    z-index: 2;
}

/* H1: Poppins SemiBold 48/1.2, -0.96px, w316 */
.vh-hero-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.96px;
    text-transform: capitalize;
    color: var(--vh-ink);
    max-width: 316px;
}

/* Sub: Regular 16/1.5, w323, 5.75px below title */
.vh-hero-sub {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--vh-ink);
    max-width: 323px;
    margin-top: 6px;
}

.vh-hero-copy .vh-btn {
    margin-top: 27px;
}

/* Cluster: featured 332x497 + strips 98x497, gap 10, top 19px of band */
.vh-hero-cards {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-left: auto;
    padding-top: 19px;
    position: relative;
    z-index: 1;
}

.vh-hero-card {
    position: relative;
    width: 82px;
    height: 415px;
    border-radius: 20px;
    overflow: hidden;
    flex: 0 0 auto;
    cursor: pointer;
    transition: width .5s cubic-bezier(.4, 0, .2, 1);
    transform: translateZ(0);
}

.vh-hero-card.is-featured {
    width: 277px;
    cursor: default;
}

.vh-hero-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: inherit;
}

/* Overlay: hard-light rgba(0,0,0,.3) + Figma vertical gradient */
.vh-hero-shade {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    mix-blend-mode: hard-light;
    background:
        linear-gradient(179.4deg, rgba(16, 15, 13, 0.6) 1.7204%, rgba(255, 255, 255, 0) 32.441%, rgba(58, 58, 56, 0.823) 83.147%, rgb(16, 15, 13) 101.83%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
}

/* Caption: left 29 / bottom 37; name 22 SemiBold lh1.6; roles 16 lh1.48 @70% */
.vh-hero-caption {
    position: absolute;
    left: 24px;
    bottom: 31px;
    z-index: 2;
    opacity: 1;
    transition: opacity .4s ease .15s;
}

.vh-hero-card:not(.is-featured) .vh-hero-caption {
    opacity: 0;
    transition: opacity .15s ease;
}

.vh-hero-name {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    color: #fff;
    white-space: nowrap;
}

.vh-hero-role {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.48;
    color: #fff;
    opacity: .7;
    max-width: 268px;
}

/* Right-edge fade (Figma Rectangle 640) */
.vh-hero-fade {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(-90deg, var(--vh-hero-bg) 10%, rgba(255, 236, 232, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   HERO ≥1081px: scale proportionally with the viewport (1px design = 100/1080 vw)
   so the section matches the Figma frame edge-to-edge at any desktop width.
   Cards bleed off the right edge exactly as in the Figma (cluster ends at 1088/1080).
   -------------------------------------------------------------------------- */
@media (min-width: 1081px) {
    .vhub:not(.vh-mini) .vh-hero-inner {
        max-width: none;
        min-height: 49.9074vw;
    }

    .vhub:not(.vh-mini) .vh-hero-copy {
        padding: 9.8148vw 0 0 7.2222vw;
        width: 38.0556vw;
    }

    .vhub:not(.vh-mini) .vh-hero-title {
        font-size: 4.4444vw;
        letter-spacing: -0.0889vw;
        max-width: 29.2593vw;
    }

    .vhub:not(.vh-mini) .vh-hero-sub {
        font-size: 1.4815vw;
        max-width: 29.9074vw;
        margin-top: 0.5556vw;
    }

    .vhub:not(.vh-mini) .vh-hero-copy .vh-btn {
        margin-top: 2.963vw;
        font-size: 1.8519vw;
        padding: 0.5556vw 1.8519vw;
        border-radius: 0.463vw;
        letter-spacing: -0.0185vw;
    }

    .vhub:not(.vh-mini) .vh-hero-cards {
        gap: 0.9259vw;
        padding-top: 1.7593vw;
        margin-right: -0.7407vw;
    }

    .vhub:not(.vh-mini) .vh-hero-card {
        width: 9.0741vw;
        height: 46.0185vw;
        border-radius: 1.8519vw;
    }

    .vhub:not(.vh-mini) .vh-hero-card.is-featured {
        width: 30.7407vw;
    }

    .vhub:not(.vh-mini) .vh-hero-shade {
        border-radius: 1.8519vw;
    }

    .vhub:not(.vh-mini) .vh-hero-caption {
        left: 2.6852vw;
        bottom: 3.4259vw;
    }

    .vhub:not(.vh-mini) .vh-hero-name {
        font-size: 2.037vw;
    }

    .vhub:not(.vh-mini) .vh-hero-role {
        font-size: 1.4815vw;
        max-width: 24.8148vw;
    }

    .vhub:not(.vh-mini) .vh-hero-fade {
        width: 7.4074vw;
    }
}

/* ==========================================================================
   TABS — bar 967x60 r145 (border #c1c1c1, shadow 0 4 12 10%), 40px below hero
   ========================================================================== */

.vh-tabs-section {
    padding: 86px 0 16px;
}

/* Frame 1000005197: 967x60, r145, border #C1C1C1, shadow 0 4 24 10%, px7 py6, gap 35 */
.vh-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 967px;
    max-width: 100%;
    height: 60px;
    padding: 6px 7px;
    background: #FFFFFF;
    border: 1px solid #C1C1C1;
    border-radius: 145px;
    box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.1);
    margin: 0 0 0 60px;
    overflow-x: auto;
    scrollbar-width: none;
}

.vh-tabs::-webkit-scrollbar {
    display: none;
}

/* Tab: 51px pill, px15, r134; labels keep their literal casing (Figma) */
.vh-tab {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 51px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #100F0D;
    opacity: 0.6;
    white-space: nowrap;
    padding: 0 15px;
    border-radius: 134px;
    border: 1px solid transparent;
    transition: opacity .25s ease, background .3s ease, color .3s ease;
    flex: 0 0 auto;
}

.vh-tab:hover {
    opacity: 1;
}

.vh-tab.is-active {
    background: #D52B1E;
    border: 1px solid #C8C8C8;
    color: #FFFFFF;
    font-weight: 600;
    opacity: 1;
}

/* ==========================================================================
   VIDEO CARDS — thumbs 246x177 r17.343; cells 15/19; pitch 276
   ========================================================================== */

.vh-cards-section {
    padding-bottom: 20px;
}

.vh-cards-outer {
    padding-left: 43px;
}

.vh-strip[hidden] {
    display: none !important;
}

.vh-strip {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    opacity: 1;
    transition: opacity .3s ease;
}

.vh-strip::-webkit-scrollbar {
    display: none;
}

.vh-strip.is-fading {
    opacity: 0;
}

.vh-card {
    flex: 0 0 auto;
    padding: 19px 15px;
    border-radius: 20px;
    scroll-snap-align: start;
    width: 276px;
}

.vh-thumb {
    position: relative;
    width: 246px;
    height: 177px;
    border-radius: 17.343px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.vh-thumb>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* Stacked-deck variant (Figma card 4): three copies at left 0/10/20, r18, clipped */
.vh-thumb-stack {
    border-radius: 18px;
}

.vh-thumb-stack>img {
    border-radius: 18px;
}

.vh-thumb-stack>img.vh-stack-2 {
    left: 10px;
}

.vh-thumb-stack>img.vh-stack-3 {
    left: 20px;
}

/* Gradient overlay @80%: Figma stops 0 / 48.064 / 57.197 / 93.391 */
.vh-thumb-shade {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: .8;
    background: linear-gradient(180deg, rgba(16, 15, 13, 0) 0%, rgba(16, 15, 13, 0.342) 48.064%, rgba(16, 15, 13, 0.363) 57.197%, rgb(16, 15, 13) 93.391%);
    z-index: 1;
}

.vh-thumb .vh-play {
    z-index: 2;
}

/* Duration: 55x28 r9, bg rgba(0,0,0,.46), Open Sans SemiBold 12 — bottom right 13/12 */
.vh-duration {
    position: absolute;
    right: 13px;
    bottom: 12px;
    min-width: 55px;
    height: 28px;
    border-radius: 9px;
    background: rgba(0, 0, 0, 0.46);
    color: #fff;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    z-index: 3;
}

/* Title 18/1.3 SemiBold w243, 25px below thumb; desc 14/1.44 @70%, 10px below */
.vh-card-title {
    margin-top: 25px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--vh-ink);
    max-width: 243px;
}

.vh-card-desc {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.44;
    color: var(--vh-body);
    opacity: .7;
    max-width: 243px;
}

/* Hover: card lifts, play grows */
.vh-card:hover .vh-thumb {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(16, 15, 13, .18);
}

.vh-card:hover .vh-play {
    transform: translate(-50%, -50%) scale(1.12);
}

/* Right fade 140x439 + 50.6px circular arrow (Figma group 681:20632) */
.vh-cards-fade {
    position: absolute;
    right: 0;
    top: -58px;
    width: 140px;
    height: 439px;
    opacity: .8;
    background: linear-gradient(-89.47deg, #fff 17.938%, rgba(255, 255, 255, 0) 90.957%);
    z-index: 2;
    pointer-events: none;
}

.vh-cards-next {
    position: absolute;
    right: 40px;
    top: 146px;
    width: 50.6px;
    height: 50.6px;
    border-radius: 50%;
    z-index: 3;
    transition: transform .25s ease;
}

.vh-cards-next:hover {
    transform: scale(1.08);
}

.vh-cards-next img {
    display: block;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   UNLOCK EXCLUSIVE INSIGHTS — heading pt117; row 1235 wide (sides 220x360,
   featured 332x497); dots; note 593w; Sign In 147x44
   ========================================================================== */

.vh-insights {
    padding-top: 96px;
    text-align: center;
}

.vh-insights-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 45px;
    min-height: 497px;
}

.vh-insight {
    position: relative;
    width: 220px;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
    flex: 0 0 auto;
    cursor: pointer;
    transition: width .5s cubic-bezier(.4, 0, .2, 1), height .5s cubic-bezier(.4, 0, .2, 1);
}

.vh-insight img:first-child {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.vh-insight-shade {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    mix-blend-mode: hard-light;
    background:
        linear-gradient(179.4deg, rgba(16, 15, 13, 0.6) 1.7204%, rgba(255, 255, 255, 0) 32.441%, rgba(58, 58, 56, 0.823) 83.147%, rgb(16, 15, 13) 101.83%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.vh-insight.is-featured {
    width: 332px;
    height: 497px;
    cursor: default;
}

.vh-insight .vh-play {
    z-index: 2;
}

.vh-insight-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 1;
    transition: opacity .4s ease .15s;
}

.vh-insight:not(.is-featured) .vh-insight-caption {
    opacity: 0;
}

.vh-insight-caption p {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
    max-width: 280px;
    text-align: center;
}

.vh-lock {
    display: block;
    width: 24px;
    height: 24px;
}

.vh-insights-note {
    margin: 30px auto 0;
    max-width: 593px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.56;
    color: var(--vh-body);
    opacity: .8;
}

.vh-insights .vh-btn-signin {
    margin-top: 24px;
}

/* ==========================================================================
   MEET OUR TOP SPEAKERS — pink gradient band 741px; 3 marquee rows
   (exact band tint pending Figma variable export)
   ========================================================================== */

.vh-speakers {
    margin-top: 110px;
    padding: 66px 0 66px;
    background: linear-gradient(180deg, #fdf2ed 0%, #fadbce 45%, #f8cebe 100%);
    overflow: hidden;
}

.vh-marquee-zone {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.vh-marquee {
    overflow: hidden;
    width: 100%;
}

.vh-marquee-track {
    display: flex;
    width: max-content;
}

.vh-marquee-group {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
}

.vh-marquee-l .vh-marquee-track {
    animation: vh-scroll-l 42s linear infinite;
}

.vh-marquee-r .vh-marquee-track {
    animation: vh-scroll-r 46s linear infinite;
}

.vh-marquee-slow .vh-marquee-track {
    animation-duration: 52s;
}

.vh-marquee:hover .vh-marquee-track {
    animation-play-state: paused;
}

@keyframes vh-scroll-l {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes vh-scroll-r {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

/* Pills */
.vh-pill {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
    padding: 12px 22px;
    height: 92px;
    flex: 0 0 auto;
}

.vh-pill-speaker .vh-pill-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.vh-pill-speaker strong {
    font-size: 17px;
    font-weight: 600;
    color: var(--vh-ink);
}

.vh-pill-speaker em {
    font-style: normal;
    font-size: 12.5px;
    color: var(--vh-body);
    opacity: .65;
}

.vh-pill-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    flex: 0 0 auto;
}

.vh-pill-stat {
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 12px 30px;
    text-align: center;
}

.vh-pill-stat strong {
    font-size: 22px;
    font-weight: 700;
    color: var(--vh-ink);
    line-height: 1.2;
}

.vh-pill-stat em {
    font-style: normal;
    font-size: 13px;
    color: var(--vh-body);
    opacity: .65;
    white-space: nowrap;
}

/* Round photo chips (some crowned) */
.vh-chip {
    position: relative;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    flex: 0 0 auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

.vh-chip img:first-child {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid #fff;
}

.vh-chip-crown {
    position: absolute;
    right: -4px;
    top: -4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(169.5deg, #fddd9c 37.731%, #fbd075 5.4416%, #ffb200 49.979%, #a87228 119.71%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vh-chip-crown img {
    width: 17px;
    height: 17px;
    border: 0;
}

/* ==========================================================================
   TESTIMONIALS — "Testimoni Pelanggan": Indonesia home-page card UI in a
   2-up carousel (functionality like enago.com "What Our Clients Say")
   ========================================================================== */

.vh-testimonials {
    padding: 101px 0 72px;
}

.vh-heading-2line {
    line-height: 1.32;
}

.vh-testi-zone {
    position: relative;
    max-width: 1140px;
    margin: 45px auto 0;
}

.vh-testi-viewport {
    overflow: hidden;
    width: 100%;
}

.vh-testi-track {
    display: flex;
    align-items: stretch;
    gap: 24px;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.vh-testi-card {
    flex: 0 0 calc(50% - 12px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
    padding: 20px;
    text-align: left;
}

.vh-testi-quotebox {
    flex: 1;
    background: #fff9e8;
    border-radius: 8px;
    padding: 26px 24px;
}

.vh-testi-qmark {
    display: block;
    margin-bottom: 16px;
}

.vh-testi-quote {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    color: #333;
}

.vh-testi-person {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 4px 6px;
}

.vh-testi-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.vh-testi-who {
    flex: 1;
    min-width: 0;
}

.vh-testi-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--vh-ink);
}

.vh-testi-role {
    font-size: 13.5px;
    font-weight: 400;
    color: var(--vh-body);
    opacity: .7;
    margin-top: 2px;
}

.vh-testi-univ {
    max-width: 130px;
    max-height: 48px;
    object-fit: contain;
    flex: 0 0 auto;
}

.vh-testi-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50.6px;
    height: 50.6px;
    border-radius: 50%;
    z-index: 3;
    transition: transform .25s ease;
}

.vh-testi-arrow:hover {
    transform: translateY(-50%) scale(1.08);
}

.vh-testi-arrow img {
    display: block;
    width: 100%;
    height: 100%;
}

.vh-testi-prev {
    left: -25px;
}

.vh-testi-prev img {
    transform: scaleX(-1);
}

.vh-testi-next {
    right: -25px;
}

/* ==========================================================================
   RESPONSIVE — desktop (Figma-exact 1080) / laptop / tablet / mobile
   ========================================================================== */

@media (max-width: 1120px) {
    .vh-hero-copy {
        padding-left: 40px;
        width: 360px;
    }

    .vh-tabs-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .vh-cards-outer {
        padding-left: 24px;
    }
}

@media (max-width: 991px) {
    .vh-hero-inner {
        flex-direction: column;
        min-height: 0;
        padding-bottom: 40px;
    }

    .vh-hero-copy {
        padding: 56px 24px 0;
        width: 100%;
        text-align: center;
    }

    .vh-hero-copy h1,
    .vh-hero-copy p {
        text-align: center !important;
    }

    .vh-hero-title,
    .vh-hero-sub {
        max-width: none;
    }

    .vh-hero-title {
        font-size: 40px;
    }

    .vh-hero-cards {
        margin: 36px auto 0;
        padding: 0 24px;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .vh-hero-cards::-webkit-scrollbar {
        display: none;
    }

    .vh-hero-card {
        height: 420px;
    }

    .vh-hero-card.is-featured {
        width: 280px;
    }

    .vh-hero-fade {
        display: none;
    }

    .vh-heading {
        font-size: 36px;
    }

    .vh-tabs {
        width: 100%;
        margin-left: 0;
    }

    .vh-insight {
        width: 180px;
        height: 300px;
    }

    .vh-insight.is-featured {
        width: 280px;
        height: 420px;
    }

    .vh-testi-zone {
        margin-left: 24px;
        margin-right: 24px;
    }

    .vh-testi-prev {
        left: -12px;
    }

    .vh-testi-next {
        right: -12px;
    }
}

@media (max-width: 767px) {
    .vh-hero-copy {
        padding-top: 44px;
    }

    .vh-hero-title {
        font-size: 34px;
        letter-spacing: -0.68px;
    }

    .vh-hero-card {
        height: 360px;
        width: 78px;
    }

    .vh-hero-card.is-featured {
        width: 240px;
    }

    .vh-heading {
        font-size: 28px;
        padding: 0 20px;
    }

    .vh-subheading {
        font-size: 15px;
        padding: 0 20px;
    }

    .vh-tabs {
        height: 54px;
        gap: 22px;
    }

    .vh-tab {
        font-size: 14px;
        padding: 12px;
    }

    .vh-cards-fade,
    .vh-cards-next {
        display: none;
    }

    .vh-insights {
        padding-top: 64px;
    }

    .vh-insights-row {
        gap: 8px;
        min-height: 0;
        margin-top: 32px;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 16px;
        scrollbar-width: none;
    }

    .vh-insights-row::-webkit-scrollbar {
        display: none;
    }

    .vh-insight {
        width: 140px;
        height: 230px;
    }

    .vh-insight.is-featured {
        width: 220px;
        height: 330px;
    }

    .vh-insight-caption p {
        font-size: 16px;
        max-width: 190px;
    }

    .vh-insights-note {
        padding: 0 24px;
        font-size: 14px;
    }

    .vh-speakers {
        margin-top: 64px;
        padding: 44px 0 40px;
    }

    .vh-marquee-zone {
        margin-top: 34px;
        gap: 22px;
    }

    .vh-pill {
        height: 70px;
        padding: 10px 18px;
        gap: 12px;
    }

    .vh-pill-avatar {
        width: 46px;
        height: 46px;
    }

    .vh-pill-speaker strong {
        font-size: 14px;
    }

    .vh-pill-speaker em {
        font-size: 11px;
    }

    .vh-pill-stat strong {
        font-size: 18px;
    }

    .vh-pill-stat em {
        font-size: 11.5px;
    }

    .vh-chip {
        width: 56px;
        height: 56px;
    }

    .vh-testimonials {
        padding: 64px 0 56px;
    }

    .vh-testi-zone {
        margin-left: 16px;
        margin-right: 16px;
    }

    .vh-testi-track {
        gap: 14px;
    }

    .vh-testi-card {
        flex-basis: 100%;
        padding: 14px;
    }

    .vh-testi-quotebox {
        padding: 20px 18px;
    }

    .vh-testi-quote {
        font-size: 14px;
    }

    .vh-testi-arrow {
        width: 40px;
        height: 40px;
    }

    .vh-testi-prev {
        left: -8px;
    }

    .vh-testi-next {
        right: -8px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .vh-marquee-track,
    .vh-strip,
    .vh-testi-track,
    .vh-hero-card,
    .vh-insight {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   .vh-mini — compact 457px Video Hub hero used as a HOME-PAGE banner slide.
   Pins fixed sizes at every viewport (double-class specificity beats the
   ≥1081px vw-scaling block used by the full hero on video.htm).
   Whole slide navigates to video.htm (see video.js); card carousel unchanged.
   ========================================================================== */

.vh-mini {
    cursor: pointer;
    height: 100%;
}

.vh-mini .vh-hero {
    height: 100%;
}

.vh-mini .vh-hero-inner {
    max-width: 1140px;
    height: 457px;
}

.vh-mini .vh-hero-copy {
    padding: 0;
    align-self: center;
}

.vh-mini .vh-hero-title {
    font-size: 40px;
    letter-spacing: -0.8px;
    max-width: 100%;
}

.vh-mini .vh-hero-sub {
    font-size: 14px;
    max-width: 340px;
    margin-top: 6px;
}

/* !important shields the button from the legacy `.banner_section .carousel a`
   rules on the home page (display/width/font-size/padding overrides) */
.vh-mini .vh-hero-copy .vh-btn {
    display: inline-flex !important;
    width: auto !important;
    margin-top: 27px !important;
    font-size: 20px !important;
    padding: 14px 20px !important;
    border-radius: 5px !important;
    letter-spacing: -0.2px;
    top: auto !important;
}

.vh-mini .vh-hero-cards {
    gap: 10px;
    padding-top: 19px;
    margin-right: 0;
}

.vh-mini .vh-hero-card {
    width: 82px;
    height: 415px;
    border-radius: 20px;
}

.vh-mini .vh-hero-card.is-featured {
    width: 277px;
}

.vh-mini .vh-hero-shade {
    border-radius: 20px;
}

.vh-mini .vh-hero-caption {
    left: 24px;
    bottom: 31px;
}

.vh-mini .vh-hero-name {
    font-size: 18px;
}

.vh-mini .vh-hero-role {
    font-size: 14px;
    max-width: 220px;
}

.vh-mini .vh-hero-fade {
    width: 80px;
    display: block;
}

/* Inside the 457px slide there is no room to stack copy + cards on small
   screens: center the copy and drop the card cluster like the other banners */
@media (max-width: 991px) {
    .vh-mini .vh-hero-inner {
        flex-direction: column;
        min-height: 457px;
        height: 457px;
        padding-bottom: 0;
    }

    .vh-mini .vh-hero-copy {
        padding: 90px 24px 0;
        width: 100%;
        text-align: center;
    }

    .vh-mini .vh-hero-copy h1,
    .vh-mini .vh-hero-copy p {
        text-align: center !important;
    }

    .banner-link-wrap {
        text-align: center !important;
        padding-right: 0 !important;
    }

    .vh-mini .vh-hero-title,
    .vh-mini .vh-hero-sub {
        max-width: none;
    }

    .vh-mini .vh-hero-cards,
    .vh-mini .vh-hero-fade {
        display: none;
    }
}

/* ==========================================================================
   UCAPAN TERIMA KASIH (Acknowledgement) — Figma: white band, 90px padding,
   50px gap; heading Open Sans 600 36/44 #283341; 1056px column of cards
   (30px gap), card = #FAF8F5, 1px #E9EAEB, r10, 28x32 padding, 28px gap
   ========================================================================== */

/* real 'Open Sans' (Google, all weights) so 600/700 aren't faux-bolded by the
   site-wide 'OpenSans-Regular' !important override in open-sans-global.css */
.vh-ack,
.vh-ack * {
    font-family: 'Open Sans', sans-serif !important;
}

.vh-ack {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
    gap: 30px;
    background: #fff;
}

.vh-ack-heading {
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    color: #283341;
    text-align: center;
}

/* the .lv1 heading class brings a 30px !important bottom margin — the section's
   flex gap already provides the 30px, so cancel the margin to avoid 60px total */
.vh-ack .lv1 {
    margin-bottom: 0 !important;
}

.vh-ack-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 1056px;
    max-width: calc(100% - 40px);
}

.vh-ack-card {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 28px 32px;
    background: #FAF8F5;
    border: 1px solid #E9EAEB;
    border-radius: 10px;
}

/* left rail: journal cover + impact factor */
.vh-ack-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 0 0 120px;
}

.vh-ack-cover {
    position: relative;
    width: 120px;
    height: 160px;
}

/* The default cover PNG is a clean 3:4 aspect ratio card.
   We scale it to 120x160 and apply the border/shadow in CSS. */
.vh-ack-cover img {
    position: absolute;
    left: 0;
    top: 0;
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    border: 1.5px solid #FFFFFF;
    box-shadow: 0 4px 24px rgba(40, 51, 66, .15);
    max-width: none;
}

.vh-ack-impact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.vh-ack-impact-label {
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #283342;
}

.vh-ack-impact-value {
    padding: 4px 14px;
    background: #283342;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    line-height: 22px;
    color: #fff;
}

/* right column: quote, thanks line, divider, authors */
.vh-ack-body {
    flex: 1;
    min-width: 0;
}

.vh-ack-quote {
    max-width: 779px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #283342;
}

.vh-ack-quote-icon {
    width: 32px;
    height: 32px;
    margin-right: 6px;
    vertical-align: -9px;
}

.vh-ack-quote a,
.vh-ack-thanks a {
    color: #2563eb;
    text-decoration: underline;
}

.vh-ack-quote a:hover,
.vh-ack-thanks a:hover {
    color: #1d4ed8;
}

.vh-ack-thanks {
    margin-top: 16px;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #283342;
}

.vh-ack-meta {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #E9EAEB;
}

.vh-ack-authors {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #283342;
}

.vh-ack-uni {
    margin-top: 4px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #787E88;
}

/* JSON-driven covers: real publisher photos have no baked-in border/shadow
   like the local PNGs, so they fill the 120x160 box and get the frame in CSS;
   default.png keeps the oversized baked-shadow layout above */
.vh-ack-cover.is-photo img {
    position: static;
    width: 120px;
    height: 160px;
    /* contain, not cover: publisher images are logos/photos of any aspect
       ratio — cover crops wide logos (Elsevier, IWA...) into fragments */
    object-fit: contain;
    padding: 8px;
    border-radius: 8px;
    border: 1.5px solid #E9EAEB;
    box-shadow: 0 4px 24px rgba(40, 51, 66, .12);
    background: #fff;
}

/* infinite-scroll sentinel under the list: invisible trigger zone with a
   spinner that only shows while the next page is being fetched */
.vh-ack-sentinel {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 48px;
}

.vh-ack-loader {
    width: 32px;
    height: 32px;
    border: 3px solid #E9EAEB;
    border-top-color: #BE2026;
    border-radius: 50%;
    opacity: 0;
    animation: vh-ack-spin .8s linear infinite;
}

.vh-ack-sentinel.is-loading .vh-ack-loader {
    opacity: 1;
}

@keyframes vh-ack-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    .vh-ack {
        padding: 60px 0;
        gap: 30px;
    }

    .vh-ack-heading {
        font-size: 28px;
        line-height: 36px;
    }

    .vh-ack-card {
        flex-direction: column;
        align-items: center;
    }

    .vh-ack-body {
        width: 100%;
    }
}