/* COMPANY/P2 /posts — layout trang chu NEWS/P1 */
.company-p2-body { --ola-layout-max: var(--p1-container); --ola-layout-pad-x: var(--p1-gutter); --ola-section-pad-y: 24px; --ola-section-pad-x: var(--p1-gutter); --ola-bg-muted: #eef2f7; }
.company-p2-body:has(.ola-home-section) #p1Header { background: rgba(0, 84, 220, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: var(--p1-border); box-shadow: 0 8px 30px rgba(0, 40, 120, .3); }
.ola-home-section { padding: calc(var(--p1-header-h) + 12px) var(--p1-gutter) 24px !important; font-family: var(--p10-news-font, inherit); }
.ola-home-section .visually-hidden { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important; }
.ola-home-section .border_section { display:flex; align-items:center; gap:10px; flex-wrap:nowrap; min-height:30px; }
.ola-home-section .border_section__icon-wrap { flex:0 0 30px; width:30px; height:30px; border-radius:50%; overflow:hidden; display:inline-flex; align-items:center; justify-content:center; }
.ola-home-section .border_section__icon--img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.ola-home-section .border_section__icon--fa { font-size:15px; color: var(--p1-brand-1); }
.ola-home-section .border_section__label { flex:1 1 auto; min-width:0; line-height:1.25; }

        .ola-home-slider-row {
            margin-left: 0 !important;
            margin-right: 0 !important;
        }

        .ola-home-slider-col {
            padding-left: 0 !important;
            padding-right: 0 !important
        }

            .ola-home-slider-col > .top__news__slider {
                width: 100% !important;
                max-width: none !important
            }

        .top__news__slider, .article__entry-carousel {
            position: relative;
            width: 100%;
            max-width: 100%
        }

            .top__news__slider .slick-list {
                width: 100% !important;
                margin: 0 !important;
                padding: 0 !important
            }

            .top__news__slider.slick-initialized, .article__entry-carousel.slick-initialized {
                overflow: visible !important
            }

            .top__news__slider .slick-list, .article__entry-carousel .slick-list {
                overflow: hidden !important
            }

            .top__news__slider .slick-prev, .top__news__slider .slick-next, .article__entry-carousel .slick-prev, .article__entry-carousel .slick-next {
                z-index: 40 !important
            }

            .top__news__slider .slick-dots,
            .article__entry-carousel .slick-dots {
                display: none !important;
                visibility: hidden !important;
                height: 0 !important;
                margin: 0 !important;
                padding: 0 !important;
                overflow: hidden !important
            }

            .top__news__slider .article__entry, .article__entry-carousel .article__entry {
                display: flex !important;
                flex-direction: column !important;
                height: 100% !important
            }

            .top__news__slider .article__content, .article__entry-carousel .article__content {
                min-height: 72px !important;
                max-height: 72px !important;
                overflow: hidden !important;
                margin-top: 10px !important
            }

                .top__news__slider .article__content .title-clamp, .top__news__slider .article__content .title-clamp a, .article__entry-carousel .article__content .title-clamp, .article__entry-carousel .article__content .title-clamp a {
                    min-height: 72px !important;
                    max-height: 72px !important;
                    -webkit-line-clamp: 3 !important
                }

            .top__news__slider .article__image, .article__entry-carousel .article__image {
                display: block !important;
                width: 100% !important;
                position: relative !important;
                overflow: hidden !important;
                flex-shrink: 0;
                aspect-ratio: 16 / 11;
                min-height: 120px;
                background: #eef2f7;
            }

                .top__news__slider .article__image > a, .article__entry-carousel .article__image > a {
                    position: absolute !important;
                    inset: 0 !important;
                    overflow: hidden !important
                }

                .top__news__slider .article__image img, .article__entry-carousel .article__image img {
                    position: absolute !important;
                    inset: 0 !important;
                    width: 100% !important;
                    height: 100% !important;
                    max-width: 100% !important;
                    object-fit: cover !important
                }

        .ola-trending-strip {
            margin-bottom: .75rem !important
        }

        .ola-trending-strip__card {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            padding: 0;
            border: 0px solid rgba(220,53,69,.18);
            border-left: 0px solid #e53935;
            position: relative;
            overflow: hidden;
        }

        .ola-trending-strip__body {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: center;
            gap: 14px 16px;
            padding: 5px 12px 5px 0px;
            width: 100%;
            position: relative;
            z-index: 1;
        }

        .ola-trending-col--news {
            min-width: 0;
        }

        .ola-trending-col--util {
            flex-shrink: 0;
            min-width: 0;
        }

        .ola-trending-util {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            flex-wrap: wrap;
            gap: 8px 12px;
            font-size: 12px;
            color: #475569;
        }

        .ola-trending-util__fx {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: nowrap;
        }

        .ola-trending-util__fx-row {
            display: inline-flex;
            align-items: baseline;
            gap: 5px;
            white-space: nowrap;
        }

        .ola-trending-util__fx-tag {
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.02em;
            text-transform: uppercase;
            color: #64748b;
            padding: 2px 6px;
            border-radius: 4px;
            background: #f1f5f9;
        }

        .ola-trending-util__fx-tag--usd {
            color: #15803d;
            background: rgba(22, 163, 74, 0.1);
        }

        .ola-trending-util__fx-tag--eur {
            color: #1d4ed8;
            background: rgba(37, 99, 235, 0.1);
        }

        .ola-trending-util__fx-val {
            font-weight: normal;
            color: #0f172a;
            font-variant-numeric: tabular-nums;
        }

        .ola-trending-util__fx-val span[aria-hidden="true"] {
            margin: 0 2px;
            font-weight: 500;
            color: #94a3b8;
        }

        .ola-trending-util__sep {
            width: 1px;
            height: 22px;
            background: #e2e8f0;
            flex-shrink: 0;
        }

        /* Reset nút tip ngay trong trang — không chờ lazy CSS */
        .ola-trending-util__tip {
            display: inline-flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 5px 6px;
            margin: 0;
            padding: 0;
            border: 0 !important;
            border-radius: 0 !important;
            outline: none !important;
            box-shadow: none !important;
            background: transparent !important;
            -webkit-appearance: none !important;
            appearance: none !important;
            font: inherit;
            font-size: 12px;
            line-height: 1.45;
            color: #475569;
            cursor: pointer;
            text-align: left;
            max-width: 100%;
        }
        .ola-trending-util__tip-ico {
            color: #ea580c;
            font-size: 13px;
        }
        .ola-trending-util__tip-label { color: #64748b; font-weight: 500; }
        .ola-trending-util__tip-phone {
            color: orangered;
            font-weight: 700;
            white-space: nowrap;
        }

        .ola-trending-strip__card::before {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);
            transform: translateX(-120%);
            animation: olaTrendingShine 6s ease-in-out infinite;
        }

        @keyframes olaTrendingShine {
            0%,100% {
                transform: translateX(-120%)
            }

            45%,55% {
                transform: translateX(120%)
            }
        }

        .ola-trending-main {
            display: flex;
            align-items: center;
            flex: 1;
            min-width: 0;
            gap: 6px;
            position: relative;
            z-index: 1
        }

        .ola-trending-track-wrap {
            flex: 1;
            min-width: 0;
            position: relative
        }

        #ola-trending-slider.ola-trending-track {
            position: relative;
            height: 30px;
            overflow: hidden
        }

        .ola-trending-item {
            position: absolute;
            left: 0;
            right: 6px;
            top: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            gap: 8px;
            opacity: 0;
            transform: translateY(110%);
            pointer-events: none;
            transition: opacity .5s cubic-bezier(.4,0,.2,1),transform .5s cubic-bezier(.4,0,.2,1);
        }

            .ola-trending-item.is-active {
                opacity: 1;
                transform: translateY(0);
                pointer-events: auto
            }

            .ola-trending-item.is-leave {
                opacity: 0;
                transform: translateY(-110%)
            }

        .ola-trending-item__chip {
            flex-shrink: 0;
            font-size: 10px;
            font-weight: 700;
            line-height: 1;
            padding: 3px 7px;
            border-radius: 4px;
            color: #c62828;
            background: rgba(229,57,53,.12);
            border: 1px solid rgba(229,57,53,.25);
        }

        .ola-trending-item__time {
            flex-shrink: 0;
            font-size: 11px;
            font-weight: 600;
            color: #6b7280;
            margin-right: 8px;
            white-space: nowrap;
            font-variant-numeric: tabular-nums;
        }

        .ola-trending-item__link {
            flex: 1;
            min-width: 0;
            font-size: 14px;
            font-weight: 600;
            line-height: 1.35;
            color: #4669bf;
            text-decoration: none !important;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            transition: color .2s ease;
        }

            .ola-trending-item__link:hover {
                color: orangered
            }

        .ola-trending-item__arrow {
            flex-shrink: 0;
            font-size: 11px;
            color: #e53935;
            opacity: .85;
            transition: transform .25s ease
        }

        .ola-trending-item.is-active .ola-trending-item__arrow {
            animation: olaTrendingArrow 1s ease-in-out infinite
        }

        @keyframes olaTrendingArrow {
            0%,100% {
                transform: translateX(0)
            }

            50% {
                transform: translateX(4px)
            }
        }

        .ola-trending-progress {
            flex: 0 0 auto;
            width: 100%;
            height: 3px;
            margin-left: -15px;
            border-radius:3px;
            overflow: hidden;
            position: relative;
            z-index: 2;
        }

        .ola-trending-progress--section-top {
            margin-top: 0;
            margin-bottom: .5rem;
            background: rgb(126 156 244 / 0%);
        }

        .ola-trending-progress__bar {
            display: block;
            height: 100%;
            width: 0;
            max-width: 100%;
            background: linear-gradient(90deg,#6a98f0 0%,#628ef8 35%,#fff 100%);
            border-radius: 0;
        }

            .ola-trending-progress__bar.is-running {
                width: 100%;
                transition: width 9s linear
            }

        .ola-trending-wrap.is-paused .ola-trending-progress__bar {
            transition: none !important
        }

        @media (max-width:1199.98px) {
            .ola-trending-util__fx {
                display: none;
            }

            .ola-trending-util__sep:first-of-type {
                display: none;
            }
        }

        @media (max-width:991.98px) {
            .ola-trending-strip__body {
                grid-template-columns: 1fr;
                padding: 8px 10px;
                gap: 10px;
            }

            .ola-trending-col--util {
                padding-top: 8px;
                border-top: 1px solid #f1f5f9;
            }

            .ola-trending-util {
                justify-content: flex-start;
            }

            .ola-trending-item__link {
                font-size: 13px
            }
        }

        @media (prefers-reduced-motion:reduce) {
            .ola-trending-strip__card::before, .ola-trending-item__arrow {
                animation: none !important
            }

            .ola-trending-item {
                transition: none !important
            }
        }
.custom-container {
    max-width: var(--ola-layout-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--ola-layout-pad-x);
    padding-right: var(--ola-layout-pad-x);
    width: 100%;
    box-sizing: border-box;
}
.ola-section-bleed-x {
    margin-left: calc(-1 * var(--ola-section-pad-x));
    margin-right: calc(-1 * var(--ola-section-pad-x));
    width: calc(100% + 2 * var(--ola-section-pad-x));
    max-width: none;
    box-sizing: border-box;
}
.hero-card > a,
.image-sm-box > a,
.article__image > a,
.card__post > a,
.col-md-5.p-0.d-flex > a {
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    background-color: var(--ola-bg-muted);
    border-radius: var(--md-radius) !important;
}

    .hero-card img,
    .image-sm-box img,
    .article__image img,
    .card__post > a > img,
    .col-md-5.p-0.d-flex > a > img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
        border-radius: 0 !important;
        transition: transform 0.4s ease !important;
    }

