/* Featured Posts Section CSS */
.featured-posts-wrapper {
    margin-bottom: 40px;
}

/* Section Header */
.featured-posts-header {
    margin-bottom: 24px;
}

.featured-posts-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Main Post Styles */
.featured-post-main-card {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.featured-post-main-image {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: #e2e8f0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.featured-post-main-image:hover {
    transform: scale(1.02);
}

.featured-post-main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post-main-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.featured-post-main-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.featured-post-main-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-post-main-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #085DC5;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.featured-post-main-link:hover {
    gap: 12px;
    color: #064a9a;
}

.featured-post-main-link i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.featured-post-main-link:hover i {
    transform: translateX(4px);
}

/* Sidebar Posts Styles */
.featured-posts-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.featured-post-sidebar-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    background: #F8F8F8;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.featured-post-sidebar-item:hover {
    background: #e8e8e8;
    transform: translateX(4px);
}

.featured-post-sidebar-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #e2e8f0;
}

.featured-post-sidebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post-sidebar-content {
    flex: 1;
    min-width: 0;
}

.featured-post-sidebar-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-posts-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .featured-posts-header {
        margin-bottom: 20px;
    }

    .featured-posts-title {
        font-size: 20px;
    }

    .featured-post-main-title {
        font-size: 18px;
    }

    .featured-post-main-content {
        padding: 20px;
    }

    .featured-post-sidebar-image {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .featured-posts-header {
        margin-bottom: 16px;
    }

    .featured-posts-title {
        font-size: 18px;
    }

    .featured-post-main-title {
        font-size: 16px;
    }

    .featured-post-main-content {
        padding: 16px;
    }

    .featured-post-sidebar-item {
        padding: 10px;
        gap: 10px;
    }

    .featured-post-sidebar-image {
        width: 60px;
        height: 60px;
    }
}
