/* ========== 全局样式重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", "Noto Sans SC", sans-serif;
}

body {
    background: #f5f1e8;
    padding-top: 60px;
}

/* ========== 顶部固定菜单 ========== */
.fixed-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 30px;
    z-index: 999;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.menu-logo {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: #4A3428;
}
.menu-logo a {
           color: #4A3428; /* 添加这行代码 */
            text-decoration: none;
            transition: color 0.2s;
        }
        
.menu-logo a:hover {
           color: #6B4226;/* 添加这行代码 */
        }
.menu-logo img {
    width: 28px;
    height: 28px;
    margin-right: 8px;
}

.menu-logo span {
    font-size: 14px;
    color: #999;
    margin-left: 6px;
}

/* ========== 静态检索入口样式 ========== */

/* 搜索容器 */
.search-container {
    margin-left: auto; /* 将搜索框推到右侧 */
    margin-right: 40px; /* 右侧留出间距 */
    display: flex;           /* 启用flex布局 */
    align-items: center;     /* 垂直方向居中对齐 */
    justify-content: center; /* 水平方向居中对齐（可选） */
    height: 100%;            /* 继承父容器高度 */
    margin-top: auto;        /* 自动顶部外边距，将元素推到容器底部 */
    margin-bottom: 8px;      /* 添加底部外边距，使更靠近下边沿 */
}

/* 搜索框整体样式 */
.search-box {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #d1d9e6;
    border-radius: 20px;
    padding: 4px 4px 4px 16px;
    width: 280px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    height: 40px;  /* 固定高度，与顶部菜单条协调 */
}

/* 鼠标悬停效果 */
.search-box:hover {
    border-color: #1e3a8a;
    box-shadow: 0 2px 6px rgba(30, 58, 138, 0.1);
}

/* 获得焦点时的效果 */
.search-box:focus-within {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    width: 300px; /* 获得焦点时稍微扩大 */
}

/* 搜索输入框 */
.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 0;
    font-size: 14px;
    color: #333;
    background: transparent;
    min-width: 0;
    font-family: inherit;
    height: 100%;  /* 填满搜索框高度 */
    line-height: 1.5; /* 确保文字垂直居中 */
}

/* 占位符样式 */
.search-input::placeholder {
    color: #999;
    font-size: 13px;
}

/* 搜索按钮 */
.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #1e3a8a;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* 按钮悬停效果 */
.search-btn:hover {
    background: #4a7db5;
}

/* 按钮激活效果 */
.search-btn:active {
    background: #2c5a8c;
    transform: scale(0.95);
}

/* 搜索图标 */
.search-icon {
    pointer-events: none; /* 防止图标干扰点击事件 */
}

