.travel-map-page {
    display: grid;
    gap: 1rem;
}

.travel-map-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.travel-map-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(241, 248, 255, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.1rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    padding: 0.9rem;
}

.travel-map-wrapper {
    position: relative;
    width: 100%;
    height: min(70vh, 720px);
    min-height: 480px;
    border-radius: 0.85rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 12%, rgba(125, 171, 255, 0.34) 0%, rgba(147, 197, 253, 0) 38%),
        radial-gradient(circle at 85% 82%, rgba(37, 99, 235, 0.26) 0%, rgba(59, 130, 246, 0) 44%),
        linear-gradient(180deg, #f5faff 0%, #e8f2ff 100%);
}

.travel-map-chart {
    width: 100%;
    height: 100%;
}

.travel-map-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.travel-map-overlay polyline {
    stroke: rgba(30, 64, 175, 0.72);
    stroke-width: 1.4;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 3 3;
    opacity: 0.72;
}

.travel-map-cards-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.travel-map-info-card {
    position: absolute;
    z-index: 3;
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: #dbeafe;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    pointer-events: auto;
}

.travel-map-poster-card {
    min-height: 168px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.travel-map-poster-no-image {
    background-image: linear-gradient(135deg, #60a5fa 0%, #1d4ed8 100%);
}

.travel-map-poster-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0.38) 55%, rgba(2, 6, 23, 0.66) 100%);
}

.travel-map-info-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 0.55rem 0.62rem 0.58rem;
    color: #f8fafc;
}

.travel-map-info-content h2 {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.travel-map-info-content p {
    margin: 0.2rem 0 0;
    color: rgba(248, 250, 252, 0.95);
    font-size: 0.72rem;
    line-height: 1.25;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.travel-map-info-content p span {
    display: inline-block;
    color: rgba(191, 219, 254, 0.95);
    width: 36px;
    text-transform: lowercase;
}

.travel-map-info-desc {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 991.98px) {
    .travel-map-wrapper {
        height: 70vh;
        min-height: 420px;
    }
    .travel-map-info-card {
        width: 164px !important;
        min-height: 152px;
    }
}
