/* ========== 物种保护页面样式 ========== */
:root {
    --primary-green: #38a660;
    --light-green: #6c9f3d;
    --dark-green: #1e7e34;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --text-color: #333;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    font-weight: 400;
    background-color: var(--light-bg);
    max-width: 100vw !important;
    overflow-x: hidden;
}
p{
    text-indent: 2em;
}
/* ========== 主要内容区域 ==========
.main-content {
    min-height: calc(100vh - 70px - 440px - 60px);
} */

/* ========== 面包屑导航 ========== */
.breadcrumb-nav {
    padding: 10px 0;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.breadcrumb-item {
    color: #666;
}

.breadcrumb-item.active {
    color: var(--primary-green);
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

/* ========== 保育设施部分 ========== */
.facility-section {
    padding: 1rem 0;
    position: relative;
}

/* 中心标题 */
.section-title {
    text-align: center;
    font-size: 20px;
    font-family: PingFangSC-regular;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 1rem;
    position: relative;
}
.section-title-img{
    width: 40px;
    height: 40px;
}

/* ========== 保育设施卡片布局 ========== */
.facility-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.facility-item {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 4rem;
}

/* 左侧图片 */
.facility-image {
    width: 660px;
    height: 365px;
    border-radius: 12px;
    overflow: hidden;
   
    position: relative;
    z-index: 2; /* 图片浮于文本卡片上方 */
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

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

/* 右侧文本卡片 */
.facility-text-card {
    width: 675px;
    height: 389px;
    background: #F2F5F2 100%;
    border: 1px solid rgba(56,166,96,1);
    border-radius: 16px;
 
    padding: 3rem 2.5rem 3rem 6rem; /* 左侧增加内边距避开图片覆盖区域 */
    position: relative;
    z-index: 1; /* 文本卡片在图片下方 */
    margin-left: -85px; /* 重叠85px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s ease;
}

.facility-item:hover .facility-text-card {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* 文本卡片内容 */
.facility-text-card p {
    color: #666;
    line-height: 1.5;
    font-size: 1rem;
    margin-bottom: 0rem;
    text-align: justify;
}

.facility-text-card p:last-of-type {
    margin-bottom: 2rem;
}

/* 了解更多按钮 */
.facility-text-card .btn-learn-more {
    background: linear-gradient(45deg, var(--primary-green), var(--light-green));
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.facility-text-card .btn-learn-more:hover {
    background: linear-gradient(45deg, var(--light-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(56, 166, 96, 0.3);
    color: white;
    text-decoration: none;
}

.facility-text-card .btn-learn-more i {
    transition: transform 0.3s ease;
}

.facility-text-card .btn-learn-more:hover i {
    transform: translateX(3px);
}

/* ========== 植物引种2x2网格布局 ========== */
.introduction-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto minmax(500px, 1fr); /* 第二行设置最小高度并使用1fr确保等高 */
    gap: 2rem;
    margin: 2rem 0;
    min-height: 600px; /* 设置最小高度确保一致性 */
}

/* 第一行第一列：数据统计卡片 */
.data-stats-section {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.data-stats-cards {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.data-stat-card {
    flex: 1;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;

    transition: all 0.3s ease;
    min-width: 0; /* 确保flex项目可以收缩 */
}

.data-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}



.data-stat-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.3;
}



.data-stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}



.data-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-green);
}



.data-percentage {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-green);
}

.data-description {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
  
}

.data-description p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    text-align: justify;
    margin: 0;
}

/* 第一行第二列：世界地图 */
.map-section {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.world-map {
    width: 100%;
    height: auto;
    max-height: 100%;
    border-radius: 8px;
    object-fit: contain;
}

/* 第二行第一列：详细统计数据 */
.detailed-stats {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    align-items: stretch; /* 拉伸以填满容器高度 */
    height: 100%; /* 确保占满网格高度 */
    min-height: 500px; /* 设置最小高度 */
}

/* 第二行第二列：三个统计卡片加底部描述 */
.summary-stats {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: space-between; /* 改为两端对齐，确保填满高度 */
    height: 100%; /* 确保占满网格高度 */
    min-height: 500px; /* 设置最小高度 */
    overflow-y: auto;
}

/* 横排统计卡片容器 */
.summary-cards-row {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.summary-stat-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
}

.summary-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.summary-stat-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.summary-stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.3rem;
}

.summary-stat-unit {
    font-size: 12px;
    color: #666;
}

/* 文字描述样式 */
.summary-description {
    border-radius: 8px;
    padding: 1.5rem;
    font-family: PingFangSC-regular;
    font-size: 15px;
    line-height: 28px;
    flex-grow: 1; /* 让描述区域占用剩余空间 */
    display: flex;
    flex-direction: column;
    justify-content: center; /* 内容垂直居中 */
}

.summary-description p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1rem;
    text-align: justify;
}

.summary-description p:last-child {
    margin-bottom: 0;
}

/* ========== 详细统计数据表格 ========== */
.detailed-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 统计表格样式 */
.stats-table {
    width: 100%;
    height: 100%; /* 表格填满容器高度 */
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;

    margin: 0; /* 移除边距确保完全填充 */
    table-layout: fixed; /* 固定表格布局，确保列宽一致 */
}

/* 设置统一的列宽 */
.stats-table col:nth-child(1) {
    width: 33.33%; /* 第一列宽度 */
}

.stats-table col:nth-child(2) {
    width: 33.33%; /* 第二列宽度 */
}

.stats-table col:nth-child(3) {
    width: 33.33%; /* 第三列宽度 */
}

/* 设置统一的行高 */
.stats-table tr {
    height: 25%; /* 每行占表格高度的25% */
}

/* 针对不同行设置特定高度分布 */
.stats-table tr:nth-child(1) {
    height: 35%; /* 第一行稍大一些，包含合并单元格 */
}

.stats-table tr:nth-child(2) {
    height: 15%; /* 第二行较小 */
}

.stats-table tr:nth-child(3) {
    height: 35%; /* 第三行稍大一些 */
}

.stats-table tr:nth-child(4) {
    height: 15%; /* 第四行较小 */
}

.stats-table td {
    padding: 1rem;
    border: 1px solid #e0e0e0;
    vertical-align: middle;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.stats-table tr:hover td {
    background-color: #f8f9fa;
}

/* 统一的表格单元格样式 */
.table-cell {
    background: white;
    text-align: center;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.6;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
    display: table-cell;
    vertical-align: middle;
}

.table-cell:hover {
    background-color: #f8f9fa;
}

/* 数字样式 */
.cell-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-green);
    display: inline-block;
    margin: 0.3rem 0;
}

/* 单位样式 */
.cell-unit {
    font-size: 1rem;
    color: #666;
    margin-left: 0.2rem;
}

/* ========== 底部描述 ========== */

/* 当底部描述在summary-stats内部时的特殊样式 */

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
    .facility-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .facility-image {
        width: 550px;
        height: 305px;
    }
    
    .facility-text-card {
        width: 575px;
        height: 329px;
        margin-left: -70px;
        padding: 2.5rem 2rem 2.5rem 5rem; /* 调整左侧内边距 */
    }    
    .stats-table {
        font-size: 14px;
    }
    
    .stats-table tr {
        height: 25%; /* 保持比例 */
    }
    
    .stats-table td,
    .table-cell {
        padding: 0.8rem;
        font-size: 13px;
    }
    
    .cell-number {
        font-size: 1.6rem;
    }
    
    .introduction-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        min-height: auto; /* 小屏幕下移除最小高度限制 */
    }
    
    .data-stats-section {
        grid-column: 1;
        grid-row: 1;
    }
    
    .map-section {
        grid-column: 1;
        grid-row: 2;
    }
    
    .detailed-stats {
        grid-column: 1;
        grid-row: 3;
    }
    
    .summary-stats {
        grid-column: 1;
        grid-row: 4;
    }
    
    .summary-cards-row {
        gap: 0.8rem;
    }
    
    .summary-stat-card {
        padding: 0.8rem;
    }
    
    .summary-stat-title {
        font-size: 13px;
    }
    
    .summary-stat-number {
        font-size: 20px;
    }
    
    .summary-description {
        padding: 1.2rem;
    }
    
    .summary-description p {
        font-size: 13px;
    }
}
@media (max-width: 1200px) and (min-width: 992px) {
    .facility-text-card p{
        font-size: 15px;
        line-height: 18px;
     }
}

