.tnp-moment-slider {
    padding: 60px 0 !important;
    box-sizing: border-box;
    position: relative;
}

/* .tnp-moment-slider::before,.tnp-moment-slider::after {
    content: '';
    background: #E6DDC9;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: -100%;
    top: 0;
}

.tnp-moment-slider::after {
    left: auto;
    right: -100%;
} */

.tnp-ms-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 32px;
}

.tnp-ms-header__left {
    flex: 1 1 auto;
}

.tnp-ms-header__label {
    line-height: 17px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #7B6E62;
    margin: 0 0 8px;
    font-family: 'Inter', serif;
    font-size: 10.7px;
}

.tnp-ms-header__heading {
    font-weight: 400;
    line-height: 46.2px;
    margin: 0;
    color: #1A1612;
    font-family: 'Newsreader';
    font-size: 44px;
    letter-spacing: -0.22px;
}

.tnp-ms-header__right {
    flex-shrink: 0;
}

.tnp-ms-header__desc {
    font-size: 14.4px;
    line-height: 24.8px;
    color: #4A413A;
    margin: 0;
    max-width: 320px;
    text-align: left;
    font-family: 'Inter';
}

.tnp-ms-slider-outer {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.tnp-ms-track-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.tnp-ms-track {
    display: flex;
    gap: 16px;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.tnp-ms-nav__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(26,26,26,.75);
    background: rgba(255,255,255,.92);
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease, opacity .2s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.tnp-ms-nav__btn svg {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}

.tnp-ms-nav__prev {
    left: 0;
}

.tnp-ms-nav__next {
    right: 0;
}

.tnp-ms-nav__btn:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
    box-shadow: 0 4px 16px rgba(0,0,0,.28);
}

.tnp-ms-nav__btn[hidden],
.tnp-ms-nav__btn.tnp-ms-nav--hidden {
    display: none;
}

.tnp-ms-card {
    flex: 0 0 auto;
    min-width: 120px;
}

.tnp-ms-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(160deg, #3a4a6b 0%, #1c2640 100%);
}

.tnp-ms-card:nth-child(6n+2) .tnp-ms-card__media {
    background: linear-gradient(160deg,#8b7355 0%,#5c4a30 100%);
}

.tnp-ms-card:nth-child(6n+3) .tnp-ms-card__media {
    background: linear-gradient(160deg,#4a3728 0%,#2a1e14 100%);
}

.tnp-ms-card:nth-child(6n+4) .tnp-ms-card__media {
    background: linear-gradient(160deg,#6b5a45 0%,#3d3020 100%);
}

.tnp-ms-card:nth-child(6n+5) .tnp-ms-card__media {
    background: linear-gradient(160deg,#5a6b55 0%,#303d2e 100%);
}

.tnp-ms-card:nth-child(6n+6) .tnp-ms-card__media {
    background: linear-gradient(160deg,#4a5560 0%,#252d35 100%);
}

.tnp-ms-card__poster,
.tnp-ms-card__video-inline {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tnp-ms-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0,0,0,.55);
    border-radius: 4px;
    padding: 3px 8px;
}

.tnp-ms-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.tnp-ms-badge__label,
.tnp-ms-badge__duration {
    font-size: 10px;
    color: white;
    letter-spacing: 1px;
    font-family: 'Inter';
    line-height: 15.5px;
}

.tnp-ms-badge__duration::before {
    content: "–";
    margin: 0 4px;
}

.tnp-ms-card__play-btn {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.tnp-ms-card__play-btn svg {
    width: 54px;
    height: 54px;
}

.tnp-ms-card__play-btn:hover {
    transform: scale(1.08);
}

.tnp-ms-card__info {
    margin-top: 10px;
}

.tnp-ms-card__name {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px;
    font-family: 'Newsreader';
    line-height: 21.8px;
}

.tnp-ms-card__age {
    font-size: 15px;
    margin: 0 0 4px;
    font-family: 'Newsreader';
    line-height: 21.8px;
}

.tnp-ms-card__desc {
    font-size: 11.7px;
    line-height: 18.9px;
    color: #4A413A;
    margin: 0;
    font-family: 'Inter';
}

.tnp-ms-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tnp-ms-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.88);
}

.tnp-ms-modal__content {
    position: relative;
    z-index: 1;
    width: min(90vw,420px);
}

.tnp-ms-modal__close {
    position: absolute;
    right: 0;
    top: -42px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.tnp-ms-modal__video {
    width: 100%;
    aspect-ratio: 9/16;
    max-height: 82vh;
    background: #000;
    border-radius: 10px;
}

@media (max-width: 1024px) {
    .tnp-moment-slider {
        padding: 48px 0px !important;
    }
}

@media (max-width: 767px) {
    .tnp-moment-slider {
        padding: 36px 16px !important;
    }

    .tnp-ms-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 24px;
    }

    .tnp-ms-header__desc {
        text-align: left;
        max-width: 100%;
    }

    .tnp-ms-nav__btn {
        width: 36px;
        height: 36px;
    }

    .tnp-ms-slider-outer {
        padding: 0 18px;
    }
}

@media (max-width: 480px) {
    .tnp-ms-nav__btn {
        width: 32px;
        height: 32px;
    }

    .tnp-ms-nav__btn svg {
        width: 14px;
        height: 14px;
    }

    .tnp-ms-slider-outer {
        padding: 0 16px;
    }
}

