/* ==========================================================
   travel.css - Mappa Travel (solo bandiere per paese)
   Separato da psm.css
   ========================================================== */

/* ---------- Mappa ---------- */
#travel-map {
    height: 600px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.trv-container {
    width: 95%;
    max-width: 1600px;
}

/* ---------- Marker: solo bandiera ---------- */
.trv-marker {
    background: none;
    border: none;
}

.trv-pin {
    position: relative;
    width: 64px;
    height: 74px;
    cursor: pointer;
    transition: transform .15s ease;
}

.trv-pin:hover {
    transform: translateY(-3px) scale(1.06);
}

.trv-flag {
    position: relative;
    width: 64px;
    height: 44px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 3px solid #67b0d1;
    padding: 3px;
    background: #dcedf5;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .4);
    overflow: hidden;
}

.trv-flag img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.trv-code {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px 0 3px;
    text-align: center;
    font-family: Montserrat, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 1;
    color: #444;
    background: #dcedf5;
}

/* punta del segnaposto */
.trv-pin::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #67b0d1;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3));
}

/* ---------- Adattamento schermi piccoli ---------- */
@media (max-width: 767px) {
    #travel-map {
        height: 450px;
    }
    .trv-container {
        width: 100%;
    }
}