/* ========== 标题栏 ========== */
.header-bar {
    position: relative;  /* 新增此行 */
    width: 100%;
    height: 160px;
   /* background: #1e3a8a;*/
    background: #E6D5B8;
    color: #4A3428;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    text-align: center;
    padding: 0 20px;
     background: linear-gradient(135deg, #F5E9D5 0%, #E6D5B8 50%, #D7C1A0 100%);
}

.header-title {
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.header-subtitle {
    opacity: 0.88;
    font-size: 18px;
}

/* ========== 左下角导航链接容器（新样式，替代 .back-home-link） ========== */
.nav-links {
    position: absolute;
    left: 28px;
    bottom: 22px;
    display: flex;
    gap: 16px;
    z-index: 10;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(3px);
    padding: 6px 16px 6px 12px;
    border-radius: 40px;
    color: #6B4226;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-family: inherit;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.7);
    color: #6B4226;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.nav-link:active {
    transform: translateY(1px);
}


/* ========== 详情容器 ========== */
.detail-container {
    max-width: 1000px;      /* 与搜索框宽度保持一致 */
    min-height: 600px; 
    height:auto;
    margin: 0 auto 50px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 16px 30px 30px 30px;
}

/* 左右内容区 - 顶部对齐 */
.detail-content {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-top: 20px;
    height: auto; /* 自适应高度 */
    min-height: 300px; /* 设置最小高度 */
    align-items: stretch; /* 子项等高对齐 */
}

/* 左侧图片区 -  */
.detail-img-wrapper {
    flex: 0 0 380px;        /* 原420px，适应1000px容器，保持左右比例协调 */
    display: flex;
    flex-direction: column;
   /* background: #faf9f7;*/
   /* background: #f8f5f0;*/
    border-radius: 16px;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    /* 高度由 JS 动态设置，保证与右侧内容一致 */
    min-height: 400px; /* 设置最小高度 */
    max-height: none; /* 设置最大高度（当前高度的1.5倍，400 * 1.5=600） */
    height: auto; /* 改为自动高度，可随内容增高 */
    overflow-y: auto; /* 内容超过最大高度时显示滚动条 */
    box-sizing: border-box;

}

/* 主图区域 - 占据剩余空间 */
.detail-img-main {
    flex: none;
    min-height: 0;
    height: auto; /* 改为自动高度 */
    overflow: visible; /* 允许内容溢出 */
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;   
    gap: 1px; /* 为上下两张图片之间增加间距 */
    padding: 8px; /* 增加内边距，使图片不紧贴边框 */  
    border: 1px solid #e0e0e0;     
    width: 375px; 
    align-items: center;    
}

/* 上下图片区域的通用样式 */
.detail-img-main .img-section {
    flex: 0 0 auto; /* 每个区域平分剩余高度 */
    min-height: auto; /* 允许在flex容器内收缩 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:  flex-start;
    width: 100%;
    position: relative;
    border: none;
    overflow: visible; 
  /*  background: #fff7ef; */
    background: #f5f1e8;
    width:320px; 
}

/* 上方图片区域 */
.detail-img-main .img-section.top-img {
   border: 1px solid #e2dccd;
    border-radius: 12px 12px 0 0; /* 上圆角 */
    padding: 8px;  /* 上图 内框宽度*/
    border-bottom: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

/* 下方图片区域 */
.detail-img-main .img-section.bottom-img {
    border: 1px solid #e2dccd;
    border-radius: 0 0 12px 12px; /* 下圆角 */
    padding: 8px;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,0.02);
    border-top: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

/* 图片分割线 */
.img-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
    rgba(101, 67, 33, 0.15) 20%, 
    rgba(101, 67, 33, 0.4) 50%, 
    rgba(101, 67, 33, 0.15) 80%, 
        transparent 100%
    ); 
    position: relative;
    z-index: 2;
    border: none;
    position: relative;
    margin: 5px 0;
    overflow: visible;
    border-radius: 2px;
    width: 90%;           /* 可选，控制线条长度 */ 
}

.img-divider::before {
    left: 20px;
}

.img-divider::after {
    right: 20px;
}

.detail-img {
    max-width: 280px;
    width: auto;           /* 宽度自适应 */
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    flex: 1;
    min-height: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: none;
    background: #fff;
    padding: 2px; /* 为图片添加内边距，避免紧贴边框 */
    box-sizing: border-box;
}

.detail-img:hover {
    transform: scale(1.01);
}

/* 可点击图片的悬停效果 */
.detail-img.previewable {
    cursor: zoom-in;
}

.detail-img.previewable:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-color: #c9c5bd;
}

/* 不可点击图片样式 */
.detail-img.no-preview {
    cursor: default;
    opacity: 0.95;
    pointer-events: none;
}

.detail-img.no-preview:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 图片说明文字样式优化 */
.img-caption {
    margin-top: 12px;
    font-size: 13px;
    text-align: center;
    flex-shrink: 0;
    padding: 4px 8px;
    border-radius: 10px;
    background: rgba(255,255,255,0.9);
    display: inline-block;
    max-width: 80%;
    position: relative;
    z-index: 1;
    transition: all 0.2s ease;

}
/* ========== 上方图片（可点击预览） ========== */
.top-img .img-caption {
        /* background: #fff7ef;  */
    background: rgba(248, 245, 240, 0.95);
    border: 1px solid rgba(30, 58, 138, 0.2);
    color: #1e3a8a;
    cursor: pointer;
}

