/* ==========================================
   CRICKET BLOCK - SLIDER OVERLAY DESIGN
   ========================================== */

.npl-cricket-block {
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 15px;
    position: relative;
}

/* Header with Green Line */
.npl-cricket-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.npl-cricket-title {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 20px 0 0;
    color: #000;
}

.npl-cricket-line {
    height: 4px;
    background-color: #7eb33d; /* Green color from screenshot */
    flex-grow: 1;
}

/* Slider Item Styles */
.npl-cricket-item {
    position: relative;
    overflow: hidden;
    height: 400px; /* Vertical height like image */
    border-radius: 2px;
}

.npl-item-img {
    height: 100%;
    width: 100%;
}

.npl-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.npl-cricket-item:hover .npl-item-img img {
    transform: scale(1.1);
}

/* Overlay Text */
.npl-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    text-align: center; /* Centered like image */
}

.npl-item-cat {
    display: block;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.npl-item-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

/* Slider Arrows (Bottom Left) */
.npl-cricket-nav {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.npl-slider-prev, .npl-slider-next {
    width: 35px;
    height: 35px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ccc;
    transition: 0.3s;
    background: #fff;
}

.npl-slider-prev:hover, .npl-slider-next:hover {
    border-color: #7eb33d;
    color: #7eb33d;
}

/* RESPONSIVE FOR 7 DEVICES */
@media (max-width: 1024px) { .npl-cricket-item { height: 350px; } }

@media (max-width: 768px) {
    .npl-item-title { font-size: 16px; }
    .npl-cricket-item { height: 320px; }
}

@media (max-width: 480px) {
    .npl-cricket-item { height: 300px; }
    .npl-cricket-header { margin-bottom: 15px; }
}