/* Common Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 4px;
    transition: 0.3s;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

.btn--primary {
    background: var(--color-3);
    color: #FFFFFF;
}



.btn--primary:hover {
    background: var(--color-4);
    color: #FFFFFF;
}

.btn--outline {
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
}

.btn--outline:hover {
    background: #FFFFFF;
    color: var(--color-1);
}

.btn--outline-dark {
    border: 1px solid #DDDDDD;
    color: var(--color-1);
}

.btn--outline-dark:hover {
    background: var(--color-1);
    color: #FFFFFF;
    border-color: var(--color-1);
}

.btn--dark {
    background: var(--color-2);
    color: #FFFFFF;
}

.btn--dark:hover {
    background: var(--color-1);
}

/* Breadcrumb */
.breadcrumb {
    min-height: 280px;
    position: relative;
    /* border-radius: 0px 0px 20px 20px; */
    /* margin-top: -20px; */
    display: flex;
    align-items: end;
    text-align: center;
    overflow: hidden;
}

.breadcrumb::before {
    content: '';
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.breadcrumb h1 {
    font-size: 40px;
    color: #FFF;
    margin-bottom: 8px;
}

.breadcrumb ul {
    display: block;
    white-space: normal;
    position: relative;
    z-index: 2;
    padding-bottom: 30px;
}

.breadcrumb ul li {
    display: inline;
    color: rgba(255, 255, 255, .8);
}

.breadcrumb ul li a {
    color: rgba(255, 255, 255, .8);
}

.breadcrumb ul li a:hover {
    color: #e4a452;
}

.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;
    color: #FFF;
}

/* End breadcrumb  */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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



.news-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); */
    /* transition: transform 0.3s, box-shadow 0.3s; */
    border: 1px solid #EEEEEE;
}

.news-card:hover .news-card__image-wrap img {
    transform: scale(1.09);
}

.news-card__image-wrap {
    width: 100%;
    display: block;
    padding-top: calc((3 / 4) * 100%);

}

.news-card__image-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease-in-out;
}

.news-card__date-tag {
    background: #1A1A3A;
    font-weight: 700;
    z-index: 10;
    padding: 4px 10px;
    border-radius: 6px;
}

.news-card__title-v2 a {
    /* color: #1A1A3A; */
    transition: 0.3s;
}

.news-card__title-v2 a:hover {
    color: var(--color-3);
}

.news-card__excerpt {
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.news-card__link-v2 {
    color: #1A1A3A;
    text-decoration: underline;
}

.news__link-all {
    gap: 5px;
}

/*  */
.product-card {
    background: var(--card-bg);
    border-radius: 4px;
    border: 1px solid #EEEEEE;
    overflow: hidden;
    transition: 0.3s;
}

.product-card:hover {
    border-color: var(--color-4);
}

.product-card__image-link {
    padding-top: calc((3/4)*100%);
    display: block;
    width: 100%;
    position: relative;
    background-color: #F2F2F2;
}

.product-card__image-link img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__image-link img {
    transform: translate(-50%, -50%) scale(1.05);
}

.product-card__content {
    padding: 20px;
}

.product-card__model {
    color: var(--color-3);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;

    a {
        color: inherit;
    }
}

.product-card__title a {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    line-height: 1.2;
}

.product-card__spec {
    font-size: 13px;
    color: #666;
}

.product-card__spec img {
    width: 16px;
    opacity: 0.5;
}

.product-card__price {
    font-size: 18px;
    color: var(--color-5);
}

.product-card__more {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-3);
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    margin-top: 10px;
}

.product-card__more svg {
    transition: transform 0.3s ease;
}

.product-card__more:hover {
    color: var(--color-4);
}

.product-card__more:hover svg {
    transform: translateX(5px);
}


/* Capability Section */
.common-subtitle {
    font-size: 16px;
    font-weight: 600;
}

.common-title {
    font-size: 32px;
    font-weight: 700;
    margin-top: 12px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--color-3);



    @media (max-width: 1400px) {
        font-size: 28px;
    }

    @media (max-width: 1200px) {
        font-size: 24px;
    }

    @media (max-width: 992px) {
        font-size: 20px;
    }



}

/* Common Slider Arrow */
.common-arrow:hover .slick-arrow {
    opacity: 1;
}

.common-arrow .slick-arrow {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    padding: 0;
    color: #FFFFFF;
}

.common-arrow .slick-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
}

.common-arrow .slick-prev {
    left: 10px;
}

.common-arrow .slick-next {
    right: 10px;
}

