/* ==========================
   MCW PREMIUM POST SLIDER
   SIZE + SPACING FIX
========================== */

.mcw-luxury-editorial-section,
.mcw-luxury-editorial-section * {
    box-sizing: border-box;
}

.mcw-luxury-editorial-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 38%) minmax(0, 62%);
    gap: clamp(32px, 4vw, 70px);
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: clamp(50px, 6vw, 90px) 20px;
}

/* LEFT CONTENT */

.mcw-left-content {
    position: relative;
    z-index: 6;
    width: 100%;
    max-width: 430px;
}

.mcw-step-counter {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #111;
}

.mcw-step-counter span {
    color: #999;
}

.mcw-split-text {
    margin: 0 0 32px;
    color: #111;
    font-size: clamp(44px, 4.6vw, 76px);
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: -0.055em;
    max-width: 430px;
    overflow-wrap: normal;
}

.mcw-btn-magnetic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border-radius: 999px;
    background: #111;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    transition: all 0.3s ease;
}

.mcw-btn-magnetic:hover {
    transform: translateY(-3px);
    background: #222;
}

/* SLIDER */

.mcw-slider-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 64px 0 36px;
}

.mcw-card-track {
    width: 100%;
    min-width: 0;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden !important;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0 24px;
}

.mcw-card-track::-webkit-scrollbar {
    display: none;
}

/* NAV */

.mcw-slider-nav {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mcw-slider-btn {
    width: 46px;
    height: 46px;
    border: 0;
    outline: none;
    border-radius: 50%;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-size: 25px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
}

.mcw-slider-btn:hover {
    transform: translateY(-3px);
    background: #111;
    color: #fff;
}

/* CARD */

.mcw-card-item {
    flex: 0 0 clamp(280px, 24vw, 360px) !important;
    width: clamp(280px, 24vw, 360px);
    min-width: clamp(280px, 24vw, 360px);
    max-width: clamp(280px, 24vw, 360px);
}

.mcw-card-inner {
    position: relative;
    width: 100%;
    height: clamp(390px, 36vw, 510px);
    overflow: hidden;
    border-radius: 32px;
    background: #111;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mcw-card-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.18);
}

.mcw-card-image-link {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 0;
}

.mcw-card-bg {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover !important;
    object-position: center center;
    transition: transform 0.8s ease;
}

.mcw-card-inner:hover .mcw-card-bg {
    transform: scale(1.07);
}

.mcw-card-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.42) 38%,
        rgba(0, 0, 0, 0.04) 100%
    );
}

.mcw-glass-overlay {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 3;
    padding: 24px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.mcw-glass-overlay h3 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(20px, 1.8vw, 26px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mcw-btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 19px;
    border-radius: 999px;
    background: #fff;
    color: #111 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    transition: all 0.25s ease;
}

.mcw-btn-glass:hover {
    transform: translateY(-2px);
    background: #f1f1f1;
}

.mcw-card-number {
    position: absolute;
    right: 18px;
    bottom: 4px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.12);
    font-size: clamp(58px, 6vw, 86px);
    line-height: 1;
    font-weight: 900;
    pointer-events: none;
}

/* EDGE FADE */

.mcw-slider-wrap::before,
.mcw-slider-wrap::after {
    content: "";
    position: absolute;
    top: 64px;
    bottom: 36px;
    width: 70px;
    z-index: 10;
    pointer-events: none;
}

.mcw-slider-wrap::before {
    left: 0;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}

.mcw-slider-wrap::after {
    right: 0;
    background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}

.mcw-empty-message {
    padding: 24px;
    border-radius: 18px;
    background: #f4f4f4;
    color: #111;
}

/* TABLET */

@media (max-width: 1024px) {
    .mcw-luxury-editorial-section {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 50px 20px;
    }

    .mcw-left-content {
        max-width: 620px;
    }

    .mcw-split-text {
        max-width: 620px;
        font-size: clamp(42px, 8vw, 64px);
    }

    .mcw-slider-wrap {
        padding-top: 60px;
    }

    .mcw-card-item {
        flex-basis: 320px !important;
        width: 320px;
        min-width: 320px;
        max-width: 320px;
    }

    .mcw-card-inner {
        height: 460px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .mcw-luxury-editorial-section {
        display: block;
        padding: 40px 20px;
        overflow: hidden;
    }

    .mcw-left-content {
        max-width: 100%;
        margin-bottom: 26px;
    }

    .mcw-step-counter {
        margin-bottom: 18px;
    }

    .mcw-split-text {
        max-width: 100%;
        font-size: clamp(36px, 11vw, 46px);
        line-height: 0.98;
        margin-bottom: 24px;
        letter-spacing: -0.045em;
    }

    .mcw-slider-wrap {
        width: calc(100% + 20px);
        margin-right: -20px;
        padding: 58px 0 20px;
    }

    .mcw-slider-nav {
        top: 0;
        left: 0;
        right: auto;
    }

    .mcw-slider-btn {
        width: 44px;
        height: 44px;
    }

    .mcw-card-track {
        gap: 16px;
        padding-bottom: 20px;
    }

    .mcw-card-item {
        flex-basis: 280px !important;
        width: 280px;
        min-width: 280px;
        max-width: 280px;
    }

    .mcw-card-inner {
        height: 420px;
        border-radius: 28px;
    }

    .mcw-glass-overlay {
        left: 18px;
        right: 18px;
        bottom: 18px;
        padding: 18px;
        border-radius: 22px;
    }

    .mcw-glass-overlay h3 {
        font-size: 20px;
    }

    .mcw-card-number {
        font-size: 62px;
    }

    .mcw-slider-wrap::before,
    .mcw-slider-wrap::after {
        display: none;
    }
}

/* 1 dòng tiêu đề */

.mcw-luxury-editorial-section .mcw-glass-overlay h3{
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
}