/* ==========================================================
   CST MAP PREMIUM RJ
   VersÃ£o: 4.0.0
========================================================== */

.costa-mapa-rj-premium {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    font-family: Montserrat, Arial, sans-serif;
}

.cst-map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1120px) 380px;
    gap: 36px;
    align-items: center;
    justify-content: center;
}

.cst-map-svg-wrap {
    width: 100%;
    max-width: 1120px;
    line-height: 0;
}

.costa-mapa-rj-premium svg {
    width: 100%;
    height: auto;
    display: block;
}

.costa-mapa-rj-premium svg [id^="marker-"],
.costa-mapa-rj-premium svg [id^="pin-"],
.costa-mapa-rj-premium svg [id^="pino-"],
.costa-mapa-rj-premium svg [id^="marcador-"] {
    cursor: pointer;
}

.costa-mapa-rj-premium svg .costa-municipio-ativo {
    fill: #D4AF37 !important;
    fill-opacity: 1 !important;
    stroke: #ffffff !important;
    stroke-width: 1.35px !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.24));
}

.costa-mapa-rj-premium svg .costa-marker-ativo {
    filter: drop-shadow(0 4px 9px rgba(0,0,0,0.42));
}

/* Remove logo interna do mapa, caso exista no SVG com algum destes IDs/classes */
.costa-mapa-rj-premium svg #logo,
.costa-mapa-rj-premium svg #logotipo,
.costa-mapa-rj-premium svg #costa-logo,
.costa-mapa-rj-premium svg .logo,
.costa-mapa-rj-premium svg .logotipo {
    display: none !important;
}

/* CARD LATERAL */

.costa-mapa-card-premium {
    position: relative;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
}

.costa-mapa-card-premium.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cst-destination-card-premium {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.32);
    box-shadow: 0 26px 70px rgba(6, 43, 87, 0.22);
    color: #062B57;
}

.cst-destination-card-image {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #062B57;
}

.cst-destination-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform .45s ease;
}

.costa-mapa-card-premium.show .cst-destination-card-image img {
    transform: scale(1.06);
}

.cst-destination-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,43,87,.82), rgba(6,43,87,.04));
}

.cst-card-fallback {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #062B57, #0B3C75);
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

.cst-card-fallback span {
    font-size: 24px;
    font-weight: 900;
}

.cst-destination-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: #D4AF37;
    color: #062B57;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
}

.cst-destination-card-content {
    padding: 24px;
}

.cst-destination-card-region {
    display: block;
    margin-bottom: 7px;
    color: #D4AF37;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.cst-destination-card-premium h3 {
    margin: 0 0 10px;
    color: #062B57;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 900;
}

.cst-destination-card-premium p {
    margin: 0 0 18px;
    color: #4F5B6B;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 500;
}

.cst-destination-card-services {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.cst-destination-card-services li {
    margin: 0 0 9px;
    color: #062B57;
    font-size: 14px;
    font-weight: 800;
}

.cst-destination-card-link {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #D4AF37;
    color: #062B57;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: .22s;
}

.cst-destination-card-link:hover {
    background: #062B57;
    color: #ffffff;
}

@media (max-width: 1280px) {
    .cst-map-layout {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .cst-map-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cst-map-svg-wrap {
        max-width: 100%;
    }

    .costa-mapa-card-premium {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .cst-destination-card-image {
        height: 180px;
    }

    .cst-destination-card-content {
        padding: 20px;
    }

    .cst-destination-card-premium h3 {
        font-size: 22px;
    }

    .cst-destination-card-premium p {
        font-size: 14px;
    }
}