/* Featured Posts Section - Corporate/Serious Style */
.featured-posts-section {
    padding: 5rem 0;
    background-color: #1a1a1d; /* Darker than anthracite for deep contrast */
    color: #ffffff;
}

.featured-posts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.featured-posts-header {
    display: flex;
    align-items: flex-end; /* Align bottom */
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.featured-title {
    font-size: 2rem; /* Slightly smaller, more refined */
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.featured-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.featured-link:hover {
    color: #ffffff;
}

.featured-link img {
    filter: invert(1); /* Make arrow white */
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.featured-link:hover img {
    opacity: 1;
    transform: translateX(4px);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* Card Styles - Minimalist Dark */
.featured-card {
    background: transparent;
    border-radius: 0; /* Remove rounded playfulness */
    overflow: visible;
    border: none;
    box-shadow: none;
    transition: transform 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-card:hover {
    transform: translateY(-8px);
}

.featured-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    group: hover; /* For nested effects */
}

.featured-media {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #2a2a2d;
    border-radius: 4px; /* Very subtle radius */
    overflow: hidden;
    margin-bottom: 1.5rem;
}

/* Dark overlay on images usually adds seriousness */
.featured-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}

.featured-card:hover .featured-media::after {
    background: rgba(0,0,0,0);
}

.media-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c2c2f, #1f1f22);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #ffffff;
    color: #000000;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
    letter-spacing: 0.05em;
    z-index: 2;
}

.featured-content {
    padding: 0; /* Removing padding as it's transparent */
    display: flex;
    flex-direction: column;
    flex: 1;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.featured-category {
    color: var(--chickin-orange);
}

.featured-card-title {
    font-size: 1.35rem;
    line-height: 1.35;
    font-weight: 600; /* Less heavy */
    color: #ffffff;
    margin: 0 0 1rem;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.featured-card:hover .featured-card-title {
    color: var(--chickin-orange); /* Highlight on hover */
}

.read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.featured-card:hover .read-more {
    color: #ffffff;
}

.featured-card:hover .read-more::after {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 991px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-posts-section {
        padding: 3rem 0;
    }

    .featured-title {
        font-size: 1.75rem;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .featured-media {
        height: 220px;
    }
}
