.page-blog {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: var(--background-color, #08160F); /* Fallback to a dark color if var is not set */
    color: var(--text-main-color, #F2FFF6); /* Main text color for dark background */
}

/* Hero Section */
.page-blog__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
    background-color: #08160F; /* Ensure dark background for hero */
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit hero image height */
    filter: brightness(0.7); /* Slightly darken image for text readability */
    margin-bottom: 30px; /* Space between image and content */
}

.page-blog__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
    color: #F2FFF6; /* Light text for dark hero background */
}

.page-blog__main-title {
    font-size: clamp(2em, 5vw, 3.2em); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #F2C14E; /* Gold color for main title */
}

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

/* CTA Buttons */
.page-blog__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-blog__cta-buttons--center {
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-blog__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button 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%);
    color: #F2FFF6; /* Light text for dark button */
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

.page-blog__btn-secondary {
    background: transparent;
    color: #22C768; /* Auxiliary color for secondary button text */
    border: 2px solid #22C768; /* Auxiliary color for border */
    box-shadow: 0 0 10px rgba(34, 199, 104, 0.2);
}

.page-blog__btn-secondary:hover {
    background-color: #22C768;
    color: #08160F; /* Dark text for light button hover */
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(34, 199, 104, 0.4);
}

/* Content Area */
.page-blog__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
    background-color: #08160F; /* Consistent dark background for content */
    color: #F2FFF6; /* Main text color for dark background */
}

.page-blog__section-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 25px;
    color: #F2C14E; /* Gold color for section titles */
    text-align: center;
}

.page-blog__sub-title {
    font-size: clamp(1.4em, 3vw, 1.8em);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #22C768; /* Auxiliary color for sub titles */
}

.page-blog__paragraph {
    margin-bottom: 20px;
    color: #F2FFF6; /* Main text color */
}

.page-blog__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

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

.page-blog__list-item {
    margin-bottom: 10px;
    color: #F2FFF6; /* Main text color */
}

.page-blog__list-item strong {
    color: #22C768; /* Auxiliary color for strong text in list items */
}

/* FAQ Section */
.page-blog__faq-list {
    margin-top: 40px;
    border-top: 1px solid #1E3A2A; /* Divider color */
    padding-top: 20px;
}

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

.page-blog__faq-item[open] {
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.page-blog__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-weight: 600;
    font-size: 1.1em;
    color: #F2FFF6; /* Main text color */
    cursor: pointer;
    background-color: #11271B; /* Card BG color */
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for details summary */
}

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

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

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

.page-blog__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #22C768; /* Auxiliary color for toggle */
}

.page-blog__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #A7D9B8; /* Secondary text color */
}

.page-blog__faq-answer p {
    margin-bottom: 10px;
    color: #A7D9B8; /* Secondary text color */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-blog {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-blog__hero-section {
        padding-bottom: 40px;
    }

    .page-blog__hero-content {
        padding: 0 15px;
    }

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

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

    .page-blog__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .page-blog__cta-button {
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-blog__content-area {
        padding: 40px 15px;
    }

    .page-blog__section-title {
        font-size: clamp(1.6em, 7vw, 2em);
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-blog__sub-title {
        font-size: clamp(1.2em, 5vw, 1.5em);
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-blog__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 20px auto;
        min-width: 200px;
        min-height: 200px;
    }

    /* Ensure all images within .page-blog are responsive */
    .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__video-section,
    .page-blog__video-container,
    .page-blog__video-wrapper,
    .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;
        overflow: hidden !important; /* Ensure content does not overflow */
    }

    .page-blog__video-section {
        padding-top: 10px !important; /* Small top padding for video section */
    }

    /* Specific for multiple buttons in a row on mobile */
    .page-blog__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
}

/* Contrast Fixes - Default for dark background */
.page-blog {
  color: #F2FFF6; /* Main text color for dark background */
}

.page-blog__card,
.page-blog__faq-item {
  background: #11271B; /* Card BG color */
  color: #F2FFF6;
}

.page-blog__section-title,
.page-blog__main-title {
  color: #F2C14E; /* Gold color for titles */
}

.page-blog__sub-title,
.page-blog__faq-toggle {
  color: #22C768; /* Auxiliary color */
}

.page-blog__hero-description,
.page-blog__faq-answer p,
.page-blog__list-item {
  color: #A7D9B8; /* Secondary text color */
}

.page-blog__btn-primary {
  color: #F2FFF6; /* Light text for primary button */
}

.page-blog__btn-secondary {
  color: #22C768; /* Auxiliary color for secondary button text */
  border-color: #22C768;
}
.page-blog__btn-secondary:hover {
  color: #08160F; /* Dark text on hover */
}

/* No CSS filters for images */
.page-blog img {
    filter: none; /* Ensure no filter is applied */
}