﻿ul.p-capacity-list.rs {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    column-gap: 19px;
    row-gap: 115px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-capacity-container {
    padding-bottom: 95px;
}

.my-news {
    padding-bottom: 25px;
}

.decor-title-capacity {
    position: absolute;
    left: 0;
    bottom: -71px;
    right: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 239px;
    height: 110px;
    background: radial-gradient(79.83% 60.51% at 50% 39.49%, #22A8FA 0%, #035B8F 100%);
    border: 1px solid #fff;
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.decor-n-capacity h3 {
    color: #FFF;
    text-align: center;
    font-family: 'Inter_24pt-Medium';
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 142%;
    text-transform: uppercase;
    margin: 0 22px;
    margin-top: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
}

.detail-news-wrap .p-details img {
    cursor: zoom-in;
}

.my-news {
    background: url(/Design/img/DongXuyen/b.png) no-repeat;
    background-size: cover;
    background-position: bottom;
}
/* Responsive cho mobile */
@media (max-width: 768px) {
    ul.p-capacity-list.rs {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        column-gap: 19px;
        row-gap: 96px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-news-wrap .p-details img {
        cursor: zoom-in;
        width: 100% !important;
        height: 100% !important;
    }

    .decor-n-capacity h3 {
        color: #FFF;
        text-align: center;
        font-family: 'Inter_24pt-Medium';
        font-size: 13px;
        font-style: normal;
        font-weight: 500;
        line-height: 150%;
        text-transform: uppercase;
        margin: 0 12px;
        margin-top: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        -webkit-line-clamp: 3;
    }

    .p-capacity-img {
        border-radius: 40.5px 0 0 0;
    }

        .p-capacity-img img {
            border-radius: 40.5px 0 0 0;
        }

    .p-capacity-item {
        width: 100%;
    }

    .decor-title-capacity {
        position: absolute;
        left: 0;
        bottom: -71px;
        right: 0;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 124px;
        height: 110px;
    }
}