.hassele-routes-map,
.hassele-routes-map * {
    box-sizing: border-box;
}

.hassele-routes-map {
    --routes-cyan: #50c7cf;
    --routes-map-height: clamp(680px, calc(616px + 20vw), 1000px);
    --routes-list-offset: clamp(48px, calc(38.86px + 2.86vw), 80px);
    --routes-list-scroll-space: clamp(28px, calc(22.29px + 1.79vw), 48px);
    --routes-list-scroll-right: clamp(8px, calc(5.14px + .89vw), 18px);
    display: grid;
    grid-template-columns: 425px minmax(0, 1fr);
    width: 100%;
    height: var(--routes-map-height);
    min-height: var(--routes-map-height);
    overflow: hidden;
    border-radius: 14px;
    background: #1b66a0;
    color: #fff;
    font-family: "Public Sans", Arial, sans-serif;
    box-shadow: 0 16px 28px rgba(13, 61, 110, .28);
}

.hassele-routes-map__sidebar {
    position: relative;
    z-index: 800;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-width: 0;
    min-height: 0;
    overflow: visible;
    padding: 15px 0 20px;
    background: #1b5797;
}

.hassele-routes-map__search-wrap {
    padding: 0 26px 18px 29px;
}

.hassele-routes-map__search {
    width: 100%;
    height: 56px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    padding: 0 16px;
    outline: none;
    background: #fff;
    color: #224469;
    font: inherit;
}
.hassele-routes-map__search::placeholder {
    font-family: Inter;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0%;
    color: #828282;
}
.hassele-routes-map__list-wrap {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 0;
    margin-top: var(--routes-list-offset);
    overflow: visible;
    padding: 0 60px 0 11px;
}