/* Ảnh bài viết — luôn co theo cột (không phụ thuộc ola-home.css shared) */
.ola-post-img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    object-fit: cover;
    border-radius: var(--p1-media-radius);
    background-color: var(--ola-bg-muted, #eef2f7);
}

.ola-post-img--5x3 {
    aspect-ratio: 5 / 3;
}

.ola-post-img--4x3 {
    aspect-ratio: 4 / 3;
}

.ola-post-img--1x1 {
    aspect-ratio: 1 / 1;
}

.ola-post-img--6x5 {
    aspect-ratio: 6 / 5;
}

/* Sidebar (Blog, v.v.): ảnh nổi bật full-width cột, không tràn 520px */
aside.wrapper__list__article .ola-sidebar-feature .article__image {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    border-radius: var(--md-radius);
    background-color: var(--ola-bg-muted, #eef2f7);
}

    aside.wrapper__list__article .ola-sidebar-feature .article__image > a {
        position: absolute;
        inset: 0;
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
    }

    aside.wrapper__list__article .ola-sidebar-feature .article__image img {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        aspect-ratio: unset !important;
        border-radius: 0 !important;
    }

aside.wrapper__list__article .ola-sidebar-feature .article__content {
    padding: 8px 0 0 !important;
}

.hero-large .hero-title a {
    font-size: 22px !important;
    line-height: 1.4 !important;
    color: #fff !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.hero-small .hero-title a {
    font-size: 16px !important;
    color: #fff !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
/* TIN NỔI BẬT — 2 cột độc lập 75% / 25%, xếp dọc không khoảng trống */
#featured-post-container {
    --ola-featured-col-gap: 28px;
    --ola-featured-item-gap: 18px;
    --ola-featured-media-text-gap: 18px;
    --ola-featured-stack-gap: 10px;
    width: 100%;
}

.ola-featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    column-gap: var(--ola-featured-col-gap);
    align-items: start;
}