@media (max-width: 992px) {
    .facility-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .facility-image {
        width: 100%;
        max-width: 600px;
        height: 300px;
        margin-bottom: 2rem;
    }
    
    .facility-text-card {
        width: 100%;
        max-width: 650px;
        height: auto;
        margin-left: 0;
        padding: 2rem; /* 移动端恢复正常内边距 */
    }
    
    .facility-text-card .btn-learn-more {
        align-self: center;
    }
    
    .introduction-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        min-height: auto;
    }
    
    .detailed-stats,
    .summary-stats {
        height: auto; /* 小屏幕下使用自动高度 */
        min-height: auto; /* 移除最小高度限制 */
    }
    
    .summary-stats {
        justify-content: flex-start; /* 小屏幕下恢复顶部对齐 */
    }
    
    .summary-description {
        flex-grow: 0; /* 小屏幕下移除flex-grow */
        display: block; /* 恢复为块级元素 */
    }
    
    .data-stats-section {
        grid-column: 1;
        grid-row: 1;
    }
    
    .map-section {
        grid-column: 1;
        grid-row: 2;
    }
    
    .detailed-stats {
        grid-column: 1;
        grid-row: 3;
    }
    
    .summary-stats {
        grid-column: 1;
        grid-row: 4;
    }
    
    .data-stats-cards {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .data-stat-card {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 120px;
    }
    
    .stats-table tr {
        height: 25%; /* 保持比例 */
    }
    
    .stats-table td,
    .table-cell {
        padding: 0.6rem;
        font-size: 12px;
    }
    
    .cell-number {
        font-size: 1.4rem;
    }
    
    .summary-cards-row {
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .summary-stat-card {
        flex: 1 1 calc(50% - 0.4rem);
        min-width: 120px;
        padding: 0.8rem;
    }
    
    .summary-stat-title {
        font-size: 12px;
    }
    
    .summary-stat-number {
        font-size: 18px;
    }
    
    .summary-description {
        padding: 1rem;
    }
    
    .summary-description p {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 25px;
        margin-bottom: 15px;
    }
    .section-title-img{
        width: 35px;
        height: 35px;
    }
    .facility-section {
        padding: 0rem 0;
    }
    
    .facility-image {
        height: 250px;
    }
    
    .facility-text-card {
        padding: 1.5rem; /* 平板端恢复正常内边距 */
    }

    .facility-text-card p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .data-stat-card, .summary-stat-card {
        padding: 1rem;
    }
    
    .main-number, .summary-stat-number {
        font-size: 24px;
    }
    
    .stats-table tr {
        height: 25%; /* 保持比例 */
    }
    
    .stats-table td,
    .table-cell {
        padding: 0.5rem;
        font-size: 11px;
    }
    
    .cell-number {
        font-size: 1.2rem;
    }
    
    .summary-cards-row {
        flex-wrap: wrap;
        gap: 0.6rem;
    }
    
    .summary-stat-card {
        flex: 1 1 100%;
        padding: 0.8rem;
    }
    
    .summary-stat-title {
        font-size: 12px;
    }
    
    .summary-stat-number {
        font-size: 16px;
    }
    
    .summary-description {
        padding: 1rem;
    }
    
    .summary-description p {
        font-size: 11px;
    }

}

@media (max-width: 576px) {
    .facility-container {
        padding: 0 10px;
    }
    
    .facility-image {
        height: 200px;
    }
    
    .facility-text-card {
        padding: 1.2rem; /* 手机端恢复正常内边距 */
    }

    .facility-text-card p {
        font-size: 0.85rem;
    }
    
    .facility-text-card .btn-learn-more {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .data-stat-card, .summary-stat-card {
        padding: 0.8rem;
    }
    
    .data-stats-cards {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .data-stat-card {
        flex: none;
        min-width: auto;
    }
    
    .main-number, .summary-stat-number {
        font-size: 20px;
    }
    
    .stat-category, .summary-stat-title {
        font-size: 11px;
    }
    
    .stats-table tr {
        height: 25%; /* 保持比例 */
    }
    
    .stats-table td,
    .table-cell {
        padding: 0.4rem;
        font-size: 10px;
    }
    
    .cell-number {
        font-size: 1rem;
    }
    
    .cell-unit {
        font-size: 0.8rem;
    }
    
    .summary-cards-row {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .summary-stat-card {
        flex: none;
        padding: 0.6rem;
    }
    
    .summary-stat-title {
        font-size: 11px;
    }
    
    .summary-stat-number {
        font-size: 14px;
    }
    
    .summary-description {
        padding: 0.8rem;
    }
    
    .summary-description p {
        font-size: 10px;
        line-height: 1.5;
    }
    
    .summary-stats .bottom-description {
        padding: 0.8rem;
    }
    
    .summary-stats .bottom-description p {
        font-size: 9px;
        line-height: 1.4;
    }
}

/* ========== 加载动画 ========== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.facility-image {
    animation: fadeInLeft 0.8s ease-out;
}

.facility-text-card {
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.data-stat-card, .summary-stat-card {
    animation: fadeInUp 0.6s ease-out;
}

.stat-item {
    animation: fadeInUp 0.6s ease-out;
}

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

/* ========== 植物繁育页面样式 ========== */

/* 繁育介绍文字 */
.breeding-intro {
    background: white;
    padding: 2rem;
    margin: 0;
    border-radius: 12px;
}

.breeding-intro p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.breeding-intro p:last-child {
    margin-bottom: 0;
}

/* 繁育展示区域 */
.breeding-showcase {
    margin: 3rem 0;
}

/* 上方三列布局 */
.breeding-top-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* 上方区域的布局 */
.breeding-top-section {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

/* 一列布局 */
.single-column-section {
    grid-template-columns: 1fr;
}

/* 两列布局 */
.dual-column-section {
    grid-template-columns: 1fr 1fr;
}

/* 三列布局 */
.triple-column-section {
    grid-template-columns: 1fr 1fr 1fr;
}

/* 响应式布局调整 */
@media (max-width: 992px) {
    /* 平板端布局优化 */
    .dual-column-section,
    .triple-column-section {
        grid-template-columns: 1fr ;
        gap: 12px;  /* 减小列间距 */
    }
    
    /* 调整分类容器样式 */
    .breeding-category {
        min-height: 380px;  /* 略微减小高度 */
    }
    
    /* 调整分类标题样式 */
    .category-title {
        font-size: 16px;    /* 稍大字体 */
        padding: 12px 0;    /* 增加上下内边距 */
        font-weight: 600;   /* 加粗字体 */
    }
}

@media (max-width: 768px) {
    .single-column-section,
    .dual-column-section,
    .triple-column-section {
        grid-template-columns: 1fr;
    }
}

/* 繁育分类通用样式 */
.breeding-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
    height: auto;
    min-height: 410px;
    padding-bottom: 15px;
}

.breeding-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 平板端分类卡片样式优化 */
@media (min-width: 768px) and (max-width: 992px) {
    .breeding-category {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* 标题位置调整 */
    .breeding-category .category-title {
        order: -1;          /* 将标题移至顶部 */
        margin-bottom: 0;   /* 移除底部边距 */
        background: #E2F1E6;
    }
    
    /* 图片容器样式优化 */
    .breeding-category .waterfall-container {
        flex: 1;            /* 填充剩余空间 */
        margin: 0;          /* 移除外边距 */
    }
}

.category-title {
    background: #E2F1E6 ;
    color: #38A660;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    font-family: PingFangSC-regular;
    text-align: center;
    padding: 1rem;
    margin: 0;
    width: 100%;
}

/* 兰科植物繁育布局 */
.breeding-category .category-images {
    padding: 1rem;
}

.breeding-category .main-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.breeding-category .main-image img,
.breeding-category .waterfall-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.breeding-category .sub-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.breeding-category .sub-images img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

/* 栽培繁育网格布局 */
.cultivation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 80px);
    gap: 0.5rem;
    padding: 1rem;
}

.cultivation-grid .grid-item {
    border-radius: 4px;
    overflow: hidden;
}

.cultivation-grid .large-item {
    grid-column: span 2;
    grid-row: span 2;
    border-radius: 4px;
    overflow: hidden;
}

.cultivation-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 蕨类繁育布局 */
.fern-layout {
    padding: 1rem;
}

.fern-layout .top-images,
.fern-layout .bottom-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.fern-layout .bottom-images {
    margin-bottom: 0;
}

.fern-layout img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

/* 下方大图区域 */
.breeding-bottom-section {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 5px;
    background-image: url('../assets/wzbh/zwfy-bg.png');
    padding: 1rem;
    position: relative;
    overflow: hidden;
    height: auto;
}

.breeding-bottom-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* 平板端下方区域布局优化 */
@media (min-width: 768px) and (max-width: 992px) {
    .breeding-category-bottom:first-child{
        margin-top: 0 !important;
    }
    .breeding-category-bottom:last-child{
        margin-top: 0 !important;
    }
    .breeding-bottom-section {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* 中间列卡片在平板端占据更大空间 */
    .breeding-category-bottom:nth-child(2) {
        grid-column: 1 / span 2;         /* 横跨两列 */
        width: 100%;                     /* 宽度100% */
        max-width: 100%;                 /* 最大宽度100% */
        margin: 0 auto;                  /* 居中显示 */
    }
    
    /* 调整标题位置和样式 */
    .breeding-bottom-section .category-title {
        margin-top: 15px;                /* 调整标题上边距 */
        font-size: 16px;                 /* 增大字体 */
    }
}

/* 底部分类样式 */
.breeding-category-bottom {
    background: rgba(255, 255, 255, 0.95);
    padding: 6px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    height: 360px;
    width: 400px;
}

/* 左栏背景色 */
.breeding-category-bottom:first-child {
    background: #5C7E66;
    margin-top: 100px;
}

.breeding-category-bottom:first-child:hover {
    background: #6A8B74;
    transform: translateY(-3px);
    
}

.breeding-category-bottom:last-child {
    background: #5C7E66;
    margin-top: 100px;
}

.breeding-category-bottom:last-child:hover {
    background: #6A8B74;
    transform: translateY(-3px);
   
}

/* 中栏背景色 */
.breeding-category-bottom:nth-child(2) {
    background: #38A660;
}

.breeding-category-bottom:nth-child(2):hover {
    background: #42B56A;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(56, 166, 96, 0.3);
    border-color: var(--light-green);
}



.breeding-bottom-section .category-title {
    background: transparent;
    color: white;
    font-size: 14px;
    line-height: 20px;
    font-family: PingFangSC-regular;
    font-weight: 600;
    text-align: center;
    padding: 0 0 0 0;
    margin: 0;
    margin-top: auto;
}

/* 左栏 - 水平双图布局 */
.left-vertical-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

/* 右栏 - 垂直双图布局 */
.right-vertical-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
}

/* 中栏 - 左2右1布局 */
.center-complex-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 
        "small1 large"
        "small2 large";
}

.center-complex-layout .waterfall-item:nth-child(1) {
    grid-area: small1;
}

.center-complex-layout .waterfall-item:nth-child(2) {
    grid-area: small2;
}

.center-complex-layout .waterfall-item:nth-child(3) {
    grid-area: large;
}

/* 响应式设计 */
@media (max-width: 1200px) and (min-width: 992px) {
    .breeding-top-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 200px;
    }
    
    .breeding-bottom-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .center-complex-layout {
        grid-template-areas: 
            "small1 large"
            "small2 large";
        grid-template-columns: 1fr 1fr;
    }
    
    .left-vertical-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }
    
    .cultivation-grid {
        grid-template-rows: repeat(3, 60px);
    }
}

