/* 内容页样式 */
.content-page {
    padding: 40px 0;
    background-color: #f5f5f5;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #00897b;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.content-header {
    background-color: white;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.content-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.content-body {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
    color: #333;
}

.content-body p {
    margin-bottom: 20px;
}

.content-body img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}

.content-body h2 {
    font-size: 24px;
    color: #333;
    margin: 30px 0 20px;
}

.content-body h3 {
    font-size: 20px;
    color: #333;
    margin: 25px 0 15px;
}

.related-news {
    background-color: white;
    padding: 30px;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.related-news h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00897b;
}

.related-news ul {
    list-style: none;
}

.related-news li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.related-news a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.related-news a:hover {
    color: #00897b;
}

/* ==================== tech-* 详情页专属样式 ==================== */
.tech-article-container {
    min-height: 70vh;
    padding: 30px 0;
}

.tech-breadcrumb {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/top.jpg') center/cover;
    backdrop-filter: blur(10px);
    border-radius: 0;
    padding: 20px 0;
    margin-bottom: 24px;
    border: none;
    position: relative;
    min-height: 120px;
    display: flex;
    align-items: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.tech-breadcrumb::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(107, 182, 255, 0.1) 100%);
    border-radius: 0;
    z-index: 1;
}

.tech-breadcrumb .wz {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

.tech-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tech-breadcrumb a:hover {
    color: #6bb6ff;
    transform: translateY(-1px);
    text-shadow: 0 2px 8px rgba(107, 182, 255, 0.5);
}

.tech-article-wrapper {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.tech-article-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: #00897b;
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tech-article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(74, 144, 226, 0.1);
    position: relative;
}

.tech-article-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a202c;
    line-height: 1.3;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #2d3748 0%, #4a90e2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-article-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 20px;
    font-style: italic;
}

.tech-article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tech-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.tech-meta-icon {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #4a90e2 0%, #6bb6ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 10px;
}

.tech-article-content {
    line-height: 1.8;
    color: #4a5568;
    font-size: 16px;
}

.tech-article-content h1,
.tech-article-content h2,
.tech-article-content h3,
.tech-article-content h4,
.tech-article-content h5,
.tech-article-content h6 {
    color: #2d3748;
    font-weight: 700;
    margin: 30px 0 16px 0;
    line-height: 1.4;
}

.tech-article-content h1 { font-size: 28px; }
.tech-article-content h2 { font-size: 24px; }
.tech-article-content h3 { font-size: 20px; }
.tech-article-content h4 { font-size: 18px; }
.tech-article-content h5 { font-size: 16px; }
.tech-article-content h6 { font-size: 14px; }

.tech-article-content p { margin-bottom: 20px; text-align: justify; }
.tech-article-content img {
    max-width: 600px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    transition: transform 0.3s ease;
    border-radius: 8px;
}
.tech-article-content img:hover { transform: scale(1.02); }

.tech-article-content blockquote {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    border-left: 4px solid #4a90e2;
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #4a5568;
    position: relative;
}

.tech-article-content blockquote::before {
    content: '"';
    font-size: 48px;
    color: #4a90e2;
    position: absolute;
    top: -10px;
    left: 16px;
    font-family: serif;
}