.common-arrow .slick-arrow svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Modifiers for light backgrounds */
.common-arrow--light .slick-arrow {
    background: #2d3194;
    border: 1px solid rgb(0 0 0 / 20%);
    color: #fff;
}

.common-arrow--light .slick-arrow:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}


/* Content cho editor  */
.noi-dung {
    /* font-size: 15px; */
}

.cs-row img {
    border-radius: 10px;
}

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

    &:last-child {
        margin-bottom: 0;
    }
}

.noi-dung .image-caption,
.noi-dung-1 .image-caption {
    margin-bottom: 10px;
}

.noi-dung h2,
.noi-dung-1 h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--color-3);
}

.noi-dung h3,
.noi-dung-1 h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--color-3);
}

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

.noi-dung table td img,
.noi-dung-1 table td img {
    border-radius: 10px;
}

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

.noi-dung blockquote,
.noi-dung-1 blockquote {
    border-left: 5px solid var(--color-3);
    padding: 8px 15px;
    background: #f7f5f0;
    border-radius: 10px;
    margin-bottom: 15px;
}

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

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

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

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

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

/* end  */

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

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

.btn-disabled {
    opacity: .3;
    cursor: not-allowed;
}

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

.pagination .page-link:hover {
    background: var(--color-3);
    color: #FFF;
    border-color: var(--color-3);
}

.pagination .page-item.active .page-link {
    background: var(--color-3);
    color: #FFF;
    border-color: var(--color-3);
    pointer-events: none;
}

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

.hover-effect_1 {
    position: relative;
    overflow: hidden;
    display: flex;
    margin-bottom: 10px
}

.hover-effect_1::after {
    position: absolute;
    width: 200%;
    height: 0;
    left: 50%;
    top: 50%;
    background-color: hsla(0, 0%, 100%, .3);
    transform: translate(-50%, -50%) rotate(-45deg);
    content: "";
    z-index: 1
}

.c-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.4;

    @media (max-width: 1200px) {
        font-size: 18px;
    }

    >* {
        display: block;
    }

    /* >* {
        display: block;

        .icon {
            display: inline-block;
            width: 25px;
            height: 20px;
            background: currentColor;
            mask-image: url(../images/icon-02-removebg-preview.png);
            mask-size: 100%;
            mask-repeat: no-repeat;
            mask-position: center;
            margin-right: 5px;
        }
    } */

    .c-title-color1 {
        color: var(--color-3);
    }

    .c-title-color2 {
        color: var(--color-4);
    }
}

.c-title-line {
    &.text-center {
        &:after {
            margin-left: auto;
            margin-right: auto;
        }
    }

    &:after {
        content: "";
        height: 3px;
        width: 160px;
        background: linear-gradient(90deg, var(--color-3) 0%, var(--color-4) 100%);
        display: block;
        border-radius: 8px;
        margin-top: 5px;

        @media (max-width: 575px) {
            height: 3px;
        }
    }
}

.btn-common01 {
    border-radius: 99px;
    background: var(--color-3);
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    padding: 13px 20px;
    font-weight: 600;
    color: #FFF;

    /* gap: 10px; */
    &:hover {
        color: #FFF;
        background: var(--color-4);
    }

    .icon {
        width: 20px;
        height: 20px;
        background-color: currentColor;
        mask-image: url(../images/right-arrow-svgrepo-com.png);
        mask-size: 100%;
        mask-repeat: no-repeat;
        mask-position: center;
    }
}

.noi-dung ul li {
    list-style: disc;
}

.hover-effect_1:hover::after {
    height: 250%;
    transition: all .6s linear;
    background-color: transparent
}

.category-news {
    display: flex;
    gap: 10px 30px;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 30px;
}

.category-news .item {
    position: relative;
    font-size: 16px;
}

.category-news .item::before {
    content: "";
    height: 1px;
    width: 25px;
    background: currentColor;
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    transition: all .3s ease;
}

.category-news .item:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 19px;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: #c4c4c4;
}

@media (max-width: 992px) {
    .category-news {
        white-space: nowrap;
        overflow-x: auto;
        justify-content: start;
    }

    .category-news .item::before {
        display: none;
    }
}

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

    .noi-dung img {
        max-width: 100%;
    }
}

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

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

    .noi-dung h2 {
        font-size: 18px;
    }

    .noi-dung h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .noi-dung table td img {
        margin-bottom: 10px;
    }

    .breadcrumb {
        min-height: 220px;
    }

    .breadcrumb h1 {
        font-size: 26px;
    }

    .breadcrumb ul li a {
        font-size: 14px;
    }

    .breadcrumb ul li {
        font-size: 14px;
    }


}