/* -------------------------------------------------------------------------- */
/*                            Base & Layout Styles                            */
/* -------------------------------------------------------------------------- */
.page-blog {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    color: #FFF3E6; /* Text Main */
    background: #0D0E12; /* Background */
}

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

.page-blog__section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #FF8C1A; /* Primary color for titles */
    line-height: 1.2;
}

.page-blog__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: #FFF3E6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* -------------------------------------------------------------------------- */
/*                              Hero Section Styles                             */
/* -------------------------------------------------------------------------- */
.page-blog__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px; /* Small top padding, not var(--header-offset) */
    background: #0D0E12;
    position: relative;
    overflow: hidden;
}

.page-blog__hero-image-wrapper {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-blog__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 15px;
}

.page-blog__main-title {
    font-weight: 800;
    color: #FF8C1A;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 0 15px rgba(255, 140, 26, 0.5);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-blog__intro-text {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    color: #FFF3E6;
}

.page-blog__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-blog__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(255, 165, 58, 0.6);
}

.page-blog__btn-secondary {
    background: #17191F;
    color: #FF8C1A;
    border: 2px solid #A84F0C;
    box-shadow: 0 5px 15px rgba(168, 79, 12, 0.3);
}

.page-blog__btn-secondary:hover {
    background: #2a2d33;
    color: #FFA53A;
    border-color: #FFB04D;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(168, 79, 12, 0.5);
}

/* -------------------------------------------------------------------------- */
/*                           Latest Posts Section                             */
/* -------------------------------------------------------------------------- */
.page-blog__latest-posts {
    padding: 80px 0;
    background: #0D0E12;
}

.page-blog__posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page-blog__post-card {
    background: #17191F; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
}

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

.page-blog__post-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-blog__post-thumbnail-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.page-blog__post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

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

.page-blog__post-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FF8C1A;
    line-height: 1.4;
    flex-grow: 1;
}

.page-blog__post-meta {
    font-size: 14px;
    color: #FFA53A;
    margin-bottom: 15px;
}

.page-blog__post-excerpt {
    font-size: 16px;
    color: #FFF3E6;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-blog__read-more {
    font-size: 16px;
    font-weight: 600;
    color: #FFA53A;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.page-blog__read-more i {
    transition: transform 0.3s ease;
}

.page-blog__post-link:hover .page-blog__read-more i {
    transform: translateX(5px);
}

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

.page-blog__view-all .page-blog__btn-primary {
    padding: 12px 25px;
    font-size: 16px;
}

/* -------------------------------------------------------------------------- */
/*                          Featured Content Section                          */
/* -------------------------------------------------------------------------- */
.page-blog__featured-content {
    padding: 80px 0;
    background: #17191F;
}

.page-blog__featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.page-blog__featured-item {
    background: #0D0E12;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.page-blog__featured-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.page-blog__featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.page-blog__featured-title {
    font-size: 24px;
    font-weight: 700;
    color: #FF8C1A;
    margin-bottom: 10px;
    line-height: 1.3;
    flex-grow: 1;
}

.page-blog__featured-meta {
    font-size: 15px;
    color: #FFA53A;
    margin-bottom: 15px;
}