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

/* Hero Section */
.page-blog__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as per rule, assuming body padding-top is handled by shared.css */
    margin-bottom: 40px;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-blog__hero-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-blog__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-blog__hero-content {
    max-width: 900px;
    margin: 20px auto 0 auto;
    padding: 0 15px;
}

.page-blog__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Using clamp as suggested */
    font-weight: 700;
    line-height: 1.2;
    color: #2F6BFF; /* Main brand color for title */
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.page-blog__hero-description {
    font-size: 1.15rem;
    color: #1F2D3D;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-blog__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom Button Color */
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

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

.page-blog__btn-secondary {
    background: #FFFFFF; /* Card BG */
    color: #2F6BFF; /* Main brand color */
    border: 2px solid #2F6BFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-blog__btn-secondary:hover {
    background: #F0F5FF; /* Lighter shade of blue */
    color: #2F6BFF;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-blog__text-link {
    color: #2F6BFF;
    text-decoration: underline;
    font-weight: 600;
}

.page-blog__text-link:hover {
    color: #6FA3FF;
}

/* General Section Styling */
.page-blog__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-blog__section-title,
.page-blog__content-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #000000; /* Custom Color_1776249996415 */
    text-align: center;
    margin-bottom: 20px;
    margin-top: 50px;
}

.page-blog__section-description {
    font-size: 1.05rem;
    color: #1F2D3D;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Latest Posts Section */
.page-blog__latest-posts-section {
    padding: 40px 0;
    background-color: #F4F7FB;
}

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

.page-blog__post-card {
    background: #FFFFFF; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-blog__post-link {
    text-decoration: none;
    color: #1F2D3D;
    display: block;
}

.page-blog__post-thumbnail {
    width: 100%;
    height: 200px; /* Minimum image height */
    overflow: hidden;
}

.page-blog__post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.page-blog__post-card:hover .page-blog__post-thumbnail img {
    transform: scale(1.05);
}

.page-blog__post-content {
    padding: 20px;
}

.page-blog__post-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2F6BFF; /* Brand color for post titles */
    line-height: 1.4;
}

.page-blog__post-meta {
    font-size: 0.9rem;
    color: #6FA3FF; /* Auxiliary color for meta info */
    margin-bottom: 15px;
}

.page-blog__post-excerpt {
    font-size: 1rem;
    color: #1F2D3D;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-blog__read-more {
    color: #2F6BFF;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

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

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

/* Content Area */
.page-blog__content-area {
    padding: 60px 0;
}

.page-blog__light-bg {
    background-color: #F4F7FB; /* Background */
    color: #1F2D3D; /* Text Main */
}

.page-blog__paragraph {
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #1F2D3D;
}

.page-blog__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #1F2D3D;
}

.page-blog__list-item {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: #1F2D3D;
}

.page-blog__list-item strong {
    color: #2F6BFF; /* Brand color for strong text in list */
}

.page-blog__image-wrapper {
    margin: 40px 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-blog__image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-blog__cta-bottom {
    text-align: center;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog__posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-blog__hero-section {
        padding-top: 10px;
        margin-bottom: 30px;
    }

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

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

    /* 按钮与按钮容器 */
    .page-blog__cta-buttons,
    .page-blog__cta-bottom {
        flex-direction: column !important; /* Multiple buttons vertical stacking */
        gap: 15px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .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: 12px 20px !important;
    }

    /* 长文区 */
    .page-blog__section-title,
    .page-blog__content-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-blog__section-description,
    .page-blog__paragraph,
    .page-blog__list-item {
        font-size: 0.95rem;
    }

    /* 博客区 */
    .page-blog__posts-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 25px;
    }

    .page-blog__post-card {
        min-height: auto;
    }

    .page-blog__post-thumbnail {
        height: 180px; /* Adjust height for mobile */
    }

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

    /* 通用图片与容器 */
    .page-blog img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-blog__container,
    .page-blog__hero-image,
    .page-blog__image-wrapper,
    .page-blog__latest-posts-section,
    .page-blog__content-area {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-blog__image-wrapper img {
        min-width: unset;
        min-height: unset;
    }

    .page-blog__post-card {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 480px) {
    .page-blog__main-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
    .page-blog__hero-description {
        font-size: 0.9rem;
    }
    .page-blog__section-title,
    .page-blog__content-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }
    .page-blog__post-title {
        font-size: 1.1rem;
    }
    .page-blog__post-thumbnail {
        height: 160px;
    }
}