.top-img .img-caption:hover {
    background: rgba(30, 58, 138, 0.12);
    border-color: rgba(30, 58, 138, 0.4);
}

/* ========== 下方图片（不可点击预览） ========== */
.bottom-img .img-caption {
        /* background: #fff7ef;  */
    background: rgba(248, 245, 240, 0.95);
    border: 1px solid rgba(30, 58, 138, 0.2);
    color: #1e3a8a;
    cursor: default;  /* 不显示手型，保持默认箭头 */
    margin-top: 5px;
}

/* 鼠标悬停效果增强 */
.img-section {
    transition: all 0.3s ease;
}

.img-section.top-img:hover {
    background: #fcfbf9;
    border-color: #d8d1c3;
}
/*
.img-section.bottom-img:hover {
    background: #f2efe9;
    border-color: #d8d4cc;
}
*/

.detail-img-main img {
    display: block;
    max-width: 280px;           /* 固定宽度 */
    width: auto;   
    height: auto;           /* 高度按比例自动计算 */
  /*  object-fit: contain;    保持比例（配合height:auto使用） */
    max-height: none;       /* 移除高度限制，让图片自然按比例伸展 */
}

/* 确保动态内容中的图片也遵守样式 */
.bottom-img img {
    display: block;
    max-width: 280px;
    max-height: 350px;     /* 根据实际需要调整，防止单图过高 */
    width: auto;           /* 允许小于280px */
    height: auto;
   object-fit: contain;   /* 保持比例，不裁剪 */
}

/*
 缩略图区域 - 固定在底部 
.detail-img-thumbnails {
    flex-shrink: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 16px;
    padding-top: 0;
}

.thumb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.thumb-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #e2e2e2;
    border-radius: 10px;
    transition: all 0.2s;
    background: #fff;
}

.thumb-img.active {
    border-color: #1e3a8a;
    box-shadow: 0 4px 10px rgba(30,58,138,0.2);
}

.thumb-img:hover {
    transform: scale(1.05);
    border-color: #b0c4de;
}

.thumb-label {
    font-size: 12px;
    color: #6c6f78;
    text-align: center;
    transition: color 0.2s;
}

.thumb-item .thumb-img.active + .thumb-label,
.thumb-item:hover .thumb-label {
    color: #1e3a8a;
    font-weight: 500;
}
*/
/* 右侧信息区 */
.detail-info {
    flex: 1;
    height: auto; /* 自适应高度 */
    min-height: 600px; /* 设置最小高度 */
    display: flex;
    flex-direction: column; 
}
}

.detail-title {
    font-size: 25px;
    color: #4A3428;
    margin-bottom: 20px;      /* 适当增加下边距，与横线留出空间 */
    font-weight: 500;
    border-left: 5px solid #d4af37;
    padding-left: 16px;
    padding-bottom: 15px;      /* 文字与横线之间的间距 */
    border-bottom: 1px solid #eae4d8;  /* 柔和的金棕色横线，与整体风格协调 */
}

.detail-tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    margin-top: 8px;
}

.detail-tag {
    padding: 4px 14px;
    background-color: #f0e9dc;
    color: #7a5c3a;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
}

.detail-property-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.detail-property-item {
    display: flex;
    align-items: baseline;
    font-size: 15px;
    border-bottom: 1px solid #ececec;
    padding-bottom: 8px;
}

.property-label {
    flex: 0 0 90px;
    width: 105px;
    font-weight: 600;
    color: #6B4226;
}

.property-value {
    color: #2c3e4e;
    flex: 1;
    font-weight: 500;
}