.ola-featured-col--main,
.ola-featured-col--side {
    display: flex;
    flex-direction: column;
    gap: var(--ola-featured-item-gap);
    min-width: 0;
}

    .ola-featured-col--main .ola-featured-item:not(:last-child),
    .ola-featured-col--side .ola-featured-item:not(:last-child) {
        padding-bottom: var(--ola-featured-item-gap);
        border-bottom: 1px solid #edf2f7;
    }

.ola-featured-item {
    display: grid;
    min-width: 0;
}

.ola-featured-item__media {
    min-width: 0;
}

.ola-featured-item__thumb {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: var(--p1-media-radius);
    line-height: 0;
}

    .ola-featured-item__thumb img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: var(--p1-media-radius);
    }

.ola-featured-item__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
}

#featured-post-container .ola-featured-item__title.title-clamp,
#featured-post-container .ola-featured-item__title.title-clamp a {
    min-height: 0 !important;
    margin-bottom: 0 !important;
}

.ola-featured-item__title {
    margin: 0 !important;
    font-size: 16px;
    line-height: 1.45 !important;
}

    .ola-featured-item__title a {
        text-decoration: none;
    }

        .ola-featured-item__title a:hover {
            color: var(--md-primary, #3c71ee) !important;
        }

#featured-post-container .ola-featured-desc {
    margin-top: 0 !important;
}

