.featured-section {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    margin: 30px 0;
}

.featured-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.featured-item {
    position: relative;
    transition: transform 0.3s ease;
    width: 100%;
}

.featured-item a {
    text-decoration: none;
    display: block;
    width: 100%;
}

.featured-poster {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    padding-bottom: 56.25%;
}

.featured-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.featured-poster::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://hdzetflix.shop/wp-content/themes/dooplay/assets/css/img/play4.svg') no-repeat center center;
    background-size: 60px 60px;
    opacity: 0;
    transition: all .65s ease-in-out;
    z-index: 1;
}

.featured-info {
    padding: 10px 5px;
    text-align: center;
    width: 100%;
}

.featured-title {
    color: #000;
    font-size: 16px;
    font-weight: normal;
    margin: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.featured-item:hover .featured-title {
    color: #ff6600;
}

.featured-item:hover .featured-poster img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.featured-item:hover .featured-poster::after {
    opacity: 1;
}

@media (max-width: 1200px) {
    .featured-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .featured-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .featured-container {
        grid-template-columns: 1fr;
    }
    .featured-poster {
        padding-bottom: 56.25%; 
    }
}