.tca-slider {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    display: block;
    overflow: hidden;
}

.word {
    position: relative;
    display: inline-block;
}

.char {
    position: relative;
    display: inline-block;
    will-change: transform;
}


.frame__nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    width: 100%;
    height: 40px;
    padding: 20px;
    z-index: 9;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.frame__nav-button {
    position: relative;
    outline: none;
    padding: 0;
    margin: 0;
    display: block;
    line-height: normal;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #CFB279;
    background: transparent;
    transition: all .5s ease;
    box-shadow: none;
}

.frame__nav-button.frame__nav-button--current {
    width: 25px;
    height: 12px;
    border-radius: 20px;
    background: #CFB279;
    border-color: #CFB279;
}


.slider_nav_container {
    position: absolute;
    bottom: 20px;
    right: 25px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider_nav_container span {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-size: 50% 50%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.2s ease;
    background-color: rgba(49, 100, 65, 0.603);
}

.slider_nav_container span:active {
    transform: scale(0.9);
}

.slide_prev::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    mask-size: 50% 50%;
    mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"%3E%3Cpath d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"%3E%3Cpath d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"/></svg>');
    background: rgb(236, 236, 236);
    mask-repeat: no-repeat;
    mask-position: center;
    transition: .3s ease;
}

.slide_next::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    mask-size: 50% 50%;
    mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"%3E%3Cpath fill="white" d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"%3E%3Cpath fill="white" d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"/></svg>');
    background: #ffffff;
    mask-repeat: no-repeat;
    mask-position: center;
    transition: .3s ease;
}

.slider_nav_container span:hover::before {
    background: #D9C100;
}



.slides {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
    place-items: center;
    overflow: hidden;
}

.slide {
    position: relative;
    min-width: 100%;
    min-height: 100%;
    grid-area: 1/1;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    will-change: transform;
}

.slide--current {
    pointer-events: auto;
    opacity: 1;
}

.slide__inner {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    overflow: hidden;
    will-change: transform;
}

.slide__img {
    position: relative;
    width: 100%;
    z-index: 1;
    overflow: hidden;
}

.slide__img::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.534);
}

.slide__img-inner {
    width: 100%;
    height: 100%;
    will-change: transform;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.slide__content {
    width: 100%;
    padding: 0 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 4;
    color: white;
}


.slide__content h2 {
    text-transform: none;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.2em;
    text-align: center;
    margin-bottom: 0.3em;
}

.slide__content h2.large {
    font-size: 5rem;
}

.slide__content p {
    max-width: 950px;
    font-size: 1rem;
    color: rgb(255, 255, 255);
    font-weight: 400;
    text-align: center;
    text-transform: none;
}


.tca-slider.style-3 .slide__inner{
    justify-content: flex-end;
}
.tca-slider.style-3 .slide__img{
    width: 50%;
}
.tca-slider.style-3 .slide__content{
    width: 50%;
    transform: translateY(-50%);
    left: 0;
    align-items: flex-start;
    padding-left: 100px;
    padding-right: 60px;
}
.tca-slider.style-3 .slide__content h2{
    text-align: left;
}
.tca-slider.style-3 .slide__content p{
    text-align: left;
}

.tca-slider.style-3 .frame__nav{
    display: none;
}
.tca-slider.style-3 .slides{
    max-height: 900px;
}

.tca-slider.style-3 .slide__img::after {
    content: "";
    position: absolute;
    background: linear-gradient(0deg,
            rgba(0, 0, 0, 0.87) 0%,
            rgba(255, 255, 255, 0) 50%);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

@media screen and (max-width: 1200px) {
    .tca-slider.style-3 .slide__img{
        width: 100%;
        height: 70vw;
    }
    .tca-slider.style-3 .slide__img{
        width: 100%;
        height: 120vw;
    }

    .tca-slider.style-3 .slide{
        display: flex;
    }

    .tca-slider.style-3 .slides{
        min-height: auto;
        max-height: none;
        height: auto;
    }

    .tca-slider.style-3 .slide__inner{
        min-height: 100%;
        height: auto;
        position: relative;
        justify-content: space-between;
        flex-direction: column-reverse;
    }

    .tca-slider.style-3 .slide__content{
        order: 1;
        position: relative;
        width: 100%;
        transform: none;
        left: 0;
        top: 0;
        align-items: flex-start;
        padding: 20px;
        padding-bottom: 40px;
    }
}

@media screen and (max-width: 992px) {

    .slide__content h2 {
        font-size: 3rem;
    }

    .slide__content h2.large {
        font-size: 4rem;
    }


    .slide__content p {
        font-size: 0.9rem;
    }
}


@media screen and (max-width: 575px) {
    .slide__content{
        padding: 0 12px;
    }

    .slide__content h2 {
        font-size: 2.2rem;
    }

    .slide__content h2.large {
        font-size: 3.2rem;
    }


    .slide__content p {
        font-size: 0.85rem;
    }
}


.amenities-slider {
    /* max-width: 1400px; */
    margin: auto;
}

.amenities-slider .slides {
    max-height: 100%;
    height: 32vw;
    min-height: 400px;
}

.amenities-slider.style-2 .slides {
    max-height: 900px;
}

@media screen and (max-width: 1400px) {
    .amenities-slider.style-2 .slides {
        max-height: 60vw;
    }
}

@media screen and (max-width: 992px) {
    .amenities-slider.style-2 .slides {
        max-height: 110vw;
    }
}


.amenities-slider .slides .slide__content {
    transform: none;
    left: 0;
    padding: 30px 30px;
    bottom: 0;
    top: auto;
    align-items: flex-start;
    width: 60%;
    background-color: #1F3C28;
}

.amenities-slider .frame__nav {
    display: none;
}

.amenities-slider .slide__content h2 {
    font-size: 1.6rem;
    text-align: left;
    margin-bottom: 0;
}

.amenities-slider .slide__content p {
    font-size: 1rem;
    text-align: left;
}

.amenities-slider .slide__img::after {
    content: "";
    position: absolute;
    background: linear-gradient(0deg,
            rgba(0, 0, 0, 0.87) 10%,
            rgba(255, 255, 255, 0) 100%);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    display: none;
}

.amenities-slider.style-2 .slide__img::after {
    content: "";
    position: absolute;
    background: linear-gradient(0deg,
            rgba(0, 0, 0, 0.87) 0%,
            rgba(255, 255, 255, 0) 50%);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* .amenities-slider .slider_nav_container{
    bottom: 60px;
} */
