

.featured-section {
    background: linear-gradient(135deg, #fff9e6 0%, #fff1cc 100%);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 2px solid #fbbf24;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.1);
}

.featured-section .section-title {
    color: #d97706;
    font-weight: 700;
}

.featured-post-card {
    border: 2px solid #fbbf24 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.featured-post-card:hover {
    border-color: #f59e0b !important;
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.25) !important;
    transform: translateY(-5px);
}

.featured-post-card .post-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; 
    height: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); 
}

.featured-post-card .post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-post-card:hover .post-image img {
    transform: scale(1.08);
}

.featured-post-card .category-badge,
.featured-post-card .badge-download {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important; 
    color: white !important;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-post-card .card-body {
    padding: 1rem !important;
}

.featured-post-card .h6 {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    min-height: 3.8rem;
    color: #1f2937;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-post-card .btn-warning {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
}

@media (min-width: 1400px) {
    .featured-post-card .post-image {
        padding-top: 56.25%; 
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .featured-post-card .post-image {
        padding-top: 56.25%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .featured-post-card .post-image {
        padding-top: 56.25%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .featured-post-card .post-image {
        padding-top: 56.25%;
    }
    
    .featured-post-card .card-body {
        padding: 0.875rem !important;
    }
}

@media (max-width: 767px) {
    .featured-section {
        padding: 1.5rem 1rem;
    }
    
    .featured-post-card .post-image {
        padding-top: 56.25%;
    }
    
    .featured-post-card .card-body {
        padding: 0.75rem !important;
    }
    
    .featured-post-card .h6 {
        font-size: 0.85rem;
        min-height: 3.4rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .featured-post-card .category-badge,
    .featured-post-card .badge-download {
        font-size: 0.65rem;
        padding: 4px 10px;
        top: 8px;
        left: 8px;
    }
}
