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

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

/* Hero Section */
.page-blog__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
    background: linear-gradient(180deg, #E6F0FF 0%, #F4F7FB 100%); /* Lighter gradient to contrast with body background */
}

.page-blog__hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 40px 16px;
}

.page-blog__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    color: #1F2D3D; /* Text Main */
}

.page-blog__main-title {
    font-size: clamp(2.5rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #2F6BFF; /* Main Color */
}

.page-blog__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #1F2D3D; /* Text Main */
}

.page-blog__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

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

.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 {
    background: #ffffff; /* Card BG */
    color: #2F6BFF; /* Main Color */
    border: 2px solid #2F6BFF; /* Main Color for border */
}

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

.page-blog__hero-image {
    flex: 1 1 40%;
    text-align: center;
    min-width: 300px;
}

.page-blog__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

/* Section Titles */
.page-blog__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2F6BFF; /* Main Color */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

/* Featured Articles */
.page-blog__featured-articles {
    padding: 60px 0;
    background-color: #ffffff; /* Card BG */
}

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

.page-blog__article-card {
    background: #ffffff; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #D6E2FF; /* Border Color */
}

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

.page-blog__article-media {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    overflow: hidden;
}

.page-blog__article-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

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

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

.page-blog__article-title a:hover {
    color: #2F6BFF; /* Main Color */
}

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

.page-blog__article-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
}

.page-blog__read-more-btn {
    display: inline-block;
    color: #2F6BFF; /* Main Color */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-blog__read-more-btn:hover {
    color: #6FA3FF; /* Accent Color */
    text-decoration: underline;
}

/* Recent Articles List */
.page-blog__recent-articles {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

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

.page-blog__list-item {
    display: flex;
    background: #ffffff; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #D6E2FF; /* Border Color */
}

.page-blog__list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-blog__list-media {
    flex-shrink: 0;
    width: 280px; /* Fixed width for list item image */
    height: 160px; /* Fixed height */
    overflow: hidden;
}

.page-blog__list-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-blog__list-content {
    flex-grow: 1;
    padding: 20px;
}

.page-blog__list-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

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

.page-blog__list-title a:hover {
    color: #2F6BFF; /* Main Color */
}

.page-blog__list-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.page-blog__list-excerpt {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 15px;
}

.page-blog__read-more-link {
    color: #2F6BFF; /* Main Color */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-blog__read-more-link:hover {
    color: #6FA3FF; /* Accent Color */
    text-decoration: underline;
}

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

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

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

.page-blog__faq-item {
    background: #ffffff; /* Card BG */
    border: 1px solid #D6E2FF; /* Border Color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-blog__faq-item[open] {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-blog__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1F2D3D; /* Text Main */
    cursor: pointer;
    background-color: #F4F7FB; /* Background */
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    list-style: none; /* Hide default marker */
}

.page-blog__faq-item[open] .page-blog__faq-question {
    background-color: #E6F0FF;
    border-color: #D6E2FF;
}

.page-blog__faq-qtext {
    flex-grow: 1;
    color: #1F2D3D; /* Text Main */
}

.page-blog__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2F6BFF; /* Main Color */
    margin-left: 15px;
}

.page-blog__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    border-top: 1px solid #D6E2FF; /* Border Color */
    background-color: #ffffff; /* Card BG */
}

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

/* Hide default details marker */
.page-blog__faq-item summary::-webkit-details-marker,
.page-blog__faq-item summary::marker {
    display: none;
    content: "";
}

/* Bottom CTA */
.page-blog__cta-bottom {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(90deg, #2F6BFF 0%, #6FA3FF 100%); /* Main to Accent gradient */
    color: #ffffff;
}

.page-blog__cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-blog__cta-description {
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #ffffff;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog__hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .page-blog__hero-content,
    .page-blog__hero-image {
        flex: 1 1 100%;
    }

    .page-blog__cta-buttons {
        justify-content: center;
    }

    .page-blog__list-item {
        flex-direction: column;
    }

    .page-blog__list-media {
        width: 100%;
        height: 200px; /* Adjust height for better mobile viewing */
    }
}

@media (max-width: 768px) {
    /* General content containers and images */
    .page-blog__container,
    .page-blog__hero-section,
    .page-blog__featured-articles,
    .page-blog__recent-articles,
    .page-blog__faq-section,
    .page-blog__cta-bottom {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-blog img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Hero Section */
    .page-blog__hero-section {
        padding-top: 10px !important; /* Small top padding, relying on body for header offset */
        padding-bottom: 30px !important;
    }

    .page-blog__hero-container {
        padding: 20px 0 !important;
        gap: 20px !important;
    }

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

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

    .page-blog__cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !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 15px !important;
        font-size: 0.95rem !important;
    }

    /* Section Titles */
    .page-blog__section-title {
        font-size: 1.8rem !important;
        margin-bottom: 30px !important;
        padding-top: 10px !important;
    }

    /* Featured Articles */
    .page-blog__featured-articles {
        padding: 40px 0 !important;
    }

    .page-blog__article-grid {
        gap: 20px !important;
    }

    .page-blog__article-card {
        margin-bottom: 0 !important;
    }

    .page-blog__article-media {
        height: 180px !important; /* Adjusted for smaller screens */
    }

    .page-blog__article-content {
        padding: 15px !important;
    }

    .page-blog__article-title {
        font-size: 1.15rem !important;
        margin-bottom: 8px !important;
    }

    .page-blog__article-meta {
        font-size: 0.8rem !important;
        margin-bottom: 10px !important;
    }

    .page-blog__article-excerpt {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
    }

    /* Recent Articles List */
    .page-blog__recent-articles {
        padding: 40px 0 !important;
    }

    .page-blog__article-list {
        gap: 15px !important;
    }

    .page-blog__list-item {
        flex-direction: column !important;
    }

    .page-blog__list-media {
        width: 100% !important;
        height: 180px !important; /* Adjusted for smaller screens */
    }

    .page-blog__list-content {
        padding: 15px !important;
    }

    .page-blog__list-title {
        font-size: 1.1rem !important;
        margin-bottom: 6px !important;
    }

    .page-blog__list-meta {
        font-size: 0.75rem !important;
        margin-bottom: 8px !important;
    }

    .page-blog__list-excerpt {
        font-size: 0.85rem !important;
        margin-bottom: 10px !important;
    }

    .page-blog__view-all-button {
        margin-top: 30px !important;
    }

    /* FAQ Section */
    .page-blog__faq-section {
        padding: 40px 0 !important;
    }

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

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

    .page-blog__faq-answer {
        padding: 12px 20px 15px !important;
        font-size: 0.95rem !important;
    }

    /* Bottom CTA */
    .page-blog__cta-bottom {
        padding: 50px 0 !important;
    }

    .page-blog__cta-title {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }

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