/* Cột trái (75%): ảnh trái 4:3 — tiêu đề + mô tả phải */
.ola-featured-item--main {
    grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
    column-gap: var(--ola-featured-media-text-gap);
    align-items: start;
}

    .ola-featured-item--main .ola-featured-item__media {
        aspect-ratio: 4 / 3;
    }

    .ola-featured-item--main .ola-featured-item__thumb img {
        aspect-ratio: 4 / 3;
        height: 100%;
    }

    .ola-featured-item--main .ola-featured-item__title,
    .ola-featured-item--main .ola-featured-item__title a {
        font-size: 16px;
        -webkit-line-clamp: 3 !important;
    }

#featured-post-container .ola-featured-item--main .ola-featured-desc {
    -webkit-line-clamp: 2 !important;
}

/* Cột phải (25%): ảnh 6:5 trên — tiêu đề dưới */
.ola-featured-item--side-bottom {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    row-gap: var(--ola-featured-stack-gap);
}

    .ola-featured-item--side-bottom .ola-featured-item__media {
        grid-row: 1;
        width: 100%;
    }

    .ola-featured-item--side-bottom .ola-featured-item__thumb {
        aspect-ratio: 6 / 5;
    }

        .ola-featured-item--side-bottom .ola-featured-item__thumb img {
            aspect-ratio: 6 / 5;
            width: 100%;
            height: auto;
            object-fit: cover;
        }

    .ola-featured-item--side-bottom .ola-featured-item__body {
        grid-row: 2;
        display: block;
        padding-top: 2px;
    }

    .ola-featured-item--side-bottom .ola-featured-item__title,
    .ola-featured-item--side-bottom .ola-featured-item__title a {
        font-size: 13px;
        line-height: 1.38 !important;
        min-height: 0 !important;
        -webkit-line-clamp: 3 !important;
        display: -webkit-box !important;
    }

