/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
.z17f18body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.z17f18container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 头部导航样式 */
.z17f18header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.z17f18header .z17f18container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.z17f18logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.z17f18logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

.z17f18logo-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    white-space: nowrap;
}

.z17f18nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.z17f18nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 0.5rem 0;
    display: block;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.z17f18nav-link:hover {
    opacity: 0.8;
}

.z17f18mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}

.z17f18mobile-menu-toggle.z17f18active .z17f18menu-icon:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.z17f18mobile-menu-toggle.z17f18active .z17f18menu-icon:nth-child(2) {
    opacity: 0;
}

.z17f18mobile-menu-toggle.z17f18active .z17f18menu-icon:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.z17f18menu-icon {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 主横幅区域 */
.z17f18hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.z17f18hero-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.z17f18hero-content {
    flex: 1;
    text-align: left;
    z-index: 2;
}

.z17f18hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.z17f18hero-img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    animation: z17f18float 3s ease-in-out infinite;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .z17f18hero-img {
        animation: none;
    }
}

@keyframes z17f18float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.z17f18hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: left;
}

.z17f18hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.z17f18hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.z17f18btn {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.z17f18btn-primary {
    background: #fff;
    color: #667eea;
}

.z17f18btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.z17f18btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.z17f18btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.z17f18btn-download {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    width: 100%;
    text-align: center;
}

.z17f18btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.z17f18hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
}

.z17f18stat-item {
    text-align: center;
}

.z17f18stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.z17f18stat-label {
    display: block;
    font-size: 1rem;
    opacity: 0.9;
}

/* 功能特点区域 */
.z17f18features {
    padding: 80px 0;
    background: #fff;
}

.z17f18section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.z17f18section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.z17f18section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.z17f18features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.z17f18feature-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.z17f18feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

@media (hover: none) {
    .z17f18feature-card:hover {
        transform: none;
    }
}

.z17f18feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.z17f18feature-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.z17f18feature-description {
    color: #666;
    line-height: 1.8;
}

