:root {
    --heroFade: 0;
    --fadeDistance: 700;
    --pageBg: #fcf2d8;
    --navFade: 0;
    --headerH: 110px;
    --text-color: #333;
    --bg-color: #fff;
    --link-color: #127a3a;
    --link-hover: #0a5227;
    --header-bg: #ddf6bf;
    --dropdown-bg: #ffffff;
    --dropdown-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    --dropdown-border: 1px solid #e8f4d8;
    --footer-bg: #ddf6bf;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 页面主背景：保持黄色 */
body {
    background-color: #fffde9;
    color: #3a3a3a;
    font-family: 'Comic Sans MS', cursive;
    display: block;
}

/* 主内容区域字体设置为正式字体 */
.main-content {
    font-family: 'Times New Roman', Times, Georgia, serif;
}

.main-content p,
.main-content h2 {
    font-family: inherit;
}

/* 滚动动画基础样式 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 内容统一最大宽度容器 */
.wrapper-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.logo-fixed {
    position: fixed;
    top: 10px;
    left: 16px;
    z-index: 4000;
    display: block;
    opacity: var(--navFade);
    transition: opacity .2s linear;
}

.logo-fixed img {
    max-width: 100px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-fixed img:hover {
    transform: scale(1.1);
}

/* 头部导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    background: var(--header-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: opacity .18s linear, transform .18s linear, box-shadow .18s linear, background .18s linear;
    opacity: calc(1 - var(--navFade));
    transform: translateY(calc(-10px * var(--navFade)));
    height: var(--headerH);
}

.header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 100%;
}

.navbar-brand img {
    max-width: 95px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item .nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 24px;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.nav-item .nav-link:hover {
    color: var(--link-color);
}

.nav-item.active .nav-link {
    color: var(--link-color);
    font-weight: 700;
}

.navbar-toggler {
    display: none !important;
}

/* 下拉菜单样式 - 优化设计 */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown .dropdown-toggle {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 24px;
    transition: color 0.3s ease;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item.dropdown .dropdown-toggle::after {
    content: "▼";
    font-size: 14px;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-item.dropdown .dropdown-toggle:hover {
    color: var(--link-color);
}

.nav-item.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dropdown-bg);
    min-width: 220px;
    box-shadow: var(--dropdown-shadow);
    z-index: 1000;
    margin: 6px 0 0;
    padding: 12px 0;
    list-style: none;
    border-radius: 12px;
    border: var(--dropdown-border);
    transform-origin: top center;
    transform: scaleY(0.9);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    transform: scaleY(1);
    opacity: 1;
}

.nav-item.dropdown .dropdown-menu .dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 17px;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.nav-item.dropdown .dropdown-menu .dropdown-item i {
    margin-right: 10px;
    opacity: 0.7;
    width: 16px;
    text-align: center;
}

.nav-item.dropdown .dropdown-menu .dropdown-item:hover {
    color: var(--link-hover);
    background-color: #f0f7ea;
    padding-left: 22px;
}

.nav-item.dropdown .dropdown-menu .dropdown-item:hover i {
    opacity: 1;
}

.dropdown-item .menu-icon {
    margin-right: 10px;
    width: 18px;
    display: inline-block;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.dropdown-item:hover .menu-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* 响应式调整 */
@media(max-width: 991px) {
    .nav-menu {
        flex-wrap: wrap;
        gap: 12px;
        padding: 10px 0;
    }

    .header {
        height: auto;
    }

    body {
        padding-top: 0;
    }

    .safety-hero {
        margin-top: 0;
        top: 0;
    }

    .nav-item.dropdown .dropdown-menu {
        min-width: 180px;
    }

    .nav-item .nav-link,
    .nav-item.dropdown .dropdown-toggle {
        font-size: 20px;
    }
}


/* ================= 顶部横幅（全宽背景，仅这一块） ================= */

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(50px, 18vh, 130px);
    background: linear-gradient(to bottom, rgba(252, 242, 216, 0) 0%, #fffde9 100%);
    z-index: 1;
    pointer-events: none;
}

/* .hero .wrapper-content,
    .hero .green-ring-container {
      position: relative;
      z-index: 2;
    }
*/
@media (max-width: 768px) {
    .hero {
        aspect-ratio: 4 / 3;
    }
}


/* ================= 绿环与导航 ================= */
.green-ring-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 800px;
    min-width: 300px;
    min-height: 300px;
    aspect-ratio: 1/1;
    background: url('https://static.igem.wiki/teams/5726/1/home-page/frist/greencenter.webp') no-repeat center center;
    background-size: contain;
    margin: 0 auto;
}

.wheat-item {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform .3s ease;
    z-index: 1;
}

.text-label {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 1;
    transform: scale(1);
    z-index: 2;
    color: transparent;
}

.wheat-item:hover {
    transform: scale(1.1);
}

.wheat-item:hover+.text-label {
    transform: scale(1.1);
}



/* ================= HOME ================= */
.wheat-home {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/ear1.webp');
}

.text-home {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/home-green.webp');
}

.wheat-home:hover+.text-home,
.text-home:hover {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/home-gold.webp');
}

/* ================= 2 ================= */
.wheat-2 {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/ear3.webp');
}

.text-2 {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/team-green.webp');
}

.wheat-2:hover+.text-2,
.text-2:hover {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/team-gold.webp');
}

/* ================= 3 ================= */
.wheat-3 {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/maisui.webp');
}

.text-3 {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/project-green.webp');
}

.wheat-3:hover+.text-3,
.text-3:hover {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/project-gold.webp');
}

/* ================= 4 ================= */
.wheat-4 {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/ear2.webp');
}

.text-4 {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/parts-green.webp');
}

.wheat-4:hover+.text-4,
.text-4:hover {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/parts-gold.webp');
}

/* ================= 5 ================= */
.wheat-5 {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/ear5.webp');
}

.text-5 {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/safety-green.webp');
}

.wheat-5:hover+.text-5,
.text-5:hover {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/safety-gold.webp');
}



/* ================= 6 ================= */
.wheat-6 {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/ear4.webp');
}

.text-6 {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/human-practice-green.webp');
}

.wheat-6:hover+.text-6,
.text-6:hover {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/hp-gold-10-7.webp');
}


/* ================= 7 ================= */
.wheat-7 {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/ear6.webp');
}

.text-7 {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/sdgs-green.webp');
}

.wheat-7:hover+.text-7,
.text-7:hover {
    background-image: url('https://static.igem.wiki/teams/5726/1/home-page/frist/sdgs-golden.webp');
}



/* 底部居中的横幅图片（参考第一张示意效果） */
/* 预留横幅的底部空间：与图片高度解耦，更自由 */
.hero {
    --badgePad: clamp(80px, 12vh, 140px);
    /* 你想留多高就调这里 */
}

.hero .wrapper-content {
    padding-bottom: var(--badgePad);
}

/* 图片改为按宽度自适应放大 */
.hero-badge {
    position: absolute;
    left: 50%;
    bottom: clamp(16px, 3vh, 32px);
    transform: translateX(-50%);
    height: auto;
    /* 关键：不再固定高度 */
    width: clamp(720px, 80vw, 1400px);
    /* 通过宽度让它变大 */
    z-index: 5000;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .12));
    pointer-events: none;
}


