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

.page-blog__section-padding {
    padding: 60px 0;
}

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

/* Hero Section */
.page-blog__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding for first section */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height to maintain aspect ratio */
}

.page-blog__hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -80px; /* Pull content up slightly over the image for visual flow */
    background: rgba(17, 39, 27, 0.9); /* Card B G with transparency */
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border */
}

.page-blog__main-title {
    font-size: 2.8rem;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog__description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section Titles */
.page-blog__section-title {
    font-size: 2.2rem;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.page-blog__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #57E38D; /* Glow */
    border-radius: 2px;
}

.page-blog__section-intro {
    font-size: 1.05rem;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

/* Post Grid */
.page-blog__post-grid, .page-blog__guide-grid, .page-blog__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog__post-card, .page-blog__guide-card, .page-blog__promo-card {
    background-color: #11271B; /* Card B G */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
}

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

.page-blog__post-image, .page-blog__guide-image, .page-blog__promo-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-blog__post-content, .page-blog__guide-content, .page-blog__promo-content {
    padding: 25px;
}

.page-blog__post-title, .page-blog__guide-title, .page-blog__promo-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
}

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

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

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

.page-blog__post-excerpt, .page-blog__guide-excerpt, .page-blog__promo-excerpt {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
}

.page-blog__read-more {
    display: inline-block;
    color: #57E38D; /* Glow */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-blog__read-more:hover {
    color: #F2C14E; /* Gold */
}

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

.page-blog__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-blog__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: #57E38D; /* Glow */
    text-decoration: none;
    border: 2px solid #57E38D; /* Glow */
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-blog__btn-secondary:hover {
    background-color: #57E38D;
    color: #08160F; /* Background */
    transform: translateY(-1px);
}

/* Dark Section */
.page-blog__dark-section {
    background-color: #0A4B2C; /* Deep Green */
}

/* Light BG for cards within dark sections */
.page-blog__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
    border: 1px solid #e0e0e0;
}

.page-blog__light-bg .page-blog__guide-title a {
    color: #333333;
}

.page-blog__light-bg .page-blog__guide-title a:hover {
    color: #11A84E; /* Main color */
}

.page-blog__light-bg .page-blog__guide-excerpt {
    color: #666666;
}

.page-blog__light-bg .page-blog__read-more {
    color: #11A84E; /* Main color */
}

.page-blog__light-bg .page-blog__read-more:hover {
    color: #22C768; /* Auxiliary color */
}

/* Medium BG for sections */
.page-blog__medium-bg {
    background-color: #22C768; /* Auxiliary color */
    color: #000000; /* Dark text for medium-light background */
}

.page-blog__medium-bg .page-blog__section-title, .page-blog__medium-bg .page-blog__sub-title {
    color: #000000;
}

.page-blog__medium-bg .page-blog__section-intro, .page-blog__medium-bg p {
    color: #333333;
}

/* Community and Support */
.page-blog__content-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.page-blog__text-block {
    flex: 2;
    min-width: 300px;
}

.page-blog__faq-block {
    flex: 1;
    min-width: 300px;
    background-color: #11271B; /* Card B G */
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #2E7A4E;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-blog__sub-title {
    font-size: 1.8rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-blog__medium-bg .page-blog__sub-title {
    color: #000000; /* Dark text for medium-light background */
}

.page-blog__faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #1E3A2A; /* Divider */
    padding-bottom: 15px;
    list-style: none;
}

.page-blog__faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-blog__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    padding: 10px 0;
    user-select: none;
    list-style: none;
}

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

.page-blog__faq-toggle {
    font-size: 1.5rem;
    color: #57E38D; /* Glow */
    transition: transform 0.3s ease;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
    transform: rotate(45deg);
}

.page-blog__faq-answer {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    padding: 10px 0 0 0;
    line-height: 1.6;
}

.page-blog__medium-bg .page-blog__faq-question {
    color: #000000;
}

.page-blog__medium-bg .page-blog__faq-toggle {
    color: #11A84E;
}

.page-blog__medium-bg .page-blog__faq-answer {
    color: #333333;
}

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

/* Final CTA Section */
.page-blog__cta-section {
    background-color: #08160F; /* Background */
    text-align: center;
    padding: 80px 0;
}

.page-blog__cta-section .page-blog__container {
    background-color: #11271B; /* Card B G */
    padding: 50px;
    border-radius: 15px;
    border: 1px solid #2E7A4E;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-blog__cta-title {
    font-size: 2.5rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-blog__cta-description {
    font-size: 1.15rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog__main-title {
        font-size: 2.4rem;
    }
    .page-blog__section-title {
        font-size: 2rem;
    }
    .page-blog__post-grid, .page-blog__guide-grid, .page-blog__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-blog__section-padding {
        padding: 40px 0;
    }
    .page-blog__hero-content {
        margin-top: -60px;
        padding: 30px 15px;
    }
    .page-blog__main-title {
        font-size: 2rem;
    }
    .page-blog__description {
        font-size: 1rem;
    }
    .page-blog__section-title {
        font-size: 1.8rem;
    }
    .page-blog__section-intro {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .page-blog__post-image, .page-blog__guide-image, .page-blog__promo-image {
        height: 180px;
    }
    .page-blog__post-title, .page-blog__guide-title, .page-blog__promo-title {
        font-size: 1.2rem;
    }
    .page-blog__sub-title {
        font-size: 1.6rem;
    }
    .page-blog__cta-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .page-blog__cta-button, .page-blog__btn-primary, .page-blog__btn-secondary {
        width: 100% !important;
        max-width: 300px !important; /* Limit max-width for column buttons */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-blog__cta-section .page-blog__container {
        padding: 30px 20px;
    }
    .page-blog__cta-title {
        font-size: 2rem;
    }
    .page-blog__cta-description {
        font-size: 1rem;
    }
    .page-blog__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    /* Mobile specific image rules */
    .page-blog img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-blog__section, .page-blog__container, .page-blog__post-card, .page-blog__guide-card, .page-blog__promo-card, .page-blog__hero-section, .page-blog__cta-section .page-blog__container, .page-blog__faq-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden;
    }
    .page-blog__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-blog__faq-block {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-blog__main-title {
        font-size: 1.8rem;
    }
    .page-blog__section-title {
        font-size: 1.6rem;
    }
    .page-blog__cta-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    .page-blog__post-grid, .page-blog__guide-grid, .page-blog__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-blog__hero-content {
        margin-top: -40px;
    }
}