.page-blog {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Text Main */
    background-color: #F5F7FA; /* Background */
    line-height: 1.6;
}

.page-blog__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-blog__hero-section {
    position: relative;
    padding-top: 10px; /* Assuming body has padding-top from shared.css */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    background-color: #F5F7FA; /* Background */
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for desktop hero */
}

.page-blog__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    background-color: #F5F7FA; /* Background */
}

.page-blog__main-title {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem); /* H1 title with clamp */
    font-weight: 700;
    color: #E53935; /* Primary brand color */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-blog__hero-description {
    font-size: 1.1rem;
    color: #333333; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient */
    color: #ffffff;
    border: 2px solid transparent;
}

.page-blog__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-blog__btn-secondary {
    background: #ffffff; /* Card BG */
    color: #E53935; /* Primary brand color */
    border: 2px solid #E53935;
}

.page-blog__btn-secondary:hover {
    background: #E53935;
    color: #ffffff;
}

.page-blog__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #E53935; /* Primary brand color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-blog__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF5A4F 0%, #E53935 100%);
    border-radius: 2px;
}

.page-blog__latest-articles-section,
.page-blog__categories-section,
.page-blog__featured-article-section,
.page-blog__why-choose-section,
.page-blog__faq-section,
.page-blog__cta-bottom-section {
    padding: 60px 0;
    background-color: #F5F7FA; /* Background */
}

.page-blog__articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-blog__article-card {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-blog__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-blog__article-thumbnail {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-blog__card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-blog__article-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-blog__article-title a {
    color: #333333; /* Text Main */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog__article-title a:hover {
    color: #E53935; /* Primary brand color */
}

.page-blog__article-date {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 15px;
    display: block;
}

.page-blog__article-excerpt {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog__read-more {
    display: inline-block;
    color: #E53935; /* Primary brand color */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-blog__read-more:hover {
    text-decoration: underline;
}

.page-blog__view-all {
    text-align: center;
}

.page-blog__categories-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.page-blog__category-item {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #E0E0E0; /* Border */
    border-radius: 25px;
    padding: 10px 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-blog__category-item a {
    color: #333333; /* Text Main */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.page-blog__category-item:hover {
    background-color: #E53935; /* Primary brand color */
    border-color: #E53935;
}

.page-blog__category-item:hover a {
    color: #ffffff;
}

.page-blog__featured-card {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.page-blog__featured-thumbnail {
    width: 50%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-blog__featured-content {
    width: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-blog__featured-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-blog__featured-title a {
    color: #333333; /* Text Main */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog__featured-title a:hover {
    color: #E53935; /* Primary brand color */
}

.page-blog__featured-date {
    font-size: 0.95rem;
    color: #666666;
    margin-bottom: 20px;
    display: block;
}

.page-blog__featured-excerpt {
    font-size: 1.05rem;
    color: #555555;
    margin-bottom: 25px;
}

.page-blog__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-blog__benefit-item {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-blog__benefit-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #E53935; /* Primary brand color */
    margin-bottom: 15px;
}

.page-blog__benefit-description {
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
}

.page-blog__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-blog__faq-item {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #E0E0E0; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-blog__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #333333; /* Text Main */
    cursor: pointer;
    background-color: #F5F7FA; /* Background */
    border-bottom: 1px solid #E0E0E0; /* Border */
    list-style: none; /* For details/summary */
}

.page-blog__faq-item[open] > .page-blog__faq-question {
    border-bottom: 1px solid #E53935; /* Primary brand color */
}

.page-blog__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-blog__faq-item summary::marker {
    display: none;
}

.page-blog__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #E53935; /* Primary brand color */
    margin-left: 15px;
}

.page-blog__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
}

.page-blog__cta-bottom-section {
    text-align: center;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient */
    color: #ffffff;
    padding: 80px 20px;
}

.page-blog__cta-bottom-section .page-blog__section-title {
    color: #ffffff;
}

.page-blog__cta-bottom-section .page-blog__section-title::after {
    background: #ffffff;
}

.page-blog__cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

/* General image responsive styles */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
    .page-blog__container {
        padding: 15px;
    }

    .page-blog__hero-content {
        padding: 30px 15px;
    }

    .page-blog__main-title {
        font-size: clamp(2rem, 4vw, 2.8rem);
    }

    .page-blog__hero-description {
        font-size: 1rem;
    }

    .page-blog__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-blog__btn-primary,
    .page-blog__btn-secondary {
        width: 100%;
    }

    .page-blog__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-blog__articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .page-blog__article-thumbnail {
        height: 200px;
    }

    .page-blog__article-title {
        font-size: 1.2rem;
    }

    .page-blog__featured-card {
        flex-direction: column;
        max-width: 700px;
    }

    .page-blog__featured-thumbnail {
        width: 100%;
        height: 300px;
    }

    .page-blog__featured-content {
        width: 100%;
        padding: 25px;
    }

    .page-blog__featured-title {
        font-size: 1.6rem;
    }

    .page-blog__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .page-blog__benefit-title {
        font-size: 1.3rem;
    }

    .page-blog__faq-question {
        font-size: 1.05rem;
        padding: 15px 20px;
    }

    .page-blog__faq-answer {
        padding: 15px 20px;
    }

    .page-blog__cta-bottom-section {
        padding: 60px 15px;
    }

    .page-blog__cta-description {
        font-size: 1.1rem;
    }
}

/* Mobile specific styles */
@media (max-width: 768px) {
    .page-blog {
        font-size: 16px;
        line-height: 1.6;
    }

    /* HERO 主图区域 */
    .page-blog__hero-section {
        padding-top: 10px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-blog__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        max-height: 300px;
    }

    .page-blog__hero-content {
        padding: 20px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-blog__hero-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    /* 按钮与按钮容器 */
    .page-blog__cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-blog__btn-primary,
    .page-blog__btn-secondary,
    .page-blog a[class*="button"],
    .page-blog a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 按钮容器移动端适配 */
    .page-blog__cta-buttons,
    .page-blog__button-group,
    .page-blog__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    
    .page-blog__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    .page-blog__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 25px;
    }

    /* 通用图片与容器 */
    .page-blog img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-blog__latest-articles-section,
    .page-blog__categories-section,
    .page-blog__featured-article-section,
    .page-blog__why-choose-section,
    .page-blog__faq-section,
    .page-blog__cta-bottom-section {
        padding: 40px 0;
    }

    .page-blog__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog__articles-grid {
        grid-template-columns: 1fr; /* Single column for articles */
        gap: 25px;
    }

    .page-blog__article-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog__article-thumbnail {
        height: 180px;
    }

    .page-blog__article-title {
        font-size: 1.1rem;
    }

    .page-blog__categories-list {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .page-blog__category-item {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .page-blog__featured-card {
        flex-direction: column;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog__featured-thumbnail {
        width: 100% !important;
        height: 200px !important;
    }

    .page-blog__featured-content {
        width: 100% !important;
        padding: 20px !important;
    }

    .page-blog__featured-title {
        font-size: 1.4rem;
    }

    .page-blog__benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-blog__benefit-item {
        padding: 25px;
    }

    .page-blog__benefit-title {
        font-size: 1.2rem;
    }

    .page-blog__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog__faq-question {
        font-size: 1rem;
        padding: 15px 15px;
    }

    .page-blog__faq-toggle {
        font-size: 1.3rem;
    }

    .page-blog__faq-answer {
        padding: 15px 15px;
    }

    .page-blog__cta-bottom-section {
        padding: 50px 15px;
    }

    .page-blog__cta-description {
        font-size: 1rem;
    }
}