/* Breadcrumb */
.breadcrumb {
    padding: 12px 0;
    background-color: #e8e8e8;
}

.breadcrumb ul {
    display: block;
    white-space: normal;
}

.breadcrumb ul li {
    display: inline;
}

.breadcrumb ul li:not(:last-child) {
    position: relative;
    padding-right: 15px;
}

.breadcrumb ul li:not(:last-child)::before {
    content: '/';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 6px;
}

.breadcrumb ul li:last-child {
    color: var(--color-5);
}

/* End breadcrumb  */
/* Slick Arrows */
.arrow-common {
    &:hover {
        .slick-arrow {
            opacity: 1;
        }
    }

    .slick-arrow {
        opacity: 0;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        z-index: 10;

        &:hover {
            background: var(--color-1);

            &::before {
                background-color: #fff;
                width: 20px;
            }
        }

        &::before {
            content: "";
            width: 30px;
            height: 44px;
            background-color: var(--color-2);
            mask-image: url(../images/icon-arrow.svg);
            mask-size: contain;
            mask-repeat: no-repeat;
            mask-position: center;
            display: block;
            transition: all .3s ease-in;
        }

        &.slick-prev {
            &:before {
                transform: rotate(180deg);
            }
        }
    }
}


/* Slick Dots */
.arrow-common .slick-dots {
    bottom: -35px;

    li {
        font-size: 10px;
        background-color: #ccc;

        &.slick-active {
            background-color: #1a73b5;
        }
    }
}


.item-post .name {
    font-size: 18px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.item-post .des {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-top: 8px;
    margin-bottom: 10px;
    text-align: justify;
}

.item-post .wrap-img {
    padding-bottom: 66.5%;
}

.item-post .content {
    background-color: rgb(255, 255, 255);
    margin-top: -10px;
    padding: 20px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 2px 7px;
}

.button-web {
    border-radius: 20px;
    padding: 8px 25px;
    background-color: var(--color-2);
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    font-size: 15px;
    text-transform: uppercase;
    color: rgb(255, 255, 255) !important;
}

.button-web.sm {
    font-size: 15px;
}

.button-web:hover {
    background-color: rgb(255, 49, 48);
}

.news-bottom>.row {
    row-gap: 20px;
}

/* / */
.item-news-home .wrap-img {
    padding-bottom: 65%;
    border-radius: 10px;
}

.item-news-home .name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    /* margin-bottom: 10px; */
    font-size: 19px;
    /* margin-top: 10px; */
    /* height: 49px; */
}

.item-news-home .date,
.item-news-home-right .date {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.item-news-home .des {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-top: 10px;
    text-align: justify;
}

.item-news-home-right {
    display: grid;
    grid-template-columns: 35% auto;
    gap: 15px;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.item-news-home-right:not(:last-child) {
    margin-bottom: 30px;
}

.item-news-home-right .wrap-img {
    overflow: hidden;
    border-radius: 10px;
}

.item-news-home-right .wrap-img:hover img {
    transform: scale(1.05);
}

.item-news-home-right .name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 5px;
}

.item-news-home .content {
    padding: 10px 0 0;
}

/* Content cho editor  */
.noi-dung,
.noi-dung-1 {
    font-size: 16px;

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: var(--color-2);
    }
}

.noi-dung p,
.noi-dung-1 p {
    margin-bottom: 10px;
    text-align: justify;
    line-height: 1.5;
    font-size: 16px;
}

.noi-dung h2,
.noi-dung-1 h2 {
    font-size: 24px;
    margin-bottom: 15px;

}

.noi-dung h3,
.noi-dung-1 h3 {
    font-size: 20px;
    margin-bottom: 15px;
    /* color: #24235c; */
}

.noi-dung hr,
.noi-dung-1 hr {
    margin: 15px 0;
}

.noi-dung-1 table {
    margin-bottom: 10px;
    max-width: 100%;
    border-collapse: collapse;
    width: 100%;
}

.noi-dung table td img {
    /* border-radius: 20px; */
}

.noi-dung table td {
    /* width: 50%; */
}

.noi-dung blockquote,
.noi-dung-1 blockquote {
    padding: 18px 40px;
    margin-bottom: 15px;
    position: relative;
    background: var(--color-2);
    border-radius: 8px;
    text-align: center;
}

