.page-blog {
    background-color: #08160F; /* Custom background color */
    color: #F2FFF6; /* Main text color */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-top: 0; /* Body padding-top is handled by shared.css */
}

.page-blog__hero-section {
    position: relative;
    padding: 10px 20px 60px; /* Small top padding, larger bottom */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #F2FFF6;
    background-color: #08160F;
}

.page-blog__hero-image {
    width: 100%;
    max-width: 1200px; /* Adjust based on design */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    display: block; /* Ensure it behaves as a block element */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-blog__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-blog__hero-content h1 {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2C14E; /* Use gold for H1 to stand out */
}

.page-blog__hero-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #A7D9B8;
}

.page-blog__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
    background-color: #08160F;
    border-radius: 8px;
}

.page-blog__about-blog .page-blog__content-area {
    background-color: #11271B; /* Card BG for content area */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog__about-blog .page-blog__content-area p {
    margin-bottom: 20px;
    color: #F2FFF6;
}

.page-blog__about-blog .page-blog__content-area p:last-child {
    margin-bottom: 0;
}

.page-blog__section-title {
    font-size: 2.5em;
    color: #F2C14E;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

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

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

.page-blog__blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-blog__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

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

.page-blog__card-date {
    font-size: 0.9em;
    color: #A7D9B8;
    margin-bottom: 10px;
}

.page-blog__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-blog__card-title a {
    color: #F2FFF6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog__card-title a:hover {
    color: #F2C14E;
}

.page-blog__card-description {
    font-size: 1em;
    color: #A7D9B8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog__read-more-btn {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-blog__read-more-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Reverse gradient on hover */
}

.page-blog__view-all-posts {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background 0.3s ease, transform 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-blog__view-all-posts:hover {
    transform: translateY(-3px);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-blog__cta-section {
    background-color: #0A4B2C; /* Deep Green */
    padding: 80px 20px;
    text-align: center;
    color: #F2FFF6;
    border-radius: 12px;
    max-width: 1200px;
    margin: 40px auto;
}

.page-blog__cta-section h2 {
    color: #F2C14E; /* Gold */
    font-size: 2.8em;
    margin-bottom: 25px;
    font-weight: 700;
}

.page-blog__cta-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #A7D9B8;
}

.page-blog__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt to width */
}

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

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

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

.page-blog__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    background: rgba(242, 193, 78, 0.1); /* Light gold background on hover */
}

.page-blog__faq-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto 40px;
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    color: #F2FFF6;
}

.page-blog__faq-section h2 {
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    font-weight: 700;
}

.page-blog__faq-item {
    background-color: #0A4B2C; /* Deep Green */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-blog__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: #F2FFF6;
    list-style: none; /* Remove default marker */
}

.page-blog__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for WebKit */
}

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

.page-blog__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #F2C14E;
}

.page-blog__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1em;
    color: #A7D9B8;
    line-height: 1.6;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-blog__hero-content h1 {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-blog__section-title,
    .page-blog__cta-section h2,
    .page-blog__faq-section h2 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-blog__hero-section {
        padding: 10px 15px 40px;
    }
    .page-blog__hero-content h1 {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-blog__hero-content p {
        font-size: 1em;
    }
    .page-blog__section {
        padding: 40px 15px;
    }
    .page-blog__section-title,
    .page-blog__cta-section h2,
    .page-blog__faq-section h2 {
        font-size: 1.8em;
    }
    .page-blog__blog-list {
        grid-template-columns: 1fr;
    }
    .page-blog__blog-card {
        margin-bottom: 20px;
    }
    .page-blog__card-image {
        height: 180px;
    }
    .page-blog__card-title {
        font-size: 1.3em;
    }
    .page-blog__cta-section {
        padding: 50px 15px;
    }
    .page-blog__cta-section h2 {
        font-size: 2em;
    }
    .page-blog__cta-section p {
        font-size: 1em;
    }
    .page-blog__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
    .page-blog__btn-primary,
    .page-blog__btn-secondary,
    .page-blog__read-more-btn,
    .page-blog__view-all-posts {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
    }
    .page-blog__faq-section {
        padding: 40px 15px;
    }
    .page-blog__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-blog__faq-answer {
        font-size: 1em;
        padding: 0 20px 15px;
    }

    /* Mobile image adaptation */
    .page-blog img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-blog__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    /* All containing elements for images/videos/buttons */
    .page-blog__section,
    .page-blog__card,
    .page-blog__container,
    .page-blog__hero-section,
    .page-blog__cta-section,
    .page-blog__blog-list,
    .page-blog__blog-card,
    .page-blog__faq-section,
    .page-blog__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}