.featured-cards-section {
    background-color: #101014;
    padding: 40px 20px;
}

.featured-cards-wrapper {
    max-width: 1680px;
    margin: 0 auto;
}

.featured-cards-layout {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    overflow: hidden;
}

.featured-card-item {
    width: 400px;
    height: 300px;
    background-color: transparent;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.featured-card-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-card-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 20px 20px 20px;
    color: white;
}

.featured-card-heading {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 8px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.featured-card-description {
    font-size: 14px;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.featured-cards-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.featured-cards-navigation-button {
    background-color: #404044;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.featured-cards-navigation-button:hover {
    background-color: #505054;
}

/* Removed image styling since we're using text buttons now */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .featured-cards-layout {
        gap: 30px;
    }
    
    .featured-card-item {
        width: 450px;
        height: 340px;
    }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .featured-cards-layout {
        gap: 25px;
    }
    
    .featured-card-item {
        width: 420px;
        height: 315px;
    }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .featured-cards-layout {
        gap: 20px;
    }
    
    .featured-card-item {
        width: 380px;
        height: 285px;
    }
}

/* Mobile and Small Tablet (up to 767px) */
@media (max-width: 767px) {
    .featured-cards-section {
        padding: 30px 15px;
    }
    
    .featured-cards-layout {
        justify-content: flex-start;
        gap: 0;
        margin-bottom: 25px;
        /* Show only one card at a time */
        width: 100%;
    }
    
    .featured-card-item {
        width: 100%;
        max-width: 400px;
        height: 280px;
        margin: 0 auto;
        /* Hide all cards except the first one by default */
        display: none;
    }
    
    .featured-card-item:first-child {
        display: block;
    }
    
    .featured-card-text-overlay {
        padding: 30px 15px 15px 15px;
    }
    
    .featured-card-heading {
        font-size: 16px;
    }
    
    .featured-card-description {
        font-size: 13px;
    }
    
    .featured-cards-navigation {
        gap: 12px;
    }
    
    .featured-cards-navigation-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .featured-cards-section {
        padding: 25px 10px;
    }
    
    .featured-card-item {
        height: 250px;
    }
    
    .featured-card-text-overlay {
        padding: 25px 12px 12px 12px;
    }
    
    .featured-card-heading {
        font-size: 15px;
    }
    
    .featured-card-description {
        font-size: 12px;
    }
    
    .featured-cards-navigation-button {
        padding: 8px 16px;
        font-size: 13px;
    }
} 