/* 平板端样式优化 (768px-992px) */
@media (min-width: 768px) and (max-width: 992px) {
    /* 繁育介绍文字优化 */
    .breeding-intro {
        padding: 1.8rem;
        margin: 1.5rem 0;
    }
    
    .breeding-intro p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 1.2rem;
    }
    
    /* 上方布局优化 */
    .breeding-top-section {
        gap: 12px;
        margin-bottom: 25px;
        padding: 0 80px;
    }
    
    /* 下方布局已在前面定义 */
    
    /* 图片容器优化 */
    .waterfall-container {
        padding: 8px;
    }
    
    /* 确保图片质量 */
    .waterfall-item img {
        object-fit: cover;
        transition: none; /* 移除过渡效果提升性能 */
    }
}

/* 手机端样式 */
@media (max-width: 768px) {
    .breeding-intro {
        padding: 1.5rem;
    }
    
    .breeding-intro p {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .breeding-top-section {
        gap: 1rem;
        padding: 0 10px;
    }
    
    .breeding-bottom-section {
        padding: 1.5rem;
        gap: 1rem;
        grid-template-columns: 1fr;
    }
    
    .breeding-category-bottom {
        min-height: 300px;
        height: auto;
    }
    
    .category-title {
        font-size: 14px;
        padding: 0.8rem 0 0 0;
    }
    
    .breeding-category .main-image {
        height: 150px;
    }
    
    .cultivation-grid {
        grid-template-rows: repeat(3, 50px);
    }
    
    .fern-layout img {
        height: 60px;
    }
    
    .center-complex-layout {
        grid-template-areas: 
            "small1 large"
            "small2 large";
        grid-template-columns: 1fr 1fr;
    }
    
    .left-vertical-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }
}

@media (max-width: 576px) {
    .breeding-intro {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .breeding-showcase {
        margin: 1.5rem 0;
    }
    
    .breeding-top-section {
        gap: 0.8rem;
    }
    
    .breeding-bottom-section {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .breeding-category-bottom {
        min-height: 320px;
        height: auto;
        padding: 6px;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    /* 移除手机端的margin-top */
    .breeding-category-bottom:first-child,
    .breeding-category-bottom:last-child {
        margin-top: 0;
    }
    
    .center-complex-layout {
        grid-template-areas: 
            "small1"
            "small2"
            "large";
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 2fr;
    }
    
    .left-vertical-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }
    
    .right-vertical-layout {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }
}

/* ========== 瀑布流布局样式 ========== */
/* ========== 瀑布流布局基础样式 ========== */
/* 全局图片显示优化 */
.waterfall-container img {
    /* 确保所有瀑布流图片都能正确显示 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* 防止图片闪烁 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* 优化图片渲染 */
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0);
}

/* 瀑布流容器样式 */
.waterfall-container {
    display: grid;                /* 使用网格布局 */
    gap: 7px;                     /* 网格项间距 */
    width: 100%;                  /* 宽度100% */
    height: 100%;                 /* 高度100% */
    padding: 7px;                 /* 内边距 */
    transition: all 0.3s ease;    /* 平滑过渡效果 */
    aspect-ratio: 16/9;           /* 设置默认的宽高比 */
}

/* 瀑布流项目样式 */
.waterfall-item {
    overflow: hidden;             /* 隐藏溢出内容 */
    position: relative;           /* 相对定位 */
    transition: all 0.3s ease;    /* 平滑过渡效果 */
    cursor: pointer;              /* 鼠标指针样式 */
    width: 100%;                  /* 宽度100% */
    height: 100%;                 /* 高度100% */
}

/* 瀑布流项目悬停效果 */
.waterfall-item:hover {
    transform: scale(1.01);       /* 轻微放大 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* 阴影效果 */
    z-index: 2;                   /* 提高层级 */
}

/* 瀑布流项目图片样式 */
.waterfall-item img {
    width: 100%;                  /* 宽度100% */
    height: 100%;                 /* 高度100% */
    object-fit: cover;            /* 保持比例裁剪填充 */
    object-position: center;      /* 居中显示 */
    transition: transform 0.3s ease; /* 平滑过渡效果 */
    display: block;               /* 移除默认间距 */
    border-radius: inherit;       /* 继承父元素圆角 */
}

/* 瀑布流项目图片悬停效果 */
.waterfall-item:hover img {
    transform: scale(1.03);       /* 轻微放大图片 */
}

/* 兰科植物繁育 - 1上2下布局 */
/* 三种瀑布流布局的基础样式 - 统一为兰科布局(1上2下) */
.orchid-waterfall,
.begonia-waterfall,
.amorphophallus-waterfall {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: 350px;
}

/* 兰科布局(1上2下) - 所有布局统一使用此样式 */
.orchid-waterfall .waterfall-item:first-child,
.begonia-waterfall .waterfall-item:first-child,
.amorphophallus-waterfall .waterfall-item:first-child {
    grid-column: 1 / span 2;
    grid-row: 1;
    height: 50%;
}

.orchid-waterfall .waterfall-item:nth-child(2),
.begonia-waterfall .waterfall-item:nth-child(2),
.amorphophallus-waterfall .waterfall-item:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    height: 50%;
}

.orchid-waterfall .waterfall-item:nth-child(3),
.begonia-waterfall .waterfall-item:nth-child(3),
.amorphophallus-waterfall .waterfall-item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    height: 50%;
}

/* 秋海棠繁育 - 2左1右布局 */
/* 秋海棠和扇苞蒟蒻薯繁育已统一使用兰科布局(1上2下)，样式在上方定义 */

/* 大图片特殊样式 */
.waterfall-item.large {
    position: relative;
}



@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.waterfall-item.large::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(56, 166, 96, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.waterfall-item.large:hover::after {
    opacity: 1;
}

/* 图片加载动画 */
.waterfall-item img {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========== 自适应布局样式 ========== */

/* 根据图片数量的不同布局变体 */

/* 单张图片布局 - 占满整个区域 */
.single-image-layout {
    grid-template-columns: 1fr;          /* 单列布局 */
    grid-template-rows: 1fr;             /* 单行布局 */
}

/* 两张图片水平布局 - 左右排列 */
.dual-image-layout {
    grid-template-columns: 1fr 1fr;      /* 两列布局 */
    grid-template-rows: 1fr;             /* 单行布局 */
}

/* 两张图片水平布局第一个项目 */
.dual-image-layout .waterfall-item:first-child {
    grid-column: 1;                      /* 第一列 */
    grid-row: 1;                         /* 第一行 */
}

/* 两张图片水平布局第二个项目 */
.dual-image-layout .waterfall-item:last-child {
    grid-column: 2;                      /* 第二列 */
    grid-row: 1;                         /* 第一行 */
}

/* 两张图片垂直布局 - 上下排列 */
.dual-image-vertical-layout {
    grid-template-columns: 1fr;          /* 单列布局 */
    grid-template-rows: 1fr 1fr;         /* 两行布局 */
}

/* 两张图片垂直布局第一个项目 */
.dual-image-vertical-layout .waterfall-item:first-child {
    grid-column: 1;                      /* 第一列 */
    grid-row: 1;                         /* 第一行 */
}

/* 两张图片垂直布局第二个项目 */
.dual-image-vertical-layout .waterfall-item:last-child {
    grid-column: 1;                      /* 第一列 */
    grid-row: 2;                         /* 第二行 */
}

/* 单张大图布局 - 下方区域 */
.single-large-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

/* 垂直双图布局 - 下方区域 */
.vertical-pair-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
}

/* 双图水平布局 */
.dual-image-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 10px;
}

.dual-image-layout .waterfall-item {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
}

.dual-image-layout .waterfall-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* 双图垂直布局 */
.dual-image-vertical-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.dual-image-vertical-layout .waterfall-item {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
}

.dual-image-vertical-layout .waterfall-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* 四图网格布局 */
.default-waterfall {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.default-waterfall .waterfall-item {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
}

.default-waterfall .waterfall-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* 默认布局 - 下方区域 */
.default-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}

/* 自适应图片项样式增强 */
.single-image-layout .waterfall-item {
    min-height: 350px;
}

.dual-image-layout .waterfall-item {
    min-height: 180px;
}

.single-large-layout .waterfall-item {
    min-height: 350px;
}

.vertical-pair-layout .waterfall-item {
    min-height: 150px;
}

