.collapsed-content {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Hiện đúng 3 dòng rồi dừng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.expanded-content {
    display: block !important;
    -webkit-line-clamp: unset !important;
    transition: all 0.3s ease;
}

.pcg-arrow {
    display: inline-block;
    transition: transform 0.2s;
}
.pcg-responsive-slider-wrap {
    margin-bottom: 48px;
}
.pcg-desc-wrapper {
    max-width: 373px;
    word-wrap: normal;
}
.pcg-responsive-slider-wrap:last-child {
    margin-bottom: 0px;
}
.pcg-container {
    background-color:#fff; font-family: "Poppins",sans-serif; }
.pcg-category-title {
    margin-bottom:20px; 
    display:flex; 
    align-items:center; 
    gap:10px;
    color:  #1C0F13;
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px; 
    }
.pcg-cat-deco { 
    width:24px; 
    height:4px; 
    background: linear-gradient(98deg, #FFE8AA 0.33%, #F3D27A 93.35%);
    display:inline-block; 
    border-radius:0px;
    margin-right:0px; 
    }

.pcg-card { 
    display:flex; 
    gap:24px; 
    align-items:stretch; 
    background:#fff; 
    padding:0; 
}
 
.pcg-card-left {
     display:flex; 
     align-items:center; 
     justify-content:center; 
     background:transparent; 
     position: sticky; 
     top: 0;
}
@media (min-width:992px) {
.pcg-card .pcg-card-left {
     width: 187px;
}
}
.pcg-logo-container {
     width: 100%; 
     aspect-ratio: 1/1; 
     overflow: hidden; 
     background: #fff;
}
.pcg-logo {

    width: 100%;
    height: auto; 
    object-fit: contain;
    aspect-ratio: 1/1; overflow: hidden;
    display: block;
}

.pcg-noimg { width:100%; height:187px; display:flex; align-items:center; justify-content:center; background:#f6f6f6; color:#777; font-weight:600; text-align:center; padding:8px; }

.pcg-card-body { width:72%; display:flex; flex-direction:column; }
.pcg-title {
    color: #1C0F13;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
 }
.pcg-link { 
    margin:0 0 12px 0;
    color: #5F5F5F;
    font-family: Poppins;
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    line-height: 24px;
    word-wrap: break-word;
    overflow-wrap: break-word; 
    word-break: break-all; 
}
.pcg-link a {
    color: #5F5F5F;
    font-family: Poppins;
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    line-height: 24px;     
}
span.pcg-dots-sp {
    position:absolute;
    display: none;
}
span.pcg-dots {
    position:absolute;
}
.pcg-desc { 
    margin-bottom:10px;
    color: #6B7280;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}
.pcg-more-wrap { margin-top:12px; }
.pcg-more { 
    display:inline-block; 
    padding: 6px 12px 6px 16px;
    border:1px solid #222; 
    
}
.pcg-more:hover {
    color: #fff;
    border:1px solid #00000000; 
    
    background: linear-gradient(98deg, #FFE8AA 0.33%, #F3D27A 93.35%); 
}
.pcg-more span {
    text-decoration:none; 
    color:#1C0F13;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; 
}
.pcg-more .pcg-arrow { 
    margin-left:6px;

    margin-top: 2px;
    width: 10px;
    height: 10px;
    display: inline-block;
    background-image: url('../images/chevron-double-down.svg');
    background-size: cover;
    background-position: center;
}

.my-custom-svg-icon {
    
    display: block; 
    float: left;
    width: 20px; 
    height: 20px;
    font-size: 0;
    line-height: 0;
    background-image: url('../images/icon_link.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; 
    margin-right: 5px; 
}

.pcg-main-wrapper {
    position: relative;
}

.pcg-main-wrapper .swiper-button-next, 
.pcg-main-wrapper .swiper-button-prev {
    color: #fff;
    background-color: #1C0F13;
    border: 1px solid #1C0F13;
    width: 40px;
    height: 40px;
    opacity: 0.75;
    transition: opacity 0.3s;
  
}
.pcg-main-wrapper .swiper-button-next {
    right: -20px;
    background-image: url('../svg/next-icon.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.pcg-main-wrapper .swiper-button-prev {
    left: -20px;
    background-image: url('../svg/prev-icon.svg');
    background-repeat: no-repeat;
    background-position: center;
}
   
.pcg-main-wrapper .swiper-button-next::after, 
.pcg-main-wrapper .swiper-button-prev::after {
    display: none;
}

.pcg-main-wrapper .swiper-button-next::after, 
.pcg-main-wrapper .swiper-button-prev::after { font-size: 18px !important; font-weight: bold; }
        
@media (min-width: 768px) {
    .pcg-slide-inner { position: relative; padding-top: 50px; }
    .pcg-category-header { position: absolute; top: 0; left: 0; width: 100%; height: 40px; }
    .pcg-smart-slider .shared.second { display: none !important; }
    .pcg-smart-slider .shared.first {
        position: absolute;
        width: calc(200% + 30px); 
        justify-content: start;
        white-space: nowrap;
        z-index: 10;
        left: 0;
    }
    .pcg-smart-slider .individual { position: relative; width: 100%; }
}

@media (max-width: 767px) {
    .pcg-slide-inner { padding-top: 0; }
    .pcg-category-header { position: static; height: auto; }
    .shared.second { display: flex !important; }
    .shared.first { width: 100% !important; justify-content: flex-start; }
    .pcg-card { flex-direction: column; text-align: center; }
    .pcg-logo { 
        margin: 0 0 15px 0; 
        width: 100%;
        height: auto;
    }
}


.pcg-main-wrapper .swiper-autoheight .swiper-wrapper {
    transition: height 0.3s ease-in-out;
}

.pcg-main-wrapper .pcg-slide-inner {
    height: auto;
}

.pcg-main-wrapper .swiper-slide {
    height: auto !important;
}

.pcg-main-wrapper .pcg-text-more {
    margin-top: 10px;
}

@media (max-width:768px) {
     
    .pcg-responsive-slider-wrap {
        margin-bottom: 24px;
    }
    .pcg-responsive-slider-wrap .col-md-6:first-child {
          margin-bottom: 24px;
    } 
    .pcg-card {
        flex-direction: column;
        gap:20px; padding:0
    }
    .pcg-title {
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 26px;
    }
    .pcg-card.pcg-card-slider {flex-direction: column;}
    .pcg-card.pcg-card-slider .pcg-card-left {
        width: 100%;
        justify-content: start;
    }
    .single-categories .pcg-card .pcg-card-left {
        width: 110px;
        height: 110px;
    }
    .pcg-card-body { 
        width: 100%;
        text-align: left;
    }
    .pcg-logo {
     
        object-fit: contain;
        display: block;
        width: 320px;
    }
    .pcg-category-title {
        margin-bottom:20px; 
    }
}

@media (min-width: 768px) {
    .swiper-off-desktop {
        overflow: visible !important;
    }
    .swiper-off-desktop .swiper-wrapper {
        display: flex !important;
        flex-wrap: wrap !important;
        transform: none !important;
    }
    .swiper-off-desktop .swiper-slide {
        width: 50% !important;
        margin-right: 0 !important;
    }
}