.detail-history {
    margin-top: 20px;
 /*   background: #fff7ef; */
    padding: 16px 20px;
    border-radius: 16px;
    height: auto; /* 自适应高度 */
    min-height: 0;
}

.detail-history-title {
    font-size: 16px;
    color: #6B4226;
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;               /* 图标与文字间距 */
}

.detail-history-content {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
}
.search-label img,
.detail-history-title img {
    height: 1.2em;          /* 图标高度与文字行高比例协调 */
    width: auto;
    display: block;         /* 消除内联元素多余空白 */
}
/* ========== 底部版权 ========== */
/* ========== 页脚 ========== */
footer {
  /*  background-color: #1e3a8a;
    color: white; */
   /* background-color: #1e3a8a;background-color:#BCAAA4;*/ 
    background: linear-gradient(135deg, #5C4033 0%, #6B4226 100%);
    color: white;
    padding: 2.5rem 0;
    margin-top: 4rem;
    border-top: 3px solid #d4af37;
    text-align: center;
    width: 100%;
    position: relative;
    clear: both;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

footer p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

footer a {
    color: #3E2723;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}
/* 页脚附加信息样式 */
.footer-sub {
    font-size: 0.8rem;
    color: #3E2723;
    opacity: 0.9;
    margin-top: 0.3rem;
}

/* 页脚链接区域 */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    padding: 0.2rem 0;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #d4af37;
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    footer {
        padding: 1.5rem 0;
    }
    
    footer .container {
        padding: 0 1.5rem;
    }
    
    .footer-links {
        gap: 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 1.2rem 0;
    }
    
    footer .container {
        padding: 0 1rem;
    }
    
    footer p {
        font-size: 0.85rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

/* ========== 大图预览弹窗 ========== */
#imgPreviewModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-sizing: border-box;
    backdrop-filter: blur(4px);
}

#imgPreviewModal.active {
    display: flex !important;
}

#previewImg {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255,255,240,0.3);
    background: #1e1e1e;
}

#closePreview {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 48px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.2s, color 0.2s;
    line-height: 1;
    background: rgba(0,0,0,0.4);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#closePreview:hover {
    color: #ffd966;
    transform: scale(1.08);
    background: rgba(0,0,0,0.6);
}

#detailMainImg {
    cursor: zoom-in;
}

/* ========== 新增：资料列表样式（松散、现代、美观） ========== */
/* 列表容器 */
.detail-info .news-list-container {
    margin-top: 1.5rem;
}

