.numarali-manset-widget-title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.numarali-manset-wrap {
    width: 100%;
}

.numarali-manset {
    position: relative;
    width: 100%;
    min-height: var(--nm-height, 380px);
    overflow: hidden;
    background: #111;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}

.numarali-manset *,
.numarali-manset *::before,
.numarali-manset *::after,
.nm-below *,
.nm-below *::before,
.nm-below *::after {
    box-sizing: border-box;
}

.nm-slides,
.nm-slide,
.nm-slide-link,
.nm-bg,
.nm-overlay {
    position: absolute;
    inset: 0;
}

.nm-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}

.nm-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.nm-slide-link {
    display: block;
    color: #fff;
    text-decoration: none !important;
}

.nm-bg {
    display: block;
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
    transition: transform .7s ease;
}

.nm-slide.is-active .nm-bg {
    transform: scale(1);
}

.nm-bg-empty {
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.16), transparent 28%),
        linear-gradient(135deg, #242424, #0d0d0d);
}

.nm-overlay {
    display: block;
    background: linear-gradient(to top, rgba(0,0,0,.84) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.08) 100%);
}

.nm-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    padding: 90px 24px 26px;
    color: #fff;
}

.nm-date {
    display: inline-block;
    margin-bottom: 9px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    font-size: 12px;
    line-height: 1.2;
}

.nm-title {
    display: block;
    max-width: 850px;
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 2px 6px rgba(0,0,0,.35);
}

.nm-excerpt {
    display: block;
    max-width: 760px;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.55;
    opacity: .94;
}

.nm-numbers {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 5;
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: min(50%, 420px);
}

.nm-number {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 8px;
    background: rgba(0,0,0,.38);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

.nm-number:hover,
.nm-number:focus {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.2);
    color: #fff;
    outline: none;
}

.nm-number.is-active {
    border-color: #fff;
    background: #fff;
    color: #111;
}

.nm-below {
    display: grid;
    gap: 14px;
    margin-top: 15px;
}

.nm-below-cols-1 {
    grid-template-columns: 1fr;
}

.nm-below-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nm-below-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nm-below-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nm-below-item {
    min-width: 0;
}

.nm-below-link {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 86px;
    padding: 8px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 10px;
    background: #fff;
    color: inherit;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.nm-below-link:hover,
.nm-below-link:focus {
    transform: translateY(-1px);
    box-shadow: 0 7px 20px rgba(0,0,0,.10);
}

.nm-below-thumb {
    flex: 0 0 92px;
    width: 92px;
    height: 70px;
    display: block;
    border-radius: 8px;
    background-position: center;
    background-size: cover;
    background-color: #eee;
}

.nm-below-thumb-empty {
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.5), transparent 28%),
        linear-gradient(135deg, #ddd, #aaa);
}

.nm-below-text {
    min-width: 0;
    display: block;
}

.nm-below-date {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    line-height: 1.2;
    opacity: .62;
}

.nm-below-title {
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.28;
    color: #111;
}

.numarali-manset-empty {
    padding: 18px;
    border: 1px dashed #ccc;
    border-radius: 8px;
    text-align: center;
}

@media (max-width: 1024px) {
    .nm-below-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .numarali-manset {
        min-height: min(var(--nm-height, 380px), 360px);
        border-radius: 8px;
    }

    .nm-content {
        padding: 70px 15px 72px;
    }

    .nm-title {
        font-size: 22px;
        line-height: 1.18;
    }

    .nm-excerpt {
        display: none;
    }

    .nm-numbers {
        left: 12px;
        right: 12px;
        bottom: 12px;
        justify-content: center;
        max-width: none;
    }

    .nm-number {
        width: 32px;
        height: 30px;
        font-size: 13px;
        border-radius: 7px;
    }

    .nm-below,
    .nm-below-cols-1,
    .nm-below-cols-2,
    .nm-below-cols-3,
    .nm-below-cols-4 {
        grid-template-columns: 1fr;
    }

    .nm-below-link {
        min-height: 78px;
    }

    .nm-below-thumb {
        flex-basis: 86px;
        width: 86px;
        height: 64px;
    }
}
