.page-blog {
    background-color: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
    padding-bottom: 40px;
}

/* Hero Section */
.page-blog__hero-section {
    position: relative;
    margin-bottom: 40px;
    padding-top: 10px; /* Small top padding to avoid header overlap */
}

.page-blog__hero-banner {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.page-blog__hero-banner img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/5; /* Matches 1920x600 */
    object-fit: cover;
    object-position: center;
}

.page-blog__hero-content {
    max-width: 1200px;
    margin: 20px auto 0 auto;
    padding: 0 15px;
    text-align: center;
}

.page-blog__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFF3E6;
    margin-bottom: 15px;
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
}

.page-blog__description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #FFF3E6;
}

/* Posts Section */
.page-blog__posts-section {
    padding: 40px 0;
}

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

.page-blog__section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #FFF3E6;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-blog__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FFA53A 0%, #FF8C1A 100%);
    margin: 15px auto 0 auto;
}

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

.page-blog__post-card {
    background-color: #17191F; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #A84F0C; /* Border */
}

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

.page-blog__post-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.page-blog__post-figure {
    margin: 0;
    overflow: hidden;
}

.page-blog__post-figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    filter: none; /* Ensure no filter changes image color */
    transition: transform 0.3s ease;
}

.page-blog__post-card:hover .page-blog__post-figure img {
    transform: scale(1.05);
}

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

.page-blog__post-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FFF3E6;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-blog__post-date {
    font-size: 0.9rem;
    color: #FFA53A; /* Accent color */
    display: block;
    margin-bottom: 15px;
}

.page-blog__post-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF3E6;
    opacity: 0.9;
}

.page-blog__view-all {
    text-align: center;
    margin-top: 30px;
}

.page-blog__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: #FFF3E6;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-blog__button:hover {
    background: linear-gradient(180deg, #FFB04D 0%, #A84F0C 100%); /* Slightly lighter hover */
    transform: translateY(-2px);
}

/* CTA Section */
.page-blog__cta-section {
    background-color: #17191F; /* Card BG */
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid #A84F0C;
}

.page-blog__cta-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #FFF3E6;
    margin-bottom: 15px;
}

.page-blog__cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #FFF3E6;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-blog__hero-content {
        margin-top: 10px;
    }
    .page-blog__main-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }
    .page-blog__description {
        font-size: 1rem;
    }
    .page-blog__posts-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
    .page-blog__post-title {
        font-size: 1.2rem;
    }
    .page-blog__button {
        width: 100%;
        max-width: 300px;
    }
    .page-blog__posts-section,
    .page-blog__cta-section {
        padding: 30px 0;
    }
}

/* Global image styling for content area to prevent overflow on mobile */
@media (max-width: 768px) {
    .page-blog img {
        max-width: 100% !important;
        height: auto !important;
    }
}