.noi-dung blockquote::after,
.noi-dung-1 blockquote::after,
.noi-dung blockquote::before,
.noi-dung-1 blockquote::before {
    font-size: 45px;
    color: #FFF;
    position: absolute;
}

.noi-dung-1 blockquote span {
    color: #FFF !important;
}


.noi-dung blockquote::before,
.noi-dung-1 blockquote::before {
    content: '❝';
    top: -7px;
    left: 6px;
}

.noi-dung blockquote::after,
.noi-dung-1 blockquote::after {
    content: '❞';
    bottom: -24px;
    right: 6px;
}

.noi-dung blockquote h3,
.noi-dung blockquote h2,
.noi-dung blockquote p {
    margin-bottom: 0;
    color: #FFF;
    text-align: center !important;
}

.noi-dung-1 blockquote h3,
.noi-dung-1 blockquote h2,
.noi-dung-1 blockquote p {
    margin-bottom: 0;
    color: #FFF;
}

.noi-dung ul,
.noi-dung ol {
    margin-left: 30px;
    margin-bottom: 10px;
}

.noi-dung-1 ul,
.noi-dung-1 ol {
    margin-left: 30px;
    margin-bottom: 10px;
}

.noi-dung ul li,
.noi-dung ol li {
    margin-bottom: 5px;
}

.noi-dung-1 ul li,
.noi-dung-1 ol li {
    margin-bottom: 5px;
}

.noi-dung table tr td,
.noi-dung-1 table tr td {
    padding: 0 5px;
}

.noi-dung-1 table tr th {
    padding: 10px;
}

.noi-dung table {
    margin: 0 0 10px;
}

.image-caption {
    margin-bottom: 10px;
}

#category158,
#category101 {
    table tr td {
        width: auto !important;
        display: table-cell;
    }
}

/* end  */

/* pagination  */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin-top: 30px;
    gap: 6px;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #FFF;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
}

.pagination .page-link:hover {
    background: #3aaa35;
    color: #fff;
    border-color: #3aaa35;
}

.pagination .page-item.active .page-link {
    background: #3aaa35;
    color: #fff;
    border-color: #3aaa35;
    pointer-events: none;
}

.pagination .page-item.disabled .page-link {
    background: #f5f5f5;
    color: #aaa;
    border-color: #ddd;
    pointer-events: none;
}

#category158 {
    table {
        td:first-child {
            width: 80px;
        }
    }
}

.line-2 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Slider Items */
.service-slider {
    margin: 0 -10px;
}

.service-slider .slick-list {
    padding: 10px 0;
}

.service-slider__item {
    padding: 0 10px;
}

.service-slider__item__article {
    box-shadow: 0 6px 12px rgb(0 0 0 / 6%);
    border-radius: 8px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

.service-slider__item__article:hover {}

/* Image */
.service-slider__img {
    margin-bottom: 10px;
}

.service-slider__img a {
    display: block;
    overflow: hidden;
    position: relative;
    padding-top: calc((240 / 382) * 100%);
    /* border-radius: 8px; */
}

.service-slider__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-slider__item__article:hover .service-slider__img img {
    transform: scale(1.05);
}

/* Content */
.service-slider__content {
    padding: 0 20px 20px;
}

.service-slider__title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.service-slider__title a {
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-slider__title a:hover {}

.service-slider__description {
    /* display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden; */
    margin-bottom: 10px;
}

/* Time */
.service-slider__time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-top: 10px;
    color: var(--color-text);
}

.service-slider__time svg {
    flex-shrink: 0;
    color: var(--color-2);
}

.service-slider__more svg {
    width: 20px;
    height: 16px;

    path {
        fill: var(--color-2);
    }

}

.service-slider__more a {
    display: inline-flex;
    align-items: center;
    /* gap: 5px; */
}

@media (max-width: 1100px) {
    .noi-dung table tr td {
        width: 50%;
    }

    .noi-dung img,
    .noi-dung-1 img {
        max-width: 100%;
        height: auto !important;
    }
}

@media (max-width: 992px) {
    .noi-dung table tr td {
        width: 100% !important;
        display: block;
    }
}

@media (max-width: 768px) {
    .pagination .page-link {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    /* .noi-dung table tr td, 
    .noi-dung-1 table tr td {
        word-break: break-word;
    } */
}