﻿.cm-detail-slide {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: #181411;
    color: #fff;
}

.cm-detail-slide * {
    box-sizing: border-box;
}

.cm-detail-slide__track,
.cm-detail-slide__item {
    position: absolute;
    inset: 0;
}

.cm-detail-slide__item {
    visibility: hidden;
    opacity: 0;
    transition: opacity .65s ease, visibility .65s ease;
}

.cm-detail-slide__item.is-active {
    visibility: visible;
    opacity: 1;
}

.cm-detail-slide__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cm-detail-slide__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 12, 9, .25) 0%, rgba(15, 12, 9, .02) 42%, rgba(0, 0, 0, .72) 100%), linear-gradient(90deg, rgba(25, 18, 12, .18), transparent 58%);
}

.cm-detail-slide__copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(56px, 8.5vh, 112px);
    width: 100%;
    padding: 0 70px;
    z-index: 2;
}

.cm-detail-slide__eyebrow {
    margin: 0 0 14px;
    color: #c9a36b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3em;
    line-height: 1.4;
	text-transform: uppercase;
}

.cm-detail-slide__copy h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(32px, 2.1vw, 54px);
    font-weight: 750;
    letter-spacing: -.025em;
    line-height: 1.12;
}

.cm-detail-slide__description {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(16px, 1.05vw, 24px);
    font-weight: 500;
    line-height: 1.5;
}

.tchieu-slide:before {
    background: linear-gradient(#140e0c8c, #140e0c00);
    height: 24%;
    top: 0;
}

.tchieu-slide:before,
.tchieu-slide:after {
    content: "";
    pointer-events: none;
    z-index: 1;
    position: absolute;
    left: 0;
    right: 0;
}

.cm-detail-slide__controls {
    position: absolute;
    right: clamp(28px, 13.8vw, 360px);
    bottom: calc(clamp(56px, 8.5vh, 112px) + 20px);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 22px;
}

.cm-detail-slide__arrow {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    background: rgba(20, 16, 14, .12);
    color: #fff;
    font: inherit;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.cm-detail-slide__arrow span {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    transition: opacity .2s ease;
}

.cm-detail-slide__arrow:not(.is-edge):hover {
    transform: scale(1.06);
    border-color: #f37021;
    background: #f37021;
}

.cm-detail-slide__count {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .12em;
    white-space: nowrap;
}

.cm-detail-slide__slash {
    color: rgba(255, 255, 255, .55);
    font-weight: 400;
}

.cm-detail-slide__tag-wrap {
    position: absolute;
    top: 42%;
    right: 1.3%;
    z-index: 4;
}

.cm-detail-slide__tag {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: rgba(37, 29, 26, .78);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.cm-detail-slide__tag svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cm-detail-slide__tag-popover {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    width: min(320px, 70vw);
    padding: 18px 20px;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    background: rgba(20, 14, 12, .9);
    color: #fff;
    backdrop-filter: blur(12px);
}

.cm-detail-slide__tag-popover strong {
    display: block;
    margin-bottom: 6px;
    font-size: 17px;
}

.cm-detail-slide__tag-popover p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.55;
}

.cm-detail-slide button:focus,
.cm-detail-slide button:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.cm-detail-slide__arrow:focus,
.cm-detail-slide__arrow:focus-visible {
    border-color: rgba(255, 255, 255, .42) !important;
    background: rgba(20, 16, 14, .12) !important;
    color: #fff !important;
}

.cm-detail-slide__tag:focus,
.cm-detail-slide__tag:focus-visible {
    border-color: rgba(255, 255, 255, .12) !important;
    background: rgba(37, 29, 26, .78) !important;
    color: #fff !important;
}

@media(max-width:767px) {
    .cm-detail-slide {
        height: 78vh;
        height: 78svh;
        min-height: 78vh;
        min-height: 78svh;
        max-height: none;
    }

    .cm-detail-slide__image {
        object-position: center;
    }

    .cm-detail-slide__shade {
        background: linear-gradient(180deg, rgba(15, 12, 9, .18), transparent 35%, rgba(0, 0, 0, .76) 100%);
    }

    .cm-detail-slide__copy {
        left: 12px;
        right: 12px;
        bottom: 112px;
        width: auto;
        padding: 0;
    }

    .cm-detail-slide__eyebrow {
        margin-bottom: 10px;
        font-size: 11px;
    }

    .cm-detail-slide__copy h2 {
        font-size: clamp(30px, 8vw, 42px);
    }

    .cm-detail-slide__description {
        font-size: 16px;
    }

    .cm-detail-slide__controls {
        right: auto;
        left: 12px;
        bottom: 50px;
        gap: 12px;
    }

    .cm-detail-slide__arrow {
        width: 48px;
        height: 48px;
    }

    .cm-detail-slide__arrow span {
        font-size: 23px;
    }

    .cm-detail-slide__count {
        gap: 7px;
        font-size: 15px;
    }

    .cm-detail-slide__tag-wrap {
        top: 36%;
        right: 16px;
    }

    .cm-detail-slide__tag {
        width: 54px;
        height: 54px;
    }

    .cm-detail-slide__tag svg {
        width: 21px;
        height: 21px;
    }

}

@media(prefers-reduced-motion:reduce) {
    .cm-detail-slide__item,
    .cm-detail-slide__arrow {
        transition: none;
    }

}


.cm-detail-slide__arrow.is-edge {
    cursor: default;
}

.cm-detail-slide__arrow.is-edge span {
    opacity: .42;
}


.cm-detail-slide__count {
    font-size: 13px;
}

.cm-detail-slide__count > span:first-child {
    color: #fff;
    font-weight: 800;
}

.cm-detail-slide__count > span:last-child {
    color: #ffffffa8;
    font-weight: 400;
}







