﻿/*
 * Extracted from css/widget.css, lines 55571-55701
 * Region label: cb008
 */
    /*#region  cb008*/


    .kse.home.cb008 .swiper-pagination .swiper-pagination-bullet {
        border: 2px solid #fff;
        width: 10px;
        height: 10px;
        margin: 5px 7px;
        background: #d6d6d6;
        -webkit-backface-visibility: visible;
        transition: opacity 200ms ease;
        border-radius: 30px;
        width: 13px;
        height: 13px;
        margin-left: 12px;
        margin-right: 12px;
        background: transparent;
        border: 2px solid #8F8F8F;
        opacity: unset;
    }

        .kse.home.cb008 .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
            border: 2px solid transparent;
            background: #ffd400;
            border: unset
        }

    @media (max-width: 767px) {
        .kse.home.cb008 .interest .swiper-pagination {
            position: absolute;
            bottom: 40px;
            left: 0;
            right: 0;
            margin: 0 auto;
        }
    }

    .kse.home.cb008 .container-interest {
        max-width: 1170px;
        margin: 0 auto;
    }

    @media (max-width: 767px) {
        .kse.cb008 .card.card-highlight .card-body {
            padding-left: 16px;
            padding-right: 16px;
            min-height: 210px;
        }
    }

    .kse.home.cb008 .interest {
        height: 388px;
        max-height: 100%;
    }

    @media (max-width: 767px) {
        .kse.home.cb008 .interest {
            height: auto;
            max-height: 100%;
        }

        .cb008 .card.card-highlight picture:after {
            display: none;
        }
    }

    @media (min-width: 768px) {
        .cb008 .card.card-highlight {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
    }

    @media (min-width: 767px) {
        .cb008 .swiper-pagination {
            display: none;
        }

        .cb008 .card.card-highlight picture:before {
            content: ' ';
            background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(34, 34, 34, 0) 100%);
            width: 100%;
            height: 40px;
            position: absolute;
            bottom: -40px;
        }

        .cb007 .swiper-horizontal > .swiper-pagination-bullets,
        .cb007 .swiper-pagination-bullets.swiper-pagination-horizontal,
        .cb007 .swiper-pagination-custom,
        .cb007 .swiper-pagination-fraction {
            bottom: var(--swiper-pagination-bottom, 48px);
            top: var(--swiper-pagination-top, auto);
            left: 0;
            width: 100%;
        }
    }


    /* ผูกกับ id ตรง ๆ — วิวของ CB-008 ต้องคง id="bannerHighlight" ไว้ตามเดิม ห้ามต่อ widget id ท้ายชื่อ */
    div#bannerHighlight {
        margin-top: -40px;
    }

    @media (max-width: 767px) {
        div#bannerHighlight {
            margin-top: 0 !important;
        }
    }

    
.cb008 p.card-text {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* จำกัดที่ 2 บรรทัด */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
    /*#endregion  cb008*/
