/* 基础版面 */
.about_title h2 {
    color: #1d1d1d !important;
    font-weight: 600;
}

.about_title h3 {
    color: #1d1d1d !important;
    font-weight: 600;
    font-size: 22px;
}

.about_title p {
    color: #1d1d1d;
    font-size: 1rem;

}

.about_text p {
    font-size: 1rem;
    color: #292929;

}

.about_text span {
    font-weight: 600;
}


.about_title {
    background-color: #fafafa;
    border-radius: 12px;
    padding: 20px;

}

.about_text {
    background-color: #fafafa;
    padding: 20px;
    border-radius: 12px;
}

.about_text.scroll {
    text-align: center;
}

.about_text.scroll h3 {
    font-size: 3rem;
    color: #338c56;
    font-weight: 600;
}

.about_text.scroll p {
    font-size: 1.5rem;
}

.img-fluid {
    width: 100vw;
}

.video_text {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0 auto;
    text-align: center;

}

.video_text h3 {
    color: #fafafa;
    font-weight: 600;
    font-size: 2rem;

}

.video_text p {
    color: #fafafa;
    font-weight: 600;
    font-size: 1rem;

}

.mb-4 h2 {
    color: #1d1d1d !important;
    font-weight: 600;
}

.about_title h3 {
    color: #338c56 !important;
    font-size: 1.5rem;
}

.img-fillet img {
    border-radius: 12px;
}

.btn {
    --bs-btn-border-width: 0px;
    padding: 10px;
    font-size: 12px;
    border-radius: 10px;
}
.btn.btn-primary.btn-sm.collapsed {
    font-size: 0.8rem;
    padding: 10px;
    border-radius: 10px;
}

.btn-primary {
    background-color: #338c56 !important;
}

.btn.btn-primary.btn-sm.collapsed {
    background-color: #989898 !important;
}

.btn:not(:disabled):not(.disabled){
    font-size: 0.8rem;
    padding: 10px;
    border-radius: 10px;
}

.right {
    float: right;
}

.about_video_icon .iconfont {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 0px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 88px;
    height: 88px;
    margin: 0 auto;
    text-align: center;
    line-height: 88px;
}

.about_video_icon .iconfont :hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 58%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.26) 47.9%, rgba(255, 255, 255, 0.71)) !important;
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* 历史轮播 */
.carousel-section {
    background: #f8f9fa;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.carousel-track-wrapper {
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 40px;
    will-change: transform;
}

.carousel-item-custom {
    flex: 0 0 auto;
    border-radius: 8px;
    position: relative;
}

.carousel-image img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    border-radius: 12px;
}

.carousel-title {
    position: absolute;
    top: 10%;
    left: 15px;
    color: #1d1d1d;
    font-weight: bold;
    margin: 0;
    font-size: 2rem;
    z-index: 3;
}

.carousel-controls {
    z-index: 10;
    display: flex;
    gap: 10px;
    left: 0px;
    margin-top: 10px;
    margin-bottom: 50px;
}

.carousel_text {
    padding: 10px 20px 20px 20px;
    font-size: 15px;
    color: #1d1d1d;
}

.crumbs {
    color: #ebebeb;
    font-size: 0.75rem;
    font-weight: 500;
}

.carousel_text p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: normal;
    font-weight: 500;
}

.carousel_text p span {
    font-weight: 600;
}

.carousel-controls button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    padding: 0;
    font-size: 1.2rem;
}

@media (min-width: 992px) {
    .carousel-item-custom {
        width: calc((100vw - 30px * 2 - 40px * 4) / 4.5);
    }
}

@media (max-width: 991.98px) {
    .carousel-item-custom {
        width: 100%;
    }
}
@media only screen and (max-width:767px) {
    .video_text h3 {
        font-size: 1.25rem;
    }

    .video_text p {
        font-size: 0.85rem;
    }

    .about_video_icon img{
    height: 330px;
}

    .video_text {
        position: absolute;
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0 auto;
        text-align: center;
        width: 100%;
    }
}

/* 数字滚动 */
.about_text[data-cu] {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .6s ease, transform .6s ease;
}

.about_text[data-cu].cu-in {
    opacity: 1;
    transform: translateY(0);
}

.about_text[data-cu] h3 {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.about_text[data-cu] h3 span {
    font-size: 0.7em;
    line-height: 1;
}

/* 无缝轮播 */
.fam-gallery {
    --item-gap: 24px;
    --items-per-view: 3;
    position: relative;
}

.fam-gallery-marquee {
    display: flex;
    gap: var(--item-gap);
    will-change: transform;
    overflow: visible;
}

.image-overlay :hover {
    backdrop-filter: blur(20px);
}

.fam-gallery-item {
    flex: 0 0 auto;
    width: calc((100% - (var(--items-per-view) - 1) * var(--item-gap)) / var(--items-per-view));
    border-radius: 0px;
    overflow: hidden;
}

.fam-gallery-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

/* 让图片按比例自适应高度，避免未加载时高度不确定 */
.fam-gallery-bg {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.fam-gallery-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 悬浮按钮 Overlay */
.fam-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    padding: 36px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .35));
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease;
}

.fam-gallery-link:hover .fam-gallery-overlay,
.fam-gallery-link:focus-within .fam-gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.fam-gallery-button.button {
    pointer-events: auto;
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
}

.button-primary-light {
    background: #fff;
    color: #111;
}

.button-secondary {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.fam-gallery-copy {
    padding: 0;
}

.fam-gallery-title {
    margin: 0;
    font-weight: 600;
}

.carousel-controls button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    padding: 0;
    font-size: 1.2rem;
    background-color: rgb(226, 226, 229);
    color: rgb(99, 99, 99);
    cursor: pointer;
}

#famToggle.is-playing {
    opacity: 0.95;
}

#famToggle.is-paused {
    opacity: 1;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .06) inset;
}

#famToggle:active {
    transform: scale(0.96);
}

.fam-gallery-play-pause {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, .6);
    color: #fff;
}

.fam-gallery-play-pause.playing::after {
    content: "❚❚";
}

.fam-gallery-play-pause.paused::after {
    content: "►";
}

/* 响应式（示例）：窄屏只显示 1.5~2 张，可自行调整 */
@media (max-width: 640px) {
    .fam-gallery {
        --items-per-view: 1.5;
    }
}

/* 栏目Banner */
.list_banner {
    backdrop-filter: blur(20px);
    background: linear-gradient(209deg, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 4px 4px 0 0;
    padding: 52px 30px 52px 60px;
}
.list_banner h2 {
    color: #ffffff !important;
    font-weight: 600;
}

.list_banner p {
    color: #fafafa;
    font-weight: 500;
    font-size: 1rem;
}
.list_banner li {
    color: #fafafa;
    font-weight: 500;
    font-size: 1rem;
}
.breadcrumb-area {
    height: 450px;
}

.bg-overlay::after {
    background-color: rgba(0, 0, 0, 0) !important;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
}
@media only screen and (max-width:767px) {
	.list_banner{
        padding: 20px 20px 20px 20px;
        backdrop-filter: blur(20px);
    
    }
    .list_banner p{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: normal;
    font-weight: 500;
    }
}
