/* =========================
   Google Maps - Card adhérent
========================= */

.infowindow-adherent {
    position: relative;
    background: #F5F5F5;
    border-radius: 12px;
    padding: 30px;
    padding-right: 30px;
    min-width: 280px;
    max-width: 340px;
    box-sizing: border-box;
}

.infowindow-adherent .adherent-card-logo-wrap {
    height: 90px;
    width: 100%;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.infowindow-adherent .adherent-card-logo {
    width: 100%;
    height: 90px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.infowindow-adherent .adherent-card-title {
    margin: 0 0 22px 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #26305F;
    text-transform: uppercase;
}

.infowindow-adherent .adherent-card-meta {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 24px 0;
    padding-right: 0;
}

.infowindow-adherent .adherent-card-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.infowindow-adherent .adherent-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    min-width: 20px;
    height: 20px;
    color: #5DBAA2;
    line-height: 1;
    flex-shrink: 0;
}

.infowindow-adherent .adherent-card-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.infowindow-adherent .adherent-card-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #26305F;
}

.infowindow-adherent .btn-adherent-map {
    position: relative;
    width: 42px;
    height: 42px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #26305F;
    color: #5DBAA2;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    transform: scale(1);
}

.infowindow-adherent {
    display: flex;
    flex-direction: column;
}

.infowindow-adherent .btn-adherent-map:hover {
    background: #5DBAA2;
    color: #26305F;
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(38, 48, 95, 0.18);
}

.infowindow-adherent .btn-adherent-map-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    line-height: 1;
}

.infowindow-adherent .btn-adherent-map-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

/* Conteneur Google Maps */
.gm-style .gm-style-iw-c {
    padding: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: transparent !important;
    box-shadow: none !important;
    max-width: none !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.gm-style .gm-style-iw-tc {
    display: none !important;
}

.gm-style .gm-style-iw-ch {
    padding-top: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.gm-style .gm-style-iw-chr {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 5 !important;
}

/* Bouton fermeture Google */
.gm-style .gm-ui-hover-effect {
    top: 0 !important;
    right: 0 !important;
    width: 24px !important;
    height: 24px !important;
    opacity: 1 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.gm-style .gm-ui-hover-effect span {
    margin: 0 !important;
}

.gm-style .gm-ui-hover-effect img,
.gm-style .gm-ui-hover-effect span {
    filter: grayscale(1) brightness(0.45);
}

/* Responsive */
@media (max-width: 767px) {
    .infowindow-adherent {
        padding: 20px;
        padding-right: 20px;
        min-width: 240px;
        max-width: 280px;
    }

    .infowindow-adherent .adherent-card-title {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .infowindow-adherent .adherent-card-logo-wrap {
        height: 90px;
        margin-bottom: 20px;
    }

    .infowindow-adherent .adherent-card-logo {
        height: 90px;
    }

	.infowindow-adherent .adherent-card-meta {
	    margin-bottom: 20px;
	}
}