.fc_stat_carousel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}

.fc_stat_carousel .stats_slides {
    display: flex;
}

.fc_stat_carousel .stat {
    display: flex;
    position: relative;
    /* max-width: 530px; */
    align-items: center;
    transition: 0.2s;
    justify-content: center;
}

.fc_stat_carousel .stat .image {
    background: center / cover no-repeat;
    aspect-ratio: 1;
    min-width: 273px;
    height: fit-content;
    margin-right: calc(-1 * var(--gap-l));
    z-index: 2;
}

.fc_stat_carousel .stat_content {
    background: var(--White-Smoke);
    padding: calc(var(--gap-xl) * 0.85) var(--gap-xl);
}

.fc_stat_carousel .stat_content .hero.light {
    color: var(--Deep-Gold);
}

.tns-outer {
    position: relative;
}

.tns-controls {
    position: absolute;
    width: 60%;
    height: 100%;
    top: calc(50% - 25px);
    left: 20%;
    z-index: 1;
}

.tns-controls button {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' fill='none'%3e%3ccircle cx='25' cy='25' r='24' stroke='%23292629' stroke-width='2'/%3e%3cpath fill='%23292629' d='M35.7 25.7c.4-.4.4-1 0-1.4l-6.4-6.4a1 1 0 0 0-1.4 1.4l5.7 5.7-5.7 5.7a1 1 0 0 0 1.4 1.4l6.4-6.4ZM15 26h20v-2H15v2Z'/%3e%3c/svg%3e");
    width: 50px;
    height: 50px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    transform: rotate(180deg);
    position: absolute;
    z-index: 2;
}
.tns-controls button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tns-controls button[data-controls="next"] {
    transform: rotate(0deg);
    right: 0;
}

.tns-visually-hidden {
    display: none;
}

.stats_nav {
    display: flex;
    justify-content: center;
    gap: 10vw;
    text-align: right;
    position: relative;
    width: fit-content;
    padding-top: calc(var(--gap-l) + 120px);
    padding-inline: var(--gap-l);
}

.stats_nav:after {
    content: "";
    position: absolute;
    bottom: 16px;
    height: 2px;
    width: 100%;
    background: rgba(145, 118, 83, 0.2);
    z-index: 1;
}

.stats_nav_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--gap-xl);
}

.stat_nav {
    position: relative;
    z-index: 2;
}

.stat_nav .stat_nav_content {
    position: absolute;
    right: 0;
    transform: translateX(30%);
    bottom: 40px;
}

.stat_nav .button_container {
    padding: 10px;
    cursor: pointer;
}

.stat_nav .carousel_button {
    width: 15px;
    height: 15px;
    border: 2px solid var(--Light-Gold);
    border-radius: 50%;
    background: white;
    opacity: 1;
    transition: 0.3s;
}

.stat_nav .button_container:hover .carousel_button {
    background: var(--Light-Gold);
    opacity: 0.7;
}

.stat_nav .carousel_button.active {
    background: var(--Light-Gold);
}

.stats_nav .minus-margin + * {
    margin-top: -5px;
}

.slide-centered {
    transition: all 0.3s ease;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

@media (max-width: 1200px) {
    .stats_nav_container {
        margin-bottom: 0;
    }

    .stats_nav {
        padding-top: initial;
        gap: 5vw;
    }

    .stats_nav_container .stat_nav_content {
        display: none;
    }

    .fc_stat_carousel .stat {
        flex-direction: column;
    }

    .fc_stat_carousel .stat .image {
         aspect-ratio: initial;
        height: 273px;
        width: 100%;
    }
    .fc_stat_carousel .stat {
        align-items: normal;
    }
}

@media (max-width: 900px) {
    .tns-controls {
        position: relative;
        display: flex;
        justify-content: center;
        padding-block: 20px;
    }

    .tns-controls button {
        position: relative;
        /*transform: rotate(0deg);*/
        margin: 0 10px;
    }


    .fc_stat_carousel .stat .image {
        background: center / cover no-repeat;
        aspect-ratio: 1;
        min-width: 100%;
        /*height: fit-content;*/
        margin-right: calc(-1 * var(--gap-l));
        z-index: 2;
    }

    .fc_stat_carousel .stat .stat_content {
        min-width: 80%;
    }
}