/* ========== 植物园网站基础样式 ========== */
:root {
    --primary-green: #38a660;
    --light-green: #6c9f3d;
    --dark-green: #1e7e34;
    --accent-pink: #e91e63;
    --nav-gradient: linear-gradient(135deg, #4CAF50, #45a049);
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    font-weight: 400;
    margin-top: 70px; /* 给固定导航栏留出空间 */
    max-width: 100vw;
    height: 100vh;
    /* background-color: #F6F6F6; */
}

/* ========== 腾讯风格轮播图 Hero Section ========== */
.hero-section {
    position: relative;
    width: 100%;
    height: 33vw;
    overflow: hidden;
    top: -70px;
    z-index: 1; /* 确保在智能简介section之下 */
}

/* 轮播图容器 */
.swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 轮播图包装器 */
.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

/* 单个轮播图 */
.swiper-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

.swiper-slide.active {
    opacity: 1;
}

/* 轮播图背景 */
.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.slide-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}



/* 兰花展标题样式 */
.hero-content h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.3;
    margin-bottom: 15px;
}

/* 兰花展段落样式 */ 
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* 最后一个段落去掉下边距 */
.hero-content p:last-of-type {
    margin-bottom: 0;
}

/* 轮播图内容标题和段落样式 */
.slide-content h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.3;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.slide-content p:last-of-type {
    margin-bottom: 0;
}

/* ========== 导航控制容器样式 ========== */
.carousel-controls {
    position: absolute;
    bottom: 100px;
    width: 1100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
    padding: 12px 24px;
    

    -webkit-backdrop-filter: blur(8px);
 
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
}

