.header {
    width: 100%;
    height: 120px;
}

/* 确保页面没有水平滚动条、没有默认边距 */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: block;
}



.page-container {
    min-height: calc(100vh - 155px);
    /* 内容至少撑满屏幕减去footer高度 */
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
}

#footer-container {
    width: 100%;
    position: relative;
    top: 200px;
    margin-top: auto;
    /* 自动推到页面底部 */
}

.navbar {
    width: 100%;
    padding: 0;
    margin: 0;

}

.navnavbar-nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: rgba(249, 208, 22, 0);
    position: absolute;
    top: 0;
    width: 100%;
    align-items: center;
    display: flex;

}

.menu-item {
    display: flex;
    align-items: center;
}

.menu-item:first-child {
    margin-right: auto;
}

.menu-item a {
    display: block;
    color: white;
    text-align: center;
    padding: 36px 16px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}



/* 当鼠标悬停时把链接颜色更改为 #111（黑色） */
.menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #FB0;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.menu-item a:hover::after {
    width: 80%;
}

.menu-item a:hover {
    color: #FB0;
    background-color: transparent;
    /* 移除背景色 */
}

.menu-item .search-container form {
    display: flex;
    align-items: center;
}

.menu-item .search-container input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    color: dimgray;
}

.menu-item .search-container button {
    padding: 8px 12px;
    margin-left: 5px;
    background: #bab6b6;
    font-size: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.menu-item .search-container button:hover {
    background: #a7a7a7;
}






* {
    box-sizing: border-box
}

.slideshow-container .mySlides {
    display: none;
}



.slideshow-container img {
    vertical-align: middle;
}

/* 幻灯片容器 */
.slideshow-container {
    width: 100%;
    margin: auto;
    max-height: 745px;
    height: auto;
    font-family: Arial;
}

.cover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    height: 151px;
    /* 总高度 */
    transform: translateY(10%);
    /* 30%在幻灯片外部 */
}

.cover img {
    width: 100%;
    display: block;
    height: 106px;
    /* 可见部分高度 */
    object-fit: cover;
}

/* 下一个和上一个按钮 */
.slideshow-container .prev,
.slideshow-container .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* 将“下一个按钮”置于右侧 */
.slideshow-container .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* 鼠标悬停时，添加带有一点透明的黑色背景色 */
.slideshow-container .prev:hover,
.slideshow-container .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}





/* 圆点/子弹/指示器 */
.slideshow-container .dot-container {
    position: absolute;
    top: 750px;
    left: 1250px;
}

