:root {
    --primary: #1a3a3f;
    --secondary: #c7a97f;
    --nav-text-color: white;
}

a:hover {
    cursor: pointer;
}

.logo img {
    height: 35px;
}

.company-name img {
    width: 80px;
}

.closel img {
    height: 35px;
}

.light-theme .logo .lightlogo {
    display: block;
}

.light-theme .logo .darklogo {
    display: none;
}

.dark-theme .logo .lightlogo {
    display: none;
}

.dark-theme .logo .darklogo {
    display: block;
}


/* 自定义光标样式 */

.cursor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* 确保光标不会阻止鼠标事件 */
    z-index: 10000;
}


/* 灰色小方块光标 */

.cursor-follower {
    position: fixed;
    width: 12px;
    height: 12px;
    background-color: rgba(120, 120, 120, 0.7);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 3px;
    /* 添加圆角效果 */
}


/* 悬停在交互元素上时的光标变化 */

.cursor-follower.hover {
    transform: translate(-50%, -50%) rotate(var(--rotate-angle, 0deg)) scale(1.5);
    background-color: rgba(150, 150, 150, 0.8);
}


/* 点击时的光标变化 */

.cursor-follower.active {
    transform: translate(-50%, -50%) rotate(calc(var(--rotate-angle, 0deg) + 45deg)) scale(0.7);
    background-color: rgba(90, 90, 90, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: default;
    /* 保持默认光标样式 */
}


/* 导航栏样式 */

header {
    padding: 0.8rem 1%;
    position: fixed;
    width: 100%;
    top: 0px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    /* 优化性能 */
}


/* 向上滚动时显示导航，向下滚动时隐藏 */

header.visible {
    top: 0;
    transform: translateZ(0);
    /* 启用硬件加速 */
}

header.hidden {
    top: -100px;
    /* 导航条完全隐藏 */
    transform: translateZ(0);
    /* 启用硬件加速 */
}


/* 导航条背景样式 - 所有主题统一为模糊透明 */

header {
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* 优化性能相关的样式 */

.will-change-opacity {
    will-change: opacity;
}

.hardware-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}


/* 保留默认光标 */

body,
a,
button,
.menu-toggle,
.project-card,
.view-more a,
.social-link,
.link-item,
.image-container,
.search-btn,
.search-close,
.fullscreen-menu a,
.carousel-container {
    cursor: default;
    /* 保持默认光标 */
}


/* 懒加载图片占位样式 */

img.lazy {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img.lazy.loaded {
    opacity: 1;
}

.project-img {
    background-color: #f5f5f5;
    /* 图片加载前的背景色 */
}


/* Light 主题 - 用于深色背景图的情况，文字为白色 */

header.light-theme .logo,
header.light-theme nav ul li a,
header.light-theme .search-btn {
    color: white;
}

header.light-theme .menu-toggle span {
    background-color: white;
}

/*header.light-theme .nav-controls .search-btn:hover::before,
header.light-theme .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}*/


/* Dark 主题 - 用于浅色背景图的情况，文字为黑色 */

header.dark-theme .logo,
header.dark-theme nav ul li a,
header.dark-theme .search-btn {
    color: #070707;
}

header.dark-theme .menu-toggle span {
    background-color: #070707;
}

/*header.dark-theme .nav-controls .search-btn:hover::before,
header.dark-theme .menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}
*/
.logo {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--nav-text-color);
    transition: color 0.3s ease;
    overflow: hidden;
    width: 148px;
    height: 35px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: var(--nav-text-color);
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    letter-spacing: 2px;
    cursor: pointer;
}

nav ul li a:hover {
    color: var(--secondary);
    transform: translateY(-2px);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* nav ul li a:hover::after {
    width: 100%;
} */

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    margin-left: 2.5rem;
    gap: 1rem;
}

.search-btn {
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--nav-text-color);
    cursor: pointer;
    padding: 0.8rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.menu-toggle {
    width: 50px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    /*border-radius: 50%;*/
    transition: all 0.3s ease;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--nav-text-color);
    /* 使用背景色而不是文字颜色 */
    margin: 3px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
}