/* 下载区域 */
.z17f18download {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.z17f18download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.z17f18download-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.z17f18download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (hover: none) {
    .z17f18download-card:hover {
        transform: none;
    }
}

.z17f18download-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.z17f18download-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.z17f18download-version {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.z17f18download-size {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* 产品优势区域 */
.z17f18advantages {
    padding: 80px 0;
    background: #f9f9f9;
}

.z17f18advantages-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.z17f18advantage-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.z17f18advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.z17f18advantage-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #667eea;
}

.z17f18advantage-text {
    color: #666;
    line-height: 1.8;
}

/* 常见问题区域 */
.z17f18faq {
    padding: 80px 0;
    background: #fff;
}

.z17f18faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.z17f18faq-item {
    background: #f9f9f9;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    transition: all 0.3s;
}

.z17f18faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.z17f18faq-question {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.z17f18faq-answer {
    color: #666;
    line-height: 1.8;
}

/* 关于我们区域 */
.z17f18about {
    padding: 80px 0;
    background: #f9f9f9;
}

.z17f18about-content {
    max-width: 900px;
    margin: 0 auto;
}

.z17f18about-text {
    text-align: center;
}

.z17f18about-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.z17f18about-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.z17f18about-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.z17f18about-feature-icon {
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

.z17f18about-feature-text {
    color: #333;
    font-weight: 500;
}

/* 页脚样式 */
.z17f18footer {
    background: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
}

.z17f18footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.z17f18footer-section {
    margin-bottom: 1rem;
}

.z17f18footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.z17f18footer-heading {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.z17f18footer-description {
    color: #bbb;
    line-height: 1.6;
}

.z17f18footer-links {
    list-style: none;
}

.z17f18footer-links li {
    margin-bottom: 0.5rem;
}

.z17f18footer-link {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.z17f18footer-link:hover {
    color: #fff;
}

.z17f18footer-text {
    color: #bbb;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.z17f18footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1.5rem;
    text-align: center;
}

.z17f18footer-copyright {
    color: #bbb;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .z17f18hero-wrapper {
        gap: 2.5rem;
    }
}

@media (max-width: 1200px) {
    .z17f18container {
        padding: 0 30px;
    }

    .z17f18hero-title {
        font-size: 2.8rem;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .z17f18features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .z17f18download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .z17f18container {
        padding: 0 20px;
    }

    .z17f18hero-wrapper {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .z17f18hero-content {
        text-align: center;
    }

    .z17f18hero-title {
        text-align: center;
        font-size: 2.5rem;
    }

    .z17f18hero-subtitle {
        font-size: 1.2rem;
    }

    .z17f18hero-buttons {
        justify-content: center;
    }

    .z17f18hero-stats {
        justify-content: center;
    }

    .z17f18hero-img {
        max-height: 400px;
    }

    .z17f18features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .z17f18download-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .z17f18container {
        padding: 0 15px;
    }

    .z17f18header {
        padding: 0.8rem 0;
    }

    .z17f18logo-text {
        font-size: 1.5rem;
    }

    .z17f18logo-subtitle {
        font-size: 0.75rem;
    }

    .z17f18nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #667eea;
        display: none;
        padding: 1rem 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .z17f18nav-active {
        display: block;
    }

    .z17f18nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }

    .z17f18nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .z17f18nav-item:last-child {
        border-bottom: none;
    }

    .z17f18nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
    }

    .z17f18mobile-menu-toggle {
        display: flex;
    }

    .z17f18hero {
        padding: 60px 0;
    }

    .z17f18hero-wrapper {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .z17f18hero-content {
        text-align: center;
    }

    .z17f18hero-title {
        font-size: 2rem;
        text-align: center;
        line-height: 1.3;
    }

    .z17f18hero-subtitle {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .z17f18hero-buttons {
        justify-content: center;
        flex-direction: row;
        gap: 0.8rem;
    }

    .z17f18hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .z17f18hero-img {
        max-height: 300px;
        width: 100%;
        padding: 0 20px;
    }

    .z17f18stat-number {
        font-size: 2rem;
    }

    .z17f18stat-label {
        font-size: 0.9rem;
    }

    .z17f18section-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .z17f18section-description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .z17f18features {
        padding: 60px 0;
    }

    .z17f18features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .z17f18feature-card {
        padding: 1.5rem;
    }

    .z17f18feature-icon {
        font-size: 2.5rem;
    }

    .z17f18feature-title {
        font-size: 1.3rem;
    }

    .z17f18download {
        padding: 60px 0;
    }

    .z17f18download-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .z17f18download-card {
        padding: 1.5rem;
    }

    .z17f18advantages {
        padding: 60px 0;
    }

    .z17f18advantages-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .z17f18advantage-item {
        padding: 1.5rem;
    }

    .z17f18faq {
        padding: 60px 0;
    }

    .z17f18faq-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .z17f18faq-question {
        font-size: 1.1rem;
    }

    .z17f18about {
        padding: 60px 0;
    }

    .z17f18about-description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .z17f18about-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .z17f18footer {
        padding: 40px 0 20px;
    }

    .z17f18footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .z17f18footer-section {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .z17f18hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .z17f18stat-item {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .z17f18container {
        padding: 0 12px;
    }

    .z17f18logo-text {
        font-size: 1.3rem;
    }

    .z17f18logo-subtitle {
        font-size: 0.7rem;
        display: none;
    }

    .z17f18hero {
        padding: 40px 0;
    }

    .z17f18hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    .z17f18hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        padding: 0 5px;
    }

    .z17f18hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .z17f18btn {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        text-align: center;
        font-size: 1rem;
        min-height: 44px;
    }

    .z17f18hero-img {
        max-height: 220px;
        padding: 0 10px;
    }

    .z17f18hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .z17f18stat-item {
        width: 100%;
    }

    .z17f18stat-number {
        font-size: 1.8rem;
    }

    .z17f18stat-label {
        font-size: 0.85rem;
    }

    .z17f18section-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    .z17f18section-description {
        font-size: 0.95rem;
        padding: 0 5px;
    }

    .z17f18features {
        padding: 50px 0;
    }

    .z17f18features-grid {
        gap: 1.2rem;
    }

    .z17f18feature-card {
        padding: 1.2rem;
    }

    .z17f18feature-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .z17f18feature-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .z17f18feature-description {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .z17f18download {
        padding: 50px 0;
    }

    .z17f18download-grid {
        gap: 1.2rem;
    }

    .z17f18download-card {
        padding: 1.2rem;
    }

    .z17f18download-icon {
        font-size: 2.5rem;
    }

    .z17f18download-title {
        font-size: 1.2rem;
    }

    .z17f18download-version,
    .z17f18download-size {
        font-size: 0.85rem;
    }

    .z17f18advantages {
        padding: 50px 0;
    }

    .z17f18advantages-content {
        gap: 1.2rem;
    }

    .z17f18advantage-item {
        padding: 1.2rem;
    }

    .z17f18advantage-title {
        font-size: 1.1rem;
    }

    .z17f18advantage-text {
        font-size: 0.9rem;
    }

    .z17f18faq {
        padding: 50px 0;
    }

    .z17f18faq-item {
        padding: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .z17f18faq-question {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .z17f18faq-answer {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .z17f18about {
        padding: 50px 0;
    }

    .z17f18about-description {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .z17f18about-feature-text {
        font-size: 0.9rem;
    }

    .z17f18footer {
        padding: 30px 0 15px;
    }

    .z17f18footer-title {
        font-size: 1.3rem;
    }

    .z17f18footer-heading {
        font-size: 1.1rem;
    }

    .z17f18footer-description,
    .z17f18footer-text {
        font-size: 0.9rem;
    }
}

/* 横屏移动设备优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .z17f18hero {
        padding: 40px 0;
    }

    .z17f18hero-img {
        max-height: 250px;
    }

    .z17f18hero-title {
        font-size: 1.8rem;
    }

    .z17f18hero-subtitle {
        font-size: 1rem;
    }
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .z17f18hero-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* 打印样式 */
@media print {
    .z17f18header,
    .z17f18footer,
    .z17f18hero-buttons,
    .z17f18btn,
    .z17f18mobile-menu-toggle {
        display: none;
    }

    .z17f18hero,
    .z17f18features,
    .z17f18download,
    .z17f18about {
        page-break-inside: avoid;
    }

    .z17f18hero-wrapper {
        flex-direction: column;
    }
}

/* ========== 内页 / 文章列表 / 侧栏 / 首页文章板块 ========== */
.z17f18logo-home {
    color: inherit;
    text-decoration: none;
}

.z17f18logo-home:hover {
    opacity: 0.9;
}

.z17f18nav-item.z17f18this > .z17f18nav-link,
.z17f18nav-item.z17f18this > a.z17f18nav-link {
    font-weight: 700;
    border-bottom: 2px solid rgba(255, 255, 255, 0.95);
}

.z17f18nav-item dl,
.z17f18nav-item .z17f18nav-child {
    margin: 0;
    padding: 0.35rem 0 0 0.75rem;
    list-style: none;
}

.z17f18nav-item dd,
.z17f18nav-item .z17f18nav-child a {
    margin: 0;
    font-size: 0.9rem;
}

.z17f18nav-item dd a,
.z17f18nav-item .z17f18nav-child a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
}

@media (min-width: 769px) {
    .z17f18nav-item {
        position: relative;
    }

    .z17f18nav-item dl,
    .z17f18nav-item .z17f18nav-child {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background: rgba(102, 126, 234, 0.98);
        padding: 0.5rem 0.75rem 0.75rem;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        z-index: 1002;
    }

    .z17f18nav-item:hover dl,
    .z17f18nav-item:hover .z17f18nav-child,
    .z17f18nav-item:focus-within dl,
    .z17f18nav-item:focus-within .z17f18nav-child {
        display: block;
    }
}

/* 首页文章板块：桌面约 5 列 × 2 行 */
.z17f18home-articles {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9ff 0%, #fff 40%);
}

.z17f18home-articles-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
}

.z17f18home-article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8e8f0;
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.z17f18home-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.15);
}

.z17f18home-article-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.z17f18home-article-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef0fb;
}

.z17f18home-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.z17f18home-article-body {
    padding: 0.85rem 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.z17f18home-article-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: #333;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.z17f18home-article-meta {
    font-size: 0.75rem;
    color: #667eea;
    margin: 0;
}

.z17f18home-article-desc {
    font-size: 0.78rem;
    color: #777;
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 内页顶条 */
.z17f18page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 56px 0 40px;
}

.z17f18page-hero--compact {
    padding-top: 48px;
}

.z17f18breadcrumb {
    font-size: 0.9rem;
    opacity: 0.95;
    margin-bottom: 0.75rem;
}

.z17f18breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.z17f18breadcrumb a:hover {
    text-decoration: underline;
}

.z17f18breadcrumb-sep {
    margin: 0 0.35rem;
    opacity: 0.8;
}

.z17f18page-hero-title {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.5rem;
}

.z17f18page-hero-desc {
    margin: 0;
    max-width: 720px;
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* 双栏布局 */
.z17f18layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
    align-items: start;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

.z17f18main {
    min-width: 0;
}

.z17f18sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: 4px;
}

.z17f18sidebar-block {
    background: #fff;
    border: 1px solid #e8e8f0;
    border-radius: 12px;
    padding: 1rem 1rem 0.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.z17f18sidebar-title {
    font-size: 1rem;
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.z17f18sidebar-title a {
    color: #333;
    text-decoration: none;
}

.z17f18sidebar-title a:hover {
    color: #667eea;
}

.z17f18sidebar-articles {
    list-style: none;
    margin: 0;
    padding: 0;
}

.z17f18sidebar-articles li {
    border-bottom: 1px solid #f0f0f5;
}

.z17f18sidebar-articles li:last-child {
    border-bottom: none;
}

.z17f18sidebar-article {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.55rem 0;
    text-decoration: none;
    color: #333;
}

.z17f18sidebar-article:hover {
    color: #667eea;
}

.z17f18sidebar-article-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    background: #eef0fb;
}

.z17f18sidebar-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.z17f18sidebar-article-txt {
    font-size: 0.82rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 文章页 */
.z17f18article {
    background: #fff;
    border-radius: 14px;
    padding: 1.75rem 1.75rem 2rem;
    border: 1px solid #e8e8f0;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
}

.z17f18article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

.z17f18article-meta-bar a {
    color: #667eea;
    text-decoration: none;
}

.z17f18article-meta-bar small {
    color: #999;
}

.z17f18article-litpic {
    margin-bottom: 1.25rem;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4fb;
}

.z17f18article-litpic img[src=""],
.z17f18article-litpic img:not([src]) {
    display: none;
}

.z17f18article-litpic img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.z17f18typography {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #333;
    word-break: break-word;
}

.z17f18typography img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.z17f18article-gallery {
    margin-top: 1.5rem;
}

.z17f18article-figure {
    margin: 1rem 0;
}

.z17f18article-figure figcaption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.35rem;
}

.z17f18meta-tags--article {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}

.z17f18tagitem a {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #eef0fb;
    color: #667eea;
    text-decoration: none;
    font-size: 0.85rem;
}

.z17f18prenext {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eee;
}

.z17f18prenext--single {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.z17f18prenext--single a {
    color: #667eea;
    text-decoration: none;
}

.z17f18prenext--single a:hover {
    text-decoration: underline;
}

.z17f18prenext-item {
    font-size: 0.95rem;
}

.z17f18prenext-item a {
    color: #667eea;
    text-decoration: none;
}

.z17f18related {
    margin-top: 2rem;
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid #e8e8f0;
}

.z17f18related-title {
    font-size: 1.15rem;
    margin: 0 0 1rem;
    color: #333;
}

.z17f18related-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.z17f18related-link {
    display: flex;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
}

.z17f18related-thumb {
    flex: 0 0 100px;
    width: 100px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #eef0fb;
}

.z17f18related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.z17f18related-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.z17f18related-name {
    font-weight: 600;
    color: #333;
}

.z17f18related-desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 列表页 */
.z17f18list-banner {
    margin-bottom: 1.25rem;
}

.z17f18list-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.z17f18list-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e8f0;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.z17f18list-card {
    display: grid;
    grid-template-columns: minmax(140px, 280px) minmax(0, 1fr);
    gap: 1.1rem;
    padding: 1rem 1.1rem;
    text-decoration: none;
    color: inherit;
    align-items: stretch;
}

.z17f18list-thumb {
    border-radius: 10px;
    overflow: hidden;
    background: #eef0fb;
    min-height: 120px;
}

.z17f18list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 120px;
}

.z17f18list-body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
}

.z17f18list-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    line-height: 1.35;
}

.z17f18list-card:hover .z17f18list-title {
    color: #667eea;
}

.z17f18list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.82rem;
    color: #777;
}

.z17f18list-cat {
    color: #667eea;
    font-weight: 500;
}

.z17f18list-intro {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.z17f18pagebar {
    margin-top: 2rem;
}

.z17f18pages-split {
    background: #fff;
    border: 1px solid #e8e8f0;
    border-radius: 12px;
    padding: 0.85rem 1rem;
}

.z17f18pages-split .pagelist {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.z17f18pages-split .pagelist li {
    margin: 0;
}

.z17f18pages-split .pagelist a,
.z17f18pages-split .pagelist span {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    color: #444;
    border: 1px solid #e0e0e8;
    background: #fafbff;
}

.z17f18pages-split .pagelist a:hover {
    border-color: #667eea;
    color: #667eea;
}

@media (min-width: 769px) {
    .z17f18pages-split .pagelist {
        flex-wrap: nowrap;
    }
}

/* 响应式：内页与首页文章 */
@media (max-width: 1199px) {
    .z17f18home-articles-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .z17f18layout {
        grid-template-columns: 1fr;
    }

    .z17f18sidebar {
        position: static;
        max-height: none;
        overflow: visible;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .z17f18sidebar-block {
        margin-bottom: 0;
    }

    .z17f18home-articles-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .z17f18list-card {
        grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .z17f18home-articles {
        padding: 60px 0;
    }

    .z17f18home-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .z17f18home-article-body {
        padding: 0.65rem 0.7rem 0.85rem;
    }

    .z17f18home-article-title {
        font-size: 0.88rem;
    }

    .z17f18page-hero-title {
        font-size: 1.45rem;
    }

    .z17f18article {
        padding: 1.25rem 1rem;
    }

    .z17f18prenext {
        grid-template-columns: 1fr;
    }

    .z17f18prenext--single {
        flex-direction: column;
        align-items: stretch;
    }

    .z17f18list-card {
        grid-template-columns: 1fr;
    }

    .z17f18list-thumb {
        min-height: 180px;
    }

    .z17f18pages-split .pagelist {
        justify-content: center;
    }

    .z17f18sidebar {
        grid-template-columns: 1fr;
    }

    .z17f18nav-item dl,
    .z17f18nav-item .z17f18nav-child {
        display: block;
        position: static;
        background: transparent;
        box-shadow: none;
        padding: 0.25rem 0 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .z17f18home-articles-grid {
        grid-template-columns: 1fr;
    }

    .z17f18page-hero {
        padding: 44px 0 32px;
    }

    .z17f18page-hero-title {
        font-size: 1.25rem;
    }
}