/* 自适应布局的图片样式优化 */
.single-image-layout .waterfall-item img,
.single-large-layout .waterfall-item img,
.dual-image-layout .waterfall-item img,
.vertical-pair-layout .waterfall-item img,
.default-waterfall .waterfall-item img,
.default-layout .waterfall-item img {
    object-fit: cover;
    object-position: center;
}

/* 响应式设计 */
@media (max-width: 992px) {
    /* 平板端优化 - 调整网格比例和间距 */
    .waterfall-container {
        gap: 8px;          /* 减小图片间距 */
        padding: 8px;      /* 减小内边距 */
    }
    
    /* 优化三图布局在平板端的比例 */
    .orchid-waterfall {
        grid-template-rows: 1.8fr 1fr;  /* 顶部图片占据更大比例 */
        height: 320px !important;       /* 固定高度 */
    }
    
    /* 调整顶部图片高度 */
    .orchid-waterfall .waterfall-item:first-child {
        height: 190px !important;       /* 顶部图片更高 */
    }
    
    /* 调整底部图片高度 */
    .orchid-waterfall .waterfall-item:nth-child(2),
    .orchid-waterfall .waterfall-item:nth-child(3) {
        height: 120px !important;       /* 底部图片略小 */
    }
    
    /* 确保图片填充容器 */
    .waterfall-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

@media (max-width: 768px) {
    .waterfall-container {
        gap: 10px;
        padding: 10px;
    }
    
    /* 保持双图布局在手机端的显示 */
    .dual-image-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        gap: 8px;
    }
    
    .dual-image-vertical-layout {
        grid-template-columns: 1fr 1fr; /* 在手机端改为水平排列 */
        grid-template-rows: 1fr;
        gap: 8px;
    }
    
    .default-waterfall {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 8px;
    }
    
    .dual-image-layout .waterfall-item,
    .dual-image-vertical-layout .waterfall-item,
    .default-waterfall .waterfall-item {
        height: 120px;
        aspect-ratio: auto;
    }
    
    /* 修改小屏幕下的布局，保持网格结构，不要全部变成单列 */
    .orchid-waterfall,
    .begonia-waterfall,
    .amorphophallus-waterfall {
        /* 保持原有网格结构，不改为单列 */
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    
    /* 重置图片项位置规则，允许它们按照原始布局排列 */
    .waterfall-item {
        grid-column: auto !important;
        grid-row: auto !important;
       
    }
    
    /* 恢复特定布局的位置规则 */
    .orchid-waterfall .waterfall-item:first-child {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
    }
    
    .orchid-waterfall .waterfall-item:nth-child(2) {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
    
    .orchid-waterfall .waterfall-item:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }
    
    .begonia-waterfall .waterfall-item:first-child {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    
    .begonia-waterfall .waterfall-item:nth-child(2) {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
    
    .begonia-waterfall .waterfall-item:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 1 / -1 !important;
    }
    
    .amorphophallus-waterfall .waterfall-item:first-child {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    
    .amorphophallus-waterfall .waterfall-item:nth-child(2) {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
    
    .amorphophallus-waterfall .waterfall-item:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 1 / -1 !important;
    }
    
    /* 确保图片高度合适 */
    .waterfall-item img {
        height: auto;
        max-height: 300px;
        object-fit: contain;
    }
}

@media (max-width: 576px) {
    /* 植物繁育图片布局专项优化 */
    .waterfall-container {
        gap: 5px; /* 减小间距让图片更紧凑 */
        padding: 8px;
        height: 300px !important; /* 固定高度 */
        min-height: unset; /* 移除最小高度 */
        /* 移除手机端容器圆角和阴影 */
        border-radius: 0 !important;
        box-shadow: none !important;
        aspect-ratio: auto; /* 手机端自动计算宽高比 */
    }
    
    /* 手机端双图布局优化 */
    .dual-image-layout,
    .dual-image-vertical-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        gap: 5px;
        height: 285px !important;
    }
    
    .dual-image-layout .waterfall-item,
    .dual-image-vertical-layout .waterfall-item {
        height: 100% !important; /* 确保图片高度填满容器 */
        width: 100%;
    }
    
    /* 四图网格布局优化 */
    .default-waterfall {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 5px;
        height: 285px !important;
    }
    
    .default-waterfall .waterfall-item {
        height: 140px;
        width: 100%;
    }
    
    /* 所有图片项的通用样式 */
    .dual-image-layout .waterfall-item img,
    .dual-image-vertical-layout .waterfall-item img,
    .default-waterfall .waterfall-item img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    
    .waterfall-container:hover {
        box-shadow: none !important;
        transform: none;
    }
    
    /* 繁育分类通用样式优化 */
    .breeding-category {
        height: 350px !important; /* 固定高度 */
        min-height: unset; /* 移除最小高度 */
        margin-bottom: 15px;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    /* 繁育分类底部容器优化 */
    .breeding-category-bottom {
        height: 350px !important; /* 固定高度 */
        min-height: unset; /* 移除最小高度 */
        width: 100%;
        max-width: 350px;
        margin: 0 auto 15px auto;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    /* 兰科植物繁育 - 1上2下布局优化 */
    .orchid-waterfall {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr; /* 固定高度 */
        gap: 5px; /* 减小间距 */
        height: 285px !important; /* 总高度 = 行高总和 + 间距 */
    }
    
    .orchid-waterfall .waterfall-item:first-child {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        height: 180px;
    }
    
    .orchid-waterfall .waterfall-item:nth-child(2) {
        grid-column: 1 !important;
        grid-row: 2 !important;
        height: 100px;
    }
    
    .orchid-waterfall .waterfall-item:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 2 !important;
        height: 100px;
    }
    
    /* 秋海棠繁育 - 2左1右布局优化 */
    .begonia-waterfall {
        grid-template-columns: 1fr 1.2fr; /* 右侧大图略大一些 */
        grid-template-rows: 140px 140px;
        gap: 5px; /* 减小间距 */
        height: 285px !important; /* 总高度 = 行高总和 + 间距 */
    }
    
    .begonia-waterfall .waterfall-item:first-child {
        grid-column: 1 !important;
        grid-row: 1 !important;
        height: 140px;
    }
    
    .begonia-waterfall .waterfall-item:nth-child(2) {
        grid-column: 1 !important;
        grid-row: 2 !important;
        height: 140px;
    }
    
    .begonia-waterfall .waterfall-item:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 1 / -1 !important;
        height: 285px;
    }
    
    /* 扇苞蒟蒻薯繁育 - 2左1右布局优化 */
    .amorphophallus-waterfall {
        grid-template-columns: 1fr 1.2fr; /* 右侧大图略大一些 */
        grid-template-rows: 140px 140px;
        gap: 5px; /* 减小间距 */
        height: 285px !important; /* 总高度 = 行高总和 + 间距 */
    }
    
    .amorphophallus-waterfall .waterfall-item:first-child {
        grid-column: 1 !important;
        grid-row: 1 !important;
        height: 140px;
    }
    
    .amorphophallus-waterfall .waterfall-item:nth-child(2) {
        grid-column: 1 !important;
        grid-row: 2 !important;
        height: 140px;
    }
    
    .amorphophallus-waterfall .waterfall-item:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 1 / -1 !important;
        height: 285px;
    }
    
    /* 下方区域瀑布流优化 */
    .left-vertical-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 285px;
        gap: 5px;
        height: 285px !important;
    }
    
    .left-vertical-layout .waterfall-item {
        height: 285px;
    }
    
    .right-vertical-layout {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 5px;
        height: 285px !important;
    }
    
    .right-vertical-layout .waterfall-item {
        height: 140px !important;
        width: 100%;
    }
    
    .center-complex-layout {
        grid-template-areas: 
            "small1 large"
            "small2 large";
        grid-template-columns: 1fr 1.3fr; /* 大图更突出 */
        grid-template-rows: 140px 140px;
        gap: 5px;
        height: 285px !important;
    }
    
    .center-complex-layout .waterfall-item:nth-child(1) {
        grid-area: small1;
        height: 140px;
    }
    
    .center-complex-layout .waterfall-item:nth-child(2) {
        grid-area: small2;
        height: 140px;
    }
    
    .center-complex-layout .waterfall-item:nth-child(3) {
        grid-area: large;
        height: 285px;
    }
    
    /* 移动端自适应图片项高度调整 */
    .single-image-layout .waterfall-item,
    .single-large-layout .waterfall-item {
        min-height: 200px;
    }
    
    .dual-image-layout .waterfall-item,
    .vertical-pair-layout .waterfall-item {
        min-height: 120px;
    }
    
    /* 移动端图片显示优化 */
    .waterfall-item {
        /* 确保容器有明确的尺寸 */
        position: relative;
        overflow: hidden;
        /* 移除手机端圆角 */
        border-radius: 0 !important;
        /* 移除手机端阴影 */
        box-shadow: none !important;
        width: 100%;
        margin: 0 !important; /* 移除外边距 */
        padding: 0 !important; /* 移除内边距 */
    }
    
    .waterfall-item img {
        /* 移动端防止图片变形 */
        width: 100%;
        height: 100%;
        object-fit: cover !important; /* 使用cover确保图片填满容器且不变形 */
        object-position: center !important;
        /* 移除手机端图片圆角 */
        border-radius: 0 !important;
        display: block;
        margin: 0 !important; /* 移除外边距 */
        padding: 0 !important; /* 移除内边距 */
    }
    
    /* 移除悬停效果 */
    .waterfall-item:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .waterfall-item:hover img {
        transform: none !important;
    }
    
    /* 移除所有卡片的圆角和阴影 */
    .breeding-category,
    .breeding-category-bottom,
    .waterfall-container,
    .waterfall-item,
    .waterfall-item img {
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    /* 设置卡片标题样式 */
    .category-title {
        font-size: 14px;
        padding: 10px;
        margin: 0;
        height: 40px;
        line-height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ========== 珍稀濒危植物野外回归样式 ========== */
.reintroduction-intro {
    padding: 2rem;
    border-radius: 8px;
}

.reintroduction-intro p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.reintroduction-intro p:last-child {
    margin-bottom: 0;
}

.reintroduction-showcase {
    margin: 1rem 0;
}

  .showcase-gallery {
      position: relative;
      max-width: 1200px;
      margin: 0 auto;
      min-height: 600px;
  }

.gallery-item {
    position: absolute;
    overflow: hidden;
    background: white;

    transition: all 0.3s ease;
    cursor: pointer;
    width: calc(50% - 7.5px);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1rem 1rem 0.8rem;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    font-family: PingFangSC-regular;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .item-caption {
    transform: translateY(0);
}

  /* JavaScript瀑布流布局将动态设置位置 */

@media (max-width: 768px) {
    .reintroduction-intro {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .reintroduction-intro p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .gallery-item {
        width: calc(50% - 5px);
    }
    
    .item-caption {
        font-size: 11px;
        padding: 0.8rem 0.8rem 0.6rem;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        width: 100%;
    }
    
    .item-caption {
        transform: translateY(0);
        background: rgba(0, 0, 0, 0.6);
    }
}

/* ========== 工作动态列表样式 ========== */
.work-news-list {
    margin: 0 0 30px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.work-news-item {
    display: flex;
    height: 220px;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.work-news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 166, 96, 0.05), transparent);
    transition: left 0.6s ease;
}

.work-news-item:hover {
    transform: translateY(-5px) scale(1.02);
}

.work-news-item:hover::before {
    left: 100%;
}

.work-news-image {
    width: 240px;
    height: 180px;
    margin-right: 20px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
}

.work-news-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1) saturate(1);
}

.work-news-item:hover .work-news-image img {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(1.1) saturate(1.2);
}

.work-news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    padding: 5px 0;
}

.work-news-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 63px;
    transition: all 0.3s ease;
    position: relative;
}