/* 全屏菜单 */

.fullscreen-menu {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(70, 95, 56, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transition: top 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 999;
    overflow: auto;
    padding: 0px 2% 0;
    backdrop-filter: blur(20px);
    overflow-y: auto;
}

.menuheader {
    width: 100%;
    position: sticky;
    top: 0;
    background-color: rgba(70, 95, 56, 1);
    z-index: 1;
}

.close {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0;
    font-size: 20px;
    font-weight: 500;
    color: white;
    padding-top: 25px;
    margin-bottom: 85px;
}

.closel {
    font-size: 16px;
    font-weight: 500;
    color: white;
}

.closer {
    width: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.closer img {
    width: 100%;
}

.fullscreen-menu.active {
    top: 0;
}


/* 菜单搜索框 */

.menu-search {
    width: 100%;
}

.menu-search-container {
    position: relative;
    width: 100%;
    /* margin-bottom: 40px; */
    border-bottom: 1px solid #918f8f;
}

.menu-search-input {
    width: 100%;
    padding: 0px 0px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    outline: none;
    font-family: inherit;
    transition: all 0.3s ease;
    padding-bottom: 3px;
}

.menu-search-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 20px;
    font-weight: normal;
    transition: all 0.3s ease;
    font-style: normal;
    cursor: pointer;
    font-weight: bold;
}


/* 菜单项 */

.menu-items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid #918f8f;
    width: 100%;
    padding: 30px 0;
}

.menu-items a {
    color: white;
    font-size: 24px;
    font-weight: normal;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: 1px;
    display: block;
    width: 100%;
    line-height: 1;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    margin-bottom: 15px;
}

.menu-items a:last-child {
    margin-bottom: 0;
}

.menu-items a::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin-left: 20px;
    opacity: 0;
    transition: all .3s;
}

.menu-items a:hover::after {
    opacity: 1;
}

.scrollbox {
    width: 100%;
    padding-bottom: 20px;
}


/* 社交媒体链接 */

.social-items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding-top: 10px;
    position: relative;
    width: 100%;
    max-width: 300px;
}

.social-items a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    cursor: pointer;
}

.social-items i {
    margin-right: 3px;
    font-size: 16px;
    width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.qrcode-container {
    position: fixed;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 214px;
    width: 235px;
    height: 235px;
    padding: 18px;
    border: 1px solid #918f8f;
    display: none;
}

.qrcode-container img {
    width: 100%;
    height: 100%;
}


/* 轮播图容器 */

.carousel-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    transform: scale(1);
    transition: opacity 0.6s, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    touch-action: pan-y;
    /* 允许垂直滚动，但禁止水平滚动 */
    cursor: default;
    /* 默认箭头光标 */
    overflow: hidden;
    /* 确保内容不会溢出容器 */
    will-change: transform;
    /* 优化性能 */
}

.carousel-container.swiping {
    cursor: default;
    /* 保持默认箭头光标 */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.05);
    transition: all 1.5s cubic-bezier(0.3, 0.1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    will-change: transform, opacity;
    /* 优化性能 */
}


/* 轮播图滑动时的过渡效果 */

.carousel-slide.swiping {
    transition: transform 0s !important;
    /* 拖动时禁用过渡效果 */
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-slide img,
.carousel-slide video {
    /* transition: transform 8s ease-out;
    transform: scale(1.1); */
    will-change: transform;
    /* 优化性能 */
}

.carousel-slide.active img,
.carousel-slide.active video {
    transform: scale(1);
}

.carousel-slide img,
.carousel-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.carousel-slide.active {
    transform: translateY(0);
    opacity: 1;
}

.carousel-slide.active {
    transform: translateY(0);
    opacity: 1;
}

.carousel-slide.active {
    transform: translateY(0);
    opacity: 1;
}


/* 轮播图页码指示器 */

.carousel-pagination {
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    z-index: 10;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-pagination:hover {
    opacity: 1;
}


/* 页码指示器主题 */

.carousel-pagination.light-theme {
    color: white;
}

.carousel-pagination.dark-theme {
    color: #070707;
}


/* 手势指示器 - 首次访问时显示 */

.swipe-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    font-size: 16px;
    opacity: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    animation: fadeInOut 3s forwards;
}

.swipe-indicator i {
    margin-right: 10px;
    animation: swipeAnimation 2s infinite;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 0.9;
    }
    80% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
    }
}

