/* BLOG PAGE - XtraCorporate Style */

/* Blog Page Wrapper */
.blog-wrapper {
    position: relative;
    background: #FFFFFF;
    overflow: hidden;
}

.blog-wrapper::before {
    display: none;
}

/* Blog Hero */
.blog-hero {
    position: relative;
    background: #01131c;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 60px;
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: #FFFFFF;
    background: none;
    -webkit-text-fill-color: #FFFFFF;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* Blog Grid */
.blog-section {
    padding: 4rem 0 6rem;
    position: relative;
    z-index: 1;
    background: #f5f7fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.blog-card {
    background: #FFFFFF;
    border: 1px solid #eaeaea;
    border-radius: 3px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: rgba(0, 38, 153, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.13);
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: none;
    transition: all 0.4s ease;
}

.blog-card:hover .blog-image {
    filter: none;
    transform: scale(1.02);
}

.blog-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 12px;
    font-size: 13px;
}

.blog-category {
    color: #002699;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.blog-date {
    color: #aaa;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #1A1A2E;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-excerpt {
    color: #636363;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #002699;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    gap: 1rem;
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-read-more i {
    transform: translateX(5px);
}

/* Featured Post */
.featured-post {
    grid-column: span 2;
}

.featured-post .blog-image {
    height: 300px;
}

@media (max-width: 900px) {
    .featured-post {
        grid-column: span 1;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero {
        min-height: auto;
        padding-top: 120px;
    }
}

@media (max-width: 600px) {
    .blog-section {
        padding: 3rem 0 4rem;
    }

    .blog-grid {
        gap: 20px;
    }

    .blog-content {
        padding: 20px;
    }

    .blog-image {
        height: 180px;
    }

    .featured-post .blog-image {
        height: 220px;
    }

    .blog-title {
        font-size: 1.1rem;
    }

    .blog-excerpt {
        font-size: 14px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-section {
        padding: 2rem 0 3rem;
    }

    .blog-content {
        padding: 16px;
    }

    .blog-image {
        height: 160px;
    }

    .featured-post .blog-image {
        height: 180px;
    }

    .blog-title {
        font-size: 1rem;
    }

    .blog-excerpt {
        font-size: 13px;
        line-height: 1.6;
    }

    .blog-meta {
        font-size: 12px;
        gap: 0.75rem;
    }

    .blog-hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }
}