.work-news-item:hover .work-news-title {
    color: var(--primary-green);
    transform: translateX(3px);
}

.work-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #CECECE;
}

.work-news-date {
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

.work-news-source {
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 500;
}

.work-news-source:hover {
    color: var(--primary-green);
}

/* ========== 工作动态响应式样式 ========== */
@media (min-width: 1200px) {
    .work-news-list {
        gap: 20px;
    }
    
    .work-news-item {
        height: 230px;
        padding: 22px;
    }
    
    .work-news-image {
        width: 250px;
        height: 186px;
    }
    
    .work-news-title {
        font-size: 16px;
    }
    
    .work-news-meta {
        margin-top: 18px;
    }
    
    .work-news-date,
    .work-news-source {
        font-size: 14px;
    }
}

@media (min-width: 1440px) {
    .work-news-list {
        gap: 22px;
    }
    
    .work-news-item {
        height: 240px;
        padding: 24px;
    }
    
    .work-news-image {
        width: 260px;
        height: 192px;
    }
    
    .work-news-title {
        font-size: 17px;
    }
    
    .work-news-meta {
        margin-top: 20px;
    }
    
    .work-news-date,
    .work-news-source {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .work-news-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .work-news-item {
        height: auto;
        min-height: 180px;
        padding: 16px;
    }
    
    .work-news-image {
        width: 160px;
        height: 120px;
        margin-right: 15px;
    }
    
    .work-news-content {
        padding: 0;
        justify-content: space-between;
    }
    
    .work-news-title {
        font-size: 14px;
        -webkit-line-clamp: 2;
        max-height: 42px;
    }
    
    .work-news-meta {
        margin-top: 12px;
        padding-top: 10px;
    }
}

@media (max-width: 576px) {
    .work-news-list {
        gap: 12px;
    }
    
    .work-news-item {
        min-height: 130px;
        padding: 14px;
    }
    
    .work-news-item:hover {
        transform: translateY(-2px);
    }
    
    .work-news-image {
        width: 140px;
        height: 105px;
        margin-right: 12px;
    }
    
    .work-news-content {
        justify-content: space-between;
    }
    
    .work-news-title {
        font-size: 13px;
        line-height: 1.3;
        -webkit-line-clamp: 2;
        max-height: 34px;
    }
    
    .work-news-meta {
        margin-top: 10px;
        padding-top: 8px;
    }
    
    .work-news-date,
    .work-news-source {
        font-size: 12px;
    }
}

@media (max-width: 768px) and (min-width: 601px) {
    .work-news-item {
        height: 200px;
        padding: 18px;
    }
    
    .work-news-image {
        width: 180px;
        height: 135px;
        margin-right: 16px;
    }
    
    .work-news-title {
        font-size: 15px;
        -webkit-line-clamp: 3;
        max-height: 54px;
    }
    
    .work-news-meta {
        margin-top: 14px;
        padding-top: 12px;
    }
    
    .work-news-date,
    .work-news-source {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .work-news-item {
        min-height: 115px;
        padding: 12px;
    }
    
    .work-news-image {
        width: 120px;
        height: 90px;
        margin-right: 10px;
    }
    
    .work-news-content {
        gap: 8px;
    }
    
    .work-news-title {
        font-size: 12px;
        line-height: 1.2;
        -webkit-line-clamp: 2;
        max-height: 29px;
    }
    
    .work-news-meta {
        margin-top: 8px;
        padding-top: 6px;
    }
    
    .work-news-date,
    .work-news-source {
        font-size: 11px;
    }
} 

/* 植物引种图片网格布局 */
.introduction-grid-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    margin: 2rem 0;
    min-height: 600px;
}

.grid-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.grid-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .introduction-grid-images {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 300px);
    }
}

@media (max-width: 576px) {
    .introduction-grid-images {
        gap: 10px;
        grid-template-rows: repeat(4, 200px);
    }
} 

@media (max-width: 576px) {
    .orchid-waterfall .waterfall-item:first-child{
        height: auto;
    }
    /* 下方大图区域布局优化 */
    .breeding-bottom-section {
        display: flex;
        flex-direction: column;
        padding: 10px;
        gap: 15px;
        background-image: url('../assets/wzbh/zwfy-bg.png');
        background-size: cover;
        background-position: center;
        height: auto;
        grid-template-columns: 1fr;
    }
} 

/* 只移除植物繁育部分的图片悬停效果 */
.breeding-showcase .waterfall-item:hover img {
    transform: none;
}

.breeding-showcase .waterfall-item.large::after {
    display: none;
}

/* 确保标题在不悬停时也可见 */
.breeding-bottom-section .category-title {
    opacity: 1;
}

@media (max-width: 576px) {
    /* 手机端优化 */
    .breeding-showcase .waterfall-item:hover img {
        transform: none !important;
    }
} 

/* 移除植物繁育部分所有布局类型的图片悬停效果 */
.breeding-showcase .waterfall-item:hover img,
.breeding-showcase .orchid-waterfall .waterfall-item:hover img,
.breeding-showcase .begonia-waterfall .waterfall-item:hover img,
.breeding-showcase .amorphophallus-waterfall .waterfall-item:hover img,
.breeding-showcase .dual-image-layout .waterfall-item:hover img,
.breeding-showcase .dual-image-vertical-layout .waterfall-item:hover img,
.breeding-showcase .default-waterfall .waterfall-item:hover img,
.breeding-showcase .left-vertical-layout .waterfall-item:hover img,
.breeding-showcase .center-complex-layout .waterfall-item:hover img,
.breeding-showcase .right-vertical-layout .waterfall-item:hover img {
    transform: none !important;
    -webkit-transform: none !important;
    filter: none !important;
    transition: none !important;
}

/* 移除大图特效 */
.breeding-showcase .waterfall-item.large::after,
.breeding-showcase .waterfall-item.large:hover::after {
    opacity: 0;
    display: none;
}

/* 移除脉冲动画 */
.breeding-showcase .waterfall-item.large .pulse-overlay {
    animation: none;
    display: none;
}

/* 移除图片加载动画 */
.breeding-showcase .waterfall-item img {
    animation: none;
}

/* 针对底部区域的图片悬停效果移除 */
.breeding-bottom-section .waterfall-item:hover img {
    transform: none !important;
    -webkit-transform: none !important;
    filter: none !important;
    transition: none !important;
}

/* 确保在各种设备上都能正常显示 */
@media (max-width: 992px) {
    .breeding-showcase .waterfall-item:hover img,
    .breeding-bottom-section .waterfall-item:hover img {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .breeding-showcase .waterfall-item:hover img,
    .breeding-bottom-section .waterfall-item:hover img {
        transform: none !important;
    }
}

@media (max-width: 576px) {
    .breeding-showcase .waterfall-item:hover img,
    .breeding-bottom-section .waterfall-item:hover img {
        transform: none !important;
    }
}

/* ========== 下方区域布局样式增强 ========== */
.breeding-category-bottom .waterfall-container {
    height: 100%;
    max-height: 285px;
}

/* 确保下方区域的单图布局正确显示 */
.breeding-category-bottom .single-image-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.breeding-category-bottom .single-image-layout .waterfall-item {
    width: 100%;
    height: 100%;
}

/* 确保下方区域的双图布局正确显示 */
.breeding-category-bottom .dual-image-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 10px;
}

