/* ========== News Blog 页面模板样式 ========== */

.page-news-blog {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.page-news-blog .elementor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-news-blog .full-width {
    width: 100%;
    position: relative;
}

/* ========== Section 1: Hero ========== */
.news-hero {
    padding: 0;
    position: relative;
    background-color: #f5f5f5;
}

.news-hero .hero-background {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.news-hero .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.news-hero .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.news-hero .hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

/* ========== Section 2: Breadcrumb ========== */
.news-breadcrumb {
    padding: 20px 0;
    background-color: #ffffff;
}

.news-breadcrumb .breadcrumb-wrapper {
    display: flex;
    justify-content: flex-end;
}

.news-breadcrumb .breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666666;
}

.news-breadcrumb .breadcrumb-nav a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-breadcrumb .breadcrumb-nav a:hover {
    color: #333333;
}

.news-breadcrumb .breadcrumb-separator {
    color: #999999;
}

.news-breadcrumb .breadcrumb-current {
    color: #333333;
    font-weight: 600;
}

/* ========== Section 3: Introductory Text ========== */
.news-intro {
    padding: 40px 0;
    background-color: #ffffff;
}

.news-intro .intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.news-intro .intro-text {
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    line-height: 1.6;
    margin: 0;
}

/* ========== Section 4: Blog Post Grid ========== */
.news-blog-grid {
    padding: 60px 0;
    background-color: #ffffff;
}

.news-blog-grid .blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-blog-grid .blog-post-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-blog-grid .blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.news-blog-grid .post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.news-blog-grid .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-blog-grid .blog-post-card:hover .post-image img {
    transform: scale(1.05);
}

.news-blog-grid .post-content {
    padding: 25px;
}

.news-blog-grid .post-title {
    font-size: 20px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.news-blog-grid .post-title a {
    color: #222222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-blog-grid .post-title a:hover {
    color: #FF8C00;
}

.news-blog-grid .post-meta {
    margin-bottom: 15px;
}

.news-blog-grid .post-date {
    font-size: 14px;
    font-weight: 400;
    color: #999999;
}

.news-blog-grid .post-excerpt {
    font-size: 15px;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-blog-grid .read-more-link {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: #222222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-blog-grid .read-more-link:hover {
    color: #FF8C00;
}

.news-blog-grid .no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666666;
}

/* ========== Section 5: CTA Section ========== */
.news-cta {
    padding: 60px 0;
    background-color: #363636;
}

.news-cta .cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.news-cta .cta-text {
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.news-cta .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #FF9933;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-cta .cta-button:hover {
    background-color: #FF8800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 51, 0.3);
}

/* ========== Section 6: Contact Form ========== */
.news-quote-form {
    padding: 80px 0;
    background-color: #ffffff;
}

.news-quote-form .quote-form-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.news-quote-form .quote-form-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-quote-form .form-title {
    font-size: 36px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.news-quote-form .form-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

.news-quote-form .quote-form-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.news-quote-form .quote-form-image {
    flex: 0 0 45%;
}

.news-quote-form .quote-form-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.news-quote-form .quote-form-form {
    flex: 1;
}

.news-quote-form .quote-form {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
}

.news-quote-form .form-group {
    margin-bottom: 20px;
}

.news-quote-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.news-quote-form .form-group input[type="text"],
.news-quote-form .form-group input[type="email"],
.news-quote-form .form-group input[type="tel"],
.news-quote-form .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.news-quote-form .form-group input[type="text"]:focus,
.news-quote-form .form-group input[type="email"]:focus,
.news-quote-form .form-group input[type="tel"]:focus,
.news-quote-form .form-group textarea:focus {
    outline: none;
    border-color: #FF8C00;
}

.news-quote-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.news-quote-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-quote-form .submit-button {
    width: 100%;
    padding: 15px 24px;
    background-color: #FF9933;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.news-quote-form .submit-button:hover {
    background-color: #FF8800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 51, 0.3);
}

/* ========== 响应式设计 ========== */

/* 平板设备 (≤1024px) */
@media (max-width: 1024px) {
    .news-hero .hero-title {
        font-size: 40px;
    }
    
    .news-blog-grid .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .news-quote-form .quote-form-content {
        flex-direction: column;
    }
    
    .news-quote-form .quote-form-image {
        flex: 1;
        width: 100%;
    }
    
    .news-quote-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* 移动设备 (≤768px) */
@media (max-width: 768px) {
    .news-hero .hero-background {
        height: 300px;
    }
    
    .news-hero .hero-title {
        font-size: 32px;
        letter-spacing: 1px;
    }
    
    .news-breadcrumb .breadcrumb-wrapper {
        justify-content: center;
    }
    
    .news-intro {
        padding: 30px 0;
    }
    
    .news-blog-grid {
        padding: 40px 0;
    }
    
    .news-blog-grid .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-cta {
        padding: 40px 0;
    }
    
    .news-cta .cta-text {
        font-size: 20px;
    }
    
    .news-cta .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .news-quote-form {
        padding: 60px 0;
    }
    
    .news-quote-form .form-title {
        font-size: 28px;
    }
}

/* 小屏设备 (≤480px) */
@media (max-width: 480px) {
    .news-hero .hero-background {
        height: 250px;
    }
    
    .news-hero .hero-title {
        font-size: 24px;
    }
    
    .news-breadcrumb {
        padding: 15px 0;
    }
    
    .news-breadcrumb .breadcrumb-nav {
        font-size: 12px;
    }
    
    .news-intro .intro-text {
        font-size: 14px;
    }
    
    .news-blog-grid .post-content {
        padding: 20px;
    }
    
    .news-blog-grid .post-title {
        font-size: 18px;
    }
    
    .news-blog-grid .post-excerpt {
        font-size: 14px;
    }
    
    .news-cta .cta-text {
        font-size: 18px;
    }
    
    .news-cta .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .news-quote-form {
        padding: 40px 0;
    }
    
    .news-quote-form .form-title {
        font-size: 24px;
    }
    
    .news-quote-form .quote-form {
        padding: 20px;
    }
}
