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

/* Ensure all images are responsive */
.page-blog img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px; /* Slightly rounded corners for images */
    min-width: 200px;
    min-height: 200px;
}

.page-blog__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    overflow: hidden;
    background-color: #08160F; /* Fallback for hero section background */
}

.page-blog__hero-image {
    width: 100%;
    height: auto; /* Adjust height dynamically to maintain aspect ratio */
    max-height: 500px; /* Limit hero image height on larger screens */
    object-fit: cover;
    border-radius: 0;
}

.page-blog__hero-content {
    max-width: 900px;
    padding: 40px 20px;
    z-index: 1;
    background-color: #08160F; /* Match body background */
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.page-blog__hero-title {
    font-size: clamp(2em, 5vw, 3.2em);
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-blog__section {
    padding: 60px 20px;
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
}

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

.page-blog__text-secondary {
    color: #A7D9B8; /* Text Secondary */
}

.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, 4vw, 2.5em);
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-blog__subsection-title {
    font-size: clamp(1.4em, 3vw, 2em);
    color: #F2FFF6; /* Text Main */
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-blog__section-paragraph {
    font-size: 1em;
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
}

.page-blog__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
}

.page-blog__list-item {
    margin-bottom: 10px;
}

.page-blog__image-content {
    margin: 30px auto;
    display: block;
    max-width: 100%;
    min-width: 200px; /* Enforce min-width */
    min-height: 200px;
    height: auto;
    border-radius: 8px;
}

.page-blog a {
    color: #22C768; /* Auxiliary color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog a:hover {
    color: #11A84E; /* Main color on hover */
    text-decoration: underline;
}

.page-blog__btn-primary,
.page-blog__btn-secondary,
.page-blog__link-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-blog__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #ffffff;
    border: none;
}

.page-blog__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-blog__btn-secondary {
    background-color: transparent;
    color: #2AD16F;
    border: 2px solid #2AD16F;
}

.page-blog__btn-secondary:hover {
    background-color: #2AD16F;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-blog__link-button {
    background-color: transparent;
    color: #2AD16F;
    border: 1px solid #2AD16F;
    margin-top: 15px;
}

.page-blog__link-button:hover {
    background-color: #2AD16F;
    color: #ffffff;
}

.page-blog__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
    justify-content: center;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* FAQ Section */
.page-blog__faq-list {
    margin-top: 30px;
}

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

.page-blog__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    background-color: #11271B; /* Card BG */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-blog__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-blog__faq-question:hover {
    background-color: #0A4B2C; /* Deep Green */
}

.page-blog__faq-qtext {
    flex-grow: 1;
    font-size: 1.1em;
}

.page-blog__faq-toggle {
    font-size: 1.5em;
    margin-left: 10px;
    color: #2AD16F;
}

.page-blog__faq-answer {
    padding: 0 20px 15px;
    color: #A7D9B8; /* Text Secondary */
    font-size: 0.95em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-blog__faq-item[open] .page-blog__faq-answer {
    max-height: 500px; /* Arbitrary large value for smooth transition */
    padding: 0 20px 20px;
}

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


/* Responsive styles */
@media (max-width: 768px) {
    .page-blog__hero-content {
        padding: 30px 15px;
    }

    .page-blog__hero-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-blog__hero-description {
        font-size: 1em;
    }

    .page-blog__section {
        padding: 40px 15px;
    }

    .page-blog__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 30px;
    }

    .page-blog__subsection-title {
        font-size: clamp(1.2em, 5vw, 1.8em);
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .page-blog__section-paragraph {
        font-size: 0.95em;
    }

    /* Mobile image, video, button responsive rules */
    .page-blog img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    
    .page-blog video,
    .page-blog__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-blog__video-section,
    .page-blog__video-container,
    .page-blog__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-blog__video-section {
        padding-top: 10px !important;
    }

    .page-blog__cta-button,
    .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-left: 15px;
        padding-right: 15px;
    }
    
    .page-blog__cta-buttons,
    .page-blog__button-group,
    .page-blog__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    
    .page-blog__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

    /* Content area padding for mobile */
    .page-blog__section,
    .page-blog__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}