/*
Theme Name: 专业证件定制
Theme URI: http://100gd.com
Author: 100gd.com
Author URI: http://100gd.com
Description: 专业证件定制网站主题
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: certificate-theme
*/

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
/* 美化顶部栏 */
header {
    background: transparent;
    color: #fff;
    padding: 1rem 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: none;
}

/* 非首页导航栏样式 */
.non-home-page header {
    background: rgba(22, 93, 255, 0.8); /* 80%政务蓝 */
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

header .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 80px; /* 为绝对定位的logo留出空间 */
}

.logo h1 {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* 网站LOGO样式 */
.site-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 240px;
    height: auto;
    z-index: 1001;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.site-logo:hover {
    opacity: 1;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 3.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.nav-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-menu ul li a:hover {
    background-color: rgba(255,255,255,0.1);
    color: #ff6b6b;
}



/* 英雄区域样式 */
.hero {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 15rem 0 10rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

/* 轮播背景图片容器 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('image/A/A01.png');
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
    z-index: -2;
}

/* 轮播渐变叠加层 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    z-index: -1;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: #fff;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.btn:hover::before {
    left: 100%;
}

/* 证书展示区域样式 */
.certificates {
    padding: 4rem 0;
    background-color: #fff;
    min-height: calc(100vh - 200px);
}

.certificates h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.certificate-category {
    margin-bottom: 4rem;
}

.certificate-category h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #444;
    border-bottom: 2px solid #ff6b6b;
    padding-bottom: 0.5rem;
    text-align: center;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.certificate-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.certificate-image {
    padding: 1rem;
    background-color: #fff;
    text-align: center;
}

.certificate-photo {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.certificate-item:hover .certificate-photo {
    transform: scale(1.05);
}

.certificate-info {
    padding: 1.5rem;
}

.certificate-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.certificate-info p {
    color: #666;
    font-size: 0.95rem;
}

/* 证书资讯区域样式 */
.news {
    padding: 4rem 0;
    background-color: #f4f4f4;
    min-height: calc(100vh - 200px);
}

.news h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.news-item p {
    color: #666;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #ee5a52;
    text-decoration: underline;
}

/* 关于我们区域样式 */
.about {
    padding: 4rem 0;
    background-color: #fff;
    min-height: calc(100vh - 200px);
}

.about h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content h3 {
    font-size: 1.5rem;
    margin: 3rem 0 2rem;
    color: #444;
    border-bottom: 2px solid #ff6b6b;
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* 优势展示样式 */
.about-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.advantage-item {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.advantage-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

/* 服务流程样式 */
.about-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.process-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.process-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

/* 联系我们社交项目样式 */
.contact-social {
    margin-top: 2rem;
}

.contact-social h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #444;
}

.social-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.social-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-right: 1rem;
}

/* 联系定制区域样式 */
.contact {
    padding: 4rem 0;
    background-color: #f4f4f4;
    min-height: calc(100vh - 200px);
}

.contact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #666;
    font-size: 1.1rem;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}





/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    opacity: 0;
    animation: footerFadeIn 0.5s ease 1.5s forwards;
}

@keyframes footerFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 微信客服底部栏延迟显示 */
.wk-bottom-bar,
.wk-bottom-spacer,
.wk-ball {
    opacity: 0;
    animation: footerFadeIn 0.5s ease 1.5s forwards;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-contact {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-wechat h4,
.footer-phone h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #ff6b6b;
}

.footer-wechat p,
.footer-phone p {
    font-size: 1rem;
    color: #ccc;
    margin: 0;
}

.footer-copyright {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #999;
}

/* 图片放大模态框样式 - 左右分栏设计 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: none;
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 10px;
    backdrop-filter: blur(5px); /* 添加背景模糊效果 */
    box-sizing: border-box;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    max-width: 1200px;
    max-height: 95vh; /* 增加最大高度 */
    width: 100%;
    display: flex;
    animation: zoomIn 0.3s ease;
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    min-height: 500px;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 左右分栏样式 - 调整宽度比例为2:1 */
.modal-left {
    flex: 2; /* 左侧图片区域宽度是右侧的两倍 */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background-color: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
}

.modal-right {
    flex: 1; /* 右侧文案区域保持原有宽度 */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: #ffffff;
    color: #333;
    box-sizing: border-box;
    flex-shrink: 0;
}

.modal img {
    max-width: 100%;
    max-height: 85vh; /* 保持最大高度限制 */
    width: auto;
    height: auto;
    object-fit: contain; /* 保持图片比例，填充整个容器 */
    border: 8px solid #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
    background-color: #fff;
}

/* 文案内容样式 - 根据设计图片调整布局 */
.modal-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    box-sizing: border-box;
    background-color: #ffffff;
}

.modal-title {
    font-size: 1.4rem; /* 调整标题字体大小 */
    margin-bottom: 1.2rem; /* 标题与分隔线的距离 */
    color: #ff6b6b;
    font-weight: bold;
    line-height: 1.4;
    position: relative;
    padding-bottom: 0;
    text-align: center;
    width: 100%;
    padding: 10px 0;
    background-color: #ffffff;
}

/* 添加标题与正文之间的分隔线 */
.modal-title::after {
    content: '';
    position: relative;
    display: block;
    margin: 1rem auto;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e8e 100%);
    border-radius: 1px;
}

.modal-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333; /* 改为黑色文字 */
    margin-bottom: 0;
    font-weight: 400;
    margin-top: 0;
    max-height: 60vh; /* 增加最大高度 */
    overflow-y: auto; /* 添加垂直滚动 */
    padding: 10px 0;
    flex: 1; /* 占据剩余空间 */
    background-color: #ffffff;
    width: 100%;
}

