/* 合作伙伴滚动效果 */
.partners-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-scroll-content {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.partners-scroll-content:hover {
    animation-play-state: paused;
}

.partner-item {
    flex: 0 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item img {
    max-width: 150px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-item:hover img {
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .partner-item {
        padding: 15px 30px;
    }

    .partner-item img {
        max-width: 100px;
    }
}

/* 团队成员卡片优化 */
.team-style01 {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-style01>div:last-child {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-style01 h4 {
    margin-bottom: 0.5rem;
}

.team-style01 span {
    color: #666;
    font-weight: 600;
}

.team-style01 p.small {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #555;
}

.team-style01 p strong {
    color: #333;
}

/*----*/
@media screen and (max-width: 991px) {
    .navbar-brand img {
        position: relative;
        top: 4px;
        left: -8px;
        transform: scale(1.1);

    }
}
.kh-extend-img{
    position: absolute;
    width: 60%;
    right: 400px;
    top: 570px;
}
@media screen and (max-width: 1400px) {
   .kh-extend-img{
        position: absolute;
        width: 50%;
        right: 330px;
        top: 594px;

    }
}

@media screen and (max-width: 1200px) {
   .kh-extend-img{
        position: absolute;
        width: 50%;
        right: 270px;
        top: 496px;

    }
}

@media screen and (max-width: 1000px) {
   .kh-extend-img{
        display: none;

    }
}


/* 临时覆盖 */
.lang-zh-CN,.lang-zh-TW {
    .slider-fade h1 {
        font-size: 5.5rem;
    }

    .hero-title {
        font-size: 3rem !important;
    }

    .footer-title {
        font-size: 2.5rem;
    }

    @media screen and (max-width: 767px) {
        .slider-fade h1 {
            font-size: 3.5rem !important;
        }

        .hero-title {
            font-size: 2.5rem !important;
        }

        .footer-title {
            font-size: 1.8rem !important;
        }
    }
}

.lang-en-US {
    .slider-fade h1 {
        font-size: 5rem;
    }

    .hero-title {
        font-size: 3rem !important;
    }

    .footer-title {
        font-size: 2.5rem;
    }

    @media screen and (max-width: 767px) {
        .slider-fade h1 {
            font-size: 3.5rem !important;
        }

        .hero-title {
            font-size: 2.5rem !important;
        }

        .footer-title {
            font-size: 2rem !important;
        }
    }
}
/* Fixed 3:2 ratio container for homepage news images */
.news-image-3x2 {
  position: relative;
  width: 100%;
  /* 3:2 ratio → height = width * 2 / 3 */
  padding-top: calc(100% * 2 / 3);
  overflow: hidden;
}
.news-image-3x2 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover; /* ensure full-width crop */
  object-position: center; /* center crop to avoid awkward edges */
  display: block;
}