.gm-style .gm-style-iw-c {
    max-width: 270px !important;
    min-width: 270px !important;
    width: 270px !important;
    max-height: clamp(160px, 28vw, 230px) !important;
    height: clamp(160px, 28vw, 230px) !important;
    background: rgba(244, 241, 237, 0.4) !important;
    backdrop-filter: blur(16px);
    border: none !important;
    border-radius: clamp(24px, 3vw, 32px) 0 clamp(24px, 3vw, 32px) 0 !important;
    box-shadow: none !important;
    padding: 16px !important;
}

.gm-style .gm-style-iw-tc::after {
    width: 25px;
    height: 12px;
    background: rgba(244, 241, 237, 0.8) !important;
    backdrop-filter: blur(16px);
}

.gm-style .gm-style-iw-c:focus {
    outline: none !important;
}

.gm-style-iw-ch {
    position: absolute;
    visibility: hidden !important;
}

.gm-style-iw-d {
    overflow: hidden !important;
}

.gm-style-iw-chr {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
}

.gm-style-iw-chr:focus {
    outline: none !important;
}

.gm-style-iw-chr:focus-visible {
    outline: none !important;
}

.theme-map-info-window {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-info-title {
    color: var(--v3-accent);
    font-family: var(--ff-neutra-text-alt);
    font-weight: 500;
    font-size: clamp(16px, 3vw, 28px);
    letter-spacing: 0;
    margin: 0;
}

.map-info-description {
    font-size: 14px;
    letter-spacing: 0;
    font-variant-numeric: lining-nums proportional-nums;
    color: var(--v3-gray);
    margin: 0;
}

.theme-map-info-window .map-info-thumbnail img {
    width: 238px !important;
    height: 120px !important;
    border-bottom-right-radius: clamp(18px, 3vw, 32px) !important;
    object-fit: cover;
}

.map-info-link {
    margin-top: 12px;
}

.map-info-button {
    display: inline-block;
    color: var(--v3-white-2);
    background: var(--v3-accent);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    transition: background 0.3s ease;
}

.map-info-button:hover {
    background: var(--v3-accent);
    color: var(--v3-white-2);
}

.map-info-current {
    margin-top: 12px;
    padding: 8px 16px;
    background: rgba(84, 29, 7, 0.1);
    color: var(--v3-accent);
    border-radius: 4px;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 991px) {
    .community-map {
        min-height: 320px;
        height: 320px !important;
    }

    .community-project-map {
        min-height: 320px;
        height: 100% !important;
    }
}