/* 让 hero 有统一的响应式间距与横幅高度 */
.hero {
    position: relative;
    /* 横幅高度 & 与底边的间距（都随屏幕高度自适应） */
    --badgeH: clamp(90px, 14vh, 160px);
    /* 调大最小值/中间值/最大值 */
    /* --badgeH: clamp(56px, 9vh, 88px);*/
    --badgeGap: clamp(16px, 3vh, 32px);
    background: url('https://static.igem.wiki/teams/5726/1/home-page/background-gai/home-gai.webp') center top / 100% auto no-repeat;
}

/* 给上方内容预留空间 = 横幅高度 + 间距 */
.hero .wrapper-content {
    position: relative;
    z-index: 2;
    /* 在渐变之上 */
    padding-bottom: calc(var(--badgeH) + var(--badgeGap));
}

/* 底部横幅固定在 hero 的底部中间 */
.hero-badge {
    position: absolute;
    left: 50%;
    bottom: var(--badgeGap);
    transform: translateX(-50%);
    height: var(--badgeH);
    /* 明确高度，便于计算预留空间 */
    width: auto;
    max-width: min(99%, 1500px);
    z-index: 5000;
    /* 始终盖在最上层，不被遮挡 */
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .12));
    pointer-events: none;
    /* 不影响上面可点击元素 */
}