/* ========== 腾讯官网风格指示点 - 简洁版 ========== */
.carousel-indicators {
    display: flex;
    gap: 8px;
    margin-right: 5%;
    justify-content: flex-end;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* 指示点悬停效果 */
.indicator-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 激活状态的指示点 - 腾讯简洁风格 */
.indicator-dot.active {
    background: #38a660; /* 腾讯蓝色 */
   width: 20px;
}

/* ========== 腾讯风格轮播图导航箭头 ========== */
.carousel-nav {
    height: 36px;
    width: 60px;
    background:none;
    /* -webkit-backdrop-filter: blur(8px); */
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 导航箭头悬停效果 */
.carousel-nav:hover {
    transform: translateY(-2px);
}

/* 导航箭头激活效果 */
.carousel-nav:active {
    transform: translateY(0);
}
.prev{
   background-image: url('../assets/index/prev.png');
   background-size: 100% 100%;
}
.next{
    background-image: url('../assets/index/next.png');
    background-size: 100% 100%;
}


/* ========== 页面元素通用样式 ========== */
/* 庞门正道标题字体通用类 */
.pmz-title-font {
    font-family: 'PMZDBiaoTi-regular', 'Microsoft YaHei', sans-serif !important;
}

.section-title {
    font-family: 'YSYuanTi-regular';
   
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-left: 1rem;
    color: var(--dark-green);
    text-align: left !important;
}

/* 期刊展示区域样式 */
.journal-section .row {
    flex-wrap: nowrap !important;
    overflow: hidden;
}

.journal-section .col-md-6 {
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 768px) {
    .journal-section .col-md-6 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 576px) {
    .journal-section .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* ========== 职能简介和近期公告整体样式 ========== */
/* ========== 智能简介和近期公告section样式 ========== */
.zn-section {
    padding: 0;
    margin: 0;
    margin-top: -50px;
    position: relative;
    z-index: 10; /* 确保在轮播图之上 */
}

.intro-announcement-section {
    padding: 0;
    margin: 0;
}

/* 智能简介和近期公告section向上移动与轮播图重叠 */


.intro-announcement-section .row {
    margin: 0;
    display: flex;
    align-items: stretch; /* 确保子元素高度相等 */
}

.intro-announcement-section .col-md-6,
.intro-announcement-section .col-lg-7,
.intro-announcement-section .col-lg-5 {
    display: flex;
    flex-direction: column;
}

/* 如果需要调整section内部的上下间距 */


/* ========== 职能简介样式 ========== */
.intro-section {
    background: white;
    height: 700px; /* 设置固定高度 */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* 确保内容不会溢出 */
}

.intro-hero {
    position: relative;
    height: 280px;
    display: flex;
    overflow: hidden;
}

.intro-bg {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.intro-overlay {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.intro-title {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.intro-subtitle {
    font-size: 2.2rem;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
}

.intro-side-image {
    flex: 1;
    overflow: hidden;
}

.intro-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-content {
    padding: 2rem 2.5rem 1rem 2.5rem; /* 调整内边距 */
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* 填充剩余空间 */
    height: calc(700px - 280px); /* 固定内容区域高度 */
    overflow: hidden; /* 确保内容不会溢出 */
}

.intro-content .text-center {
    margin-top: auto; /* 将按钮推到底部 */
}

.section-header {
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;

    padding-bottom: 0.5rem;
    display: inline-block;
}

.intro-description {
    color: #333;
    line-height: 1.5;
    margin-bottom: 2;
    font-size: 0.95rem;
}

.intro-features {
    padding: 0;
    margin-bottom: 10px;
    flex-grow: 1; /* 占据剩余空间 */
}

.intro-features p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    padding-left: 0;
  
}

/* 确保最多显示5条特性 */
.intro-features p:nth-child(n+6) {
    display: none;
}

/* ========== 近期公告样式 ========== */
.announcement-section {
    background: white;
    height: 700px; /* 与左侧容器相同的固定高度 */
    border-left: 1px solid #eee;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* 确保内容不会溢出 */
}

.announcement-hero {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.announcement-bg {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.announcement-content {
    padding: 2rem 2rem 1rem 2rem; /* 调整内边距保持一致 */
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    flex-grow: 1; /* 填充剩余空间 */
    height: calc(700px - 280px); /* 固定内容区域高度 */
    overflow: hidden; /* 确保内容不会溢出 */
}

.announcement-content .text-center {
    margin-top: auto; /* 将按钮推到底部 */
}

.announcement-list {
    margin-bottom: 1.5rem;
    flex-grow: 1; /* 占据剩余空间 */
}

/* 确保最多显示5条公告 */
.announcement-item:nth-child(n+6) {
    display: none;
}

.announcement-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-item:hover {
    background: rgba(56, 166, 96, 0.05); /* 调整背景色与主题色一致 */
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 4px;
}

.announcement-text {
    flex: 1;
    display: block; /* 改为block以便省略号正常工作 */
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-right: 0.8rem;
    white-space: nowrap; /* 不换行 */
    overflow: hidden; /* 隐藏溢出内容 */
    text-overflow: ellipsis; /* 显示省略号 */
    cursor: pointer; /* 鼠标变为手指 */
    transition: color 0.3s ease; /* 添加颜色过渡效果 */
}

.announcement-text:hover {
    color: var(--primary-green); /* hover时文字变色 */
    font-size: 16px;
}

.announcement-bullet {
    color: var(--primary-green);
    margin-right: 0.4rem;
    font-weight: bold;
    display: inline; /* 确保bullet与文字在同一行 */
}

.announcement-date {
    color: #999;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ========== 自定义绿色按钮 ========== */
.btn-custom-green {
    background: var(--primary-green);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
    width: 140px; /* 固定按钮宽度 */
    text-align: center;
}

.btn-custom-green:hover {
    background: var(--dark-green);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* ========== 部门动态卡片样式 ========== */
.plant-card {
    background: white;

    overflow: hidden;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    border: 1px solid #f0f0f0;
    height: 300px;
}

.plant-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.plant-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.plant-card-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.3s ease;
}

.plant-card:hover .plant-card-image img {
    transform: scale(1.05);
}

.plant-card-body {
    display: flex;
    flex-direction: column;
    height: 160px; /* 固定高度确保一致性 */
}

.plant-card-title {
    color: #333;
    font-weight: 550;
    font-size: 16px;
    line-height: 1.4;
    height: 2.8rem; /* 固定高度为两行 (1.4 * 0.9rem * 2) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    font-family: 'PingFangSC-bold';
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plant-card-date {
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 0px;
}

.plant-card-title-date {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px 15px 0px 15px;
}



/* 查看详情按钮样式 */
.btn-detail {
    font-family: PingFangSC-regular;
    color: var(--primary-green);
    border: none;
    padding: 10 1rem;
    border-radius: 0px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    height: 45px;
}
.garden-btn-detail {
    color: var(--primary-green);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    border-radius: 0px;
    height: 46px;
}
.garden-btn-detail:hover,
.garden-btn-detail:focus,
.garden-btn-detail:active {
    background: var(--primary-green) !important;
    color: white !important;
    border-color: var(--primary-green) !important;
    transform: none;
    box-shadow: none;
}

.btn-detail:hover,
.btn-detail:focus,
.btn-detail:active {
    background: var(--primary-green) !important;
    color: white !important;
    border-color: var(--primary-green) !important;
    transform: none;
    box-shadow: none;
}

/* 更多更多按钮样式 */
.btn-more {
    background: white;
    color: var(--primary-green);
    border: 1px solid var(--primary-green);
    padding: 0.6rem 2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 50px;
    width: 200px;
}

.btn-more:hover,
.btn-more:focus,
.btn-more:active {
    background: var(--primary-green) !important;
    color: white !important;
    border-color: var(--primary-green) !important;
    transform: none;
    box-shadow: none;
}

/* ========== 物种保护卡片样式 ========== */
.research-card {
    margin-bottom: 2rem;
}

.research-card-inner {
    background: white;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    padding: 1.2rem;
    border: 1px solid #f0f0f0;
    height: 230px;
}

.research-card:hover .research-card-inner {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.research-card:hover .research-card-inner .research-content .research-footer .btn-research-detail{
    color: var(--primary-green);
    font-weight: 500;
}
.research-card:hover .research-card-inner .research-content .research-title{
    color: var(--primary-green);
    font-weight: 500;
}

.research-image {
    flex-shrink: 0;
    margin-right: 1rem;
}

.research-image img {
    width: 240px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.research-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.research-title {
    color: #333;
    font-size: 18px;
    font-weight: 550;
    font-family: 'PingFangSC-bold';
    line-height: 1.4;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.research-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #cecece;
    align-items: center;
}

.research-date {
    color: #999;
    font-size: 0.8rem;
}

/* 查看详情按钮样式 */
.btn-research-detail {
    background:none;
    color: #9a9a9a;
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-research-detail:hover,
.btn-research-detail:focus,
.btn-research-detail:active {
    color: var(--primary-green);
    font-weight: 500;
    transform: none;
    box-shadow: none;
}

/* 查看更多按钮样式 */
.btn-research-more {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0.6rem 2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-research-more:hover,
.btn-research-more:focus,
.btn-research-more:active {
    background: var(--dark-green) !important;
    color: white !important;
    transform: none;
    box-shadow: none;
}



/* ========== 地图容器样式 ========== */
.map-container {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
}

/* ========== 专类园区样式 ========== */
.garden-map-container {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: 500px; /* 设置固定高度与右侧一致 */
}

.garden-map-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.garden-info {
    padding: 2rem 1rem;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

.garden-info-title {
    color: var(--primary-green);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'YSYuanTi-regular', 'Microsoft YaHei', sans-serif;
}

.garden-description {
    margin-bottom: 3rem;
    flex-grow: 1;
}

.garden-description p {
    color: #333;
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
    text-align: justify;
    text-indent: 2em; /* 首行缩进 */
}

.garden-link {
    text-align: center;
    margin-top: auto;
}

.garden-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.garden-more-link::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-green);
    margin-bottom: 0.5rem;
}

.garden-more-link::after {
    content: '';
    position: absolute;
    right: 50%;
    bottom: 0;
    transform: translateX(50%);
    width: 40px;
    height: 2px;
    background: var(--primary-green);
    margin-top: 0.5rem;
}

.garden-more-link:hover {
    color: var(--dark-green);
    text-decoration: none;
    transform: scale(1.05);
}

.garden-more-link i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* ========== 合作伙伴网格样式 ========== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-logo {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.partner-logo:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* ========== 页脚样式 ========== */
.footer {
    background: var(--dark-green);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer h5 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
    text-decoration: none;
}

/* ========== 动画效果 ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 自定义按钮样式 ========== */
.btn-custom {
    background: linear-gradient(45deg, var(--primary-green), var(--light-green));
    border: none;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background: linear-gradient(45deg, var(--light-green), var(--primary-green));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* ========== 响应式设计 ========== */
@media (min-width: 1200px) {
    .zn-section {
        margin-top: -120px;
    }
}

@media (max-width: 1200px) {
    .slide-content {
        width: 90%;
        padding: 20px 60px 30px 30px;
    }
    
    .carousel-controls {
        gap: 16px;
        padding: 10px 20px;
    }
    
    .carousel-nav {
        width: 100px;
        height: 36px;
        font-size: 14px;
    }
    
    .zn-section {
        margin-top: -120px;
    }
}


@media (max-width: 768px) {
    .hero-section {
        height: 300px;
    }
    .zn-section {
        margin-top: -50px;
    }
    .slide-content {
        width: 95%;
        height: auto;
        padding: 15px 20px 20px;
    }
    .plant-card{
      height: auto;
      margin-bottom: 15px;
    }
    .align-items-stretch{
     
    }
    .slide-content h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .carousel-controls {
        bottom: 40px;
        gap: 20px;
        padding: 8px 16px;
        width: 90vw;
    }
    
    .carousel-indicators {
        gap: 6px;
    }
    
    .indicator-dot {
        width: 6px;
        height: 6px;
    }
    
    .indicator-dot.active {
        box-shadow: 0 0 6px rgba(24, 144, 255, 0.8);
        width: 10px;
    }
    
    .carousel-nav {
        width: 50px;
        height: 28px;
        font-size: 12px;
    }
    
    /* 职能简介和公告移动端样式 */
    .col-md-6, .col-lg-7, .col-lg-5 {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .btn-custom-green{
        padding: 0.4rem 0.8rem;
        width: 100px;
    }
    
    /* 移动端物种保护section间距 */
    section.py-5:not(.bg-light) {
        padding-top: 10px !important; /* 按比例缩小：3rem -> 2.1rem (0.7倍) */
        padding-bottom: 10px !important;
    }
    .section-title{
        font-size: 16px;
        margin-bottom: 10px;
    }
    /* 移动端物种保护section标题 */
    section.py-5:not(.bg-light) .section-title {
        font-size: 16px; /* 按比例缩小：20px -> 14px (0.7倍) */
        line-height: 19.6px; /* 按比例缩小：28px -> 19.6px (0.7倍) */
        margin-bottom: 10px; /* 按比例缩小：1.5rem -> 1.05rem (0.7倍) */
        margin-left: 0.7rem; /* 按比例缩小：1rem -> 0.7rem (0.7倍) */
    }
    
    /* 移动端物种保护container间距 */
    section.py-5:not(.bg-light) .container {
        padding-left: 0.84rem; /* 按比例缩小：1.2rem -> 0.84rem (0.7倍) */
        padding-right: 0.84rem;
    }
    
    /* 移动端物种保护row间距 */
    section.py-5:not(.bg-light) .row {
        margin-left: -0.35rem; /* 按比例缩小：-0.5rem -> -0.35rem (0.7倍) */
        margin-right: -0.35rem;
    }
    
    /* 移动端物种保护列间距 */
    section.py-5:not(.bg-light) .col-md-6 {
        padding-left: 0.35rem; /* 按比例缩小：0.5rem -> 0.35rem (0.7倍) */
        padding-right: 0.35rem;
    }
    
    .intro-hero {
        height: 200px;
        display: none;
        flex-direction: column;
    }
    
    .intro-bg {
        height: 60%;
    }
    
    .intro-side-image {
        height: 40%;
    }
    
    .intro-title {
        font-size: 1.8rem;
    }
    
    .intro-subtitle {
        font-size: 1.4rem;
    }
    
    .intro-content {
        padding: 15px 15px;
    }
    
    .announcement-hero {
        height: 200px;
        display: none;
    }
    
    .announcement-content {
        padding: 15px 15px;
    }
    
    /* 移动端时取消flex，避免布局问题 */
    .intro-announcement-section .row {
        display: block;
    }
    
    .intro-announcement-section .col-md-6,
    .intro-announcement-section .col-lg-7,
    .intro-announcement-section .col-lg-5 {
        display: block;
    }
    
    .intro-section,
    .announcement-section {
        height: auto; /* 移动端自适应高度 */
        min-height: 350px; /* 设置最小高度 */

    }
    
    .intro-section {
        margin-bottom: 0; /* 确保与下面容器间距由announcement-section的margin-top控制 */
    }
    
    .intro-content,
    .announcement-content {
        height: auto; /* 移动端自适应高度 */
        overflow: visible; /* 移动端可见所有内容 */
    }
    
    .intro-content .text-center,
    .announcement-content .text-center {
        padding-bottom: 1rem; /* 移动端减少底部间距 */
    }
    
    .announcement-section {
        border-left: none;
        border-top: 1px solid #eee;
        margin-top: 1rem; /* 与其他section间距统一 */
    }
    
    .announcement-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .announcement-text {
        margin-right: 0;
    }
    
    .announcement-date {
        align-self: flex-start;
    }
    
    /* 物种保护移动端样式 - 按0.7倍比例缩小 */
    .research-card {
        margin-bottom: 5px; /* 按比例缩小：2rem -> 1.4rem (0.7倍) */
    }
    
    .research-card-inner {
        flex-direction: row; /* 保持水平排列 */
        padding:10px; /* 按比例缩小：1.2rem -> 0.84rem (0.7倍) */
        height: 150px; /* 按比例缩小：230px -> 161px (0.7倍) */
        border-radius: 8.4px; /* 按比例缩小：12px -> 8.4px (0.7倍) */
        box-shadow: 0 1.4px 8.4px rgba(0,0,0,0.08); /* 按比例缩小阴影 */
    }
    
    .research-image {
        margin-right: 0.7rem; /* 按比例缩小：1rem -> 0.7rem (0.7倍) */
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .research-image img {
        width: 168px; /* 按比例缩小：240px -> 168px (0.7倍) */
        height: 126px; /* 按比例缩小：180px -> 126px (0.7倍) */
        border-radius: 5.6px; /* 按比例缩小：8px -> 5.6px (0.7倍) */
        object-fit: cover;
    }
    
    .research-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
    
    .research-title {
        font-size: 12.6px; /* 按比例缩小：18px -> 12.6px (0.7倍) */
        font-weight: 550;
        text-align: left; /* 移动端左对齐 */
        margin: 0 0 0.7rem 0; /* 按比例缩小：1rem -> 0.7rem */
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .research-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 14px; /* 按比例缩小：20px -> 14px (0.7倍) */
        border-top: 1px solid #eee; /* 稍微淡化边框颜色 */
    }
    
    .research-date {
        color: #999;
        font-size: 0.56rem; /* 按比例缩小：0.8rem -> 0.56rem (0.7倍) */
    }
    
    .btn-research-detail {
        background: none;
        color: #9a9a9a;
        border: none;
        padding: 0.21rem 0.56rem; /* 按比例缩小：0.3rem 0.8rem -> 0.21rem 0.56rem (0.7倍) */
        border-radius: 10.5px; /* 按比例缩小：15px -> 10.5px (0.7倍) */
        font-size: 0.525rem; /* 按比例缩小：0.75rem -> 0.525rem (0.7倍) */
        font-weight: 500;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .btn-research-detail:hover {
        color: #777; /* 保持hover效果 */
    }
    
    .btn-research-more {
        font-size: 0.63rem; /* 按比例缩小：0.9rem -> 0.63rem (0.7倍) */
        padding: 0.42rem 1.4rem; /* 按比例缩小：0.6rem 2rem -> 0.42rem 1.4rem (0.7倍) */
        border-radius: 17.5px; /* 按比例缩小：25px -> 17.5px (0.7倍) */
        margin-top: 0.7rem; /* 添加顶部间距 */
    }
    

    
    /* 部门动态移动端样式 */
    .plant-card-image {
        height: 65vw;
    }
    
    .plant-card-body {
        height: auto;
        min-height: 100px;
        padding: 10px 10px 0 10px;
    }
    
    .plant-card-title {
        font-size: 0.85rem;
        height: 2.38rem; /* 移动端固定高度为两行 (1.4 * 0.85rem * 2) */
        -webkit-line-clamp: 2; /* 移动端也保持2行 */
    }
    

    
    .btn-more {
        font-size: 0.75rem; /* 按比例缩小：0.85rem -> 0.75rem */
        padding: 0.42rem 1.26rem; /* 按比例缩小：0.5rem 1.5rem -> 0.42rem 1.26rem */
        margin-top:10px; /* 添加顶部间距 */

        background: white;
        color: var(--primary-green);
        border: 1px solid var(--primary-green);
     
        transition: all 0.3s ease;
        line-height: 15px;
        height: 30px;
        width: 100px;
    }
    
    /* 专类园区移动端样式 */
    .garden-map-container {
        margin-bottom: 1.05rem; /* 按比例缩小：1.5rem -> 1.05rem (0.7倍) */
        border-radius: 8.4px; /* 按比例缩小：12px -> 8.4px (0.7倍) */
        box-shadow: 0 2.8px 14px rgba(0,0,0,0.08); /* 按比例缩小阴影 */
        height: 350px; /* 移动端固定高度 */
    }
    
    .garden-map-image {
        height: 100%; /* 填满容器高度 */
        object-fit: cover; /* 保持图片比例 */
    }
    
    .garden-info {
        padding: 1.4rem 0.7rem; /* 按比例缩小：2rem 1rem -> 1.4rem 0.7rem (0.7倍) */
         min-height: 250px; /* 与地图容器保持相同高度 */
         height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .garden-info-title {
        font-size: 0.98rem; /* 按比例缩小：1.4rem -> 0.98rem (0.7倍) */
        margin-bottom: 1.4rem; /* 按比例缩小：2rem -> 1.4rem (0.7倍) */
    }
    
    .garden-description {
        margin-bottom: 2.1rem; /* 按比例缩小：3rem -> 2.1rem (0.7倍) */
    }
    
    .garden-description p {
        font-size: 0.665rem; /* 按比例缩小：0.95rem -> 0.665rem (0.7倍) */
        line-height: 1.68; /* 按比例缩小：1.8 -> 1.68 */
        text-indent: 1.4em; /* 按比例缩小：2em -> 1.4em (0.7倍) */
    }
    
    .garden-more-link {
        font-size: 0.63rem; /* 按比例缩小：0.9rem -> 0.63rem (0.7倍) */
        padding: 0.56rem 0; /* 按比例缩小：0.8rem -> 0.56rem (0.7倍) */
    }
    
    .garden-more-link::before,
    .garden-more-link::after {
        width: 28px; /* 按比例缩小：40px -> 28px (0.7倍) */
        height: 1.4px; /* 按比例缩小：2px -> 1.4px (0.7倍) */
    }
    
    .garden-more-link i {
        margin-right: 0.35rem; /* 按比例缩小：0.5rem -> 0.35rem (0.7倍) */
        font-size: 0.63rem; /* 按比例缩小：0.9rem -> 0.63rem (0.7倍) */
    }
}

/* 轮播动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== 特色花展样式 ========== */
.flower-exhibition-container {
    height: 440px;
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;

}

.exhibition-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 2rem;
    display: flex;
    align-items: center;
}

.exhibition-slide.active {
    opacity: 1;
}

/* 左侧文字内容区域 */
.exhibition-text-content {
    padding-right: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.exhibition-main-title {
    color: var(--primary-green);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

  .exhibition-details {
      flex-grow: 1;
      display: flex;
      flex-direction: column;
  }

  .exhibition-description {
      color: #333;
      font-size: 0.95rem;
      font-family: PingFangSC-regular;
      line-height: 1.8;
      margin-bottom: 1rem;
      text-align: justify;
      text-indent: 2em;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 6;
      -webkit-box-orient: vertical;
      position: relative;
      z-index: 1;
      height: calc(0.95rem * 1.8 * 6);
      min-height: calc(0.95rem * 1.8 * 6);
      max-height: calc(0.95rem * 1.8 * 6);
  }

  /* 特色花展指示点样式 - 方形设计 */
  .exhibition-indicators {
      display: flex;
      gap: 8px;
      align-items: center;
      margin-top: 1.5rem;
      padding: 0;
      position: relative;
      z-index: 100;
      justify-content: flex-end;
      min-height: 24px;
  }
  
  .exhibition-indicator-dot {
      width: 24px;
      height: 24px;
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      font-weight: 500;
      font-family: PingFangSC-regular;
      color: #9a9a9a;
      line-height: 1;
      text-align: center;
      border-radius: 2px;
      border-bottom: 5px solid transparent;
      flex-shrink: 0;
      z-index: 101;
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      pointer-events: auto;
  }
  
  .exhibition-indicator-dot:hover {
      
      color: #666;
  }
  
  .exhibition-indicator-dot.active {
    
      color: #4F4F4F;
      border-bottom-color: #4F4F4F;
  }

/* 右侧图片区域 */
.exhibition-image-container {
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.exhibition-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.exhibition-slide:hover .exhibition-main-image {
    transform: scale(1.02);
}


 
/* 响应式设计 */
@media (max-width: 768px) {
    .flower-exhibition-container {
        height: auto;
        min-height: 500px;
    }
    
    .exhibition-slide {
        padding: 1.5rem;
        flex-direction: column;
    }
    
    .exhibition-text-content {
        padding-right: 0;
        margin-bottom: 10px;
        order: 2;
    }
    
    .exhibition-image-container {
        height: 250px;
        order: 1;
        margin-bottom: 1rem;
    }
    
    .exhibition-indicators {
        justify-content: flex-end;
        margin-top: 10px;
        z-index: 100;
        position: relative;
    }
    
    .exhibition-indicator-dot {
        width: 20px;
        height: 20px;
        border-bottom: 2px solid #000;
        font-size: 15px;
        z-index: 101;
        pointer-events: auto;
    }
    
    .exhibition-description {
        -webkit-line-clamp: 4;
        margin-bottom: 1rem;
        height: auto;
        min-height: auto;
        max-height: none;
    }
}

/* ========== 园区风采样式 ========== */
/* 园区风采网格容器 */
.garden-views-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0; /* 无边距 */
    width: 100%;
    margin: 2rem 0;
    border-radius: 0; /* 无圆角 */
}

/* 园区风采单项 */
.garden-view-item {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 0; /* 无圆角 */
    margin: 0; /* 无外边距 */
    padding: 0; /* 无内边距 */
}

/* 园区风采图片容器 */
.garden-view-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0; /* 无圆角 */
}

/* 园区风采图片 */
.garden-view-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 0; /* 无圆角 */
    transition: transform 0.3s ease;
}

/* 园区风采覆盖层 */
.garden-view-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%); /* 默认隐藏 */
    opacity: 0;
    transition: all 0.3s ease; /* 平滑过渡效果 */
}

/* 园区风采标题 */
.garden-view-title {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* 悬停效果 */
.garden-view-item:hover .garden-view-image {
    transform: scale(1.05);
}

.garden-view-item:hover .garden-view-overlay {
    transform: translateY(0); /* 悬停时显示 */
    opacity: 1;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9)); /* 悬停时背景更深 */
}

/* 响应式设计 */
@media (max-width: 768px) {
    .garden-views-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(1, 1fr);
        gap: 0;
    }
    
    .garden-view-item {
        height: 200px;
    }
    
    .garden-view-title {
        font-size: 1rem;
    }
    .garden-view-item .garden-view-overlay {
        transform: translateY(0); /* 悬停时显示 */
        opacity: 1;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.9)); /* 悬停时背景更深 */
    }
}

/* ========== 园区和花展切换标签样式 ========== */
.section-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 8px;
    max-width: 250px;
}

.section-tab-title {
    flex: 1;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    background: transparent;
    font-weight: YSBiaoTiHei-regular;
    
    border: none;
}

.section-tab-title:hover {
    color: var(--primary-green);
}

.section-tab-title.active {
    color: var(--primary-green);
}

.tab-content-area {
    opacity: 0;
    animation: fadeInContent 0.5s ease forwards;
}
.exhibition-main-title{
    color: var(--primary-green);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .section-tabs {
        max-width: 200px;
        margin-bottom: 10px;
    }
    
    .section-tab-title {
        padding: 10px 10px;
        font-size: 16px;
    }
}

/* 期刊卡片样式 */
.col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 0 10px;
    margin-bottom: 20px;
}

.journal-card {
    background: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.journal-card:hover {
    transform: translateY(-5px);
}

.journal-image {
    position: relative;
    overflow: hidden;
    padding-bottom: 150%; /* 2:3比例 */
    background-color: #f8f9fa;
}

.journal-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill; /* 改回cover以填充容器 */
}

.journal-info {
    padding: 15px 0;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.journal-title {
    font-size: 18px;
    color: #333;
    font-family: PingFangSC-regular;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 1200px) {
    .col-lg-2-4 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 768px) {
    .col-lg-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 8px;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .journal-title {
        font-size: 14px;
    }
}

/* 移除最小尺寸的单列布局 */
/* @media (max-width: 576px) {
    .col-lg-2-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
} */

/* 轮播图动画效果 */
.swiper-slide {
    transition: transform 0.8s ease;
}

/* 指示点动画效果 */
.indicator-dot {
    transition: all 0.3s ease;
    transform-origin: center;
}

.indicator-dot.active {
    transform: scale(1.3);
}

.indicator-dot:hover {
    transform: scale(1.2);
}