/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* 为固定导航栏留出空间 */
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 22px;
    color: #2c3e50;
    font-weight: bold;
    transition: all 0.3s ease;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 15px;
    padding: 8px 0;
    display: block;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e74c3c;
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: #e74c3c;
}

.main-nav a:hover::after {
    width: 100%;
}

/* 移动端导航菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    padding: 2px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 响应式导航样式 */
@media (max-width: 768px) {
    .header .container {
        height: 60px;
    }

    .logo {
        font-size: 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 60px;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 0 20px;
        gap: 0;
    }

    .main-nav li {
        margin: 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .main-nav a {
        padding: 15px 0;
        font-size: 16px;
    }

    .main-nav a::after {
        display: none;
    }

    /* 菜单按钮动画 */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* 遮罩层 */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* 小屏手机优化 */
@media (max-width: 480px) {
    .header .container {
        padding: 8px 12px;
    }

    .logo {
        font-size: 18px;
    }

    .menu-toggle {
        width: 24px;
        height: 18px;
    }

    .main-nav {
        width: 90%;
    }

    .main-nav a {
        font-size: 15px;
        padding: 12px 0;
    }
}

/* 英雄区域样式 */
.z304cdhero {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), url('images/kongfang1.png');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.z304cdhero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.z304cdhero .z304cdcontainer {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.z304cdhero h2 {
    font-size: 42px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: 1px;
}

.z304cdhero p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    opacity: 0.9;
}

.z304cdhero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(3px);
}

.z304cdhero-feature {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.z304cdhero-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.z304cdfeature-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.z304cdfeature-text {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

.z304cdcta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.z304cdbtn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.z304cdbtn-primary {
    background-color: #e74c3c;
    color: #fff;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.2);
    border: none;
}

.z304cdbtn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.z304cdbtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.z304cdbtn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.z304cdbtn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* 服务项目样式 */
.z304cdservices {
    padding: 80px 0;
    background-color: #fff;
}

.z304cdsection-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.z304cdsection-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #e74c3c, #c0392b);
    border-radius: 3px;
}

.z304cdservice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.z304cdservice-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.z304cdservice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #e74c3c, #c0392b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.z304cdservice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.z304cdservice-card:hover::before {
    opacity: 1;
}

.z304cdservice-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.z304cdservice-card h3::before {
    content: '✓';
    color: #e74c3c;
    font-weight: bold;
}

.z304cdservice-features {
    list-style: none;
    margin-top: 20px;
}

.z304cdservice-features li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

.z304cdservice-features li:before {
    content: "•";
    color: #e74c3c;
    position: absolute;
    left: 0;
    font-size: 18px;
}

.z304cdservice-price {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.z304cdprice-tag {
    font-size: 24px;
    color: #e74c3c;
    font-weight: bold;
}

.z304cdprice-period {
    font-size: 14px;
    color: #666;
    margin-left: 5px;
}

.z304cdservice-cta {
    margin-top: 20px;
    text-align: center;
}

.z304cdservice-cta .btn {
    padding: 10px 25px;
    font-size: 14px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.z304cdservice-cta .btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .z304cdservice-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .z304cdservice-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .z304cdservice-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .z304cdsection-title {
        font-size: 26px;
        margin-bottom: 35px;
    }

    .z304cdservice-card {
        padding: 25px;
    }

    .z304cdservice-card h3 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .z304cdservices {
        padding: 50px 0;
    }

    .z304cdsection-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .z304cdservice-card {
        padding: 20px;
    }

    .z304cdservice-features li {
        font-size: 14px;
    }

    .z304cdprice-tag {
        font-size: 20px;
    }
}

/* 服务特点样式 */
.z304cdfeatures {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.z304cdfeatures::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
}

.z304cdfeature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.z304cdfeature-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.z304cdfeature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #e74c3c, #c0392b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.z304cdfeature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.z304cdfeature-item:hover::before {
    opacity: 1;
}

.z304cdfeature-icon {
    width: 60px;
    height: 60px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.z304cdfeature-item:hover .z304cdfeature-icon {
    transform: scale(1.1);
    background: rgba(231, 76, 60, 0.15);
}

.z304cdfeature-icon i {
    color: #e74c3c;
    font-size: 28px;
}

.z304cdfeature-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 600;
}

.z304cdfeature-item p {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.z304cdfeature-details {
    list-style: none;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.z304cdfeature-details li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

.z304cdfeature-details li:before {
    content: "→";
    color: #e74c3c;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .z304cdfeature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .z304cdfeature-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .z304cdfeature-item {
        padding: 25px;
    }

    .z304cdfeature-item h3 {
        font-size: 20px;
    }

    .z304cdfeature-icon {
        width: 50px;
        height: 50px;
    }

    .z304cdfeature-icon i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .z304cdfeatures {
        padding: 50px 0;
    }

    .z304cdfeature-item {
        padding: 20px;
    }

    .z304cdfeature-details li {
        font-size: 14px;
    }
}

/* 产品优势样式 */
.z304cdadvantages {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
}

.z304cdadvantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
}

.z304cdadvantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.z304cdadvantage-item {
    background: #fff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.z304cdadvantage-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e74c3c, #c0392b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.z304cdadvantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.z304cdadvantage-item:hover::after {
    opacity: 1;
}

.z304cdadvantage-item h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.z304cdadvantage-item h3::before {
    content: '✓';
    color: #e74c3c;
    font-size: 20px;
    font-weight: bold;
}

.z304cdadvantage-item ul {
    list-style: none;
    margin-top: 15px;
    flex-grow: 1;
}

.z304cdadvantage-item li {
    margin-bottom: 15px;
    padding-left: 28px;
    position: relative;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.z304cdadvantage-item li:before {
    content: "→";
    color: #e74c3c;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.z304cdadvantage-value {
    display: block;
    font-size: 28px;
    color: #e74c3c;
    font-weight: bold;
    margin: 15px 0;
    text-align: center;
}

.z304cdadvantage-desc {
    color: #666;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

.z304cdadvantage-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-radius: 20px;
    font-size: 13px;
    margin-top: 10px;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .z304cdadvantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .z304cdadvantages-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .z304cdadvantage-item {
        padding: 25px;
    }

    .z304cdadvantage-item h3 {
        font-size: 20px;
    }

    .z304cdadvantage-value {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .z304cdadvantages {
        padding: 50px 0;
    }

    .z304cdadvantage-item {
        padding: 20px;
    }

    .z304cdadvantage-item li {
        font-size: 14px;
    }

    .z304cdadvantage-value {
        font-size: 22px;
    }
}

/* 办理流程样式 */
.z304cdprocess {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
}

.z304cdprocess::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
}

.z304cdprocess-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.z304cdprocess-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.z304cdprocess-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #e74c3c, #c0392b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.z304cdprocess-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.z304cdprocess-card:hover::before {
    opacity: 1;
}

.z304cdprocess-icon {
    width: 80px;
    height: 80px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 20px;
    position: relative;
    transition: all 0.3s ease;
}

.z304cdprocess-card:hover .z304cdprocess-icon {
    transform: scale(1.1);
    background: rgba(231, 76, 60, 0.15);
}

.z304cdprocess-icon i {
    font-size: 32px;
    color: #e74c3c;
}

.z304cdprocess-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.z304cdprocess-content {
    padding: 0 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.z304cdprocess-content h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 600;
}

.z304cdprocess-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.z304cdprocess-details {
    list-style: none;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.z304cdprocess-details li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.z304cddetail-icon {
    color: #e74c3c;
    margin-right: 10px;
    font-weight: bold;
    font-size: 16px;
}

.z304cddetail-text {
    flex: 1;
}

.z304cdprocess-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-radius: 20px;
    font-size: 13px;
    margin-top: 15px;
    text-align: center;
    align-self: center;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .z304cdprocess-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .z304cdprocess {
        padding: 60px 0;
    }

    .z304cdprocess-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .z304cdprocess-icon {
        width: 70px;
        height: 70px;
        margin: 25px auto 15px;
    }

    .z304cdprocess-icon i {
        font-size: 28px;
    }

    .z304cdprocess-content {
        padding: 0 20px 20px;
    }

    .z304cdprocess-content h3 {
        font-size: 18px;
    }

    .z304cdprocess-details li {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .z304cdprocess {
        padding: 50px 0;
    }

    .z304cdprocess-icon {
        width: 60px;
        height: 60px;
        margin: 20px auto 15px;
    }

    .z304cdprocess-icon i {
        font-size: 24px;
    }

    .z304cdprocess-number {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .z304cdprocess-content {
        padding: 0 15px 15px;
    }

    .z304cdprocess-content h3 {
        font-size: 17px;
    }

    .z304cdprocess-content p {
        font-size: 13px;
    }

    .z304cdprocess-details li {
        font-size: 12px;
    }
}

/* FAQ样式 */
.z304cdfaq {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
}

.z304cdfaq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
}

.z304cdfaq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.z304cdfaq-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.z304cdfaq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #e74c3c, #c0392b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.z304cdfaq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.z304cdfaq-card:hover::before {
    opacity: 1;
}

.z304cdfaq-header {
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.z304cdfaq-icon {
    width: 50px;
    height: 50px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.z304cdfaq-card:hover .z304cdfaq-icon {
    transform: scale(1.1);
    background: rgba(231, 76, 60, 0.15);
}

.z304cdfaq-icon i {
    font-size: 24px;
    color: #e74c3c;
}

.z304cdfaq-header h3 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.z304cdfaq-content {
    padding: 25px;
}

.z304cdfaq-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.z304cdfaq-details {
    list-style: none;
    margin: 0;
    padding: 0;
}

.z304cdfaq-details li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.z304cdfaq-details li:last-child {
    margin-bottom: 0;
}

.z304cddetail-icon {
    color: #e74c3c;
    margin-right: 10px;
    font-weight: bold;
    font-size: 16px;
}

.z304cddetail-text {
    flex: 1;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .z304cdfaq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .z304cdfaq {
        padding: 60px 0;
    }

    .z304cdfaq-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .z304cdfaq-header {
        padding: 20px;
    }

    .z304cdfaq-icon {
        width: 45px;
        height: 45px;
    }

    .z304cdfaq-icon i {
        font-size: 20px;
    }

    .z304cdfaq-header h3 {
        font-size: 17px;
    }

    .z304cdfaq-content {
        padding: 20px;
    }

    .z304cdfaq-content p {
        font-size: 14px;
    }

    .z304cdfaq-details li {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .z304cdfaq {
        padding: 50px 0;
    }

    .z304cdfaq-header {
        padding: 15px;
    }

    .z304cdfaq-icon {
        width: 40px;
        height: 40px;
    }

    .z304cdfaq-icon i {
        font-size: 18px;
    }

    .z304cdfaq-header h3 {
        font-size: 16px;
    }

    .z304cdfaq-content {
        padding: 15px;
    }

    .z304cdfaq-content p {
        font-size: 13px;
    }

    .z304cdfaq-details li {
        font-size: 12px;
    }
}

/* 联系我们样式 */
.z304cdcontact {
    padding: 40px 0;
    background-color: #fff;
    position: relative;
}

.z304cdcontact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
}

.z304cdcontact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 10px;
    max-width: 1000px;
    margin: 0 auto;
}

/* PC端大屏幕优化 */
@media (min-width: 1400px) {
    .z304cdcontact-grid {
        max-width: 1200px;
        gap: 20px;
    }

    .z304cdcontact-card {
        border-radius: 12px;
    }

    .z304cdcontact-icon {
        width: 40px;
        height: 40px;
        margin: 20px auto 15px;
    }

    .z304cdcontact-icon i {
        font-size: 20px;
    }

    .z304cdcontact-content h3 {
        font-size: 18px;
    }

    .z304cdcontact-desc {
        font-size: 14px;
    }

    .z304cditem-label,
    .z304cditem-value {
        font-size: 13px;
    }
}

/* PC端中等屏幕优化 */
@media (min-width: 1200px) and (max-width: 1399px) {
    .z304cdcontact-grid {
        max-width: 1000px;
        gap: 15px;
    }
}

/* 平板端优化 */
@media (min-width: 768px) and (max-width: 1199px) {
    .z304cdcontact {
        padding: 35px 0;
    }

    .z304cdcontact-grid {
        max-width: 800px;
        gap: 12px;
    }

    .z304cdcontact-card {
        border-radius: 10px;
    }

    .z304cdcontact-icon {
        width: 35px;
        height: 35px;
        margin: 15px auto 10px;
    }

    .z304cdcontact-icon i {
        font-size: 18px;
    }

    .z304cdcontact-content {
        padding: 0 12px 12px;
    }

    .z304cdcontact-content h3 {
        font-size: 16px;
    }

    .z304cdcontact-desc {
        font-size: 13px;
    }

    .z304cdcontact-details {
        padding: 8px;
    }

    .z304cditem-label,
    .z304cditem-value {
        font-size: 12px;
    }
}

/* 大屏手机优化 */
@media (min-width: 480px) and (max-width: 767px) {
    .z304cdcontact {
        padding: 30px 0;
    }

    .z304cdcontact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 10px;
    }

    .z304cdcontact-card {
        border-radius: 8px;
    }

    .z304cdcontact-icon {
        width: 32px;
        height: 32px;
        margin: 12px auto 8px;
    }

    .z304cdcontact-icon i {
        font-size: 16px;
    }

    .z304cdcontact-content {
        padding: 0 10px 10px;
    }

    .z304cdcontact-content h3 {
        font-size: 15px;
    }

    .z304cdcontact-desc {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .z304cdcontact-details {
        padding: 8px;
    }

    .z304cditem-label,
    .z304cditem-value {
        font-size: 11px;
    }

    .z304cdcontact-tag {
        font-size: 11px;
        padding: 2px 6px;
    }
}

/* 小屏手机优化 */
@media (max-width: 479px) {
    .z304cdcontact {
        padding: 25px 0;
    }

    .z304cdcontact-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        gap: 8px;
    }

    .z304cdcontact-card {
        border-radius: 8px;
    }

    .z304cdcontact-icon {
        width: 28px;
        height: 28px;
        margin: 10px auto 8px;
    }

    .z304cdcontact-icon i {
        font-size: 14px;
    }

    .z304cdcontact-content {
        padding: 0 8px 8px;
    }

    .z304cdcontact-content h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .z304cdcontact-desc {
        font-size: 11px;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .z304cdcontact-details {
        padding: 6px;
        border-radius: 6px;
    }

    .z304cdcontact-item {
        margin-bottom: 4px;
        padding: 3px 0;
    }

    .z304cditem-label,
    .z304cditem-value {
        font-size: 10px;
    }

    .z304cdcontact-tag {
        font-size: 10px;
        padding: 1px 5px;
        margin-top: 4px;
    }
}

/* 保持原有的基础样式 */
.z304cdcontact-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.z304cdcontact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #e74c3c, #c0392b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.z304cdcontact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.z304cdcontact-card:hover::before {
    opacity: 1;
}

.z304cdcontact-icon {
    width: 35px;
    height: 35px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 10px;
    transition: all 0.3s ease;
}

.z304cdcontact-card:hover .z304cdcontact-icon {
    transform: scale(1.1);
    background: rgba(231, 76, 60, 0.15);
}

.z304cdcontact-icon i {
    font-size: 18px;
    color: #e74c3c;
}

.z304cdcontact-content {
    padding: 0 15px 15px;
    text-align: center;
}

.z304cdcontact-content h3 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.z304cdcontact-desc {
    color: #666;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.4;
}

.z304cdcontact-details {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 8px;
}

.z304cdcontact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.z304cdcontact-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.z304cditem-label {
    color: #666;
    font-size: 12px;
    font-weight: 500;
}

.z304cditem-value {
    color: #2c3e50;
    font-size: 12px;
    font-weight: 500;
    text-align: right;
    flex: 1;
    margin-left: 8px;
}

.z304cdcontact-tag {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-radius: 12px;
    font-size: 11px;
    margin-top: 5px;
}

/* 页脚样式 */
.z304cdfooter {
    background-color: #2c3e50;
    color: #fff;
    padding: 50px 0 30px;
}

.z304cdfooter-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.z304cdfooter-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.z304cdfooter-section ul {
    list-style: none;
}

.z304cdfooter-section li {
    margin-bottom: 10px;
}

.z304cdfooter-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul {
        margin-top: 20px;
        flex-direction: column;
    }

    .main-nav li {
        margin: 10px 0;
    }

    .hero {
        padding: 100px 0 50px;
        min-height: 400px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .feature-number {
        font-size: 32px;
    }

    .feature-text {
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
        min-height: 350px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .feature-number {
        font-size: 36px;
    }

    .feature-text {
        font-size: 16px;
    }
}

/* 内容板块通用样式 */
section {
    padding: 100px 0;
    position: relative;
    background-color: #fff;
}

section:nth-child(even) {
    background-color: #f8f9fa;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #e74c3c, #c0392b);
    border-radius: 3px;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 30px;
        margin-bottom: 50px;
    }

    .main-nav ul {
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .main-nav ul {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    .header .container {
        height: 60px;
    }

    .logo {
        font-size: 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 60px;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 0 20px;
        gap: 0;
    }

    .main-nav li {
        margin: 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .main-nav a {
        padding: 15px 0;
        font-size: 16px;
    }

    .main-nav a::after {
        display: none;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 35px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .header .container {
        height: 50px;
    }

    .logo {
        font-size: 18px;
    }

    .menu-toggle {
        width: 24px;
        height: 18px;
    }

    .main-nav {
        width: 90%;
    }

    .main-nav a {
        font-size: 15px;
        padding: 12px 0;
    }

    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

/* 容器别名 */
.z304cdcontainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* 导航当前栏目 */
.main-nav .z304cdthis > a,
.main-nav li.z304cdthis > a {
    color: #e74c3c;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

/* 首页资讯板块 */
.z304cdarticles {
    padding: 80px 0;
    background-color: #fff;
}

.z304cdarticle-grid {
    display: grid;
    gap: 24px;
}

.z304cdarticle-grid-home {
    grid-template-columns: repeat(5, 1fr);
}

.z304cdarticle-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.z304cdarticle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.z304cdarticle-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eee;
}

.z304cdarticle-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.z304cdarticle-card:hover .z304cdarticle-thumb img {
    transform: scale(1.05);
}

.z304cdarticle-info {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.z304cdarticle-info h3 {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 8px;
    font-weight: 600;
}

.z304cdarticle-info h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.z304cdarticle-info h3 a:hover {
    color: #e74c3c;
}

.z304cdarticle-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.z304cdarticle-meta {
    font-size: 12px;
    color: #999;
}

/* 内页通用 */
.z304cdinner-page {
    padding-top: 70px;
}

.z304cdpage-banner {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: #fff;
    padding: 40px 0;
}

.z304cdbreadcrumb {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.z304cdbreadcrumb a {
    color: #fff;
    text-decoration: none;
}

.z304cdbreadcrumb a:hover {
    text-decoration: underline;
}

.z304cdpage-banner-title {
    font-size: 28px;
    font-weight: 700;
}

.z304cdpage-body {
    padding: 40px 0 60px;
    background: #f5f5f5;
}

.z304cdmain-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.z304cdmain-content {
    flex: 1;
    min-width: 0;
}

.z304cdsidebar {
    width: 300px;
    flex-shrink: 0;
}

.z304cdsidebar-widget {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
    overflow: hidden;
}

.z304cdsidebar-title {
    font-size: 16px;
    padding: 14px 16px;
    background: linear-gradient(to right, #e74c3c, #c0392b);
    color: #fff;
    margin: 0;
}

.z304cdsidebar-title a {
    color: #fff;
    text-decoration: none;
}

.z304cdsidebar-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.z304cdsidebar-item {
    border-bottom: 1px solid #f0f0f0;
}

.z304cdsidebar-item:last-child {
    border-bottom: none;
}

.z304cdsidebar-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}

.z304cdsidebar-item a:hover {
    background: #f8f9fa;
    color: #e74c3c;
}

.z304cdsidebar-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    overflow: hidden;
    border-radius: 4px;
    background: #eee;
}

.z304cdsidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.z304cdsidebar-item-title {
    font-size: 13px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 内容页 */
.z304cdarticle-detail {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.z304cdarticle-title {
    font-size: 26px;
    color: #2c3e50;
    margin-bottom: 16px;
    line-height: 1.4;
}

.z304cdarticle-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #888;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.z304cdarticle-meta-bar a {
    color: #e74c3c;
    text-decoration: none;
}

.z304cdarticle-litpic {
    margin-bottom: 24px;
    text-align: center;
}

.z304cdarticle-litpic img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.z304cdcontent {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.z304cdcontent img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 10px 0;
}

.z304cdcontent p {
    margin-bottom: 16px;
}

.z304cddiyfield {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

.z304cdarticle-gallery p {
    margin-bottom: 16px;
    text-align: center;
}

.z304cdarticle-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.z304cdarticle-gallery span {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 6px;
}

.z304cdmeta-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid #eee;
}

.z304cdtagitem a {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
}

.z304cdtagitem a:hover {
    background: #e74c3c;
    color: #fff;
}

.z304cdmeta-tags .clear {
    display: none;
}

.z304cdarticle-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.z304cdprenext-pre {
    text-align: left;
}

.z304cdprenext-next {
    text-align: right;
    margin-left: auto;
}

.z304cdblock-title {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
    display: inline-block;
}

.z304cdrelated {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
}

.z304cdrelated-list {
    list-style: none;
}

.z304cdrelated-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.z304cdrelated-item:last-child {
    border-bottom: none;
}

.z304cdrelated-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    overflow: hidden;
    border-radius: 6px;
    background: #eee;
}

.z304cdrelated-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.z304cdrelated-info h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.z304cdrelated-info h4 a {
    color: #2c3e50;
    text-decoration: none;
}

.z304cdrelated-info h4 a:hover {
    color: #e74c3c;
}

.z304cdrelated-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 列表页 */
.z304cdlistbox {
    background: #fff;
    border-radius: 10px;
    padding: 10px 24px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.z304cdlist-items {
    list-style: none;
}

.z304cdlist-item {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #f0f0f0;
}

.z304cdlist-item:last-child {
    border-bottom: none;
}

.z304cdlist-thumb {
    flex-shrink: 0;
    width: 220px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    background: #eee;
    display: block;
}

.z304cdlist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.z304cdlist-item:hover .z304cdlist-thumb img {
    transform: scale(1.05);
}

.z304cdlist-body {
    flex: 1;
    min-width: 0;
}

.z304cdlist-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.z304cdlist-title a {
    color: #2c3e50;
    text-decoration: none;
}

.z304cdlist-title a:hover {
    color: #e74c3c;
}

.z304cdlist-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.z304cdlist-meta a {
    color: #e74c3c;
    text-decoration: none;
}

.z304cdlist-intro {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* 分页（含首页/末页，左右分布） */
.z304cdpagebar {
    background: #fff;
    border-radius: 10px;
    padding: 20px 24px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
}

.z304cdpagebar .pagelist,
.z304cdpages .pagelist {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    width: 100%;
}

.z304cdpagebar .pagelist a,
.z304cdpagebar .pagelist span,
.z304cdpages .pagelist a,
.z304cdpages .pagelist span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.z304cdpagebar .pagelist a:hover,
.z304cdpages .pagelist a:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

.z304cdpagebar .pagelist .thisclass a,
.z304cdpages .pagelist .thisclass a {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

/* 响应式 - 文章与内页 */
@media (max-width: 1200px) {
    .z304cdarticle-grid-home {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .z304cdmain-layout {
        flex-direction: column;
    }

    .z304cdsidebar {
        width: 100%;
    }

    .z304cdarticle-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .z304cdinner-page {
        padding-top: 60px;
    }

    .z304cdpage-banner {
        padding: 30px 0;
    }

    .z304cdpage-banner-title {
        font-size: 22px;
    }

    .z304cdarticle-detail {
        padding: 20px;
    }

    .z304cdarticle-title {
        font-size: 22px;
    }

    .z304cdarticle-meta-bar {
        flex-direction: column;
        gap: 8px;
    }

    .z304cdlist-item {
        flex-direction: column;
    }

    .z304cdlist-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .z304cdrelated-item {
        flex-direction: column;
    }

    .z304cdrelated-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .z304cdarticle-nav {
        flex-direction: column;
    }

    .z304cdprenext-next {
        text-align: left;
        margin-left: 0;
    }

    .z304cdarticle-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .z304cdarticles {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .z304cdarticle-grid-home {
        grid-template-columns: 1fr;
    }

    .z304cdcontainer {
        padding: 0 15px;
    }

    .z304cdsidebar-thumb {
        width: 56px;
        height: 42px;
    }
} 