.breeding-category-bottom .dual-image-layout .waterfall-item {
    width: 100%;
    height: 100%;
}

/* 确保下方区域的垂直双图布局正确显示 */
.breeding-category-bottom .dual-image-vertical-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.breeding-category-bottom .dual-image-vertical-layout .waterfall-item {
    width: 100%;
    height: 100%;
}

/* 确保下方区域的兰科布局正确显示 */
.breeding-category-bottom .orchid-waterfall {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.breeding-category-bottom .orchid-waterfall .waterfall-item:first-child {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 60%;
}

.breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    height: 40%;
}

.breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    height: 40%;
}

/* 确保下方区域的秋海棠布局正确显示 */
.breeding-category-bottom .begonia-waterfall {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.breeding-category-bottom .begonia-waterfall .waterfall-item:first-child {
    grid-column: 1 / span 2;
    grid-row: 1;
    height: 50%;
}

.breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    height: 50%;
}

.breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    height: 50%;
}

/* 确保下方区域的2x2网格布局正确显示 */
.breeding-category-bottom .default-waterfall {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.breeding-category-bottom .default-waterfall .waterfall-item {
    width: 100%;
    height: 100%;
}

/* 手机端适配 */
@media (max-width: 576px) {
    /* 确保下方区域在手机端正确显示 */
    .breeding-category-bottom .waterfall-container {
        height: 250px !important;
    }
    
    /* 单图布局 */
    .breeding-category-bottom .single-image-layout .waterfall-item {
        height: 100% !important;
    }
    
    /* 双图布局 */
    .breeding-category-bottom .dual-image-layout .waterfall-item,
    .breeding-category-bottom .dual-image-vertical-layout .waterfall-item {
        height: 100% !important;
    }
    
    /* 兰科布局 */
    .breeding-category-bottom .orchid-waterfall .waterfall-item:first-child {
        height: 60% !important;
    }
    
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(2),
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(3) {
        height: 40% !important;
    }
    
    /* 秋海棠布局 */
    .breeding-category-bottom .begonia-waterfall .waterfall-item:first-child,
    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(2) {
        height: 50% !important;
    }
    
    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(3) {
        height: 100% !important;
    }
    
    /* 2x2网格布局 */
    .breeding-category-bottom .default-waterfall .waterfall-item {
        height: 50% !important;
    }
    
    /* 确保下方区域的卡片在手机端正确显示 */
    .breeding-category-bottom .waterfall-container {
        height: 250px !important;
    }
    
    /* 确保下方区域的卡片内图片在手机端填满容器 */
    .breeding-category-bottom .waterfall-item {
        height: 100% !important;
        width: 100%;
    }
    
    /* 针对只有两张图片的情况进行特殊处理 */
    .breeding-category-bottom .left-vertical-layout .waterfall-item,
    .breeding-category-bottom .right-vertical-layout .waterfall-item {
        height: 100% !important;
    }
    
    /* 针对中间复杂布局(center-complex-layout)的特殊处理 */
    .breeding-category-bottom .center-complex-layout {
        display: grid !important;
        grid-template-columns: 1fr 1.3fr !important; /* 右侧大图更宽一些 */
        grid-template-rows: 140px 140px !important; /* 固定高度 */
        grid-template-areas: 
            "small1 large"
            "small2 large" !important;
        gap: 5px !important;
        height: 285px !important;
    }
    
    .breeding-category-bottom .center-complex-layout .waterfall-item:nth-child(1) {
        grid-area: small1 !important;
        height: 140px !important;
        width: 100% !important;
    }
    
    .breeding-category-bottom .center-complex-layout .waterfall-item:nth-child(2) {
        grid-area: small2 !important;
        height: 140px !important;
        width: 100% !important;
    }
    
    .breeding-category-bottom .center-complex-layout .waterfall-item:nth-child(3) {
        grid-area: large !important;
        height: 285px !important;
        width: 100% !important;
    }
    
    .breeding-category-bottom .center-complex-layout .waterfall-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    
    /* 针对第一列增加图片后的布局样式处理 */
    .breeding-category-bottom .waterfall-container {
        height: 250px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* 秋海棠布局 - 统一使用兰科布局(1上2下) */
    .breeding-category-bottom .begonia-waterfall {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 1fr 1fr !important;
        gap: 5px !important;
    }
    
    .breeding-category-bottom .begonia-waterfall .waterfall-item {
        width: 100% !important;
        height: 100% !important;
    }
    
    .breeding-category-bottom .begonia-waterfall .waterfall-item:first-child {
        grid-column: 1 / 3 !important;
        grid-row: 1 / 2 !important;
    }
    
    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(2) {
        grid-column: 1 / 2 !important;
        grid-row: 2 / 3 !important;
    }
    
    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(3) {
        grid-column: 2 / 3 !important;
        grid-row: 2 / 3 !important;
    }
    
    .breeding-category-bottom .begonia-waterfall .waterfall-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    /* 兰科布局(1上2下)特殊处理 */
    .breeding-category-bottom .orchid-waterfall {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 1fr 1fr !important;
        gap: 5px !important;
    }
    
    .breeding-category-bottom .orchid-waterfall .waterfall-item:first-child {
        grid-column: 1 / 3 !important;
        grid-row: 1 / 2 !important;
    }
    
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(2) {
        grid-column: 1 / 2 !important;
        grid-row: 2 / 3 !important;
    }
    
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(3) {
        grid-column: 2 / 3 !important;
        grid-row: 2 / 3 !important;
    }
    
    .breeding-category-bottom .orchid-waterfall .waterfall-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    /* 确保所有布局在移动端都能正确显示 */
    .breeding-category-bottom {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
} 

/* ========== 新增布局样式 - 无图片布局 ========== */
.no-image-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    background-color: #f9f9f9;
    border-radius: 8px;
    position: relative;
}

.no-image-layout::after {
    content: "暂无图片";
    color: #999;
    font-size: 16px;
    font-style: italic;
}

/* ========== 新增五图布局 - 变体1(3上2下) ========== */
.five-image-layout-v1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: 400px;
    margin-bottom: 20px;
}

.five-image-layout-v1 .waterfall-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.five-image-layout-v1 .waterfall-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.five-image-layout-v1 .waterfall-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

.five-image-layout-v1 .waterfall-item:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
}

.five-image-layout-v1 .waterfall-item:nth-child(5) {
    grid-column: 2 / span 2;
    grid-row: 2;
}

/* ========== 新增五图布局 - 变体2(2上3下) ========== */
.five-image-layout-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: 400px;
    margin-bottom: 20px;
}

.five-image-layout-v2 .waterfall-item:nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1;
}

.five-image-layout-v2 .waterfall-item:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
}

.five-image-layout-v2 .waterfall-item:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.five-image-layout-v2 .waterfall-item:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.five-image-layout-v2 .waterfall-item:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
}

/* ========== 新增五图布局 - 变体3(十字形) ========== */
.five-image-layout-v3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 10px;
    height: 450px;
    margin-bottom: 20px;
}

.five-image-layout-v3 .waterfall-item:nth-child(1) {
    grid-column: 2;
    grid-row: 1;
}

.five-image-layout-v3 .waterfall-item:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.five-image-layout-v3 .waterfall-item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.five-image-layout-v3 .waterfall-item:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
}

.five-image-layout-v3 .waterfall-item:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
}

/* ========== 多行网格布局(6-8张图片) ========== */
.multi-row-grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 10px;
    margin-bottom: 20px;
}

.multi-row-grid-layout .waterfall-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

/* 调整第一行图片尺寸 */
.multi-row-grid-layout .waterfall-item:nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
}

.multi-row-grid-layout .waterfall-item:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
}

.multi-row-grid-layout .waterfall-item:nth-child(3) {
    grid-column: 4;
    grid-row: 1;
}

.multi-row-grid-layout .waterfall-item:nth-child(4) {
    grid-column: 3 / span 2;
    grid-row: 2;
}

/* ========== 自适应马赛克布局(9张及以上图片) ========== */
.adaptive-mosaic-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-auto-rows: 150px;
    gap: 10px;
    margin-bottom: 20px;
}

.adaptive-mosaic-layout .waterfall-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