@media (max-width: 991.98px) {
    #featured-post-container {
        --ola-featured-col-gap: 22px;
        --ola-featured-item-gap: 16px;
        --ola-featured-media-text-gap: 14px;
    }
}

@media (max-width: 767.98px) {
    .ola-featured-grid {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .ola-featured-col--main .ola-featured-item:not(:last-child),
    .ola-featured-col--side .ola-featured-item:not(:last-child) {
        padding-bottom: 16px;
    }

    .ola-featured-item--main {
        grid-template-columns: minmax(0, 32%) minmax(0, 1fr);
    }

        .ola-featured-item--main .ola-featured-item__title,
        .ola-featured-item--main .ola-featured-item__title a,
        .ola-featured-item--side-bottom .ola-featured-item__title,
        .ola-featured-item--side-bottom .ola-featured-item__title a {
            font-size: 15px;
        }
}

.article__content {
    padding: 8px 0 0 0 !important;
    margin: 0 !important;
}

aside.wrapper__list__article {
    margin-bottom: 0 !important;
}

/* Cặp cột trang chủ (Sao Việt/Sao Quốc Tế, Âm Nhạc/Phim): luôn cùng chiều cao */
@media (min-width: 768px) {
    .ola-home-eq-row {
        align-items: stretch !important;
    }

    .ola-home-eq-row > [class*="col-"] {
        display: flex;
        flex-direction: column;
    }

    .ola-home-eq-row > [class*="col-"] > aside.wrapper__list__article {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        width: 100%;
        min-height: 100%;
    }

    .ola-home-eq-row aside.wrapper__list__article > .mt-3,
    .ola-home-eq-row aside.wrapper__list__article > .row.mt-3 {
        flex: 1 1 auto;
    }

    .ola-home-eq-row > .col-md-8 aside.wrapper__list__article > .row.mt-3 {
        align-items: stretch;
    }

    .ola-home-eq-row > .col-md-8 aside.wrapper__list__article > .row.mt-3 > [class*="col-"] {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .ola-home-eq-row > .col-md-8 aside.wrapper__list__article > .row.mt-3 .article__entry {
        margin-bottom: 0 !important;
    }

    .ola-home-eq-row > .col-md-4 aside.wrapper__list__article > .mt-3 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .ola-home-eq-row > .col-md-4 aside.wrapper__list__article > .mt-3 > .mb-3,
    .ola-home-eq-row > .col-md-4 aside.wrapper__list__article > .mt-3 .article__entry,
    .ola-home-eq-row > .col-md-4 aside.wrapper__list__article > .mt-3 .card__post {
        margin-bottom: 0 !important;
    }
}

/* Gutter giữa các thẻ slider — tránh dính sát nhau (giống NEWS/P1). */
.top__news__slider .item,
.article__entry-carousel .item {
    padding: 0 10px !important;
    outline: none !important;
    min-width: 0;
    box-sizing: border-box;
}

.ola-home-slider-col > .top__news__slider .item {
    padding: 0 10px !important;
}

.ola-home-slider-col > .top__news__slider.slick-initialized .slick-list {
    margin-left: -10px !important;
    margin-right: -10px !important;
    width: calc(100% + 20px) !important;
}

.ola-home-page .custom-container .article__entry-carousel {
    width: 100% !important;
    max-width: 100% !important;
}

    .ola-home-page .custom-container .article__entry-carousel .item {
        padding: 0 10px !important;
    }

    .ola-home-page .custom-container .article__entry-carousel.slick-initialized .slick-list {
        margin-left: -10px !important;
        margin-right: -10px !important;
        width: calc(100% + 20px) !important;
    }

.top__news__slider .slick-slide,
.article__entry-carousel .slick-slide {
    min-width: 0;
    height: auto;
    display: flex !important;
    align-items: stretch !important;
}

.top__news__slider .slick-track,
.article__entry-carousel .slick-track {
    display: flex !important;
    align-items: stretch !important;
}

.top__news__slider .slick-slide > div,
.article__entry-carousel .slick-slide > div,
.top__news__slider .item,
.article__entry-carousel .item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.top__news__slider .article__entry,
.article__entry-carousel .article__entry {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.top__news__slider .article__content,
.article__entry-carousel .article__content {
    flex: 0 0 auto;
    min-height: 72px;
    max-height: 72px;
    margin-top: 10px;
    overflow: hidden;
}

    .top__news__slider .article__content .title-clamp,
    .top__news__slider .article__content .title-clamp a,
    .article__entry-carousel .article__content .title-clamp,
    .article__entry-carousel .article__content .title-clamp a {
        min-height: 72px !important;
        max-height: 72px !important;
        margin: 0 !important;
        -webkit-line-clamp: 3 !important;
    }

.slick-prev, .slick-next {
    position: absolute !important;
    top: 40% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    z-index: 10 !important;
    transition: 0.3s !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    padding: 0 !important;
}

.top__news__slider .slick-prev,
.article__entry-carousel .slick-prev {
    left: 20px !important;
    z-index: 40 !important;
}

.top__news__slider .slick-next,
.article__entry-carousel .slick-next {
    right: 20px !important;
    z-index: 40 !important;
}

.top__news__slider .slick-dots,
.article__entry-carousel .slick-dots {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.ola-home-page .article__entry-carousel.slick-slider {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.slick-prev {
    left: 2px !important;
}

#heroSideCarousel .carousel-control-prev.custom-slider-btn,
#heroSideCarousel .carousel-control-next.custom-slider-btn,
.custom-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px !important;
    height: 40px !important;
    background-color: #ffffff !important;
    border-radius: 50% !important;
    opacity: 0.92 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 80;
    pointer-events: auto !important;
    transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease !important;
}

#heroSideCarousel .carousel-control-prev.custom-slider-btn {
    left: 10px !important;
}

#heroSideCarousel .carousel-control-next.custom-slider-btn {
    right: 10px !important;
}

/* Biểu tượng mũi tên màu đen */
.custom-slider-btn i {
    color: #1f1f1f;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Hiệu ứng khi rê chuột: Nền xanh, mũi tên trắng, hơi phóng to lên */
.custom-slider-btn:hover,
#heroSideCarousel .carousel-control-prev.custom-slider-btn:hover,
#heroSideCarousel .carousel-control-next.custom-slider-btn:hover {
    background-color: var(--md-primary) !important;
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.06);
}

    .custom-slider-btn:hover i {
        color: #ffffff;
    }

/* Đảm bảo nút không bị đè ở chế độ Mobile */
@media (max-width: 768px) {
    .custom-slider-btn {
        width: 32px !important;
        height: 32px !important;
        margin: 0 8px;
    }

        .custom-slider-btn i {
            font-size: 13px;
        }
}

/* Trang chủ: chốt pad đáy = 0 (thắng rule wrapper__section + media 767px) */
.ola-home-section.wrapper__section.ola-home-section,
.ola-home-section.wrapper__section:has(.ola-home-page) {
    padding-bottom: 10px !important;
    display: flow-root;
}

.ola-home-section.wrapper__section.ola-home-section .ola-ad-home-bottom-panel {
    margin-bottom: 0 !important;
}

/* FULL-BOTTOM Master trống: bỏ margin 16px để không tạo khe trắng dưới trang chủ */
.company-p2-body > .ola-master-bottom-ad-wrap:not(:has(.ola-ad-root)) {
    margin-top: 0 !important;
}

/* Khối cuối trang chủ (sau khi bỏ QC sát mép): ảnh 5:3, không khe xám dưới TV */
.ola-home-section.ola-home-section .ola-home-last-block {
    margin-bottom: 0;
}

.ola-home-section.ola-home-section .ola-home-last-carousel .article__image {
    aspect-ratio: 5 / 3;
    background: transparent;
}

.ola-home-section.ola-home-section .ola-home-last-carousel .article__image > a,
.ola-home-section.ola-home-section .ola-home-last-carousel .article__image img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.ola-home-section.ola-home-section .ola-home-last-carousel .slick-slide,
.ola-home-section.ola-home-section .ola-home-last-carousel .article__entry {
    height: auto !important;
}
.ola-home-section .article__image { position: relative; overflow: hidden; border-radius: var(--p1-media-radius, 8px); }
.ola-home-section .article__entry { margin-bottom: 0; }
.ola-home-sidebar-sticky {
    position: sticky;
    top: calc(var(--p1-sticky-top, var(--p1-header-h)) + 16px);
    transition: top .28s ease;
}
.ola-home-section .text-primary { color: var(--p1-brand-1) !important; }
.ola-trending-item__link { color: var(--p1-brand-1) !important; }
.ola-home-section .hero-card.hero-large, .ola-home-section .hero-card.hero-small { position: relative; overflow: hidden; border-radius: var(--p1-media-radius, 8px); }
.ola-home-section .hero-card.hero-large { aspect-ratio: 4/3; }
.ola-home-section .hero-card.hero-small { aspect-ratio: 4/3; flex: 1 1 auto; }
.ola-home-section .hero-card > a { display:block; height:100%; }
.ola-home-section .hero-card img { width:100%; height:100%; object-fit:cover; }
.ola-home-sidebar-weather-fx { display: none !important; }

/* Header P2 cố định: không kéo trending lên dưới menu. */
.ola-home-section .ola-trending-progress--section-top {
    margin-top: 0 !important;
}

/* TIN NỔI BẬT: không sát QC mid / khối trên. */
.ola-home-page [id$="Panel_TinNoiBat"] > .mt-4 {
    margin-top: 1.5rem !important;
}

/* Slick: hộp ảnh phải có chiều cao (ảnh position:absolute). */
.ola-home-page .top__news__slider .article__image,
.ola-home-page .article__entry-carousel .article__image {
    aspect-ratio: 16 / 11;
    min-height: 120px;
    background: #eef2f7;
}

/* Giữ min-height title slider (không override về 0 — tránh lệch hàng title 1 dòng vs 2 dòng). */
.ola-home-page .top__news__slider .article__content,
.ola-home-page .article__entry-carousel .article__content {
    min-height: 72px !important;
    max-height: 72px !important;
}

.ola-home-page .top__news__slider .article__content .title-clamp,
.ola-home-page .top__news__slider .article__content .title-clamp a,
.ola-home-page .article__entry-carousel .article__content .title-clamp,
.ola-home-page .article__entry-carousel .article__content .title-clamp a {
    min-height: 72px !important;
    max-height: 72px !important;
    -webkit-line-clamp: 3 !important;
}