.slideshow-container .dot {
    cursor: pointer;
    width: 8px;
    height: 8px;
    margin: 0 2px;
    background-color: #848484;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.slideshow-container .active,
.slideshow-container .dot:hover {
    background-color: #404040;
}

/* 渐隐动画 */
.slideshow-container .fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

.slideshow-container .text-block {
    position: absolute;
    bottom: 15%;
    left: 10%;
    width: 80%;
    color: white;
    z-index: 3;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.slideshow-container .text-block .text1 {
    color: #FFF;
    font-family: "Noto Sans S Chinese";
    font-size: 1.2vw;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 21.884px */
}

.slideshow-container .text-block .text2 {
    color: #FFF;

    /* H1 */
    font-family: "Noto Sans S Chinese";
    font-size: 3.5vw;
    font-style: normal;
    font-weight: 700;
    line-height: 64px;
    /* 133.333% */
}

.slideshow-container .text-block .text3 {
    color: #FFF;
    font-family: "Noto Sans S Chinese";
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 22.5px */
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* 响应式设计 */
@media screen and (max-width: 900px) {
    .text-block {
        bottom: 12%;
        left: 5%;
        width: 90%;
        padding: 15px;
    }

    .text1 {
        font-size: 1.8vw;
    }

    .text2 {
        font-size: 4.5vw;
    }

    .text3 {
        font-size: 1.6vw;
    }
}

@media screen and (max-width: 600px) {
    .text-block {
        bottom: 10%;
        left: 5%;
        width: 90%;
        padding: 10px;
    }

    .text1 {
        font-size: 2.2vw;
    }

    .text2 {
        font-size: 5.5vw;
    }

    .text3 {
        font-size: 2vw;
        display: none;
        /* 在小屏幕上隐藏长文本 */
    }

    .prev,
    .next {
        padding: 12px;
        font-size: 18px;
    }

    .dot {
        height: 10px;
        width: 10px;
    }
}

@media screen and (max-width: 400px) {
    .text2 {
        font-size: 6vw;
    }

    .text1 {
        font-size: 2.8vw;
    }
}

.information {
    position: relative;
    top: 200px;
}

.information .image-bird {
    position: relative;
    top: 200px;
    left: 200px;
    display: inline-block;
}

.information .image-tiger {
    position: relative;
    top: 300px;
    left: 150px;
    display: inline-block;
}


.information .text-block {
    position: relative;
    top: 100px;
    left: 300px;
    width: 900px;
    display: inline-block;
    gap: 30px;
}

.information .text-block .text1 span {
    color: var(--Text-Color, #FB0);

}

.information .text-block .text1 {
    color: var(--Text-Color, #464646);
    font-family: "Noto Sans S Chinese";
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    /* 更紧凑的行距 */
    margin-bottom: 12px;
    /* 控制与 text2 的间距 */
    height: auto;
    /* 不要固定高度 */
}

.information .text-block .text2 {
    color: var(--Text-Color, #464646);
    font-family: "Noto Sans S Chinese";
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.information .reason {
    list-style: none;
    position: relative;
    top: 70px;
    left: 850px;

}

.information .reason img {
    position: relative;
    top: 8px;
}

.information .reason .text1 {
    color: var(--Text-Color, #FB0);
    font-family: "Noto Sans S Chinese";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 38px;
}

.information .reason .text2-4 {
    color: var(--Text-Color, #464646);
    font-family: "Noto Sans S Chinese";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 38px;
}

.information .reason-port {
    position: relative;
    top: -95px;
    left: 1040px;

}

.information .list {
    position: relative;
    top: 0px;
    left: 0px;
}

.information .bili {
    position: relative;
    top: -130px;
    left: 30px;
}

.information .bili span {
    position: relative;
    top: -49px;
    left: -77px;
    color: var(--Text-Color, #464646);
    text-align: center;
    font-family: "Noto Sans S Chinese";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    /* 133.333% */
}

.information .explain {
    position: relative;
    top: -240px;
    left: 180px;
    color: var(--Text-Color, #464646);

    /* Ano */
    font-family: "Noto Sans S Chinese";
    font-size: 14px;
    font-style: normal;
    font-weight: 350;
    line-height: 16px;
    /* 133.333% */
}

.information .explain2 {
    position: relative;
    top: -200px;
    left: -150px;
    color: var(--Text-Color-, #FB0);

    font-family: "Noto Sans S Chinese";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.notice {
    position: relative;
    width: 100%;
    top: 180px;
    left: 0px;
}

.notice .notice-number .notice-item {
    width: 400px;
    height: 100px;
    flex-shrink: 0;
    background: #F5CF5D;
    display: inline;
    float: right;
    align-items: center;
    color: #FFF;
    font-family: "Noto Sans S Chinese";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    border-right: 35px solid rgba(76, 175, 80, 0);
    border-left: 35px solid rgba(76, 175, 80, 0);
    margin: 0;
    padding: 0;
    text-align: center;

}

.notice .notice-number .notice-item span {
    font-size: 47px;
    position: relative;
    left: 35px;
    top: -40px;
}

.notice .notice-number {
    position: relative;
    top: 0px;
    left: -300px;
    margin: 0;
    padding: 0;
}

.notice .notice-number .notice-item img {
    position: relative;
    top: 20px;
    vertical-align: middle;
}

.notice p {
    position: relative;
    left: 300px;
    color: var(--Text-Color, #464646);
    font-family: "Noto Sans S Chinese";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.map-container .map-title {
    background: var(--Background, #FFFAD9);
    position: relative;
    height: 200px;
    top: 120px;
    z-index: -1;
    display: flex;
    /* 新增 */
    flex-direction: column;
    /* 新增 */
    justify-content: center;
    /* 新增 */
    align-items: center;
    /* 新增 */
    min-height: 300px;
    width: 100%;
    /* 修改为最小高度 */
}

.map-container .map-title .text1 {
    color: var(--Text-Color-, #464646);
    font-family: "Noto Sans S Chinese";
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 64px;
    align-items: center;
    text-align: center;
    display: block;
    max-width: 1700px;
    /* 添加最大宽度 */
    margin: 0 auto;
    /* 配合max-width居中 */
    padding: 0 20px;
    /* 防止贴边 */
}

.map-container .map-title .text2 {
    color: #657066;
    text-align: center;
    font-family: "Noto Sans S Chinese";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.map-container .map-img {
    position: relative;
    top: 200px;
    width: auto;
    display: inline;
    margin: 0;
    padding: 0;
    align-items: center;
}

.map-container .map-img .map-item1 {
    display: inline;
    left: 150px;
    width: auto;
    position: relative;
}

.map-container .species-inf {
    display: inline;
    position: relative;
    top: -120px;
    left: 200px;
    width: 300px;
}


.classification .action .action-text-box {
    position: relative;
    top: 60px;
    left: 150px;
}

.classification .action .action-text1 {
    color: var(--Text-Color, #464646);
    font-family: "Noto Sans S Chinese";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.classification .action .action-text2 {
    color: var(--Text-Color, #464646);
    font-family: "Noto Sans S Chinese";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}




body {
    background-color: #f5f5f5;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 全屏背景容器 */
.fullscreen-bg {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
        url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.classification {
    width: 100%;
    max-width: 1400px;
    padding: 40px 20px;
    margin: 0 auto;
}

.cla-text-box {
    text-align: left;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: 0;

}

.cla-text-box h1 {
    color: var(--Text-Color, #464646);

    /* H1 */
    font-family: "Noto Sans S Chinese";
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 64px;
    /* 133.333% */
}

.cla-text1 {
    color: var(--Text-Color, #464646);

    /* T */
    font-family: "Noto Sans S Chinese";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
}

.cla-text2 {
    color: var(--Text-Color, #464646);

    /* Bold T */
    font-family: "Noto Sans S Chinese";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.classification-container {
    display: flex;
    gap: 25px;
    margin-top: 30px;
    align-items: stretch;
}

/* 左侧珍惜兽类容器 */
.left-column {
    flex: 0 0 30%;
    display: flex;
}

.mammal-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.mammal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.mammal-image {
    position: relative;
    width: 100%;
    height: 100%;
    /* 填充整个卡片 */
}

.mammal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mammal-card:hover .mammal-image img {
    transform: scale(1.05);
}

.mammal-title {
    position: absolute;
    top: 0px;
    left: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    z-index: 2;
    color: #FFF;
    font-family: "Noto Sans S Chinese";
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 64px;
}

.mammal-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mammal-text1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c3e50;
}

.mammal-text2 {
    position: absolute;
    top: 450px;
    left: 15px;
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
    flex-grow: 1;
    color: #FFF;
    font-family: "Noto Sans S Chinese";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;

}

.mammal-link {

    position: absolute;
    top: 600px;
    left: 15px;
    display: inline-flex;
    align-items: center;
    color: #FB0;
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
    transition: color 0.3s ease;
}

.mammal-link:hover {
    color: #e6a800;
}

.mammal-link img {
    margin-left: 5px;
    width: 16px;
    height: 16px;
}

/* 右侧其他分类容器 - 不等大布局 */
.right-column {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 1fr;
    gap: 15px;
    height: 100%;
    min-height: 650px;
}

.category-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-title {
    position: absolute;
    top: 0px;
    left: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    z-index: 2;
    color: #FFF;
    font-family: "Noto Sans S Chinese";
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 64px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    color: #FB0;
    font-weight: 700;
    text-decoration: none;
    margin: 10px;
    transition: color 0.3s ease;
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 4px;
}

.category-link:hover {
    color: #fff;
    background: #FB0;
}

.category-link img {
    margin-left: 5px;
    width: 12px;
    height: 12px;
    filter: brightness(0) invert(1);
}

/* 不等大布局分配 */
.reptile-card {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
}

.amphibian-card {
    grid-column: 5 / 8;
    grid-row: 1 / 3;
}

.bird-card {
    grid-column: 1 / 3;
    grid-row: 3 / 5;
}

.fish-card {
    grid-column: 3 / 8;
    grid-row: 3 / 5;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .classification {
        padding: 40px 30px;
    }
}

@media (max-width: 992px) {
    .classification-container {
        flex-direction: column;
    }

    .left-column {
        flex: 0 0 auto;
        margin-bottom: 25px;
    }

    .right-column {
        min-height: 500px;
        grid-template-columns: repeat(4, 1fr);
    }

    .reptile-card {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .amphibian-card {
        grid-column: 3 / 5;
        grid-row: 1 / 2;
    }

    .bird-card {
        grid-column: 3 / 5;
        grid-row: 2 / 3;
    }

    .fish-card {
        grid-column: 1 / 5;
        grid-row: 3 / 4;
    }
}

@media (max-width: 768px) {
    .classification {
        padding: 30px 20px;
    }

    .right-column {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(200px, 1fr);
        min-height: 800px;
    }

    .reptile-card,
    .amphibian-card,
    .bird-card,
    .fish-card {
        grid-column: 1 / 2;
    }

    .reptile-card {
        grid-row: 1 / 2;
    }

    .amphibian-card {
        grid-row: 2 / 3;
    }

    .bird-card {
        grid-row: 3 / 4;
    }

    .fish-card {
        grid-row: 4 / 5;
    }

    .mammal-title {
        font-size: 1.8rem;
    }

    .mammal-text1 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .classification {
        padding: 20px 15px;
    }

    .classification-container {
        gap: 15px;
    }

    .mammal-image {
        height: 250px;
    }

    .mammal-title {
        font-size: 1.5rem;
    }

    .mammal-text1 {
        font-size: 1.2rem;
    }
}
























.action .action1-container .action-system-text1 {
    color: #FFF;
    font-family: "Noto Sans S Chinese";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    position: absolute;
    left: 20px;
    top: 300px;
}

.action .action1-container .action-system-text2 {
    color: #FFF;
    font-family: "Noto Sans S Chinese";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    position: absolute;
    left: 20px;
    top: 341px;
}

.action .action1-container .action-system-text3 {
    color: var(--Text-Color, #FB0);
    font-family: "Noto Sans S Chinese";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    position: absolute;
    left: 20px;
    top: 395px;
    text-decoration: none;
    align-items: center;
    display: inline-flex;
}

.action {
    max-width: 1400px;
    margin: 60px auto;
    padding: 20px;
}

.action-text-box {
    text-align: left;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: 0;
}

.action-text-box h1 {
    color: var(--Text-Color, #464646);

    /* H1 */
    font-family: "Noto Sans S Chinese";
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 64px;
}

.action-text1 {
    color: var(--Text-Color, #464646);

    /* T */
    font-family: "Noto Sans S Chinese";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.action-text2 {
    color: var(--Text-Color, #464646);

    /* Bold T */
    font-family: "Noto Sans S Chinese";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    font-weight: 700;
    color: #FB0;
}

.action-content {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

/* 左侧主卡片 */
.main-card {
    flex: 0 0 40%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.main-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.main-card-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.main-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-card:hover .main-card-image img {
    transform: scale(1.05);
}

.main-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.main-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    position: absolute;
    top: 300px;
    left: 15px;
}

.main-card-description {
    color: #FFF;
    font-family: "Noto Sans S Chinese";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    position: absolute;
    top: 365px;
    left: 15px;
}

.main-card-link {
    display: inline-flex;
    align-items: center;
    color: #FFD700;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
    position: absolute;
    top: 500px;
    left: 15px;
}

.main-card-link:hover {
    color: #FFA500;
}

.main-card-link img {
    margin-left: 8px;
    width: 16px;
    height: 16px;
}

/* 右侧卡片网格 - 修改为水平排列 */
.side-cards {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 改为3列水平排列 */
    grid-template-rows: 1fr;
    /* 只有一行 */
    gap: 25px;
}

.side-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    /* 改为列布局，图片在上内容在下 */
}

.side-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.side-card-image {
    flex: 0 0 40%;
    overflow: hidden;
}

.side-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.side-card:hover .side-card-image img {
    transform: scale(1.05);
}

.side-card-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.side-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c3e50;
}

.side-card-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.side-card-link {
    display: inline-flex;
    align-items: center;
    color: #FB0;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.side-card-link:hover {
    color: #e6a800;
}

.side-card-link img {
    margin-left: 5px;
    width: 16px;
    height: 16px;
}

/* 响应式设计 */
@media (max-width: 1100px) {
    .action-content {
        flex-direction: column;
    }

    .main-card {
        flex: 0 0 auto;
        margin-bottom: 30px;
    }

    .side-cards {
        grid-template-columns: repeat(2, 1fr);
        /* 中等屏幕改为2列 */
        grid-template-rows: auto auto;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .action {
        margin: 30px auto;
        padding: 10px;
    }

    .action-text-box h1 {
        font-size: 2rem;
    }

    .side-cards {
        grid-template-columns: 1fr;
        /* 小屏幕改为1列 */
    }

    .side-card {
        flex-direction: column;
    }

    .side-card-image {
        flex: 0 0 180px;
    }

    .main-card-image {
        height: 250px;
    }

    .main-card-content {
        padding: 20px;
    }

    .main-card-title {
        font-size: 1.5rem;
    }

    .main-card-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .action-text-box h1 {
        font-size: 1.8rem;
    }

    .main-card-image {
        height: 200px;
    }

    .side-card-image {
        flex: 0 0 150px;
    }
}

.china-map {
    width: 100%;
    height: 1500px;
    background-color: #ffffff;
    border-radius: 8px;
}

/* 模态框背景 */
.modal {
    display: none;
    /* 默认隐藏 */
    position: fixed;
    z-index: 10;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;

    background-color: #9E2F2F;
}

/* 模态框内容 */
.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px 30px;
    border-radius: 12px;
    width: 60%;
    max-width: 800px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
}

/* 标题 */
.modal-content h2 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 关闭按钮 */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: #000;
}

/* 物种列表 */
.species-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.species-item {
    flex: 1 1 calc(33.3% - 10px);
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.species-item:hover {
    transform: translateY(-5px);
}

.species-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

.species-item p {
    margin: 8px 0 0 0;
    font-size: 14px;
    text-align: center;
    color: #2c3e50;
}

/* tooltip 内部的物种标签样式 */
.species-tag {
    display: inline-block;
    background-color: #eaf4ff;
    color: #1890ff;
    font-size: 12px;
    padding: 3px 8px;
    margin: 2px;
    border-radius: 12px;
    border: 1px solid #91d5ff;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.species-tag {
    display: inline-block;
    background-color: #eaf4ff;
    color: #1890ff;
    font-size: 12px;
    padding: 3px 8px;
    margin: 2px;
    border-radius: 12px;
    border: 1px solid #91d5ff;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.my-tooltip {
    position: relative;
    /* 必须有，保证伪元素定位基于 tooltip */
    padding-left: 16px;
    /* 给左边留一点空间放竖线 */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


.my-tooltip::before {
    /* 左侧装饰竖线 */
    content: '';
    position: absolute;
    left: 0;
    /* 靠最左 */
    top: 0;
    /* 顶部对齐 */
    width: 4px;
    /* 竖线宽度，可调 */
    height: 100%;
    /* 和 tooltip 高度一致 */
    background: l#9E2F2F;
    /* 漂亮的渐变色 */
    border-radius: 4px 0 0 4px;
    /* 圆角 */
}

/* tooltip 外层容器，带竖线 */
.my-tooltip .tooltip-container {
    position: relative;
    background-color: #fff;
    /* 保证背景是纯白 */
    padding-left: 16px;
    /* 给竖线留出空隙 */
    border-left: 6px solid #9E2F2F;
    /* 竖线颜色和宽度 */
    box-sizing: border-box;
    min-width: 260px;
    /* 保证宽度 */
    height: 100%;
}

/* 省份标题 */
.my-tooltip .tooltip-container .provincename {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
}

.my-tooltip .famous-species {
    display: inline-flex;
    padding: 1px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #FB0;
    color: #FFF;
    font-family: "Noto Sans S Chinese";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;

}


.flagship-box {
    margin-top: 5px;
}

.flagship-item {
    display: flex;

    margin-bottom: 4px;
}

.flagship-status {
    font-weight: bold;
    margin-right: 6px;
    padding: 2px 6px;
    border-radius: 4px;
    color: #5843ac;
    font-size: 12px;
}

.status-critical {
    background-color: #e74c3c;
}

/* 极危 */
.status-endangered {
    background-color: #e67e22;
}

/* 濒危 */
.status-high {
    background-color: #d35400;
}

/* 高危 */
.status-vulnerable {
    background-color: #f1c40f;
}

/* 易危 */
.status-normal {
    background-color: #95a5a6;
}

/* 其他 */

.flagship-box {
    margin-top: 5px;
}

.flagship-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.flagship-status {
    color: #BE6262;
    font-family: "Noto Sans S Chinese";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    /* 171.429% */
    border-radius: 2px;
    background: rgba(190, 98, 98, 0.15);
}

.status-critical {
    background-color: #e74c3c;
}

/* 极危 */
.status-endangered {
    background-color: #e67e22;
}

/* 濒危 */
.status-high {
    background-color: #d35400;
}

/* 高危 */
.status-vulnerable {
    background-color: #f1c40f;
}

/* 易危 */
.status-normal {
    background-color: #95a5a6;
}

/* 其他 */

.flagship-name {
    color: var(--Text-Color-, #464646);
    font-family: "Noto Sans S Chinese";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.flagship-link img {
    width: 14px;
    height: 14px;
    margin-left: 5px;
    transition: transform 0.2s;
}

.flagship-link img:hover {
    transform: scale(1.1);
}

.flagship-img {
    width: 242px;
    height: 163px;
    flex-shrink: 0;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
}

.species-list {
    margin-top: 20px;
}

/* 确保模态框内容可点击 */
.modal-content a {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.modal-content * {
    pointer-events: auto !important;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* 在小屏幕上，减小文字大小 */
@media only screen and (max-width: 300px) {

    .prev,
    .next,
    .text {
        font-size: 11px
    }
}

@media (max-width: 768px) {
    .navnavbar-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .menu-item {
        margin: 0 !important;
        justify-content: center;
    }

    .menu-item a {
        padding: 15px 10px;
    }

    .menu-item .search-container {
        padding: 15px 10px;
    }

    .big-search {
        width: 90%;
    }

    .row {
        flex-direction: column;
    }

    .vl {
        width: 100%;
        height: 1px;
        margin: 20px 0;
    }
}