/* 特殊处理第1、4、9张图片为大图 */
.adaptive-mosaic-layout .waterfall-item:nth-child(1),
.adaptive-mosaic-layout .waterfall-item:nth-child(5),
.adaptive-mosaic-layout .waterfall-item:nth-child(9) {
    grid-column: span 2;
    grid-row: span 2;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .five-image-layout-v1,
    .five-image-layout-v2,
    .five-image-layout-v3,
    .multi-row-grid-layout,
    .adaptive-mosaic-layout {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
    }
    
    .five-image-layout-v1 .waterfall-item,
    .five-image-layout-v2 .waterfall-item,
    .five-image-layout-v3 .waterfall-item,
    .multi-row-grid-layout .waterfall-item:nth-child(n),
    .adaptive-mosaic-layout .waterfall-item:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .five-image-layout-v1 .waterfall-item:nth-child(5),
    .five-image-layout-v2 .waterfall-item:nth-child(1),
    .multi-row-grid-layout .waterfall-item:nth-child(1),
    .adaptive-mosaic-layout .waterfall-item:nth-child(1) {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .five-image-layout-v1,
    .five-image-layout-v2,
    .five-image-layout-v3,
    .multi-row-grid-layout,
    .adaptive-mosaic-layout {
        grid-template-columns: 1fr;
    }
    
    .five-image-layout-v1 .waterfall-item,
    .five-image-layout-v2 .waterfall-item,
    .five-image-layout-v3 .waterfall-item,
    .multi-row-grid-layout .waterfall-item,
    .adaptive-mosaic-layout .waterfall-item {
        grid-column: 1;
        min-height: 180px;
    }
}

/* 适用于所有新布局的通用样式 */
.five-image-layout-v1 .waterfall-item,
.five-image-layout-v2 .waterfall-item,
.five-image-layout-v3 .waterfall-item,
.multi-row-grid-layout .waterfall-item,
.adaptive-mosaic-layout .waterfall-item {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.five-image-layout-v1 .waterfall-item:hover,
.five-image-layout-v2 .waterfall-item:hover,
.five-image-layout-v3 .waterfall-item:hover,
.multi-row-grid-layout .waterfall-item:hover,
.adaptive-mosaic-layout .waterfall-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.five-image-layout-v1 .waterfall-item img,
.five-image-layout-v2 .waterfall-item img,
.five-image-layout-v3 .waterfall-item img,
.multi-row-grid-layout .waterfall-item img,
.adaptive-mosaic-layout .waterfall-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.five-image-layout-v1 .waterfall-item:hover img,
.five-image-layout-v2 .waterfall-item:hover img,
.five-image-layout-v3 .waterfall-item:hover img,
.multi-row-grid-layout .waterfall-item:hover img,
.adaptive-mosaic-layout .waterfall-item:hover img {
    transform: scale(1.1);
}

/* 下方布局区域的三图布局样式 */
.breeding-category-bottom .waterfall-container {
    display: grid;
    grid-gap: 10px;
    height: 350px;
    width: 100%;
}

/* 通用瀑布流容器样式 */
.breeding-category-bottom .orchid-waterfall,
.breeding-category-bottom .begonia-waterfall,
.breeding-category-bottom .amorphophallus-waterfall {
    height: 350px;
    margin-bottom: 15px;
}

/* 通用瀑布流项目样式 */
.breeding-category-bottom .waterfall-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 兰科布局(1上2下) */
.breeding-category-bottom .orchid-waterfall .waterfall-item:first-child {
    grid-column: 1 / span 2;
    grid-row: 1;
    height: 170px;
}

.breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    height: 170px;
}

.breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    height: 170px;
}

/* 平板端兰科布局优化 */
@media (min-width: 768px) and (max-width: 992px) {
    .breeding-category-bottom .orchid-waterfall {
        height: 320px !important;        /* 增加总高度 */
    }
    
    .breeding-category-bottom .orchid-waterfall .waterfall-item:first-child {
        height: 190px !important;        /* 顶部图片更高 */
    }
    
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(2),
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(3) {
        height: 120px !important;        /* 底部图片略小 */
    }
}

/* 秋海棠布局(2左1右) - 已弃用，统一使用兰科布局(1上2下) */
.breeding-category-bottom .begonia-waterfall .waterfall-item:first-child {
    grid-column: 1 / span 2;
    grid-row: 1;
    height: 170px;
}

.breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    height: 170px;
}

.breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    height: 170px;
}

/* 蒟蒻薯布局(1左2右) - 已弃用，统一使用兰科布局(1上2下) */
.breeding-category-bottom .amorphophallus-waterfall .waterfall-item:first-child {
    grid-column: 1 / span 2;
    grid-row: 1;
    height: 170px;
}

.breeding-category-bottom .amorphophallus-waterfall .waterfall-item:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    height: 170px;
}

.breeding-category-bottom .amorphophallus-waterfall .waterfall-item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    height: 170px;
}

/* 确保所有图片充满容器 */
.breeding-category-bottom .waterfall-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 992px) {
    .breeding-category-bottom .orchid-waterfall,
    .breeding-category-bottom .begonia-waterfall,
    .breeding-category-bottom .amorphophallus-waterfall {
        height: auto;
        grid-template-columns: 1fr 1fr;
    }

    .breeding-category-bottom .orchid-waterfall .waterfall-item,
    .breeding-category-bottom .begonia-waterfall .waterfall-item,
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item {
        height: 160px;
    }

    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(3),
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:first-child {
        height: 330px;
    }
}

@media (max-width: 768px) {
    .breeding-category-bottom .orchid-waterfall,
    .breeding-category-bottom .begonia-waterfall,
    .breeding-category-bottom .amorphophallus-waterfall {
        grid-template-columns: 1fr 1fr;
        height: auto;
        grid-gap: 10px;
    }

    .breeding-category-bottom .orchid-waterfall .waterfall-item:first-child {
        grid-column: 1;
        height: 200px;
    }

    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(3),
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:first-child {
        grid-column: 1;
        grid-row: 3;
        height: 200px;
    }

    .breeding-category-bottom .orchid-waterfall .waterfall-item,
    .breeding-category-bottom .begonia-waterfall .waterfall-item,
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .breeding-category-bottom .waterfall-container {
        height: auto;
    }

    .breeding-category-bottom .orchid-waterfall .waterfall-item,
    .breeding-category-bottom .begonia-waterfall .waterfall-item,
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item {
        height: 180px;
        grid-column: 1;
    }
}

/* 小屏幕设备保持网格布局 */
@media (max-width: 576px) {
    /* 保持网格布局，但调整大小和比例 */
    .breeding-category-bottom .waterfall-container {
        height: 300px; /* 调整总高度 */
        grid-gap: 5px; /* 减小间距 */
    }
    
    /* 瀑布流布局基础样式 - 提取公共样式减少重复代码 */
    .breeding-category-bottom .orchid-waterfall,
    .breeding-category-bottom .begonia-waterfall,
    .breeding-category-bottom .amorphophallus-waterfall {
        display: grid !important; /* 保持网格布局 */
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto !important;
        height: 300px !important;
    }
    
    /* 设置图片项通用样式 */
    .breeding-category-bottom .waterfall-item {
        position: relative !important;
        overflow: hidden !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    /* 设置图片通用样式 */
    .breeding-category-bottom .waterfall-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* 兰科布局(1上2下) */
    .breeding-category-bottom .orchid-waterfall .waterfall-item:first-child {
        grid-column: 1 / span 2 !important;
        grid-row: 1 !important;
        height: 145px !important;
    }
    
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(2) {
        grid-column: 1 !important;
        grid-row: 2 !important;
        height: 145px !important;
    }
    
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 2 !important;
        height: 145px !important;
    }
    
    /* 秋海棠布局(2左1右) */
    .breeding-category-bottom .begonia-waterfall .waterfall-item:first-child {
        grid-column: 1 !important;
        grid-row: 1 !important;
        height: 145px !important;
    }
    
    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(2) {
        grid-column: 1 !important;
        grid-row: 2 !important;
        height: 145px !important;
    }
    
    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 1 / span 2 !important;
        height: 300px !important;
    }
    
    /* 蒟蒻薯布局(1左2右) */
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:first-child {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        height: 300px !important;
    }
    
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:nth-child(2) {
        grid-column: 2 !important;
        grid-row: 1 !important;
        height: 145px !important;
    }
    
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 2 !important;
        height: 145px !important;
    }
    
    /* 四图网格布局 */
    .breeding-category-bottom .default-waterfall {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 1fr 1fr !important;
        height: 300px !important;
        gap: 5px !important;
    }
    
    .breeding-category-bottom .default-waterfall .waterfall-item {
        width: 100% !important;
        height: 145px !important;
    }
    
    /* 调整分类标题样式 */
    .breeding-category-bottom .category-title {
        font-size: 15px;
        margin-top: 10px;
        text-align: center;
    }
    
    /* 调整整体布局间距 */
    .breeding-bottom-section {
        padding: 20px 10px;
    }
    
    .breeding-category-bottom {
        margin-bottom: 20px;
    }
}

/* 针对新添加的类的全局样式 */
/* 移动端网格项目通用样式 */
.mobile-grid-item {
    position: relative !important;         /* 使元素成为定位上下文 */
    overflow: hidden !important;           /* 裁剪溢出内容 */
    width: 100% !important;                /* 填满父容器宽度 */
    height: 100% !important;               /* 填满父容器高度 */
}

/* 网格图片填充样式 */
.grid-img {
    width: 100% !important;                /* 填满容器宽度 */
    height: 100% !important;               /* 填满容器高度 */
    object-fit: cover !important;          /* 保持比例裁剪 */
    display: block !important;             /* 移除图片默认间距 */
}

