/* Blog / News Page Styles */

/* Header */
.blog-header {
    padding-top: 150px;
    padding-bottom: 70px;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(0, 101, 189, 0.05) 0%, transparent 70%);
}

.blog-header h1 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), #00a8ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.blog-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Article (Hero Blog) */
.featured-article {
    margin-bottom: 60px;
}

.featured-card {
    display: flex;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    align-items: stretch;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 101, 189, 0.15);
}

.featured-img-wrapper {
    flex: 1.2;
    overflow: hidden;
    position: relative;
    min-height: 400px;
}

.featured-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-img-wrapper img {
    transform: scale(1.05);
}

.featured-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.featured-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 101, 189, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    width: fit-content;
}

.featured-content h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-color);
}

.featured-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Latest Articles Grid */
.section-title-wrap {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title-wrap h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    position: relative;
    padding-left: 20px;
}

.section-title-wrap h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 10px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 101, 189, 0.1);
}

.blog-thumb {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 15px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-body h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-body h3 a {
    color: var(--text-color);
    transition: color 0.3s;
}

.blog-body h3 a:hover {
    color: var(--primary-color);
}

.blog-body p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.read-more-link:hover {
    gap: 12px;
}

/* Responsive */
@media (max-width: 992px) {
    .featured-card {
        flex-direction: column;
    }

    .featured-img-wrapper {
        min-height: 250px;
    }

    .featured-content {
        padding: 40px;
    }

    .featured-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2.5rem;
    }
}