/* Resort browse cards — fixed crop, weather pill, image fallbacks */

.resort-card-media {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #4f759b 0%, #1a281f 100%);
}

.resort-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.resort-card-image.hidden {
    display: none;
}

.resort-card-image-fallback {
    z-index: 0;
}

.resort-card-media-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.35) 100%);
    z-index: 1;
}

.resort-pass-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 0.375rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.resort-weather-pill {
    white-space: nowrap;
}

.resort-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

/* Map carousel resort cards reuse same image block */
.map-carousel-card .resort-card-media {
    border-radius: 0.75rem 0.75rem 0 0;
}

/* Lift markers on map */
.lift-polyline {
    cursor: pointer;
}

.lift-marker-label {
    background: rgba(155, 34, 66, 0.94);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.35);
    text-align: center;
    line-height: 1.2;
}

.lift-tooltip {
    font-size: 12px;
    font-weight: 600;
}

.map-back-btn:not(.hidden) {
    display: inline-flex !important;
}
