.hero-worlds-hero {
    position: relative;
    height: 80vh;
    padding-bottom:var(--spacing-sm);
    overflow:hidden;
}

.hero-worlds-hero .container-fixed {
    padding: var(--site-padding);
    padding-bottom: 6rem;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.world-hero-img-wrapper {
    position: absolute;
    height: 120%;
    width: 100%;
    overflow: hidden;
    top: -20%;
    left: 0;
    z-index: -1;
}

img.world-hero {
    position: absolute;
    width: 100%;
    left: 0;
    top:0;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-position: center center; */
    opacity: 0;
    transition:
    all 0.8s;
}

img.world-hero.active {
    opacity: .8;
}


.hero-worlds-panels {
    margin-top: -8rem;
    overflow: hidden;
    /* padding-left: calc((100vw - 1400px) / 2); */
}

.world-panel-wrapper {
    display: flex;
    overflow-x: scroll;
    padding: 0 calc((100vw - 1400px) / 2);
    padding-right: calc((100vw - 1400px) / 2);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.world-panel-wrapper::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
..world-panel-wrapper {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.world-panel:first-child {
    margin-left: var(--site-padding);
}

.world-panel:last-child {
    margin-right: var(--site-padding);
}


.world-panel {
    flex: 0 0 225px;
    width:225px;
    height: 500px;
    background-size: cover !important;
    margin-right: var(--spacing-xs);
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    overflow: hidden;
    transition:all 0.8s;
    cursor: pointer;
}

.world-panel.active {
    flex: 0 0 360px;
}


.world-panel-overlay {
    position: absolute;
    width: 358px;
    height: calc(100% - 2px);
    top: 1px;
    left: 1px;
    border-radius: var(--site-padding);
    padding: var(--spacing-sm);
    opacity: 0;
    transition: opacity 0.8s;
}

.world-panel.active .world-panel-overlay {
    opacity: 1;
}

.world-panel-label {
    display: flex;
    flex-direction: column;
    transition:all 0.8s;
}

.world-panel.active .world-panel-label {
    transform: translateX(-70px);
}

.world-panel-label .caption {
    writing-mode: vertical-lr;
    display: flex;
    background-color: var(--metal);
    opacity: 1;
    padding: var(--spacing-sm) 0;
    /* display: block; */
    margin-bottom: 0;
    justify-content: center;
    align-items: center;
}


.world-hero-flourish {
    writing-mode: vertical-lr;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    position: absolute;
    right: 0.5rem;
    bottom: 9rem;
    transform: translateX(10rem);
    transition:transform 0.8s;
}

.world-hero-flourish * {
    margin: 0;
}

.world-hero-flourish.active {
    transform: translateX(0);
}



@media screen and (max-width:768px) {

    .hero-worlds-hero {
        height: 60vh;
    }
    .world-panel.active {
        flex: 0 0 275px;
    }

    .world-panel-overlay {
        width: 273px;
        padding: 1.5rem;
    }

    .world-panel {
        flex: 0 0 180px;
        height: 350px;
    }

    .world-panel-label img {
        display: none;
    }

    .world-panel-label .caption {
        padding: 1rem 0.5rem;
        flex: 1 1 100%;
        justify-content: flex-end;
        border-right: 1px solid rgba(242, 137, 137, 0.6);

    }

    .world-panel-overlay p {
        font-size: 0.825rem;
        line-height: 1.4;
    }
}