@keyframes swipeAnimation {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0);
    }
}


/* 搜索弹窗蒙层 */

.search-dropdown {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20000;
    background: rgba(30, 30, 30, 0.3);
    backdrop-filter: blur(8px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.search-container {
    top: 40px;
    width: 96%;
    /* max-width: 800px; */
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
}

.search-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    border-bottom-color: white;
    transform: scale(1);
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-icon-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    z-index: 10;
}

.search-icon-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.search-icon-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.search-input {
    width: 100%;
    padding: 1.5rem 60px 10px 0;
    /* 添加右侧padding为图标留空间 */
    background: none;
    border: none;
    border-bottom: 2px solid #fff;
    color: white;
    font-size: 38px;
    outline: none;
    font-family: inherit;
    transition: all 0.3s ease;
}

.search-results {
    margin-top: 2rem;
    color: white;
}

.search-result-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 5px;
    margin-bottom: 10px;
}

.search-result-item:hover {
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    padding-left: 15px;
}


/* 主内容滚动覆盖样式 */

main {
    position: relative;
    z-index: 10;
    /* 确保main在轮播图之上 */
    margin-top: 100vh;
    /* 初始位置在轮播图下方 */
    background-color: #fff;
    /* 确保有背景色覆盖轮播图 */
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    /* 添加阴影增强层次感 */
    border-radius: 0px 0px 0 0;
    /* 圆角顶部 */
    transition: transform 0.3s ease;
}

section {
    padding: 60px 0;
}

.container {
    width: 97%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.company-intro {
    display: flex;
    margin-bottom: 170px;
    padding: 0;
    background-color: #fff;
}

.company-name {
    font-size: 34px;
    font-weight: bold;
    padding: 0;
    flex: 1;
    margin: 0;
    text-align: left;
    align-self: flex-start;
}

.company-desc {
    width: 71.34%;
}

.company-desc p {
    margin-bottom: 40px;
    font-size: 24px;
    color: #0B0B0B;
    opacity: 0.85;
    line-height: 1.583333;
}

.category-section {
    margin-bottom: 120px;
    background-color: #fff;
}

.category-section.on {
    margin-bottom: 160px;
}

.category-title {
    font-size: 24px;
    margin-bottom: 14px;
    padding-left: 0;
    position: relative;
    text-align: left;
    line-height: 1;
    font-weight: normal;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.project-card {
    background: #fff;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 246px;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    transform-origin: center center;
    will-change: transform;
    /* 优化变换性能 */
}

.project-img:hover img {
    transform: scale(1.08);
    filter: brightness(1.03);
}

.project-info {
    padding-top: 10px;
    font-size: 14px;
    text-align: left;
}

.project-info .project-iname {
    color: #0B0B0B;
    opacity: .85;
    margin-right: 30px;
}

.project-info .project-itype {
    color: #999;
}

.footer-nav {
    display: flex;
    justify-content: flex-start;
    border-top: 1px solid #000;
    margin-bottom: 140px;
    background-color: #fff;
    position: relative;
}

.footer-nav div {
    color: #000;
    font-size: 14px;
    line-height: 1;
    padding-top: 14px;
}

.footer-nav div:first-child {
    margin-left: 0;
    text-align: left;
}


/* .footer-nav div:last-child {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
} */

.footer-nav div {
    margin: 0 20px;
}

.view-more {
    text-align: center;
    margin: 0px 0 190px 0;
}

.view-more a {
    display: inline-block;
    color: #888;
    text-decoration: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    position: relative;
}

.view-more a:hover {
    color: #888;
}

.view-more a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #888;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.view-more a:hover::after {
    width: 100%;
}


/* 服务的伙伴样式 */

.partners-section {
    border-top: 1px solid #000;
    margin: 100px 0;
    margin-bottom: 160px;
}

.partners-section2 {
    border: none;
}

.partners-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 114px;
    align-items: flex-start;
}

