.rh-scope {
    display: flex;
    flex-direction: row;
    width: 100%;
    position: relative;
}

.rh-body {
    display: flex;
    flex-direction: column;
    background-color: var(--light-10);
    flex: 1;
    min-height: 100vh;
}

.rh-itinerary-header {
    padding: 24px 32px;
    background-color: var(--light-00);
    width: 100%;
    max-width: var(--xl);
}

.rh-main-content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    flex: 1;
    width: 100%;
    padding: 32px;
    gap: 16px;
    overflow-y: scroll;
}

.rh-destination-wraped {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.rh-destination-card {
    display: flex;
    flex-direction: row;
    background-color: var(--light-00);
    border-radius: 8px;
    /* flex: 1; */
}

.rh-destination-card-title,
.rh-destination-card-info {
    display: flex;
    width: 50%;
    padding: 12px 24px;
    position: relative;
    flex-wrap: wrap;
    overflow: auto;
    height: 160px;
}

.rh-destination-card-title {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: space-between;
}

.rh-destination-card-title::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 2;
}

/* RESULT ACCORDIN START */
.rh-results-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
}

.rh-results-wraped {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.rh-results-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    flex: 1;
}

.rh-results-header {
    position: relative;
    padding: 16px;
    border-radius: 8px;
    background-color: var(--blue-90);
    cursor: pointer;
    width: 100%;
}

.rh-results-header-ec {
    position: relative;
    padding: 16px;
    border-radius: 8px;
    background-color: var(--blue-70);
    cursor: pointer;
    width: 100%;
}

.rh-results-header::before {
    content: "";
    background-image: url(/content/new/icons/chevron-bottom.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 32px;
    position: absolute;
    width: 32px;
    height: 32px;
    right: 16px;
    top: 16px;
    transition: all 0.3s;
}

.rh-results-header-ec::before {
    content: "";
    background-image: url(/content/new/icons/chevron-bottom.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 32px;
    position: absolute;
    width: 32px;
    height: 32px;
    right: 16px;
    top: 16px;
    transition: all 0.3s;
}

.open .rh-results-header::before {
    transform: rotate(180deg);
    opacity: 0.3;
}

.open .rh-results-header-ec::before {
    transform: rotate(180deg);
    opacity: 0.3;
}

/* RESULT ACCORDIN END */

/* TRIP CARD START */
.rh-trip-card {
    display: flex;
    flex-direction: row;
    padding: 16px;
    background-color: var(--light-00);
    border: 2px solid var(--light-20);
    border-radius: 8px;
    gap: 16px;
}

.rh-trip-card-ec {
    display: flex;
    flex-direction: row;
    padding: 16px;
    background-color: var(--blue-05);
    border: 2px solid var(--blue-80);
    border-radius: 8px;
    gap: 16px;
}

.rh-trip-card-aside {
    width: 100%;
    max-width: 230px;
    height: 230px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    position: relative;
    background-color: var(--light-20);
}

.rh-trip-card-featured-trip {
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: absolute;
    align-items: center;
    gap: 4px;
    padding: 8px;
    width: 100%;
    top: 0px;
    z-index: 2;
}

.rh-trip-card-aside-image {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 230px;
    min-width: 0;
}

.rh-trip-card-aside .rh-trip-card-aside-image {
    max-width: 640px;
}

.rh-trip-card-main {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
}

.rh-trip-card-main-left {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.rh-trip-card-main-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.rh-trip-card-main-right .h3 span {
    font-size: 0.75em;
}

.rh-trip-card-footer {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.rh-trip-card-info bold {
    padding-right: 4px;
}

.rh-trip-card-act-lavel {
    display: flex;
}

.mob-destinantion-tog-button {
    display: none;
}

/* TRIP CARD END */

@media screen and (max-width: 964px) {
    .rh-trip-card-main-right {
        max-width: 160px;
        /* text-align: end; */
    }
    .rh-scope {
        flex-direction: column;
    }
    
    .rh-main-content {
        width: 100%;
        padding: 0;
    }

    .rh-results-container {
        padding: 16px;
    }

    .rh-itinerary-header {
        padding: 16px 16px 0px 16px;
    }

    .rh-itinerary-header .h3 {
        font-size: 22px;
    }

    .rh-trip-card {
        flex-direction: column;
    }

    .rh-destination-wraped {
        border-radius: 0;
    }

    .rh-destination-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        border-radius: 0;
    }

    .mob-destinantion-tog-button {
        display: flex;
        width: 32px;
        height: 32px;
        position: relative;
        background-color: var(--blue-90);
    }

    .mob-destinantion-tog-button::before {
        content: "";
        position: absolute;
        right: 0px;
        top: 0px;
        width: 32px;
        height: 32px;
        background-image: url(/content/new/icons/chevron-bottom.svg);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 32px;
        transition: all 0.3s;
        z-index: 4;
    }

    .open .mob-destinantion-tog-button::before {
        transform: rotate(180deg);
        opacity: 0.3;
    }

    .rh-destination-card-title {
        height: auto;
        min-height: 120px;
    }
  
    .rh-destination-card-title,
    .rh-destination-card-info {
        width: 100%;
        height: 60px;
    }

    .rh-destination-card-info {
        overflow: auto;
        max-height: 640px;
    }

    .rh-trip-card-aside {
        width: 100%;
        overflow: hidden;
        max-width: 964px;
    }

    .rh-trip-card-aside .rh-trip-card-aside-image {
        max-width: 964px;
    }
}

@media screen and (max-width: 640px) {
    .rh-trip-card-main-right {
        max-width: 9999px;
        align-items: flex-start;
    }
    .rh-trip-card-footer {
        gap: 8px 4px;
        flex-wrap: wrap;
        flex-direction: row;
    }

    .rh-trip-card-footer .blue-button,
    .rh-trip-card-footer .second-button {
        flex: 1;
    }

    .rh-trip-card-footer .main-button {
        flex: 1;
    }

    .rh-trip-card-ec {
        flex-direction: column;
    }

}