.nmw-events-grid{
    display:grid;
    justify-content: center;
    grid-template-columns:repeat(auto-fit,minmax(250px,350px));
    gap:24px;
    background: var(--nmw-card-color);
}

.nmw-event-card{
    position:relative;
    overflow:hidden;
    background:var(--nmw-card-color);
    border-radius: 18px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
    transition:.25s;
    cursor: pointer;

    max-height:400px;
}

@media (max-width: 576px) {
    .nmw-event-card {
        height: 400px;
    }
}



.nmw-event-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,.2);
}

.nmw-event-image{
    position: relative;
    height: 66%;
    width: 100%;
    overflow: hidden;
}

.nmw-event-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
}

@media (max-width: 576px) {
    .nmw-event-image img{
        height: 350px;
    }
}

.nmw-event-overlay{
    position:absolute;

    inset:0;

    display:flex;
    flex-direction:column;
    justify-content:space-between;

    background:
            linear-gradient(
                    to bottom,
                    rgba(0,0,0,0) 0%,
                    rgba(0,0,0,0) 35%,
                    var(--nmw-card-color) 58%,
                    var(--nmw-card-color) 100%
            );
}

.nmw-event-content{
    position:relative;
    z-index:2;
    padding:0 22px 22px;
}

.nmw-overtitle{
    display: inline-block;
    color:#ffd166;
    font-size:13px;
    letter-spacing:2px;
    text-transform:uppercase;
    line-height: 1.6;
}

.nmw-title{
    color:white;
    font-size:32px;
    line-height:1.1;
    margin:-5px 0 0 0;
    font-family: "Segoe UI", sans-serif;
}

.nmw-price{
    color:rgba(255,255,255,.85);
    font-size:15px;
}

.nmw-event-tags{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:10px;
    color: rgba(0, 0, 0, 0.7);
}

.nmw-tag {
    display:flex;
    align-items:center;
    gap:6px;
    padding:6px 10px;
    line-height: 1.5;
    background: rgba(255, 255, 255, .7);
    border-radius:18px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    font-size:13px;
}

.nmw-tag i{
    font-size:12px;
}

.nmw-event-top-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
}

.nmw-event-date {
    align-self: start;
    width:90px;
    height:70px;
    background: rgba(255, 255, 255, .92);
    border-radius:18px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    z-index:6;
    box-shadow:0 2px 10px rgba(0,0,0,.2);
    margin: 10px;
    text-shadow:0 12px 40px rgba(0,0,0,0.8);
    overflow: hidden
}

.nmw-event-date .month{
    font-family: "Segoe UI", sans-serif;
    color:#E3000f;
    font-size:25px;
    letter-spacing:1px;
}

.nmw-event-date .day{
    font-family: "Segoe UI", sans-serif;
    font-size:30px;
    font-weight:bold;
    color: #E3000f;
}

.nmw-event-info-icon {
    margin: 10px;
    padding: 10px;
    align-self: start;
    font-size: 25px;
    color: white;
    background: rgba(255, 255, 255, .9);
    border-radius:18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:0 8px 20px rgba(0,0,0,.18);
    transition: 0.3s;
    overflow: hidden
}

.nmw-event-info-icon:hover {
    transform: scale(1.05);

}

.nmw-event-info-icon i {
    text-shadow:0 8px 20px rgba(0,0,0,0.8);
}

.nmw-teaser{
    display:none;
}

.nmw-action-button {
    display:block;
    width: 100%;
    margin-top:15px;
    padding:10px 15px;
    border-radius:7px;
    border: none;
    background: #E3000f;
    color:#fff;
    text-transform: uppercase;
    text-align:center;
}

.nmw-action-button:hover,
.nmw-action-button:active,
.nmw-action-button-details:hover,
.nmw-action-button-details:active {
    background: white;
    color:rgba(0, 0, 0, 0.7);
}


/* ------------------------------------------------ */

.nmw-slidecard:hover{
    transform:none;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

@media (min-width: 577px) {
    .nmw-slidecard {
        max-height: none;
        height: 480px;
    }
}

.nmw-slidecard-link{
    display:block;
    color:inherit;
    text-decoration:none;
}