.partners-title {
    font-size: 34px;
    width: 50%;
    text-align: left;
    color: #0B0B0B;
    opacity: .85;
    padding-top: 21px;
    line-height: 1;
    font-weight: normal;
}

.category-tags {
    width: 50%;
    text-align: right;
    color: #000;
    align-self: center;
    font-size: 14px;
}

.logo-wall {
    width: 100%;
    overflow: hidden;
}

.logo-wall2 {
    width: 100%;
    overflow: hidden;
}

.logo-row {
    display: flex;
    margin-bottom: 30px;
    position: relative;
    width: fit-content;
    gap: 30px;
}

.logo-item {
    min-width: 10px;
    height: 80px;
    margin-right: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

.logo-item img {
    width: auto;
    height: 95%;
    object-fit: contain;
}

.logo-row:nth-child(1) {
    animation: scrollLeft 60s linear infinite;
}

.logo-row:nth-child(2) {
    animation: scrollLeft 70s linear infinite;
}

.logo-row:nth-child(3) {
    animation: scrollLeft 80s linear infinite;
}

.logo-row:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partners-section .on .logo-row {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-around;
}


/* 确保logo行足够宽以覆盖整个可视区域 */

.logo-wall {
    width: 100%;
    overflow: hidden;
}

.back-to-top {
    text-align: right;
    margin: 0;
    margin-bottom: 13.5px;
    line-height: 1;
    font-size: 20px;
}

.back-to-top a {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    display: block;
    line-height: 1;
    font-size: 18px;
}


/* footer */

.contact-section {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.link-wrapper {
    height: auto !important;
}

.link-item {
    font-size: 26px;
    min-height: 128px;
    display: block;
    color: black;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    align-items: center;
    background-color: transparent;
    padding: 0 10px;
    /*padding-left: 20px;*/
}

.footer-container {
    padding: 24px 0 0 0 !important;
}

.link-item:hover {
    color: white;
    background-color: #111;
    transform: translateX(0px);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0;
    padding-bottom: 0;
}

.left-side,
.right-side {
    padding: 0;
}

.contact-info {
    font-size: 14px;
    color: #000;
}

.contact-info p {
    margin: 5px 0;
}

.follow-us {
    margin-bottom: 20px;
    font-size: 14px;
    margin-top: 30px;
}

.social-links {
    margin-top: 5px;
}

.social-link {
    display: inline-block;
    margin-right: 15px;
    position: relative;
    padding: 0px 0;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-top: 3px;
}

.social-link:hover {
    color: #333;
    transform: translateY(-2px);
}

.social-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.social-link:hover::after {
    width: 100%;
}

.company-info {
    margin-bottom: 30px;
    margin-top: 30px;
    font-size: 14px;
}

.company-info:last-child {
    margin-bottom: 0;
}

.address {
    margin-top: 10px;
}

.address a {
    text-decoration: none;
    color: #000;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    cursor: pointer;
    font-weight: bold;
}

.address a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.3s ease;
}

.address a:hover::before {
    width: 100%;
}

.address a:hover {
    color: #000;
    transform: translateX(5px);
}


/* 二维码图片 */

.image-container {
    width: 100%;
    height: 443px;
    border: 2px dashed white;
    position: relative;
    cursor: pointer;
    background-color: white;
    transition: all 0.3s ease;
    /* overflow: hidden; */
    /* 防止内容溢出 */
    display: none;
    top: -24px;
}


/* 确保桌面端样式不受移动端影响 */

@media (min-width: 993px) {
    .image-container {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        max-height: none !important;
        padding: 0 !important;
        z-index: auto !important;
    }
    .image-container.active {
        transform: none !important;
        padding-top: 130px !important;
    }
    .image-container-overlay {
        display: none !important;
    }
}

.image-container p {
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

.image-placeholder {
    color: #999;
    font-size: 14px;
    user-select: none;
    z-index: 1;
}

.hidden-image {
    display: none;
    width: 220px;
    height: 220px;
    margin: 0 auto;
    z-index: 2;
}

.image-placeholder {
    display: none;
    opacity: 0;
    position: absolute;
    left: 0;
}

.close-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #fff;
    color: #333;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: none;
    font-size: 32px;
    line-height: 1;
    z-index: 3;
}

.image-container.active {
    /* border-color: #f9f9f9;
background-color: #f9f9f9; */
    display: block;
    text-align: center;
    padding-top: 130px;
}

.image-container.active::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 668px;
    background-color: #000;
    width: 1px;
}

