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

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

.page-blog__dark-section {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
}

.page-blog__light-bg {
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
}

.page-blog__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    padding-top: 10px; /* Small top padding */
    text-align: center;
    overflow: hidden;
}

.page-blog__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
}

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

.page-blog__hero-content {
    position: relative; /* Ensure content is above any potential background elements */
    z-index: 2;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly with image for visual flow, but not on text */
    background: rgba(17, 39, 27, 0.9); /* Card BG with slight transparency */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__hero-title {
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    /* No fixed large font-size, rely on responsive scaling */
}

.page-blog__hero-description {
    color: #A7D9B8; /* Text Secondary */
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-blog__btn-primary {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.page-blog__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-blog__btn-secondary {
    display: inline-block;
    background: transparent;
    color: #2AD16F; /* A lighter shade of primary for contrast */
    border: 2px solid #2AD16F; /* Border matching primary color */
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.page-blog__btn-secondary:hover {
    background: #2AD16F;
    color: #F2FFF6;
}

.page-blog__section-title {
    color: #F2FFF6; /* Text Main */
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-blog__section-subtitle {
    color: #A7D9B8; /* Text Secondary */
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
}

.page-blog__latest-posts {
    padding: 60px 0;
}

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

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

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

.page-blog__post-thumbnail-wrapper {
    width: 100%;
    height: 225px; /* Fixed height for consistent card layout */
    overflow: hidden;
}

.page-blog__post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.page-blog__post-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    line-height: 1.3;
}

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

.page-blog__post-title a:hover {
    color: #57E38D; /* Glow */
}

.page-blog__post-meta {
    color: #A7D9B8; /* Text Secondary */
    font-size: 0.9em;
    margin-bottom: 15px;
}

.page-blog__post-excerpt {
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog__read-more {
    color: #57E38D; /* Glow */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.page-blog__read-more:hover {
    color: #2AD16F;
}

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

.page-blog__featured-article {
    padding: 60px 0;
}

.page-blog__article-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-blog__article-image-wrapper {
    flex: 1;
    min-width: 400px;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-blog__article-text {
    flex: 2;
    color: #F2FFF6; /* Text Main */
}

.page-blog__article-text h3 {
    color: #F2C14E; /* Gold */
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-blog__article-text p {
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-blog__article-text strong {
    color: #F2FFF6; /* Text Main */
}

.page-blog__cta-wrapper {
    text-align: center;
    margin-top: 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-blog__faq-section {
    padding: 60px 0;
}

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

.page-blog__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-blog__faq-item[open] {
    background-color: #0A4B2C; /* Deep Green */
}

.page-blog__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    list-style: none; /* Hide default marker for details/summary */
}

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

.page-blog__faq-qtext {
    flex-grow: 1;
}

.page-blog__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #57E38D; /* Glow */
}

.page-blog__faq-answer {
    padding: 0 25px 20px;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.6;
}

.page-blog__faq-answer p {
    margin-bottom: 10px;
}

/* Ensure images in content areas are at least 200px */
.page-blog img:not(.page-blog__hero-image) {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog__hero-content {
        margin-top: -80px;
        padding: 30px 20px;
    }
    .page-blog__article-content {
        flex-direction: column;
        align-items: center;
    }
    .page-blog__article-image-wrapper {
        min-width: unset;
        max-width: 100%;
    }
    .page-blog__article-text {
        text-align: center;
    }
    .page-blog__article-text h3 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-blog__hero-content {
        margin-top: -60px;
        padding: 20px 15px;
    }
    .page-blog__hero-title {
        font-size: 1.8em;
    }
    .page-blog__hero-description {
        font-size: 1em;
    }
    .page-blog__section-title {
        font-size: 2em;
    }
    .page-blog__section-subtitle {
        font-size: 1em;
    }
    .page-blog__posts-grid {
        grid-template-columns: 1fr;
    }
    .page-blog__post-thumbnail-wrapper {
        height: 180px;
    }
    .page-blog__post-content {
        padding: 15px;
    }
    .page-blog__post-title {
        font-size: 1.3em;
    }
    .page-blog__article-text h3 {
        font-size: 1.5em;
    }
    .page-blog__cta-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    .page-blog__btn-primary, .page-blog__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
    }
    .page-blog__container,
    .page-blog__hero-section,
    .page-blog__latest-posts,
    .page-blog__featured-article,
    .page-blog__faq-section,
    .page-blog__hero-image-wrapper,
    .page-blog__post-thumbnail-wrapper,
    .page-blog__article-image-wrapper,
    .page-blog__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-blog img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-blog__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-blog__faq-answer {
        padding: 0 20px 15px;
    }
    .page-blog__hero-section {
        padding-top: 10px !important; /* body handles --header-offset */
    }
}