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

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

.page-blog__hero-section {
    position: relative;
    text-align: center;
    padding-top: 10px; /* Small top padding, not --header-offset */
    padding-bottom: 40px;
    background-color: #F4F7FB;
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    max-height: 600px; /* Limit height for aesthetic */
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog__hero-content {
    margin-top: 30px;
    padding: 0 20px;
}

.page-blog__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
    font-weight: 700;
    color: #2F6BFF; /* Main color */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-blog__hero-description {
    font-size: 1.1em;
    color: #1F2D3D;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-blog__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    max-width: 100%; /* Button responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-blog__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-blog__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-blog__btn-secondary {
    background-color: #ffffff;
    color: #2F6BFF;
    border-color: #2F6BFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-blog__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #2F6BFF;
    border-color: #2F6BFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-blog__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #2F6BFF;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-blog__introduction-section,
.page-blog__benefits-section,
.page-blog__cta-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

.page-blog__text-block {
    font-size: 1.05em;
    color: #1F2D3D;
    margin-bottom: 20px;
    text-align: justify;
}

.page-blog__categories-section {
    padding: 60px 0;
    background-color: #ffffff; /* Card BG */
}

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

.page-blog__category-card {
    background-color: #FFFFFF;
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-blog__card-title {
    font-size: 1.5em;
    color: #2F6BFF;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-blog__card-description {
    font-size: 0.95em;
    color: #1F2D3D;
    margin-bottom: 20px;
}

.page-blog__card-link {
    display: inline-block;
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.page-blog__card-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #2F6BFF;
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.page-blog__card-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.page-blog__benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-blog__list-item {
    background-color: #ffffff;
    border: 1px solid #D6E2FF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-blog__list-title {
    font-size: 1.4em;
    color: #2F6BFF;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-blog__list-item p {
    font-size: 0.95em;
    color: #1F2D3D;
}

.page-blog__featured-articles-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

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

.page-blog__article-card {
    background-color: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    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 20px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-blog__article-title a {
    color: #2F6BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog__article-title a:hover {
    color: #4A8BFF;
}

.page-blog__article-meta {
    font-size: 0.85em;
    color: #666666;
    margin-bottom: 15px;
}

.page-blog__article-excerpt {
    font-size: 0.95em;
    color: #1F2D3D;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow excerpt to take available space */
}

.page-blog__read-more-btn {
    display: inline-block;
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    align-self: flex-start; /* Align to start for read more */
}

.page-blog__read-more-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #2F6BFF;
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.page-blog__read-more-btn:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.page-blog__view-all-posts {
    text-align: center;
    margin-top: 40px;
}

.page-blog__faq-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-blog__faq-item {
    background-color: #F4F7FB;
    border: 1px solid #D6E2FF;
    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.1em;
    font-weight: 600;
    color: #2F6BFF;
    cursor: pointer;
    background-color: #EBF2FF; /* Lighter shade for summary */
    list-style: none; /* Hide default marker */
}

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

.page-blog__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #2F6BFF;
    transition: transform 0.3s ease;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-blog__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #1F2D3D;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-blog__faq-item[open] .page-blog__faq-answer {
    max-height: 500px; /* Sufficient height for expansion */
}

.page-blog__faq-answer p {
    margin: 0;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .page-blog__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* HERO 主图区域 */
    .page-blog__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 30px;
    }

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

    .page-blog__hero-content {
        margin-top: 20px;
        padding: 0 15px;
    }

    .page-blog__main-title {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .page-blog__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

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

    .page-blog__btn-primary,
    .page-blog__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px !important;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-blog__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding-top: 30px;
    }

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

    .page-blog__introduction-section,
    .page-blog__categories-section,
    .page-blog__benefits-section,
    .page-blog__featured-articles-section,
    .page-blog__faq-section,
    .page-blog__cta-section {
        padding: 40px 0;
    }

    .page-blog__categories-grid,
    .page-blog__benefits-list,
    .page-blog__articles-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .page-blog__category-card,
    .page-blog__list-item,
    .page-blog__article-card {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog__article-image {
        height: 180px; /* Adjust height for mobile */
    }

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

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

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