/* 保险：绿环相关层级较低，避免压到横幅 */
.green-ring-container,
.wheat-item,
.text-label {
    z-index: 2;
}





@media (max-width: 768px) {
    .hero-badge {
        width: min(94%, 720px);
        bottom: 12px;
    }
}


/* ====== 顶部导航 ====== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    background: #ddf6bf;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    opacity: 0;
    /* 初始完全透明 */
    transform: translateY(-100%);
    /* 初始向上移出视口（隐藏） */
    transition: opacity .25s ease, transform .3s cubic-bezier(0.215, 0.61, 0.355, 1), box-shadow .25s ease, background .25s ease;
    pointer-events: none;
    /* 初始不可点击 */
}

.header.header--interactive {
    pointer-events: auto;
}

.header .navbar {
    padding: 10px 14px;
}

.header .navbar.navbar-light .nav-link,
.header .navbar .nav-link {
    color: #222 !important;
}

.header .dropdown-menu {
    border-radius: 10px;
}

/* ================= 主内容区域样式 ================= */
.content-section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px 30px;
    line-height: 1.8;
}

.content-section h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #3a3a3a;
    font-weight: bold;
}

.content-section p {
    font-size: 25px;
    margin-bottom: 15px;
    color: #3a3a3a;
}

/* 保持文档中的粗体样式 */
.content-section strong {
    font-weight: bold;
}

@media (max-width:768px) {
    .content-section {
        padding: 15px 20px;
        margin: 30px auto;
    }

    .content-section h2 {
        font-size: 24px;
    }

    .content-section p {
        font-size: 18px;
    }
}

/* ===== 四宫格布局，仅作用于本段 ===== */
.four-panel {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0;
}

.four-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(260px, auto);
    gap: 24px;
}

.panel {

    border-radius: 12px;
    padding: 18px 22px;
}

.panel-image {
    padding: 0;
    overflow: hidden;

}

.panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 充满且裁剪，效果更接近示意图 */
    display: block;
}

/* ===== 左上文字（按示意图的字体/强调风格） ===== */
.panel-text.tl .para {
    font-family: "Times New Roman", Times, Georgia, serif;
    font-size: 26px;
    /* 接近示意图正文大小 */
    line-height: 1.65;
    color: #1e1e1e;
    margin: 0;
}

.panel-text.tl .hi {
    font-weight: 700;
    color: #d60000;
    /* 红色强调，匹配“bacterial / fungal” */
    letter-spacing: 0.2px;
}

/* ===== 右下文字（按示意图分行与红字数值） ===== */
.panel-text.br {
    font-family: "Times New Roman", Times, Georgia, serif;
    color: #1e1e1e;
}

.panel-text.br .small-title {
    font-size: 20px;
    line-height: 1.4;
    margin: 4px 0 2px;
}

.panel-text.br .sub {
    font-size: 20px;
    line-height: 1.55;
    margin: 2px 0;
}

.panel-text.br .em {
    font-size: 22px;
    line-height: 1.6;
    margin: 6px 0;
    font-weight: 700;
}

.panel-text.br .num {
    color: #d60000;
    /* 红色数字与百分比 */
    font-weight: 800;
}

.panel-text.br .mt {
    margin-top: 8px;
}

/* ===== 响应式：手机上改为纵向排列，顺序为左上→右上→左下→右下 ===== */
@media (max-width: 768px) {
    .four-panel {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .panel {
        padding: 14px 16px;
        border-radius: 10px;
    }

    .panel-text.tl .para {
        font-size: 20px;
        line-height: 1.6;
    }

    .panel-text.br .small-title,
    .panel-text.br .sub {
        font-size: 18px;
    }

    .panel-text.br .em {
        font-size: 20px;
    }
}

/* ======= 小麦叶枯病段落（遵循你第一张图的版式） ======= */
.wheat-blight {
    max-width: 1100px;
    margin: 40px auto 60px;
    padding: 0 4px;
}

.wb-intro .wb-line {
    font-family: "Times New Roman", Times, Georgia, serif;
    font-size: 25px;
    line-height: 1.8;
    color: #1e1e1e;
    margin-bottom: 18px;
}

.wheat-blight .num {
    color: #d60000;
    /* 红色百分比数值 */
    font-weight: 800;
}

/* 世界地图：充满容器、圆角与浅底色保持页面风格 */
.wb-map {

    border-radius: 12px;
    overflow: hidden;
    margin: 12px 0 20px;
}

.wb-map img {
    width: 100%;
    height: auto;
    display: block;
}

/* 中段说明文字（加粗关键词） */
.wb-copy p {
    font-family: "Times New Roman", Times, Georgia, serif;
    font-size: 25px;
    line-height: 1.8;
    color: #1e1e1e;
    margin: 12px 0 10px;
}


/* 底部插画布局：左右排布，移动端纵向 */
.wb-illustrations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: center;
    margin-top: 18px;
}

