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

/* Hero Section */
.page-blog__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom */
    box-sizing: border-box;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-blog__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure image wrapper does not overflow */
    margin-bottom: 30px; /* Spacing between image and content */
    overflow: hidden;
    border-radius: 10px;
}

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

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

.page-blog__main-title {
    font-size: clamp(2em, 3.5vw, 3.2em); /* Responsive font size */
    font-weight: 700;
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* General Section Styling */
.page-blog__section {
    padding: 60px 20px;
    box-sizing: border-box;
}

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

.page-blog__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 700;
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-blog__text-block {
    font-size: 1em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}
.page-blog__text-block a {
    color: #57E38D; /* Glow */
    text-decoration: underline;
}
.page-blog__text-block a:hover {
    color: #F2C14E; /* Gold */
}

/* Buttons */
.page-blog__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure button container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button does not overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-blog__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-blog__btn-secondary {
    background: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
    border: 2px solid #2E7A4E; /* Border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog__btn-secondary:hover {
    background: #2E7A4E; /* Border color */
    color: #F2FFF6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Category Grid */
.page-blog__category-grid,
.page-blog__article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog__category-card,
.page-blog__article-card {
    background: #11271B; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

.page-blog__card-title,
.page-blog__article-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #F2C14E; /* Gold */
    margin: 20px 20px 10px;
    line-height: 1.3;
}
.page-blog__card-title a,
.page-blog__article-title a {
    color: inherit;
    text-decoration: none;
}
.page-blog__card-title a:hover,
.page-blog__article-title a:hover {
    color: #57E38D; /* Glow */
}

.page-blog__card-description,
.page-blog__article-excerpt {
    font-size: 0.95em;
    color: #A7D9B8; /* Text Secondary */
    padding: 0 20px 15px;
    flex-grow: 1; /* Make description take available space */
}

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

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

.page-blog__article-content {
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.page-blog__article-meta {
    font-size: 0.85em;
    color: #A7D9B8; /* Text Secondary */
    margin: 0 20px 10px;
}

.page-blog__cta-area {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Section */
.page-blog__faq {
    background-color: #0A4B2C; /* Deep Green */
    padding: 80px 20px;
}

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

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

.page-blog__faq-item[open] {
    background: #1E3A2A; /* Divider */
}

.page-blog__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    transition: color 0.3s ease;
}

.page-blog__faq-item[open] .page-blog__faq-question {
    color: #F2C14E; /* Gold */
}

.page-blog__faq-question:hover {
    color: #57E38D; /* Glow */
}

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

.page-blog__faq-item[open] .page-blog__faq-toggle {
    transform: rotate(45deg);
    color: #F2C14E; /* Gold */
}

.page-blog__faq-item summary {
    list-style: none;
}
.page-blog__faq-item summary::-webkit-details-marker {
    display: none;
}


.page-blog__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}
.page-blog__faq-answer p {
    margin-bottom: 10px;
}
.page-blog__faq-answer a {
    color: #57E38D; /* Glow */
    text-decoration: underline;
}
.page-blog__faq-answer a:hover {
    color: #F2C14E; /* Gold */
}

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-blog__main-title {
        font-size: clamp(2em, 4vw, 3em);
    }
    .page-blog__section-title {
        font-size: clamp(1.8em, 3.5vw, 2.2em);
    }
    .page-blog__category-grid,
    .page-blog__article-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-blog {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-blog__hero-section {
        padding: 10px 15px 40px;
    }
    .page-blog__section {
        padding: 40px 15px;
    }
    .page-blog__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-blog__description {
        font-size: 1em;
    }
    .page-blog__section-title {
        font-size: clamp(1.6em, 5vw, 2em);
        margin-bottom: 30px;
    }
    .page-blog__text-block {
        font-size: 0.95em;
    }
    .page-blog__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-blog__btn-primary,
    .page-blog__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-blog__category-grid,
    .page-blog__article-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-blog__category-image,
    .page-blog__article-image {
        height: 180px;
    }
    .page-blog__card-title,
    .page-blog__article-title {
        font-size: 1.2em;
        margin: 15px 15px 8px;
    }
    .page-blog__card-description,
    .page-blog__article-excerpt {
        font-size: 0.9em;
        padding: 0 15px 10px;
    }
    .page-blog__read-more {
        margin: 0 15px 15px;
    }
    .page-blog__article-meta {
        margin: 0 15px 8px;
    }
    .page-blog__faq {
        padding: 50px 15px;
    }
    .page-blog__faq-question {
        padding: 15px 20px;
        font-size: 1.05em;
    }
    .page-blog__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }
    .page-blog__cta-bottom {
        padding: 50px 15px;
    }

    /* Mobile image/video/container overrides */
    .page-blog img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-blog__section,
    .page-blog__card,
    .page-blog__container,
    .page-blog__hero-image-wrapper,
    .page-blog__cta-buttons,
    .page-blog__faq-list,
    .page-blog__category-grid,
    .page-blog__article-grid,
    .page-blog__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important; /* Ensure no overflow */
    }
    .page-blog__video-section {
        padding-top: 10px !important; /* body already has --header-offset */
    }
}