/* ========================================
   HOME PAGE STYLES
   ======================================== */

/* Section Header */
.section-header {
    margin-bottom: 32px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark-secondary);
    letter-spacing: -0.01em;
}

/* Featured Section */
.featured-section {
    margin-bottom: 56px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.featured-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.featured-card:hover {
    box-shadow: var(--shadow-md);
}

.featured-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.featured-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-card:hover .featured-card__image img {
    transform: scale(1.03);
}

.featured-card__body {
    padding: 20px;
}

.featured-card__date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.featured-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 8px 0;
    line-height: 1.3;
}

.featured-card__title a {
    color: var(--color-dark-secondary);
    text-decoration: none;
}

.featured-card__title a:hover {
    color: var(--color-primary);
}

.featured-card__excerpt {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Posts Section */
.posts-section {
    margin-bottom: 56px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.post-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.post-card:hover {
    box-shadow: var(--shadow-md);
}

.post-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card__image img {
    transform: scale(1.03);
}

.post-card__body {
    padding: 20px;
}

.post-card__date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.post-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 8px 0;
    line-height: 1.3;
}

.post-card__title a {
    color: var(--color-dark-secondary);
    text-decoration: none;
}

.post-card__title a:hover {
    color: var(--color-primary);
}

.post-card__excerpt {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: 1fr 1fr;
    }

    .posts-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .featured-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.25rem;
    }
}

.post-meta {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 15px;
}

.post-meta span {
    margin-right: 20px;
}

.post-excerpt {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #F3f3f3;
}

.sidebar {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .post-item {
        grid-template-columns: 1fr;
    }

    .post-thumbnail {
        width: 100%;
        height: 250px;
    }

    .featured-posts-grid {
        grid-template-columns: 1fr;
    }
}