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

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

.page-blog__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-blog__section-title--light {
    color: #ffffff;
}

.page-blog__section-subtitle {
    font-size: 18px;
    color: #1F2D3D;
    text-align: center;
    margin-bottom: 30px;
}

.page-blog__section-subtitle--light {
    color: #f0f0f0;
}

.page-blog__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

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

.page-blog__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: #ffffff;
    color: #2F6BFF;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid #2F6BFF;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.page-blog__btn-secondary:hover {
    background: #2F6BFF;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

/* HERO Section */
.page-blog__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding */
    margin-bottom: 40px;
    background-color: #F4F7FB;
}

.page-blog__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-blog__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

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

.page-blog__main-title {
    font-size: clamp(32px, 4.5vw, 56px); /* Responsive H1 font size */
    font-weight: 800;
    color: #1F2D3D;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* Introduction Section */
.page-blog__introduction-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background: #F4F7FB; /* Background */
}

.page-blog__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-blog__text-block {
    flex: 1;
    font-size: 17px;
    line-height: 1.7;
    color: #1F2D3D;
}

.page-blog__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-blog__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    display: block;
}

/* Categories Section */
.page-blog__categories-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background: #2F6BFF; /* Main color */
    color: #ffffff;
}

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

.page-blog__category-card {
    background: #ffffff; /* Card BG */
    color: #1F2D3D; /* Text Main */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-blog__category-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2F6BFF;
}

.page-blog__category-description {
    font-size: 16px;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-blog__categories-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Why Section */
.page-blog__why-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background: #F4F7FB; /* Background */
}

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

.page-blog__benefit-item {
    background: #ffffff; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #D6E2FF; /* Border color */
}

.page-blog__benefit-title {
    font-size: 22px;
    font-weight: 700;
    color: #2F6BFF;
    margin-bottom: 15px;
}

.page-blog__benefit-description {
    font-size: 16px;
    color: #1F2D3D;
}

/* Featured Articles Section */
.page-blog__featured-articles-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background: #F4F7FB; /* Background */
}

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

.page-blog__article-card {
    display: block;
    background: #ffffff; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #1F2D3D;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-blog__article-content {
    padding: 25px;
}

.page-blog__article-title {
    font-size: 20px;
    font-weight: 700;
    color: #2F6BFF;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-blog__article-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.page-blog__article-excerpt {
    font-size: 16px;
    color: #1F2D3D;
    margin-bottom: 20px;
}

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

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

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

/* FAQ Section */
.page-blog__faq-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background: #F4F7FB; /* Background */
}

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

details.page-blog__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #D6E2FF; /* Border color */
    overflow: hidden;
    background: #ffffff; /* Card BG */
}
details.page-blog__faq-item summary.page-blog__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-blog__faq-item summary.page-blog__faq-question::-webkit-details-marker {
    display: none;
}
details.page-blog__faq-item summary.page-blog__faq-question:hover {
    background: #f5f5f5;
}
.page-blog__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #1F2D3D; /* Text Main */
}
.page-blog__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #666;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-blog__faq-item .page-blog__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #1F2D3D; /* Text Main */
}
.page-blog__faq-answer p {
    margin: 0;
    font-size: 16px;
}

/* CTA Section */
.page-blog__cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #2F6BFF, #6FA3FF); /* Main color gradient */
    color: #ffffff;
    text-align: center;
}

.page-blog__cta-content {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 15px;
}

