/* ========================================
   铃音软件建站 - 通用页面样式
   ======================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--color-nude-pink) 0%, var(--color-light-coffee) 100%);
    padding: 160px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    color: var(--color-deep-coffee);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--color-text-secondary);
}

.breadcrumb a:hover {
    color: var(--color-deep-coffee);
}

.breadcrumb .current {
    color: var(--color-deep-coffee);
}

/* Content Layout */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    padding: 60px 0;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-box {
    background: white;
    border-radius: var(--border-radius-card);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 20px;
    color: var(--color-deep-coffee);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-nude-pink);
}

.sidebar-menu li {
    margin-bottom: 12px;
}

.sidebar-menu a {
    display: block;
    padding: 12px 15px;
    border-radius: 10px;
    color: var(--color-text-primary);
    font-size: 15px;
    transition: var(--transition-smooth);
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: var(--color-nude-pink);
    color: var(--color-deep-coffee);
}

/* News List Page */
.news-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-list-item {
    background: white;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: grid;
    grid-template-columns: 280px 1fr;
}

.news-list-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-list-image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    overflow: hidden;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.news-list-item:hover .news-list-image img {
    transform: scale(1.1);
}

.news-list-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-content h3 {
    font-size: 20px;
    color: var(--color-deep-coffee);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-list-meta {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.news-list-excerpt {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* News Detail Page */
.article-detail {
    background: white;
    border-radius: var(--border-radius-card);
    padding: 50px;
    box-shadow: var(--shadow-soft);
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--color-nude-pink);
}

.article-title {
    font-size: 36px;
    color: var(--color-deep-coffee);
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.article-cover {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    margin-bottom: 40px;
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text-primary);
}

.article-body p {
    margin-bottom: 20px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
}

.article-body h2 {
    font-size: 26px;
    color: var(--color-deep-coffee);
    margin: 40px 0 20px;
}

.article-body h3 {
    font-size: 22px;
    color: var(--color-deep-coffee);
    margin: 30px 0 15px;
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-body li {
    margin-bottom: 10px;
}

/* Related Articles */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--color-nude-pink);
}

.related-articles h3 {
    font-size: 24px;
    color: var(--color-deep-coffee);
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-card {
    background: var(--color-nude-pink);
    border-radius: var(--border-radius-card);
    padding: 25px;
    transition: var(--transition-smooth);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.related-card h4 {
    font-size: 16px;
    color: var(--color-deep-coffee);
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-date {
    font-size: 13px;
    color: var(--color-text-secondary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    color: var(--color-deep-coffee);
    font-size: 15px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.pagination a:hover,
.pagination .active {
    background: var(--color-deep-coffee);
    color: white;
}

/* About Page */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image {
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-text h2 {
    font-size: 36px;
    color: var(--color-deep-coffee);
    margin-bottom: 25px;
}

.about-text p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.team-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 20px;
    color: var(--color-deep-coffee);
    margin-bottom: 8px;
}

.team-info p {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: white;
    border-radius: var(--border-radius-card);
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--color-light-coffee);
    border-radius: 10px;
    font-size: 15px;
    color: var(--color-text-primary);
    transition: var(--transition-smooth);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-deep-coffee);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info-box {
    background: linear-gradient(135deg, var(--color-nude-pink) 0%, var(--color-light-coffee) 100%);
    border-radius: var(--border-radius-card);
    padding: 40px;
}

.contact-info-box h3 {
    font-size: 24px;
    color: var(--color-deep-coffee);
    margin-bottom: 25px;
}

.contact-detail {
    margin-bottom: 25px;
}

.contact-detail h4 {
    font-size: 16px;
    color: var(--color-deep-coffee);
    margin-bottom: 10px;
}

.contact-detail p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .news-list-grid {
        grid-template-columns: 1fr;
    }
    
    .news-list-item {
        grid-template-columns: 1fr;
    }
    
    .news-list-image {
        min-height: 220px;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .article-detail {
        padding: 30px;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-cover {
        height: 250px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 28px;
    }
    
    .article-detail {
        padding: 20px;
    }
    
    .article-title {
        font-size: 24px;
    }
}