.wb-illustrations img {
    width: 100%;
    height: auto;
    display: block;
}

/* 让喷雾图更像从左向右喷洒的“方向感” */
.wb-spray {
    justify-self: start;
    max-width: 360px;
}

/* 让叶片插画更显眼一些 */
.wb-leaf {
    justify-self: end;
    max-width: 520px;
}

/* 响应式优化 */
@media (max-width: 992px) {

    .wb-intro .wb-line,
    .wb-copy p {
        font-size: 22px;
    }

    .wb-leaf {
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .wheat-blight {
        margin: 30px auto 44px;
    }

    .wb-illustrations {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .wb-spray,
    .wb-leaf {
        justify-self: center;
        max-width: 88%;
    }
}

/* ======= 农药问题段落======= */
.pesticide-issues {
    max-width: 1100px;
    margin: 40px auto 60px;
    padding: 0 4px;
}

/* 顶部粗体说明 */
.pesticide-issues .pi-intro p {
    font-size: 25px;
    line-height: 1.8;
    color: #1e1e1e;
    margin-bottom: 14px;
}

/* 红色数值 */
.pesticide-issues .num {
    color: #d60000;
    font-weight: 800;
}

/* 顶部三图横排 */
.pi-strip {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 18px;
    align-items: center;
    margin: 10px 0 18px;
}

.pi-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* 第二张素材（小羊）显示为圆形 */
.pi-img.circle {
    border-radius: 9999px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

/* 下方两列：左文右图 */
.pi-details {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 22px;
    align-items: start;
}

.pi-text p {
    font-size: 25px;
    line-height: 1.9;
    color: #1e1e1e;
    margin: 6px 0 12px;
}

.pi-illust img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* 响应式 */
@media (max-width: 992px) {

    .pesticide-issues .pi-intro p,
    .pi-text p {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .pi-strip {
        grid-template-columns: 1fr 1fr;
    }

    .pi-bacteria {
        grid-column: 1 / -1;
    }

    .pi-details {
        grid-template-columns: 1fr;
    }
}


/* ===== Learn more about the us (lightbox navigator) ===== */
.lm-sec {
    padding-top: 8px;
}

.lm-title {
    text-align: center;
    font-weight: 700;
    letter-spacing: .2px;
    margin: 6px 0 14px;
    color: #2a2a2a;
}

/* 外层浅色背景带（与截图相似） */
.lm-wrap {
    position: relative;
    /* background:#fdfdfd;*/
    border-radius: 6px;
    padding: 22px 48px;
    /* 给箭头留空间 */
    /* box-shadow: 0 2px 14px rgba(0,0,0,.04) inset;*/
}

/* 视口与轨道 */
.lm-viewport {
    overflow: hidden;
}

.lm-track {
    display: flex;
    gap: 28px;
    align-items: stretch;
    scroll-behavior: smooth;
}

/* 卡片（桃色圆角） */
.lm-card {
    flex: 0 0 220px;
    /* 单卡宽度（与截图接近） */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f5be9e;
    /* 桃色 */
    color: #111;
    text-decoration: none;
    border-radius: 22px;
    padding: 24px 18px;
    /*box-shadow: 0 6px 14px rgba(0,0,0,.06);*/
    transition: transform .18s ease, box-shadow .18s ease;
}

.lm-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .08);
}

.lm-card .lm-icon {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
    filter: grayscale(15%);
}

.lm-card span {
    font-weight: 700;
}

/* 左右蓝色箭头按钮 */
.lm-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f2c1f8;
    color: #fff;
    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 16px rgba(44, 103, 201, .25);
}

.lm-arrow--prev {
    left: 8px;
}

.lm-arrow--next {
    right: 8px;
}

.lm-arrow:active {
    transform: translateY(-50%) scale(.98);
}

/* 响应式：小屏时缩小卡片宽度与内边距 */
@media (max-width: 768px) {
    .lm-wrap {
        padding: 18px 42px;
    }

    .lm-card {
        flex-basis: 180px;
    }
}

@media (max-width: 520px) {
    .lm-wrap {
        padding: 16px 38px;
    }

    .lm-card {
        flex-basis: 160px;
    }
}



/* ===== Footer (按截图还原) ===== */
.site-footer {
    background: var(--header-bg);
    color: #1f1f1f;
    padding: 38px 0 24px;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.site-footer .footer__container {
    width: min(1230px, 92%);
    margin: 0 auto;
}

/* 顶部行：左标志 + 右联系 */
.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.footer__brand img {
    height: 92px;
    /* 视觉与截图接近，可按需微调 */
    width: auto;
    display: block;
}

.footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 18px;
    line-height: 1.6;
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__contact .ico {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    color: #222;
}

.footer__contact a {
    color: #1f5fbf;
    text-decoration: none;
}

.footer__contact a:hover {
    text-decoration: underline;
}

/* 中部标语 + 分割线 */
.footer__tagline {
    margin: 18px 0 10px;
    font-size: 20px;
    line-height: 1.6;
}

.footer__line {
    height: 1px;
    background: rgba(0, 0, 0, .08);
    margin: 12px 0 22px;
}

/* 三枚 LOGO */
.footer__logos {
    display: flex;
    align-items: center;
    gap: 30px;
    /* 按截图靠左排布；若需居中可改为 center */
    justify-content: flex-start;
}

.footer__logos img {
    height: 78px;
    /* 三标高度一致，跟截图接近 */
    width: auto;
    object-fit: contain;
    display: block;
    filter: none;
}

/* 底部版权 */
.footer__meta {
    text-align: center;
    margin-top: 18px;
}

.footer__meta p {
    margin: 0;
    font-size: 14px;
    color: #4b4b4b;
    line-height: 1.6;
}

.footer__meta a {
    color: #1f5fbf;
    text-decoration: none;
}

.footer__meta a:hover {
    text-decoration: underline;
}

/* 响应式 */
@media (max-width: 900px) {
    .footer__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__contact {
        width: 100%;
    }

    .footer__logos {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer__brand img {
        height: 84px;
    }
}

@media (max-width: 520px) {
    .footer__brand img {
        height: 76px;
    }

    .footer__logos img {
        height: 64px;
    }

    .footer__contact {
        font-size: 16px;
    }

    .footer__tagline {
        font-size: 18px;
    }
}


/* 顶部四个LOGO */
.footer__logos-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    /* LOGO间距 */
    flex-wrap: wrap;
    /* 小屏幕换行 */
    margin-bottom: 20px;
    padding: 0 10px;
}

.footer-logo {
    height: 80px;
    /* 统一高度 */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    /* 悬浮微放大 */
}

/* 分割线 */
.footer__line {
    height: 1px;
    background: rgba(0, 0, 0, .1);
    margin: 0 0 20px;
    /* 与上下内容的间距 */
}

/* 底部内容容器 */
.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* 社交文本与版权的间距 */
}

/* 社交媒体纯文本 */
.footer__social-text {
    text-align: center;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    padding: 0 10px;
    /* 避免边缘溢出 */
    word-wrap: break-word;
    /* 长文本自动换行 */
}

.footer__social-text a {
    color: #1f5fbf;
    text-decoration: none;
}

.footer__social-text a:hover {
    text-decoration: underline;
}

/* 版权文字 */
.footer__meta {
    text-align: center;
}

.footer__meta p {
    margin: 0;
    font-size: 14px;
    color: #4b4b4b;
    line-height: 1.6;
}

.footer__meta a {
    color: #1f5fbf;
    text-decoration: none;
}

.footer__meta a:hover {
    text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer__logos-top {
        gap: 20px;
        /* 小屏幕LOGO间距缩小 */
    }

    .footer-logo {
        height: 65px;
        /* 小屏幕LOGO缩小 */
    }

    .footer__social-text {
        font-size: 14px;
        /* 小屏幕文字缩小 */
    }
}

@media (max-width: 480px) {
    .footer__social-text {
        font-size: 13px;
        line-height: 1.8;
        /* 增加行高避免拥挤 */
    }

    .footer__meta p {
        font-size: 13px;
    }
}