﻿
.banner-container {
    position: relative;
    background-image: url('/images/home/banner1.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 605px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    color: white;
    gap: 32px;
}

.text-content {
    font-family: inherit;
    font-size: 30px !important;
}

.text-content2 {
    font-family: inherit;
    font-size: 54px;
}

.sub-text {
    font-family: inherit;
}

.btn-show-more {
    padding: 12px 40px;
    border: 1px solid #F00;
    background: #C30000;
    box-shadow: 0px 20px 35px 0px rgba(0, 0, 0, 0.15);
    color: #FFF;
    font-family: inherit;
    line-height: 100%;
}

    .btn-show-more:hover,
    .btn-show-more:active {
        background: #990000;
        border: 1px solid #F00;
    }

.about-us-section {
    background: linear-gradient(180deg, rgba(195, 0, 0, 0.03) 0%, rgba(195, 0, 0, 0.00) 100%);
}

.col-img-left {
    background-image: url('/images/home/banner2.jpg');
    height: 400px;
}

.about-us-header {
    font-family: inherit;
}

.align-icon {
    display: inline-block;
    vertical-align: middle;
}

.about-us-title {
    font-family: inherit;
}

.about-us-title2 {
    color: #C30000;
    font-family: inherit;
}

.about-us-content {
    text-align: justify;
    font-family: inherit;
}

.btn-xemchitiet {
    width: 166px;
    height: 48px;
    border: 1px solid #F00;
    background: #C30000 !important;
    box-shadow: 0px 20px 35px 0px rgba(0, 0, 0, 0.15);
    font-family: inherit;
}

    .btn-xemchitiet:hover {
        background: #990000 !important;
        border: 1px solid #F00;
        color: #fff;
    }

.digital-sivil-service-header h1 {
    color: #C30000;
    font-family: inherit;
}

.btn-show-all {
    padding: 12px 40px;
    border: 1px solid #C30000;
    box-shadow: 0px 20px 35px 0px rgba(0, 0, 0, 0.15);
    color: #C30000;
    font-family: inherit;
    transition: background-color 0.3s, color 0.3s;
}

    .btn-show-all:hover {
        background-color: #d40000;
        color: #fff;
    }

.custom-gap {
    gap: 30px;
}

    .custom-gap > .col {
        flex: 1 0 calc(33.333% - 20px);
    }

.item {
    box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.10);
}

    .item img {
        border-radius: 10px;
    }

    .item .item-title {
        font-family: inherit;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .item .item-des {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-family: inherit;
        text-overflow: ellipsis;
    }

    .item span a {
        color: #C30000;
        font-family: inherit;
    }

    .item .item-title:hover {
        color: #C30000 !important;
        transform: translateY(-2px) scale(1.02);
    }

.black-overlay {
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.digital-civil-service-image {
    width: 30%;
}

.digital-civil-service-footer {
    z-index: 2;
    position: relative;
    border-radius: 10px;
    height: 180px;
    background-image: url('/images/home/banner4.png');
}

.digital-civil-service-count {
    font-family: inherit;
}

.digital-civil-service-text {
    font-family: inherit;
}

.news-header h1 {
    color: #C30000;
    font-family: inherit;
}

.featured-news a img {
    max-height: 326px !important;
    border-radius: 10px;
}

.news-tag {
    padding: 5.5px 24px;
    background: rgba(195, 0, 0, 0.10);
}

    .news-tag p {
        color: var(--Black, #000);
        font-family: inherit;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin: 0;
    }

.featured-news a {
    text-decoration: none;
}

    .featured-news a #news_title p {
        transition: color 0.3s ease, transform 0.3s ease;
        font-family: inherit;
    }

        .featured-news a #news_title p:hover {
            color: #C30000 !important;
            transform: translateY(-2px) scale(1.02);
        }


.featured-news #news_content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--Black, #000);
    font-family: inherit;
}

.lastest-news a {
    text-decoration: none;
    width: 100%;
}

.lastest-news-img {
    width: 100%;
}

    .lastest-news-img img {
        border-radius: 10px;
    }

#lastest_news_title p {
    color: var(--Black, #000);
    font-family: inherit;
    transition: color 0.3s ease, transform 0.3s ease;
}

    #lastest_news_title p:hover {
        color: #C30000 !important;
        transform: translateY(-2px) scale(1.02);
    }

#lastest_news_content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--Black, #000);
    font-family: inherit;
}




@media (max-width: 575px) {



    /* dich vu cong chung so (mau co san)*/
    .btn-show-all {
        width: 100px;
        padding: 5px 5px;
    }

    .digital-civil-service-image {
        width: 30%;
    }

    .digital-civil-service-footer-wrapper {
        height: 400px;
    }

    .black-overlay {
        flex-direction: column;
    }

    .digital-civil-service-footer {
        height: 100%;
    }

    /* tin tuc */
    .news-body {
        flex-direction: column;
    }

    .lastest-news {
        flex-direction: column;
    }
}

@media (min-width: 576px) {
    /* dich vu cong chung so (mau co san)*/
    .btn-show-all {
        padding: 10px 30px;
        border: 1px solid #C30000;
        box-shadow: 0px 20px 35px 0px rgba(0, 0, 0, 0.15);
        color: #C30000;
        font-family: inherit;
        transition: background-color 0.3s, color 0.3s;
    }

    .digital-civil-service-image {
        width: 30%;
    }
    /* tin tuc */
    .news-body {
        flex-direction: column;
    }
}

@media (min-width: 768px) {
    /* dich vu cong chung so (mau co san)*/
    .btn-show-all {
        min-width: 150px;
        padding: 12px 30px;
        border: 1px solid #C30000;
        box-shadow: 0px 20px 35px 0px rgba(0, 0, 0, 0.15);
        color: #C30000;
        font-family: inherit;
        transition: background-color 0.3s, color 0.3s;
    }

    .digital-civil-service-image {
        width: 60%;
    }
    /* tin tuc */
    .news-body {
        flex-direction: column;
    }
}

@media (min-width: 992px) {
    /* dich vu cong chung so (mau co san)*/
    .digital-civil-service-image {
        width: 50%;
    }
    /*tin tuc*/
    .news-body {
        flex-direction: row;
    }

    .lastest-news {
        flex-direction: row;
    }

    .lastest-news-img {
        width: 150%;
    }
}

@media (min-width: 1200px) {
    /* dich vu cong chung so (mau co san)*/
    .digital-civil-service-image {
        width: 60%;
    }
    /* tin tuc */
    .news-body {
        flex-direction: row;
    }

    .lastest-news {
        flex-direction: row;
    }

    .lastest-news-img {
        width: 150%;
    }
}

@media only screen and (min-width: 1400px) {
    /* tin tuc */
    .lastest-news-img {
        width: 100%;
    }
}