/* 确保网格和图片在小屏幕上正确显示 */
@media (max-width: 576px) {
    /* 网格容器基础设置 */
    .breeding-bottom-section .breeding-category-bottom .waterfall-container {
        display: grid !important;
        grid-gap: 5px !important;
        box-sizing: border-box !important;
    }
    
    /* 图片绝对定位填充技术 */
    .breeding-bottom-section .breeding-category-bottom .waterfall-item img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
    
    /* 图片容器相对定位设置 */
    .breeding-bottom-section .breeding-category-bottom .waterfall-item {
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* 统一盒模型计算方式 */
    .breeding-bottom-section .breeding-category-bottom * {
        box-sizing: border-box !important;
    }
}

/* 手机端高优先级修复样式 */
@media (max-width: 576px) {
    /* 确保所有网格容器正确显示 */
    .breeding-category-bottom .waterfall-container.orchid-waterfall,
    .breeding-category-bottom .waterfall-container.begonia-waterfall,
    .breeding-category-bottom .waterfall-container.amorphophallus-waterfall,
    .breeding-category-bottom .waterfall-container.default-waterfall {
        display: grid !important;
        width: 100% !important;
        position: relative !important;
    }
    
    /* 移动端网格项目样式 */
    .mobile-grid-item {
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* 移除会影响布局的伪元素 */
    /* .mobile-grid-item::before {
        content: "";
        display: block;
        padding-top: 75%;
        position: relative;
    } */
    
    /* 图片绝对定位以填满容器 */
    .grid-img {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100% !important;
        height: 100% !important;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .breeding-bottom-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        /* 保留背景图 */
    }
    .breeding-category-bottom {
        width: 90%;
        max-width: 500px;
        height: 400px; /* 增加高度，为标题留出充足空间 */
        margin: 0 auto;
        box-shadow: none !important;
        border-radius: 0 !important;
        background: rgba(255,255,255,0.95);
    }
    /* 确保第二个卡片也遵循相同的宽度规则 */
    .breeding-category-bottom:nth-child(2) {
        width: 90% !important;
        max-width: 500px !important;
        grid-column: auto !important; /* 移除横跨两列的设置 */
    }
    .breeding-category-bottom:first-child,
    .breeding-category-bottom:last-child {
        margin-top: 0 !important;
    }
    /* 只调整标题上边距 */
    .breeding-bottom-section .category-title {
        margin-top: 45px !important; /* 增加标题上边距 */
    }
}

/* PC端样式 (≥1024px) */
@media (min-width: 1024px) {
    .breeding-category-bottom {
        background: rgba(255, 255, 255, 0.95);
        padding: 6px;
        height: 360px;
        width: 400px;
    }
    
    /* 确保所有布局在PC端使用兰科布局(1上2下) */
    .breeding-category-bottom .waterfall-container {
        height: 320px;
    }
    
    .breeding-category-bottom .orchid-waterfall .waterfall-item:first-child,
    .breeding-category-bottom .begonia-waterfall .waterfall-item:first-child,
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:first-child {
        height: 170px;
    }
    
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(2),
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(3),
    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(2),
    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(3),
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:nth-child(2),
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:nth-child(3) {
        height: 140px;
    }
}

/* 平板端样式 (768px-1023px) */
/* 平板端样式 (992px-768px) */
@media (min-width: 768px) and (max-width: 992px) {
    /* 平板端优化 - 下方区域布局优化 */
    .breeding-bottom-section {
        display: grid;
        grid-template-columns: 1fr;  /* 两列布局 */
        gap: 12px;                       /* 间距 */
        padding: 15px;                   /* 内边距 */
    }
    
    /* 中间列卡片在平板端占据更大空间 */
    .breeding-category-bottom:nth-child(2) {
        grid-column: 1 / span 2;         /* 横跨两列 */
        width: 100%;                     /* 宽度100% */
        max-width: 100%;                 /* 最大宽度100% */
        margin: 0 auto;                  /* 居中显示 */
    }
    
    /* 移除第一个和最后一个卡片的特殊边距 */
    .breeding-category-bottom:first-child,
    .breeding-category-bottom:last-child {
        margin-top: 0 !important;
    }
}

/* 中等屏幕样式 (1200px-992px) */
@media (min-width: 992px) and (max-width: 1200px) {
    /* 下方区域布局优化 */
    .breeding-bottom-section {
        display: flex;                   /* 使用flex布局 */
        flex-direction: column;          /* 垂直排列 */
        align-items: center;             /* 居中对齐 */
        gap: 20px;                       /* 增加间距 */
        padding: 20px 0;                 /* 上下内边距 */
    }
    
    /* 所有卡片在中等屏幕统一样式 */
    .breeding-category-bottom {
        width: 80%;                      /* 统一宽度 */
        max-width: 600px;                /* 最大宽度限制 */
        margin: 0 auto !important;       /* 居中显示 */
    }
    
    /* 移除第一个和最后一个卡片的特殊边距 */
    .breeding-category-bottom:first-child,
    .breeding-category-bottom:last-child {
        margin-top: 0 !important;
    }
    
    /* 调整标题位置和样式 */
    .breeding-bottom-section .category-title {
        margin-top: 15px;                /* 调整标题上边距 */
        font-size: 16px;                 /* 增大字体 */
    }
}
    
    /* 移除第一个和最后一个卡片的特殊边距 */
    .breeding-category-bottom:first-child,
    .breeding-category-bottom:last-child {
        margin-top: 0 !important;
    }
    
    /* 标题上边距调整 */
    .breeding-bottom-section .category-title {
        margin-top: 25px;
        font-size: 16px;
    }
    
    /* 平板端图片布局统一为兰科布局(1上2下) */
    .breeding-category-bottom .waterfall-container {
        height: 320px;
    }
    
    /* 所有布局的顶部图片尺寸统一 */
    .breeding-category-bottom .orchid-waterfall .waterfall-item:first-child,
    .breeding-category-bottom .begonia-waterfall .waterfall-item:first-child,
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:first-child {
        grid-column: 1 / span 2 !important;
        grid-row: 1 !important;
        height: 190px !important;
    }
    
    /* 所有布局的底部两图尺寸统一 */
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(2),
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(3),
    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(2),
    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(3),
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:nth-child(2),
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:nth-child(3) {
        height: 120px !important;
    }
    
    /* 统一左侧图片位置 */
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(2),
    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(2),
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:nth-child(2) {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
    
    /* 统一右侧图片位置 */
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(3),
    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(3),
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }
}

/* 手机端样式 (<768px) */
@media (max-width: 767px) {
    /* 手机端优化 - 下方区域布局优化 */
    .breeding-bottom-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px 20px;
    }
    
    /* 卡片统一宽度和样式 */
    .breeding-category-bottom {
        width: 95%;
        max-width: 450px;
        height: 350px;
        margin: 0 auto !important;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      
    }
    
    /* 移除第一个和最后一个卡片的特殊边距 */
    .breeding-category-bottom:first-child,
    .breeding-category-bottom:last-child {
        margin-top: 0 !important;
    }
    
    /* 标题上边距调整 */
    .breeding-bottom-section .category-title {
        margin-top: 20px;
    }
    
    /* 手机端图片布局统一为兰科布局(1上2下) */
    .breeding-category-bottom .waterfall-container {
        height: 300px;
    }
    
    /* 所有布局的顶部图片尺寸统一 */
    .breeding-category-bottom .orchid-waterfall .waterfall-item:first-child,
    .breeding-category-bottom .begonia-waterfall .waterfall-item:first-child,
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:first-child {
        grid-column: 1 / span 2 !important;
        grid-row: 1 !important;
        height: 180px !important;
    }
    
    /* 所有布局的底部两图尺寸统一 */
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(2),
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(3),
    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(2),
    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(3),
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:nth-child(2),
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:nth-child(3) {
        height: 110px !important;
    }
    
    /* 统一左侧图片位置 */
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(2),
    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(2),
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:nth-child(2) {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
    
    /* 统一右侧图片位置 */
    .breeding-category-bottom .orchid-waterfall .waterfall-item:nth-child(3),
    .breeding-category-bottom .begonia-waterfall .waterfall-item:nth-child(3),
    .breeding-category-bottom .amorphophallus-waterfall .waterfall-item:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }
    
    /* 确保图片填充容器 */
    .breeding-category-bottom .waterfall-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

/* PC端上方区域瀑布流样式优化 */
@media (min-width: 1024px) {
    /* 上方区域瀑布流容器 */
    .breeding-category .waterfall-container {
        height: 320px;
        padding: 10px;
        margin: 0 10px;
    }
    
    /* 兰科布局(1上2下) */
    .breeding-category .orchid-waterfall .waterfall-item:first-child {
        height: 170px;
    }
    
    .breeding-category .orchid-waterfall .waterfall-item:nth-child(2),
    .breeding-category .orchid-waterfall .waterfall-item:nth-child(3) {
        height: 140px;
    }
    
    /* 确保所有图片填满容器 */
    .breeding-category .waterfall-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

/* 平板端上方区域瀑布流样式优化 */
@media (min-width: 768px) and (max-width: 1023px) {
    /* 上方区域瀑布流容器 */
    .breeding-category .waterfall-container {
        height: 300px;
        padding: 10px;
        margin: 0 10px;
    }
    
    /* 兰科布局(1上2下) */
    .breeding-category .orchid-waterfall .waterfall-item:first-child {
        height: 160px;
    }
    
    .breeding-category .orchid-waterfall .waterfall-item:nth-child(2),
    .breeding-category .orchid-waterfall .waterfall-item:nth-child(3) {
        height: 120px;
    }
    
    /* 确保所有图片填满容器 */
    .breeding-category .waterfall-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

/* 手机端上方区域瀑布流样式优化 */
@media (max-width: 767px) {
    /* 上方区域瀑布流容器 */
    .breeding-category .waterfall-container {
        height: 280px;
        padding: 8px;
        margin: 0 8px;
    }
    
    /* 兰科布局(1上2下) */
    .breeding-category .orchid-waterfall .waterfall-item:first-child {
        height: 150px;
    }
    
    .breeding-category .orchid-waterfall .waterfall-item:nth-child(2),
    .breeding-category .orchid-waterfall .waterfall-item:nth-child(3) {
        height: 110px;
    }
    
    /* 确保所有图片填满容器 */
    .breeding-category .waterfall-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

/* 保育设施统计卡片样式 */
.facility-stats {
    margin-top: 30px;
    background-color: rgba(56,166,96,0.05);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(56,166,96,0.15);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #38A660;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 10px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}