/*
Theme Name: Sao Kim Digital
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Sao Kim Digital
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: saokimdigital
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

::-webkit-scrollbar {
    width: 6px
}

::-webkit-scrollbar-track {
    background: #fff
}

::-webkit-scrollbar-thumb {
    background: #ddd
}

.rank-math-breadcrumb p {
    margin: 0;
}

.rank-math-breadcrumb p a,
.rank-math-breadcrumb p span {
    color: #fff;
}

.elementor-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.page-numbers {
    width: 32px;
    height: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border: #005793 1px solid;
    color: #005793;
    border-radius: 100%;
    margin: 0 !important;
    padding: 0;
    transition: ease all 300ms;
}

.page-numbers svg path:last-child {
    fill: #005793;
}

.page-numbers:hover svg path:last-child {
    fill: #fff;
}

.page-numbers:hover,
.page-numbers.current {
    color: #fff;
    background: #005793;
}

.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.1);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap::after {
    content: '';
    position: absolute;
    background-image: url("assets/images/arrow_up.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    text-align: center;
    line-height: 46px;
    font-size: 24px;
    color: #003368;
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 1;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.progress-wrap:hover::before {
    opacity: 1;
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: #003368; /* --- Lijn progres kleur --- */
    stroke-width: 4;
    box-sizing: border-box;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.max_line_1,
.max_line_1 p,
.max_line_1 a {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
}

.max_line_2,
.max_line_2 a,
.max_line_2 p {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.max_line_3,
.max_line_3 a,
.max_line_3 p {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
}

.max_line_4,
.max_line_4 p,
.max_line_4 a {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
}

.max_line_5,
.max_line_5 p,
.max_line_5 a {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 5 !important;
    line-clamp: 5 !important;
    -webkit-box-orient: vertical !important;
}

.max_line_6,
.max_line_6 p,
.max_line_6 a {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 6 !important;
    line-clamp: 6 !important;
    -webkit-box-orient: vertical !important;
}

.max_line_7,
.max_line_7 p,
.max_line_7 a {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 7 !important;
    line-clamp: 7 !important;
    -webkit-box-orient: vertical !important;
}

.btn-shine,
.btn-shine .e-form__buttons .elementor-button {
    overflow: hidden;
}

.btn-shine .elementor-button {
    position: relative;
}

.my_img_animation.elementor-widget-image {
    position: relative;
    overflow: hidden;
}

.btn-shine .elementor-button::after,
.my_img_animation.elementor-widget-image:after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    transform: skewX(-20deg);
    pointer-events: none;
    transition: none;
}

.btn-shine .elementor-button:hover::after,
.my_img_animation.elementor-widget-image:hover::after {
    animation: shine 0.8s forwards;
}

@media only screen and (min-width: 1200px) {
    .my_grid_animation .elementor-grid .e-loop-item .animated.fadeIn {
        opacity: 0;
        transform: translateY(30px);
        animation: mfadeUp 1s ease forwards;
    }

    .my_grid_animation .elementor-grid .e-loop-item:nth-child(2) .animated.fadeIn {
        animation-delay: 0.1s !important;
    }
    .my_grid_animation .elementor-grid .e-loop-item:nth-child(3) .animated.fadeIn {
        animation-delay: 0.3s !important;
    }
    .my_grid_animation .elementor-grid .e-loop-item:nth-child(4) .animated.fadeIn {
        animation-delay: 0.5s !important;
    }
    .my_grid_animation .elementor-grid .e-loop-item:nth-child(5) .animated.fadeIn {
        animation-delay: 0.7s !important;
    }

    .my_grid_animation .elementor-grid .e-loop-item:nth-child(6) .animated.fadeIn {
        animation-delay: 0.1s !important;
    }
    .my_grid_animation .elementor-grid .e-loop-item:nth-child(7) .animated.fadeIn {
        animation-delay: 0.3s !important;
    }
    .my_grid_animation .elementor-grid .e-loop-item:nth-child(8) .animated.fadeIn {
        animation-delay: 0.5s !important;
    }
    .my_grid_animation .elementor-grid .e-loop-item:nth-child(9) .animated.fadeIn {
        animation-delay: 0.7s !important;
    }

    .my_grid_animation .elementor-grid .e-loop-item:nth-child(10) .animated.fadeIn {
        animation-delay: 0.1s !important;
    }
    .my_grid_animation .elementor-grid .e-loop-item:nth-child(11) .animated.fadeIn {
        animation-delay: 0.3s !important;
    }
    .my_grid_animation .elementor-grid .e-loop-item:nth-child(12) .animated.fadeIn {
        animation-delay: 0.5s !important;
    }
    .my_grid_animation .elementor-grid .e-loop-item:nth-child(13) .animated.fadeIn {
        animation-delay: 0.7s !important;
    }
}


