﻿
@font-face {
    font-family: "SVN Gotham";
    src: url("fonts/SVN-Gotham-Black.woff2") format("woff2"), url("fonts/SVN-Gotham-Black.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SVN Gotham";
    src: url("fonts/SVN-Gotham-Bold.woff2") format("woff2"), url("fonts/SVN-Gotham-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --ldp26-blue: #00A0E3;
    --ldp26-yellow: #FFF100;
    --ldp26-ink: #0B4EA2;
    /* hệ số scale desktop, JS ghi đè: min(1, vw/1920) */
    --ldp26-k: 1;
}

/*.ldp26-desk, .ldp26-desk *, .ldp26-desk *::before, .ldp26-desk *::after {
    box-sizing: border-box;
}*/

.ldp26-desk img {
    display: block;
    border: 0;
}

.ldp26-desk a {
    text-decoration: none;
}

/* Khung video dùng chung */
.ldp26-desk .ldp26-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--ldp26-vr,8px);
    border: var(--ldp26-vb,3px) solid #fff;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

    .ldp26-desk .ldp26-video-frame iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }

.ldp26-desk .ldp26-video-err {
    position: absolute;
    inset: 0;
    z-index: 6;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

/* ============================================================
   DESKTOP LAYOUT
   ============================================================ */
.ldp26-desk {
    font-family: "SVN Gotham",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    -webkit-font-smoothing: antialiased;
    background: #fff;
    overflow-x: hidden;
}

/* ---- Header site ---- */
.ldp26-desk-topbar {
    background: var(--ldp26-blue);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

    .ldp26-desk-topbar img {
        width: min(1200px,100%);
        height: auto;
    }

.ldp26-desk-navbar-wrap {
    display: flex;
    justify-content: center;
    background: linear-gradient(#4680C0 0 66.67%, #EDEEF3 66.67% 100%);
}

.ldp26-desk-navbar {
    width: 100%;
    max-width: 1920px;
    height: auto;
}

/* ---- Hero: sân khấu 1920 x 795, kéo cao full màn ---- */
.ldp26-desk-hero {
    position: relative;
    width: 100%;
    height: var(--ldp26-hero-h, calc(795px * var(--ldp26-k)));
    overflow: hidden;
    background: var(--ldp26-blue) url("images/ldp/desk-BG-desk.png") center bottom/100% auto no-repeat;
    max-width: 100%;
}

.ldp26-desk-base1 {
    position: absolute;
    left: 50%;
    margin-left: calc(-960px * var(--ldp26-k));
    bottom: var(--ldp26-base-bot, 0px);
    width: calc(1920px * var(--ldp26-k));
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.ldp26-desk-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--ldp26-base-bot, 0px);
    background: var(--ldp26-yellow);
    z-index: 1;
    pointer-events: none;
}

.ldp26-desk-safe {
    position: absolute;
    top: var(--ldp26-stage-top, 0px);
    left: 50%;
    width: 1920px;
    height: 795px;
    margin-left: -960px;
    transform: scale(var(--ldp26-k));
    transform-origin: top center;
    z-index: 2;
}

    .ldp26-desk-safe > * {
        position: absolute;
    }

/* ---------- cột trái ---------- */
.ldp26-desk-brand {
    left: 0;
    top: 0;
    width: 1920px;
    height: 0;
}

    .ldp26-desk-brand img {
        position: absolute;
    }

.ldp26-desk-logo {
    left: 388px;
    top: 47px;
    width: 217px;
    height: auto;
}

.ldp26-desk-day {
    left: 696px;
    top: 48px;
    width: 264.5px;
    height: auto;
}

.ldp26-desk-video {
    left: 387px;
    top: 207px;
    width: 553px;
    --ldp26-vr: 10px;
    --ldp26-vb: 6px;
}

/* ---------- cột phải ---------- */
.ldp26-desk-title {
    left: 970px;
    top: 19px;
    width: 588px;
    height: auto;
}

/* ---------- khu element dưới ---------- */
.ldp26-desk-km {
    left: 50%;
    bottom: 5px;
    top: auto;
    width: 1188.5px;
    margin-left: -594.25px;
    height: 200.5px;
}

.ldp26-desk-base2 {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    display: block;
}

.ldp26-desk-pill {
    position: absolute;
    left: 50%;
    margin-left: -421px;
    top: -43px;
    width: 842px;
    height: 62px;
    background: var(--ldp26-yellow);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 7px rgba(0,60,110,.20);
}

    .ldp26-desk-pill span {
        font-weight: 900;
        font-size: 45px;
        line-height: 1;
        letter-spacing: .2px;
        color: #2D3192;
        white-space: nowrap;
        /*transform: translateY(-6px);*/
    }

.ldp26-desk-km-item {
    position: absolute;
    top: 21.5px;
}

    .ldp26-desk-km-item img {
        width: 100%;
        height: auto;
    }

    .ldp26-desk-km-item.ldp26-km1 {
        left: -17.75px;
        width: 403px;
    }

    .ldp26-desk-km-item.ldp26-km2 {
        left: 319.25px;
        width: 352.5px;
    }

    .ldp26-desk-km-item.ldp26-km3 {
        left: 606.25px;
        width: 332.5px;
    }

    .ldp26-desk-km-item.ldp26-km4 {
        left: 875.25px;
        width: 332.5px;
        top: 20.5px;
    }

@media (min-width: 1024px) {
    .ldp26-desk-title {
        left: 970px;
        top: 19px;
        width: 588px;
        height: auto;
    }
}

@media (min-width: 1024px) {
    .ldp26-desk-safe > * {
        position: absolute;
    }
}
