.ed-body {
    display: flex;
    flex-direction: column;
    background-color: var(--light-10);
    flex: 1;
}

.ed-body-block {
    width: 70%;
    float: left;
}

.ed-itinerary-header {
    padding: 24px 32px;
    background-color: var(--light-00);
    width: 100%;
    max-width: var(--xl);
}

.ed-main-content {
    display: flex;
    flex-direction: column;
    padding: 32px;
    gap: 16px;
    flex: 1;
}

.ed-destination-wraped {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 8px;

    transition: all 0.3s;
}

.ed-destination-card {
    position: relative;
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    flex-direction: row;
    background-color: var(--light-00);
    border-radius: 8px;
}

.ed-destination-card-title {
    display: block;
    position: relative;
    width: 50%;
    overflow: hidden;
    min-height: 260px;
    max-height: 380px;
    min-width: 0;
}

.ed-destination-card-info {
    position: relative;
    justify-content: space-between;
    display: flex;
    flex: 1;
    padding: 12px 24px;
    overflow: auto;
    min-height: 260px;
    max-height: 380px;
    flex-direction: column;
}

.ed-navbar {
    display: flex;
    justify-content: space-between;
}

.ed-price {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.ed-row-offer {
    display: flex;
    justify-content: space-between;
}

.ed-row-offer:nth-child(n + 5) {
    display: none;
}

.ed-partial-prices .ed-row-offer:nth-child(n + 5) {
    display: flex;
}

.ed-buttons-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
}

.ed-buttons {
    display: flex;
    width: 100%;
    gap: 8px;
}

.modal-buttons {
    display: flex;
    position: relative;
    gap: 8px;
    height: 48px;
    width: 100%;
    justify-content: flex-end;
    align-items: flex-end;
    background-color: var(--light-00);
    border-radius: 0 0 0 8px;
}

.modal-buttons-in {
    transform: translate(0, -4px);
    display: flex;
    position: relative;
    gap: 8px;
    padding: 12px;
    width: 100%;
    justify-content: flex-end;
    align-items: flex-end;
    background-color: var(--light-00);
    border-radius: 0 0 0 8px;
}

.ed-prices-wrapped {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s;
}

.ed-info-container {
    width: fit-content;
    border: 1px solid var(--light-20);
    border-radius: 8px;
    padding: 16px;
    background-color: var(--light-00);
}

.ed-info-container .icon {
    width: 42px;
    margin-right: 4px;
}

.ed-trip-content {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.ed-trip-content-column {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
}

.arrow::before {
    transform: rotate(180deg);
    opacity: 0.3;
}

@media screen and (max-width: 964px) {
    .ed-destination-card {
        flex-direction: column;
    }

    .ed-destination-card-info {
        width: 100%;
    }
    
    .ed-destination-card-title {
        width: 100%;
    }

    .ed-destination-card-info {
        overflow: auto;
        max-height: 640px;
    }

    .ed-navbar {
        padding: 16px 8px;
    }

    .ed-itinerary-header {
        padding: 16px 16px 8px 16px;
    }

    .ed-itinerary-header .h3 {
        font-size: 22px;
    }

    .ed-main-content {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .ed-main-content>div {
        width: 100%;
        padding: 0px;
    }

    .ed-trip-content {
        flex-direction: column;
    }
}

@media screen and (max-width: 640px) {
    .ed-info-container {
        flex-wrap: wrap;
        width: 100%;
    }

    .ed-info-container .icon {
        width: 36px;
    }

    .ed-navbar div {
        align-items: flex-end;
    }

}

@media screen and (max-width: 365px) {
    .ed-navbar {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .ed-navbar>a {
        align-self: flex-start;
    }

    .ed-navbar>div {
        flex-direction: row;
        justify-content: space-between;
    }

    .ed-info-container .icon {
        width: 28px;
    }

    .ed-buttons {
        flex-direction: column;
    }
}