.hassele-routes-map__sort-wrap {
    position: absolute;
    top: calc(var(--routes-list-offset) * -.725);
    left: 32px;
    z-index: 5;
    display: flex;
    height: 32px;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.hassele-routes-map__sort-icon {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.hassele-routes-map__sort-icon img {
    display: block;
    width: 12px;
    height: 26px;
    pointer-events: none;
}

.hassele-routes-map__sort-icon:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.hassele-routes-map__sort {
    display: inline-flex;
    height: 32px;
    align-items: center;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 0 27px 0 0;
    outline: none;
    background-color: transparent;
    background-image: url("https://erichassellandson.webstylze.com/wp-content/uploads/2026/06/open-select.svg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 16px auto;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}

.hassele-routes-map__sort:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.hassele-routes-map__sort-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 20;
    display: grid;
    width: min(490px, calc(100vw - 48px));
    gap: 24px;
    border-radius: 14px;
    padding: 34px 22px 36px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .2);
}

.hassele-routes-map__sort-menu[hidden] {
    display: none;
}

.hassele-routes-map__sort-menu > button {
    display: block;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: #828282;
    font-family: Inter, Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.hassele-routes-map__sort-menu > button:hover,
.hassele-routes-map__sort-menu > button:focus-visible,
.hassele-routes-map__sort-menu > button.is-active {
    color: #064f99;
}

.hassele-routes-map__sort-menu > button:focus-visible {
    outline: 2px solid #064f99;
    outline-offset: 4px;
}

.hassele-routes-map__list {
    position: relative;
    z-index: 2;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 17px 0 18px;
    scrollbar-width: none;
}

.hassele-routes-map__list::-webkit-scrollbar {
    display: none;
}

.hassele-routes-map__scroll {
    position: absolute;
    top: 0;
    right: var(--routes-list-scroll-right);
    bottom: 0;
    z-index: 4;
    display: none;
    width: 20px;
    grid-template-rows: 31px minmax(113px, 1fr) 31px;
    gap: 7px;
}

.hassele-routes-map--scroll-active .hassele-routes-map__scroll {
    display: grid;
}

.hassele-routes-map__scroll-track {
    position: relative;
    min-height: 113px;
}

.hassele-routes-map__scroll-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 113px;
    border-radius: 999px;
    background: #fff;
    cursor: grab;
}

.hassele-routes-map__scroll-thumb.is-dragging {
    cursor: grabbing;
}

.hassele-routes-map__scroll-arrow {
    width: 20px;
    height: 31px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px auto;
    cursor: pointer;
}

.hassele-routes-map__scroll-arrow.is-up {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 18'%3E%3Cpath fill='%23fff' d='M9.3 1.5a2 2 0 0 1 3.4 0l8.8 13.2a2 2 0 0 1-1.7 3.1H2.2a2 2 0 0 1-1.7-3.1L9.3 1.5Z'/%3E%3C/svg%3E");
}

.hassele-routes-map__scroll-arrow.is-down {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 18'%3E%3Cpath fill='%23fff' d='M12.7 16.5a2 2 0 0 1-3.4 0L.5 3.3A2 2 0 0 1 2.2.2h17.6a2 2 0 0 1 1.7 3.1l-8.8 13.2Z'/%3E%3C/svg%3E");
}

.hassele-routes-map__item {
    display: block;
    width: 100%;
    min-height: 62px;
    border: 0;
    border-radius: 999px;
    padding: 11px 24px 10px 32px;
    background: transparent;
    color: #fff;
    text-align: left;
    cursor: pointer;
    margin-bottom: 40px;
}

.hassele-routes-map__item:hover,
.hassele-routes-map__item:focus,
.hassele-routes-map__item.is-active {
    outline: none;
    background: #3183BE;
    color: #fff;
}

.hassele-routes-map__country,
.hassele-routes-map__port {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hassele-routes-map__country {
    font-family: Inter;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0%;
}

.hassele-routes-map__port {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0%;
}

.hassele-routes-map__stage {
    position: relative;
    z-index: 1;
    min-width: 0;
    overflow: hidden;
    background: linear-gradient(90deg, #226fa5 0%, #185796 100%);
}

.hassele-routes-map__canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: transparent;
    transition: bottom .18s ease;
}

.hassele-routes-map__stage.has-detail .hassele-routes-map__canvas {
    bottom: 340px;
}

.hassele-routes-map__zoom {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 650;
    display: grid;
    gap: 8px;
    pointer-events: auto;
}

.hassele-routes-map__zoom-button {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    padding: 0;
    background: rgba(49, 131, 190, .92);
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}

.hassele-routes-map__zoom-button:hover,
.hassele-routes-map__zoom-button:focus-visible {
    background: #3183BE;
    outline: none;
}

.hassele-routes-map__zoom-button:disabled {
    opacity: .45;
    cursor: default;
}

.hassele-routes-map .leaflet-container {
    background: transparent;
}

.hassele-routes-map__stage.has-detail .leaflet-map-pane {
    top: 80px;
}

.hassele-routes-map__marker-stack {
    display: flex;
    width: 150px;
    height: 88px;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.hassele-routes-map__marker-title {
    position: relative;
    display: flex;
    width: 142px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    padding: 7px 15px;
    background: var(--routes-cyan);
    color: #fff;
    font-family: Public Sans, Arial, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 13px;
    line-height: 14px;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    box-shadow: -2px 2px 8px 0 #00000040;
}

.hassele-routes-map__marker-title::before,
.hassele-routes-map__marker-title::after {
    position: absolute;
    left: 50%;
    display: block;
    content: "";
    transform: translateX(-50%);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.hassele-routes-map__marker-title::before {
    display: none;
}

.hassele-routes-map__marker-title::after {
    bottom: -15px;
    width: 28px;
    height: 15px;
    background: var(--routes-cyan);
}

.hassele-routes-map__marker-stack .hassele-routes-map__marker {
    margin-top: 14px;
}

.hassele-routes-map__marker {
    display: block;
    width: 10px;
    height: 10px;
}

.hassele-routes-map__marker img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hassele-routes-map__marker.is-active {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .78);
    box-shadow: 0 0 0 5px rgba(80, 199, 207, .28);
}

.hassele-routes-map__pin-wrap {
    width: 46px;
    height: 60px;
}

.hassele-routes-map__pin-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hassele-routes-map__detail {
    position: absolute;
    right: 53px;
    bottom: 28px;
    left: 52px;
    z-index: 600;
    display: block;
    padding: 0px 28px;
    border-radius: 0 0 12px 12px;
    background: transparent;
    color: #fff;
    opacity: 1;
    pointer-events: none;
    transform: translateY(0);
}

.hassele-routes-map__detail-top,
.hassele-routes-map__detail-grid,
.hassele-routes-map__detail-bottom {
    display: grid;
    gap: 28px;
}

.hassele-routes-map__detail-top {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .65);
}

.hassele-routes-map__detail-top .hassele-routes-map__carrier {
    justify-self: start;
}

.hassele-routes-map__detail-top .hassele-routes-map__logo {
    justify-self: end;
}

.hassele-routes-map__carrier {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
    font-family: Public Sans;
    font-weight: 400;
    font-size: 30px;
    line-height: 30px;
    letter-spacing: 0;
    pointer-events: auto;
}

.hassele-routes-map__carrier-toggle,
.hassele-routes-map__carrier-title {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 14px;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

.hassele-routes-map__carrier-title {
    cursor: default;
}

.hassele-routes-map__carrier-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.hassele-routes-map__carrier-arrow {
    display: block;
    width: 24px;
    height: 30px!important;
    flex: 0 0 auto;
    transition: transform .2s ease;
}

.hassele-routes-map__carrier [data-route-service] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.hassele-routes-map__carrier-toggle[aria-expanded="true"] .hassele-routes-map__carrier-arrow {
    transform: rotate(180deg);
}

.hassele-routes-map__carrier-menu {
    position: absolute;
    top: calc(100% + 22px);
    left: 0;
    z-index: 700;
    display: grid;
    width: min(490px, calc(100vw - 48px));
    max-height: 280px;
    overflow-y: auto;
    gap: 20px;
    border-radius: 14px;
    padding: 22px 24px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .28);
    pointer-events: auto;
}

.hassele-routes-map__carrier-menu[hidden] {
    display: none;
}

.hassele-routes-map__carrier-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 126px;
    min-height: 42px;
    align-items: center;
    gap: 20px;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: #064f99;
    font-family: Public Sans, Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
}

.hassele-routes-map__carrier-option:hover,
.hassele-routes-map__carrier-option:focus-visible,
.hassele-routes-map__carrier-option.is-active {
    color: #1b5797;
}

.hassele-routes-map__carrier-option:focus-visible {
    outline: 2px solid #1b5797;
    outline-offset: 4px;
}

.hassele-routes-map__carrier-option img {
    display: block;
    width: 126px;
    max-height: 48px;
    object-fit: contain;
    justify-self: end;
}

.hassele-routes-map__carrier-option--clear {
    margin-top: 4px;
    border-top: 1px solid rgba(0, 0, 0, .35);
    padding-top: 22px;
}

.hassele-routes-map__sort-menu .hassele-routes-map__carrier-menu {
    position: static;
    z-index: auto;
    width: 100%;
    max-height: none;
    overflow: visible;
    margin-top: -4px;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.hassele-routes-map__label {
    color: var(--routes-cyan);
    font-family: Public Sans;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0%
}

.hassele-routes-map__carrier .hassele-routes-map__label {
    font-size: inherit;
    font-weight: 700;
    font-size: 36px;
}

.hassele-routes-map__logo {
    display: block;
    width: 200px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 14px;
    text-decoration: none;
}

.hassele-routes-map__logo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hassele-routes-map__detail-top .hassele-routes-map__button-widget {
    justify-self: end;
    pointer-events: auto;
}

.hassele-routes-map__stage .hassele-routes-map__contact.logico-alter-button {
    --logico-button-text-color: #fff;
    --logico-button-border-color: #53CBD5!important;
    --logico-button-background-color: transparent;
    --logico-button-icon-color: #1b5797;
    --logico-button-text-hover: #fff;
    --logico-button-border-hover: #53CBD5!important;
    --logico-button-background-hover: #53CBD5!important;
    --logico-button-icon-hover: #fff;
    border-width: 2px !important;
}

.hassele-routes-map__stage .hassele-routes-map__contact.logico-alter-button:after {
    background: #53CBD5;
}

.hassele-routes-map__detail-grid {
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
    padding: 20px 0;
}

.hassele-routes-map__value {
    min-height: 30px;
    overflow: hidden;
    font-family: Public Sans;
    font-weight: 400;
    font-size: 30px;
    line-height: 30px;
    letter-spacing: 0;
    vertical-align: middle;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 15px;
}

.hassele-routes-map__detail-bottom {
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .65);
}

.hassele-routes-map__detail-bottom p {
    margin: 15px 0 0!important;
    font-family: Public Sans;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0%;
    vertical-align: middle;
}

.hassele-routes-map__capacity {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
    font-family: Public Sans;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0%;
    vertical-align: middle;
}

.hassele-routes-map__capacity i {
    display: inline-flex;
    width: 16px;
    height: 16px;
    margin-left: 5px;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    border-radius: 50%;
    vertical-align: 2px;
}

.hassele-routes-map__capacity i::after {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--routes-cyan);
    content: "";
}

@media (max-width: 1440px) {
    .hassele-routes-map {
        grid-template-columns: 25% minmax(0, 1fr);
    }


}

@media (max-width: 1350px) {
    .hassele-routes-map__detail-top {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 18px 28px;
    }

    .hassele-routes-map__detail-top .hassele-routes-map__carrier {
        flex: 1 1 auto;
    }

    .hassele-routes-map__detail-top .hassele-routes-map__logo {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .hassele-routes-map__detail-top .hassele-routes-map__button-widget {
        margin-left: 0;
    }

    .hassele-routes-map__detail-grid,
    .hassele-routes-map__detail-bottom {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: stretch;
    }

    .hassele-routes-map__detail-grid > *,
    .hassele-routes-map__detail-bottom > * {
        min-width: 0;
    }

    .hassele-routes-map__value {
        min-height: 0;
        overflow: visible;
        line-height: 1.12;
        white-space: normal;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .hassele-routes-map__detail-bottom p,
    .hassele-routes-map__capacity {
        line-height: 1.25;
    }
}

@media (max-width: 1100px) {
    .hassele-routes-map__detail {
        right: 28px;
        left: 28px;
    }

    .hassele-routes-map__detail-grid,
    .hassele-routes-map__detail-bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hassele-routes-map__carrier,
    .hassele-routes-map__carrier .hassele-routes-map__label,
    .hassele-routes-map__value {
        font-size: 28px;
    }

    .hassele-routes-map__label,
    .hassele-routes-map__detail-bottom p,
    .hassele-routes-map__capacity {
        font-size: 18px;
    }
}

@media (max-width: 900px) {
    .hassele-routes-map {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .hassele-routes-map__detail {
        right: 20px;
        left: 20px;
    }

    .hassele-routes-map__detail-grid,
    .hassele-routes-map__detail-bottom {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .hassele-routes-map {
        grid-template-columns: 1fr;
        grid-template-rows: 340px auto;
        height: auto;
        min-height: 0;
        gap: 0;
        border-radius: 0;
    }
    .hassele-routes-map__sidebar {
        height: 340px;
        max-height: 340px;
        padding-bottom: 0;
    }

    .hassele-routes-map__stage {
        display: grid;
        grid-template-rows: 400px auto;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .hassele-routes-map__canvas {
        position: relative;
        inset: auto;
        min-height: 400px;
    }

    .hassele-routes-map__detail {
        position: relative;
        right: 0px;
        bottom: 0px;
        left: 0px;
        overflow-y: auto;
        padding: 25px;
    }

    .hassele-routes-map__stage.has-detail .hassele-routes-map__canvas {
        bottom: auto;
    }

    .hassele-routes-map__stage.has-detail .leaflet-map-pane {
        top: 0;
    }

    .hassele-routes-map__item{
        margin-bottom: 0;
    }
    .hassele-routes-map__detail-top,
    .hassele-routes-map__detail-grid,
    .hassele-routes-map__detail-bottom {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hassele-routes-map__button-widget.hassele-posts-carousel__button-widget.button-widget {
        display: none;
    }

    .hassele-routes-map__carrier,
    .hassele-routes-map__value {
        font-size: 18px;
    }
}

@media (max-width: 766px) {
    .hassele-routes-map {
        height: auto;
        min-height: 0;
    }

    .hassele-routes-map__detail {
        max-height: none;
        overflow-y: visible;
    }
}