/* 列表核心样式 */
.detail-info ul.news-list,
.detail-info .news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.detail-info li.news-item {
    margin-bottom: 1.5rem;
    padding: 1rem 0.75rem;
    background: #ffffff;
    border-radius: 16px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.detail-info li.news-item:hover {
    background: #fefcf8;
    border-color: #e9e0d0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transform: translateX(4px);
}

/* 栏目标签 */
.detail-info .column-link {
    display: inline-block;
    background: #f0e9dc;
    color: #7a5c3a;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s;
    margin-right: 0.75rem;
    vertical-align: middle;
}

.detail-info .column-link:hover {
    background: #e3d6c0;
    color: #5e4228;
}

/* 标题链接 */
.detail-info .title-link {
    font-size: 1.1rem;
    font-weight: normal;
    color: #1e2f3e;
    text-decoration: none;
    transition: color 0.2s;
    vertical-align: middle;
    line-height: 1.4;
    word-break: break-word;
}

.detail-info .title-link:hover {
    color: #1e3a8a;
}

/* 元数据区域 */
.detail-info .news-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #8f9bb3;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.detail-info .news-date,
.detail-info .news-clicks {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

/* NEW 徽章 */
.detail-info .news-new {
    display: inline-block;
    background: #d4af37;
    color: #1e3a8a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.55rem;
    border-radius: 30px;
    margin-left: 0.5rem;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 分页样式美化 */
.detail-info .pagination-wrapper {
    margin-top: 2rem;
    text-align: center;
}

.detail-info .pb_sys_common {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
}

.detail-info .pb_sys_common .p_t {
    display: inline-block;
    margin-right: 1rem;
    color: #5b6e8c;
    background: #f0f2f5;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
}

.detail-info .pb_sys_common a,
.detail-info .pb_sys_common .pb_sys_page {
    display: inline-block;
    margin: 0 0.2rem;
    padding: 0.3rem 0.7rem;
    background: white;
    border: 1px solid #e2e2e2;
    border-radius: 30px;
    color: #2c3e4e;
    text-decoration: none;
    transition: all 0.2s;
}

.detail-info .pb_sys_common a:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
}

.detail-info .pb_sys_common .pb_sys_page_curr {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 30px;
    display: inline-block;
}

.detail-info .pb_sys_common .pb_sys_page_prev,
.detail-info .pb_sys_common .pb_sys_page_next {
    font-weight: 500;
    background: #f8f9fc;
}
/* 搜索响应式设计 - 平板设备 */
@media (max-width: 768px) {
    .search-container {
        margin-right: 10px;
    }
    
    .search-box {
        width: 240px;
        height: 36px;
    }
    
    .search-box:focus-within {
        width: 260px;
    }
}

/* 搜索响应式设计 - 手机设备 */
@media (max-width: 480px) {
    .fixed-menu {
        flex-wrap: wrap;
        height: auto;
        min-height: 60px;
        padding: 10px 20px;
    }
    
    .search-container {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
        align-items: center;
    }
    
    .search-box {
        width: 100%;
        max-width: 100%;
        height: 40px;
    }
    
    .search-box:focus-within {
        width: 100%;
    }
    
    .search-input {
        font-size: 13px;
    }
    
    .search-input::placeholder {
        font-size: 12px;
    }
}

/* ========== 响应式适配 ========== */
@media (max-width: 768px) {
    body {
        padding-top: 55px;
    }
    .fixed-menu {
        padding: 0 16px;
        height: 55px;
    }
    .menu-logo {
        font-size: 16px;
    }
    .header-bar {
        height: 110px;
        margin-bottom: 20px;
    }
    .header-title {
        font-size: 24px;
    }
    .header-subtitle {
        font-size: 12px;
    }
    .search-container {
        margin: 0 16px 30px;
        padding: 18px;
        max-width: none; /* 移动端宽度自适应 */
    }
    .search-btn {
        width: 80px;
        height: 42px;
    }
    .keyword-input {
        height: 42px;
    }
    .detail-container {
        margin: 0 16px 30px;
        padding: 20px;
        max-width: none; /* 移动端宽度自适应 */
    }
    .detail-content {
        flex-direction: column;
        gap: 24px;
    }
    .detail-img-wrapper {
        flex: none;
        width: 100%;
        padding: 12px;
        /* 移动端取消固定高度，使用自动高度 */
        height: auto !important;
    }
    .detail-img-main {
        min-height: 280px;
    }
    .detail-title {
        font-size: 24px;
    }
    .property-label {
        flex-basis: 80px;
        font-size: 13px;
    }
    .property-value {
        font-size: 13px;
    }
    #previewImg {
        max-width: 95vw;
        max-height: 70vh;
    }
    #closePreview {
        top: 15px;
        right: 20px;
        font-size: 40px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .detail-tag {
        font-size: 10px;
        padding: 3px 10px;
    }
}
/* 响应式适配 */
@media (max-width: 768px) {
    .detail-img-main .img-section.top-img,
    .detail-img-main .img-section.bottom-img {
        padding: 12px;
    }
    
    .img-divider {
        height: 2px;
        margin: 0 8px;
    }
    
    .divider-text {
        padding: 2px 12px;
        font-size: 10px;
    }
    
    .img-divider::before,
    .img-divider::after {
        width: 20px;
    }
    
    .img-caption {
        font-size: 12px;
        padding: 4px 10px;
    }
}