/* ========================================
   Sub-page Common Styles
   ======================================== */

/* Sub-page Hero */
.subpage-hero {
    position: relative;
    padding: 180px 0 80px;
    background: var(--gradient-soft);
    overflow: hidden;
}

.subpage-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.subpage-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.subpage-hero-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(197, 165, 90, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -50px;
}

.subpage-hero-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 237, 224, 0.6) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
}

.subpage-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.subpage-hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.subpage-hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Sub-page Section */
.subpage-section {
    padding: clamp(60px, 8vw, 100px) 0;
}

/* Service Detail */
.service-detail {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    align-items: start;
}

.service-detail-icon {
    width: 160px;
    height: 160px;
    color: var(--gold);
    background: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.service-detail-icon svg {
    width: 100%;
    height: 100%;
}

.service-detail-content h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.service-detail-intro {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.service-detail-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.service-detail-item {
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.service-detail-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-detail-item h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--gold-dark);
    margin-bottom: 12px;
}

.service-detail-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Team Detail */
.team-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.team-detail-card {
    display: flex;
    gap: 32px;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.team-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-detail-avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-detail-avatar svg {
    width: 80%;
    height: 80%;
    color: var(--gold);
}

.team-detail-avatar img {
    width: 100%;
    height: 100%;
    display: block;
	border: 1px solid rgb(245, 237, 234);
    border-radius: var(--radius-md);  /* 假设有圆角变量 */
}



.team-detail-info h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.team-detail-info .team-title {
    display: block;
    font-size: 14px;
    color: var(--gold-dark);
    margin-bottom: 4px;
}

.team-detail-info .team-specialty {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.team-detail-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Technology Detail */
.tech-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.tech-detail-card {
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.tech-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.tech-detail-number {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 600;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 16px;
}

.tech-detail-card h3 {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.tech-detail-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.tech-detail-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-detail-tag {
    padding: 6px 16px;
    background: var(--sand);
    color: var(--gold-dark);
    font-size: 13px;
    border-radius: 50px;
}

/* News Detail */
.news-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.news-detail-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.news-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-detail-image {
    height: 200px;
    background: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-detail-image svg {
    width: 60%;
    height: 60%;
    color: var(--gold);
    opacity: 0.3;
}

.news-detail-content {
    padding: 24px;
}

.news-detail-content .news-tag {
    margin-bottom: 12px;
}

.news-detail-content h3 {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-detail-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.news-detail-content .news-link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: var(--gold-dark);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.news-detail-content .news-link:hover {
    color: var(--gold);
}

/* CTA Section */
.subpage-cta {
    background: var(--ivory);
    text-align: center;
    padding: 80px 0;
}

.subpage-cta-content h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.subpage-cta-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.subpage-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* News Detail Image Placeholders */
.news-placeholder-1 {
    background: linear-gradient(135deg, var(--sand) 0%, var(--ivory) 100%);
}

.news-placeholder-2 {
    background: linear-gradient(135deg, var(--ivory) 0%, var(--sand) 100%);
}

.news-placeholder-3 {
    background: linear-gradient(135deg, var(--sand-light) 0%, var(--sand) 100%);
}

.news-placeholder-4 {
    background: linear-gradient(135deg, var(--sand) 0%, var(--sand-light) 100%);
}

.news-placeholder-5 {
    background: linear-gradient(135deg, var(--ivory) 0%, var(--sand-light) 100%);
}

.news-placeholder-6 {
    background: linear-gradient(135deg, var(--sand-light) 0%, var(--ivory) 100%);
}

/* Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--sand);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.pagination-btn:hover,
.pagination-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(197, 165, 90, 0.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .service-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail-icon {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    .team-detail-grid {
        grid-template-columns: 1fr;
    }

    .tech-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .subpage-hero {
        padding: 140px 0 60px;
    }

    .subpage-hero-title {
        font-size: 28px;
    }

    .subpage-hero-desc {
        font-size: 15px;
    }

    .service-detail-items {
        grid-template-columns: 1fr;
    }

    .service-detail-content h2 {
        font-size: 24px;
    }

    .team-detail-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .team-detail-avatar {
        margin: 0 auto;
        width: 100px;
        height: 100px;
    }

    .news-detail-grid {
        grid-template-columns: 1fr;
    }

    .subpage-cta {
        padding: 60px 0;
    }

    .subpage-cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .subpage-cta-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .tech-detail-card {
        padding: 28px;
    }

    .tech-detail-number {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .subpage-hero {
        padding: 120px 0 40px;
    }

    .service-detail-item {
        padding: 16px;
    }

    .team-detail-card {
        padding: 20px;
    }

    .news-detail-image {
        height: 160px;
    }
}

/* ========================================
   News Page - Redesigned
   ======================================== */
.news-page-section {
    background: var(--white);
}

/* Filter Bar */
.news-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.news-filter-btn {
    padding: 10px 28px;
    border: 1.5px solid var(--sand);
    border-radius: 50px;
    background: var(--white);
    color: var(--text-secondary);
    font-size: 14px;
    font-family: var(--font-cn);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.news-filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.news-filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* Featured Article */
.news-featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 48px;
    transition: all var(--transition-normal);
}

.news-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-featured-image {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.news-featured-image .news-card-img-placeholder {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.news-featured-image .news-card-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.news-featured-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-featured-title {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.news-featured-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* News Card Common */
.news-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.news-card-img-placeholder svg {
    width: 60%;
    height: 60%;
    color: var(--gold);
}


.news-featured-image .news-card-img-placeholder {
    position: relative; /* 改为相对定位 */
    padding: 24px;
}
.news-featured-image .news-card-img-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.news-card-image .news-card-img-placeholder {
    position: relative; /* 改为相对定位 */
    padding: 24px;
}
.news-card-image .news-card-img-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.news-card-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(197, 165, 90, 0.15);
    color: var(--gold-dark);
    font-size: 12px;
    border-radius: 50px;
    font-weight: 500;
}

.news-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.news-card-date svg {
    color: var(--gold);
    opacity: 0.6;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--gold-dark);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.news-card-link svg {
    transition: transform var(--transition-fast);
}

.news-card-link:hover {
    color: var(--gold);
}

.news-card-link:hover svg {
    transform: translateX(4px);
}

/* News Page Grid */
.news-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.news-page-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.news-page-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.news-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-card-image .news-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.news-card-image .news-card-img-placeholder {
    transition: transform var(--transition-normal);
}

.news-page-card:hover .news-card-image .news-card-img-placeholder {
    transform: scale(1.05);
}

.news-card-body {
    padding: 24px;
}

.news-card-body h3 {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* News Placeholders */
.news-placeholder-1 {
    background: linear-gradient(135deg, var(--sand) 0%, var(--ivory) 100%);
}



.news-placeholder-2 {
    background: linear-gradient(135deg, var(--ivory) 0%, var(--sand) 100%);
}

.news-placeholder-3 {
    background: linear-gradient(135deg, var(--sand-light) 0%, var(--sand) 100%);
}

.news-placeholder-4 {
    background: linear-gradient(135deg, var(--sand) 0%, var(--sand-light) 100%);
}

.news-placeholder-5 {
    background: linear-gradient(135deg, var(--ivory) 0%, var(--sand-light) 100%);
}

.news-placeholder-6 {
    background: linear-gradient(135deg, var(--sand-light) 0%, var(--ivory) 100%);
}

/* Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--sand);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.pagination-btn:hover,
.pagination-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(197, 165, 90, 0.05);
}

/* News Page Responsive */
@media (max-width: 1024px) {
    .news-featured-card {
        grid-template-columns: 1fr;
    }

    .news-featured-image {
        min-height: 240px;
    }

    .news-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-filter {
        gap: 8px;
        margin-bottom: 32px;
    }

    .news-filter-btn {
        padding: 8px 20px;
        font-size: 13px;
    }

    .news-featured-body {
        padding: 24px;
    }

    .news-featured-title {
        font-size: 20px;
    }

    .news-page-grid {
        grid-template-columns: 1fr;
    }

    .news-card-image {
        height: 180px;
    }
}