@keyframes mfadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Thêm nếu có nhiều hơn */


/* Keyframes chạy ánh sáng */
@keyframes shine {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

.grid_marquee_wrap {
    overflow-x: clip;
    position: relative;
    width: 100%;
}

.grid_marquee {
    display: flex !important;
    align-items: center;
    gap: 24px;
    /*will-change: transform;*/
}

.grid_marquee > div {
    height: 100%;
    flex-shrink: 0;
    /*padding: 10px 30px;*/
    width: 430px;
    /*aspect-ratio: 16/9;*/
    display: flex;
    flex-wrap: wrap;
}

@media screen and (max-width:900px){
    .grid_marquee {
        gap: 16px;
    }
}

.swiper-news-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.swiper-news-img, .swiper_news_info {
    width: calc(50% - 12px);
}

.swiper-news-img {
    aspect-ratio: 628/388;
    overflow: hidden;
}
.swiper-news-img img {
    aspect-ratio: 628/388;
    object-fit: cover;
    border-radius: 12px;
    transition: ease all 500ms;
}

.swiper-news-img:hover img {
    transform: scale(1.05);
}

.swiper_news_info .p_date {
    color: #fff;
    font-size: 15px;
    font-style: normal;
    line-height: 160%;
    margin-bottom: 20px;
}

.swiper_news_info h3 {
    color: #FCFCFD;
    font-family: "UTM Avo Bold";
    font-size: 22px;
    font-style: normal;
    font-weight: normal;
    line-height: 32px;
    margin-bottom: 20px;
}

.swiper_news_info .p_excerpt {
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    margin-bottom: 20px;
    display: inline-block;
}

.new_detail_btn {
    border-radius: 12px;
    background: linear-gradient(40deg, #FF6002 39.09%, #FFD439 117.83%);
    padding: 13px 24px 15px 24px;
    color: #FFF !important;
    text-align: center;
    font-family: "UTM Avo Bold";
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
}

.news-swiper-btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}
.swiper-news-button {
    width: 44px;
    height: 44px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border-radius: 99999px;
    border: 1px solid #062C41;
    background: #fff;
    cursor: pointer;
    transition: ease all 300ms;
}

.swiper-news-button:hover {
    background: #062C41;
}

.swiper-news-button:hover svg path {
    fill: #fff;
}
/* Thanh tiến trình */
.news-progress-bar-wrapper {
  width: 100%;
  height: 3px;
  background-color: #999;
  position: relative;
  margin-top: 24px;
  border-radius: 4px;
  overflow: hidden;
}

.news-progress-bar {
  height: 100%;
  width: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

.danh-muc-giai-phap-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.danh-muc-giai-phap-item {
    border-radius: 12px;
    border: 2px solid #EAECF5;
    background: rgba(255, 255, 255, 0.15);
    padding: 11px 24px 13px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    color: #363F72;
    text-align: center;
    font-family: "UTM Avo";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}

.danh-muc-giai-phap-item:hover,
.danh-muc-giai-phap-item.active {
    border: 0;
    padding: 12px 24px 14px 24px;
    color: #fff;
    background: linear-gradient(0deg, #076DA8 0%, #2DC5F7 100%);
    font-family: "UTM Avo Bold";
}
@media only screen and (max-width: 1366px) {
    .swiper_news_info h3 {
        font-size: 20px;
    }
}
@media only screen and (max-width: 600px) {
    .swiper_news_info h3 {
        font-size: 18px;
    }
    .swiper-news-item {
        flex-direction: column;
    }
    .swiper-news-img, .swiper_news_info {
        width: 100%;
    }
    
    .danh-muc-giai-phap-item {
        width: 100%;
    }
}