/* 优化滚动条样式 */
.modal-description::-webkit-scrollbar {
    width: 6px;
}

.modal-description::-webkit-scrollbar-track {
    background: rgba(255,107,107,0.1);
    border-radius: 3px;
}

.modal-description::-webkit-scrollbar-thumb {
    background: rgba(255,107,107,0.5);
    border-radius: 3px;
}

.modal-description::-webkit-scrollbar-thumb:hover {
    background: rgba(255,107,107,0.7);
}

.close-modal {
    position: absolute;
    top: 10px; /* 调整到模态框内右上角，距离顶部10px */
    right: 10px; /* 距离右侧10px */
    background-color: rgba(255,107,107,0.9); /* 半透明背景 */
    color: rgba(255,255,255,0.95); /* 半透明白色文字 */
    border: 3px solid rgba(255,255,255,0.8); /* 半透明边框 */
    border-radius: 50%;
    width: 60px; /* 增大关闭按钮 */
    height: 60px; /* 增大关闭按钮 */
    font-size: 32px; /* 增大关闭图标 */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(3px); /* 添加模糊效果 */
}

.close-modal:hover {
    background-color: rgba(238,90,82,0.95);
    transform: scale(1.2); /* 悬停时进一步增大 */
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,1);
    color: rgba(255,255,255,1);
    animation: none; /* 悬停时暂停呼吸动画 */
}

/* 呼吸跳动动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

.close-modal {
    animation: pulse 2s ease-in-out infinite; /* 应用呼吸动画，每2秒一次 */
}

/* 响应式设计 */
@media (max-width: 768px) {

    .nav-menu ul {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .nav-menu ul li a {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
    
    /* 移动端LOGO适配 */
    .site-logo {
        width: 180px;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* 移动端证书展示适配 */
    .certificate-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    /* 移动端模态框适配 */
    .modal-content {
        flex-direction: column;
        height: auto;
        max-height: 90vh;
        min-height: 70vh;
        overflow: hidden;
        padding: 10px;
        width: 95%;
        margin: 0 auto;
        box-sizing: border-box;
        border-radius: 10px;
    }
    
    .modal-left {
        flex: 3;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        min-height: 40vh;
    }
    
    .modal-right {
        flex: 2;
        padding: 15px;
        max-height: 35vh;
        overflow-y: auto;
        box-sizing: border-box;
        min-height: 25vh;
    }
    
    .modal img {
        max-width: 100%;
        max-height: 40vh;
        object-fit: contain;
        border: 3px solid rgba(255,255,255,0.8);
        box-sizing: border-box;
    }
    
    .modal-right {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-description {
        font-size: 1rem;
    }
}

/* 文章页面样式 */
.article {
    padding: 4rem 0;
    background-color: #fff;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f4f4f4;
}

.article-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #666;
    font-size: 0.9rem;
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: #444;
    font-size: 1.1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1.5rem;
    color: #333;
    border-bottom: 1px solid #ff6b6b;
    padding-bottom: 0.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-image {
    margin: 2rem 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.image-caption {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.article-video {
    margin: 2rem 0;
    text-align: center;
}

.article-video h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: none;
    padding-bottom: 0;
}

.article-video video {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 100%;
    background-color: #000;
}

.video-caption {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.article-conclusion {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    border-left: 5px solid #ff6b6b;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f4f4f4;
    gap: 2rem;
}

.prev-article,
.next-article {
    flex: 1;
}

.prev-article a,
.next-article a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.prev-article a:hover,
.next-article a:hover {
    color: #ee5a52;
    text-decoration: underline;
}

.back-to-list {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.back-to-list:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* 浏览量样式 */
.article-views {
    color: #888;
}

/* 上一篇下一篇导航样式 */
.prev-next-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.nav-prev,
.nav-next {
    padding: 10px 18px;
    background: #f5f5f5;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    max-width: 45%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-prev:hover,
.nav-next:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    transform: translateY(-2px);
}

.nav-prev.disabled,
.nav-next.disabled {
    color: #ccc;
    background: #f9f9f9;
    cursor: default;
    pointer-events: none;
}

.nav-next {
    text-align: right;
}

@media (max-width: 768px) {
    .article-header h2 {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .prev-next-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-prev,
    .nav-next {
        max-width: 100%;
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .certificate-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* 超小屏幕LOGO适配 */
    .site-logo {
        width: 150px;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* 超小屏幕导航适配 */
    .nav-menu ul {
        gap: 0.3rem;
    }
    
    .nav-menu ul li a {
        padding: 0.2rem 0.4rem;
        font-size: 0.8rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    /* 超小屏幕模态框适配 */
    .modal-content {
        height: auto;
        max-height: 90vh;
        min-height: 70vh;
        padding: 8px;
        width: 95%;
    }
    
    .modal-left {
        flex: 4;
        padding: 3px;
        min-height: 35vh;
    }
    
    .modal-right {
        flex: 3;
        padding: 12px;
        max-height: 30vh;
        min-height: 20vh;
    }
    
    .modal-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .modal-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .close-modal {
        width: 40px;
        height: 40px;
        font-size: 22px;
        top: 3px;
        right: 3px;
    }
    
    .modal img {
        border: 2px solid rgba(255,255,255,0.8);
        max-height: 30vh;
    }
}