.page-blog {
    font-family: Arial, sans-serif;
    color: #FFF1E8; /* Text Main color */
    background-color: #140C0C; /* Background color */
}

.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;
    text-align: center;
    padding: 10px 0 60px; /* Small top padding, more bottom */
    overflow: hidden;
}

.page-blog__hero-section img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit hero image height */
}

.page-blog__hero-content {
    position: relative; /* Ensure content is above any potential background */
    z-index: 2;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Pull content up slightly over image */
    background: rgba(42, 18, 18, 0.85); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-blog__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F3C54D; /* Gold */
}

.page-blog__hero-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF1E8;
}

.page-blog__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #F3C54D; /* Gold */
}

.page-blog__section-description {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    text-align: center;
    margin-bottom: 40px;
    color: #FFF1E8;
}

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

.page-blog__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Custom button gradient */
    color: #FFF1E8;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-blog__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-blog__btn-secondary {
    background: transparent;
    color: #FFB04A; /* Gold-like from button gradient */
    border: 2px solid #FFB04A; /* Gold-like border */
    margin-left: 15px;
}

.page-blog__btn-secondary:hover {
    background: rgba(255, 176, 74, 0.1);
    color: #FFB04A;
    transform: translateY(-2px);
}

/* Latest Articles Section */
.page-blog__latest-articles-section {
    padding: 60px 0;
    background-color: #140C0C; /* Background color */
}

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

.page-blog__article-card {
    background-color: #2A1212; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    border: 1px solid #6A1E1E; /* Border color */
}

.page-blog__article-card:hover {
    transform: translateY(-5px);
}

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

.page-blog__card-content {
    padding: 20px;
}

.page-blog__card-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-blog__card-title a {
    color: #F3C54D; /* Gold */
    text-decoration: none;
}

.page-blog__card-title a:hover {
    text-decoration: underline;
}

.page-blog__card-meta {
    font-size: 0.85rem;
    color: #FFF1E8;
    margin-bottom: 15px;
}

.page-blog__card-excerpt {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #FFF1E8;
    margin-bottom: 20px;
}

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

/* Categories Section */
.page-blog__categories-section {
    padding: 60px 0;
    background-color: #140C0C; /* Background color */
}

.page-blog__categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog__category-card {
    background-color: #2A1212; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
    border: 1px solid #6A1E1E; /* Border color */
}

.page-blog__category-card:hover {
    transform: translateY(-5px);
}

.page-blog__category-card img {
    width: 100%;
     /* Fixed height */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-blog__category-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-blog__category-title a {
    color: #F3C54D; /* Gold */
    text-decoration: none;
}

.page-blog__category-title a:hover {
    text-decoration: underline;
}

.page-blog__category-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #FFF1E8;
    padding: 0 15px;
}

/* Featured Article Section */
.page-blog__featured-article-section {
    padding: 80px 0;
    background-color: #C61F1F; /* Main color */
    color: #ffffff; /* Contrast text color */
}

.page-blog__featured-article-section .page-blog__section-title {
    color: #F3C54D; /* Gold for title */
    margin-bottom: 50px;
}

.page-blog__featured-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-blog__featured-content img {
    flex-shrink: 0;
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__featured-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-blog__featured-text .page-blog__btn-primary {
    margin-top: 20px;
}

/* FAQ Section */
.page-blog__faq-section {
    padding: 60px 0;
    background-color: #140C0C; /* Background color */
}

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

.page-blog__faq-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-blog__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #F3C54D; /* Gold */
    cursor: pointer;
    background-color: #2A1212; /* Card BG */
    border-bottom: 1px solid #6A1E1E; /* Border color */
    list-style: none; /* Remove default marker for details */
}

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

.page-blog__faq-item[open] .page-blog__faq-question {
    border-bottom-color: transparent; /* Remove border when open */
}

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

.page-blog__faq-answer {
    padding: 0 25px 18px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #FFF1E8;
}

.page-blog__faq-answer p {
    margin-bottom: 10px;
}

/* CTA Section */
.page-blog__cta-section {
    padding: 80px 0;
    background-color: #E53030; /* Auxiliary color */
    text-align: center;
    color: #ffffff;
}

.page-blog__cta-section .page-blog__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-blog__cta-section img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-blog__cta-content .page-blog__section-title {
    color: #F3C54D; /* Gold */
    margin-bottom: 25px;
}

.page-blog__cta-content .page-blog__section-description {
    color: #ffffff;
    margin-bottom: 40px;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
    .page-blog__hero-content {
        margin-top: -80px;
        padding: 30px;
    }
    .page-blog__featured-content {
        flex-direction: column;
        align-items: center;
    }
    .page-blog__featured-content img {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-blog__hero-section {
        padding-bottom: 40px;
    }
    .page-blog__hero-content {
        margin-top: -60px;
        padding: 25px 15px;
    }
    .page-blog__main-title {
        font-size: 2rem;
    }
    .page-blog__hero-description {
        font-size: 1rem;
    }

    .page-blog__section-title {
        font-size: 1.6rem;
    }
    .page-blog__section-description {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .page-blog__articles-grid,
    .page-blog__categories-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-blog__article-card img,
    .page-blog__category-card img {
        
    }

    .page-blog__btn-primary,
    .page-blog__btn-secondary {
        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;
        margin-left: 0 !important; /* Remove margin for stacked buttons */
        margin-bottom: 15px;
    }

    .page-blog__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* All images must be responsive */
    .page-blog img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers with images/videos/buttons must be responsive */
    .page-blog__section,
    .page-blog__card,
    .page-blog__container,
    .page-blog__cta-buttons,
    .page-blog__featured-content,
    .page-blog__faq-list,
    .page-blog__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Specific padding for sections to avoid double padding */
    .page-blog__latest-articles-section,
    .page-blog__categories-section,
    .page-blog__featured-article-section,
    .page-blog__faq-section,
    .page-blog__cta-section {
        padding-left: 0;
        padding-right: 0;
    }

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