.image-container.active .close-button {
    display: block;
}

.address p {
    line-height: 24px;
}

.footer-bottom {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    /* 垂直居中 */
    /*padding: 20px 0;*/
    font-size: 14px;
    color: #000;
    position: relative;
    z-index: 11;
    padding-top: 0;
    padding-bottom: 23px;
    margin-top: 187px;
}


/* 新增页脚样式避免频闪 */

footer {
    position: relative;
    z-index: 11;
    background-color: #fff;
    will-change: transform;
}

.footer-container,
.contact-container {
    width: 97%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
    z-index: 11;
    will-change: transform;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}


/* 当页面到达底部时的样式 */

body.at-bottom {
    overscroll-behavior: none;
    /* 防止过度滚动 */
}


/* 当footer-bottom可见时的平滑过渡 */

.footer-bottom {
    transition: opacity 0.3s ease;
    will-change: transform, opacity;
    position: relative;
    z-index: 15;
    /* 确保它在最顶层 */
}

.footer-bottom .bottom.left {
    margin-left: 3%;
    /* 增加左边距 */
}

.footer-bottom .bottom.right {
    margin-right: 3%;
    /* 增加右边距 */
    padding-left: 12px
}


/* Responsive */


/* 轮播图下方滑动覆盖 */

.main {
    position: relative;
    z-index: 2;
    margin-top: 100vh;
    /* 让内容从轮播图下方开始 */
    background: white;
    /* 可加transition让上滑更丝滑 */
    transition: margin-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* 新闻瀑布流布局 */

.news {}

.news .zuopinnav {
    padding-top: 18px;
    margin-bottom: 200px;
}

.news .zuopinnav .left {
    font-size: 34px;
}

.newslist {
    column-count: 2;
    column-gap: 20px;
    margin-bottom: 140px;
}

.news-item {
    overflow: hidden;
    transition: all 0.3s ease;
    break-inside: avoid;
    margin-bottom: 18px;
    display: inline-block;
    width: 100%;
}


/* 不同高度的新闻项 */

.news-image {
    width: 100%;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

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

.news-content {
    padding: 12px 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-summary {
    font-size: 13px;
    line-height: 1.4;
    color: #666;
    margin: 0 0 10px 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.news-date {
    font-size: 14px;
    color: #333;
}

.news-category {
    font-size: 14px;
    color: #333;
    flex: 1;
    padding: 0 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* 悬停效果 */

.news-item:hover {
    cursor: pointer;
}


/* 折叠/展开样式 */

.zuopindetail1 .r .rt.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zuopindetail1 .r .rt.expanded {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
}

.zuopindetail1 .r .rb {
    font-size: 18px;
    color: #9E9F9F;
    cursor: pointer;
}

.zuopindetail2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.newsdetail .mid .r .more::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #888;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.newsdetail .mid .r .more:hover::after {
    width: 100%;
}