.page-blog__cta-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-blog__cta-description {
    font-size: 18px;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

.page-blog__cta-image-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.page-blog__cta-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: block;
}

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

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .page-blog__hero-image-wrapper {
        height: 500px;
    }
    .page-blog__main-title {
        font-size: clamp(30px, 4.5vw, 48px);
    }
    .page-blog__section-title {
        font-size: 30px;
    }
    .page-blog__introduction-section .page-blog__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-blog__image-block {
        margin-top: 30px;
    }
    .page-blog__cta-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .page-blog__container {
        padding: 15px;
    }

    /* HERO Section - Mobile */
    .page-blog__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
        margin-bottom: 30px;
    }
    .page-blog__hero-image-wrapper {
        height: 300px;
        margin-bottom: 20px;
    }
    .page-blog__hero-image {
        object-fit: contain !important; /* HERO mobile: contain */
        aspect-ratio: unset !important;
        border-radius: 8px;
    }
    .page-blog__main-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 15px;
    }
    .page-blog__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-blog__btn-primary,
    .page-blog__btn-secondary {
        font-size: 16px;
        padding: 10px 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Section Titles */
    .page-blog__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .page-blog__section-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* Introduction Section - Mobile */
    .page-blog__introduction-section {
        padding: 40px 0;
        margin-bottom: 30px;
    }
    .page-blog__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-blog__image-block {
        margin-top: 30px;
    }
    .page-blog__content-image {
        border-radius: 8px;
    }

    /* Categories Section - Mobile */
    .page-blog__categories-section {
        padding: 40px 0;
        margin-bottom: 30px;
    }
    .page-blog__categories-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .page-blog__category-card {
        padding: 25px;
        border-radius: 10px;
    }
    .page-blog__category-title {
        font-size: 20px;
    }
    .page-blog__category-description {
        font-size: 15px;
    }
    .page-blog__categories-image {
        margin-top: 30px;
        border-radius: 8px;
    }

    /* Why Section - Mobile */
    .page-blog__why-section {
        padding: 40px 0;
        margin-bottom: 30px;
    }
    .page-blog__benefit-list {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }
    .page-blog__benefit-item {
        padding: 25px;
        border-radius: 10px;
    }
    .page-blog__benefit-title {
        font-size: 20px;
    }
    .page-blog__benefit-description {
        font-size: 15px;
    }

    /* Featured Articles Section - Mobile */
    .page-blog__featured-articles-section {
        padding: 40px 0;
        margin-bottom: 30px;
    }
    .page-blog__articles-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 30px;
    }
    .page-blog__article-card {
        border-radius: 10px;
    }
    .page-blog__article-image {
        height: 180px;
    }
    .page-blog__article-content {
        padding: 20px;
    }
    .page-blog__article-title {
        font-size: 18px;
    }
    .page-blog__article-meta {
        font-size: 13px;
    }
    .page-blog__article-excerpt {
        font-size: 15px;
    }
    .page-blog__view-all-button-wrapper {
        margin-top: 30px;
    }

    /* FAQ Section - Mobile */
    .page-blog__faq-section {
        padding: 40px 0;
        margin-bottom: 30px;
    }
    .page-blog__faq-list {
        margin-top: 30px;
    }
    details.page-blog__faq-item summary.page-blog__faq-question { padding: 15px; }
    .page-blog__faq-qtext { font-size: 15px; }
    details.page-blog__faq-item .page-blog__faq-answer { padding: 0 15px 15px; }

    /* CTA Section - Mobile */
    .page-blog__cta-section {
        padding: 40px 0;
    }
    .page-blog__cta-content {
        margin-bottom: 30px;
    }
    .page-blog__cta-title {
        font-size: 28px;
    }
    .page-blog__cta-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-blog__cta-buttons {
        flex-direction: column; /* Buttons stack vertically */
        gap: 15px;
        padding: 0 15px; /* Ensure padding for buttons */
    }
    .page-blog__cta-image-wrapper {
        margin-top: 30px;
    }
    .page-blog__cta-image {
        border-radius: 8px;
    }

    /* General image responsiveness for mobile */
    .page-blog img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-blog__section,
    .page-blog__card,
    .page-blog__container,
    .page-blog__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure color contrast for dark backgrounds */
.page-blog__dark-bg {
  color: #ffffff;
  background: #2F6BFF;
}

.page-blog__light-bg {
  color: #1F2D3D;
  background: #F4F7FB;
}