.tech-article-content ul,
.tech-article-content ol { margin: 20px 0; padding-left: 30px; }
.tech-article-content li { margin-bottom: 8px; color: #4a5568; }
.tech-article-content a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}
.tech-article-content a:hover { color: #6bb6ff; border-bottom-color: #6bb6ff; }
.tech-article-content code {
    background: rgba(74, 144, 226, 0.1);
    color: #4a90e2;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}
.tech-article-content pre {
    background: #1a202c;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.tech-article-content pre code { background: none; color: inherit; padding: 0; }

.tech-article-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(74, 144, 226, 0.1);
    text-align: center;
}

.tech-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.tech-tag {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    color: #4a90e2;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.tech-tag:hover {
    background: linear-gradient(135deg, #4a90e2 0%, #6bb6ff 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.tech-share {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.tech-share-btn {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #4a90e2 0%, #6bb6ff 100%);
    color: #ffffff; display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.tech-share-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4); color: #ffffff; }

/* ==================== 响应式设计 ==================== */
/* 桌面端优化 */
@media (min-width: 1200px) {
    .tech-article-container { padding: 40px 0; }
    .tech-breadcrumb { min-height: 140px; padding: 24px 0; }
    .tech-breadcrumb .wz { max-width: 1200px; padding: 0 30px; }
    .tech-article-wrapper { padding: 50px; }
    .tech-article-title { font-size: 36px; }
    .tech-article-subtitle { font-size: 22px; }
    .tech-article-content { font-size: 17px; }
}

/* 平板端 */
@media (min-width: 768px) and (max-width: 1199px) {
    .tech-article-container { padding: 30px 0; }
    .tech-breadcrumb { min-height: 120px; padding: 20px 0; }
    .tech-breadcrumb .wz { max-width: 100%; padding: 0 20px; }
    .tech-article-wrapper { padding: 35px; }
    .tech-article-title { font-size: 28px; }
    .tech-article-subtitle { font-size: 18px; }
    .tech-article-content img { max-width: 100%; }
}

/* 移动端 */
@media (max-width: 767px) {
    /* 基础样式调整 */
    .content-page {
        padding: 15px 0;
    }

    .content-container {
        padding: 0 10px;
    }

    .content-header {
        padding: 15px;
        margin-bottom: 15px;
    }

    .content-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .content-meta {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .content-body {
        padding: 15px;
        font-size: 15px;
        line-height: 1.7;
    }

    .content-body h2 {
        font-size: 20px;
        margin: 20px 0 15px;
    }

    .content-body h3 {
        font-size: 18px;
        margin: 15px 0 10px;
    }

    .related-news {
        padding: 15px;
        margin-top: 20px;
    }

    /* tech-* 详情页移动端样式 */
    .tech-article-container {
        padding: 15px 0;
    }

    .tech-breadcrumb {
        background: rgba(0, 137, 123, 0.95);
        backdrop-filter: blur(8px);
        min-height: auto;
        padding: 12px 15px;
        display: block;
        width: auto;
        margin-left: 0;
        margin-bottom: 15px;
        border-radius: 8px;
    }

    .tech-breadcrumb::before {
        display: none;
    }

    .tech-breadcrumb .wz {
        color: #ffffff;
        text-shadow: none;
        font-weight: 500;
        max-width: none;
        margin: 0;
        padding: 0;
        font-size: 14px;
    }

    .tech-breadcrumb a {
        color: #b2ebf2;
        text-shadow: none;
        font-weight: 500;
    }

    .tech-breadcrumb a:hover {
        color: #80deea;
        text-shadow: none;
    }

    .tech-article-wrapper {
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }

    .tech-article-header {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    .tech-article-title {
        font-size: 22px;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .tech-article-subtitle {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .tech-article-meta {
        gap: 15px;
        margin-bottom: 15px;
    }

    .tech-meta-item {
        font-size: 13px;
        gap: 5px;
    }

    .tech-article-content {
        font-size: 15px;
        line-height: 1.7;
    }

    .tech-article-content h1 { font-size: 20px; }
    .tech-article-content h2 { font-size: 18px; }
    .tech-article-content h3 { font-size: 17px; }
    .tech-article-content h4 { font-size: 16px; }
    .tech-article-content h5 { font-size: 15px; }
    .tech-article-content h6 { font-size: 14px; }

    .tech-article-content h1,
    .tech-article-content h2,
    .tech-article-content h3,
    .tech-article-content h4,
    .tech-article-content h5,
    .tech-article-content h6 {
        margin: 20px 0 12px 0;
    }

    .tech-article-content p {
        margin-bottom: 15px;
        text-align: left;
    }

    .tech-article-content img {
        max-width: 100%;
        height: auto;
        margin: 15px 0;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .tech-article-content blockquote {
        padding: 15px 18px;
        margin: 18px 0;
        border-radius: 0 8px 8px 0;
    }

    .tech-article-content blockquote::before {
        font-size: 32px;
        top: -5px;
        left: 10px;
    }

    .tech-article-content ul,
    .tech-article-content ol {
        margin: 15px 0;
        padding-left: 20px;
    }

    .tech-article-content li {
        margin-bottom: 6px;
    }

    .tech-article-footer {
        margin-top: 25px;
        padding-top: 20px;
    }

    .tech-tags {
        gap: 8px;
    }

    .tech-tag {
        padding: 6px 12px;
        font-size: 13px;
    }

    .tech-share {
        gap: 12px;
    }

    .tech-share-btn {
        width: 34px;
        height: 34px;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .content-header {
        padding: 12px;
    }

    .content-title {
        font-size: 20px;
    }

    .content-body {
        padding: 12px;
        font-size: 14px;
    }

    .content-body h2 {
        font-size: 18px;
    }

    .content-body h3 {
        font-size: 16px;
    }

    /* tech-* 详情页小屏手机样式 */
    .tech-article-container {
        padding: 10px 0;
    }

    .tech-breadcrumb {
        padding: 10px 12px;
        margin-bottom: 12px;
    }

    .tech-breadcrumb .wz {
        font-size: 13px;
    }

    .tech-article-wrapper {
        padding: 12px;
        border-radius: 8px;
    }

    .tech-article-title {
        font-size: 20px;
        line-height: 1.3;
    }

    .tech-article-subtitle {
        font-size: 14px;
    }

    .tech-article-meta {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }

    .tech-meta-item {
        font-size: 12px;
    }

    .tech-article-content {
        font-size: 14px;
        line-height: 1.6;
    }

    .tech-article-content h1 { font-size: 18px; }
    .tech-article-content h2 { font-size: 16px; }
    .tech-article-content h3 { font-size: 15px; }
    .tech-article-content h4 { font-size: 14px; }
    .tech-article-content h5 { font-size: 13px; }
    .tech-article-content h6 { font-size: 12px; }

    .tech-article-content img {
        margin: 12px 0;
    }

    .tech-tag {
        padding: 5px 10px;
        font-size: 12px;
    }

    .tech-share-btn {
        width: 30px;
        height: 30px;
    }
}