/**
 * Styles pour le bloc Informations Contact Tourinsoft
 */

.tourinsoft-contact-block {
    background-color: var(--wp--preset--color--color-primary, var(--wp--preset--color--color-1, var(--wp--preset--color--color-2)));
    color: white;
    border-radius: 10px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

    .tourinsoft-contact-title {
        color: white;
        margin-bottom: 0.5rem;
    }

    .tourinsoft-contact-container {
        display: flex;
        flex-direction: column;
    }

    .tourinsoft-contact-map {
        width: 100%;
        height: 300px;
    }

    .tourinsoft-contact-info {
        padding: 1.5rem;
    }

    .tourinsoft-contact-address {
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .tourinsoft-contact-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .tourinsoft-contact-link {
        display: flex;
        align-items: center;
        color: white;
        text-decoration: none;
        transition: opacity 0.3s ease;
    }

    .tourinsoft-contact-link:hover {
        opacity: 0.8;
        text-decoration: underline;
        text-underline-offset: 3px;
        text-decoration-color: white;
        text-decoration-thickness: 2px;
    }

    .tourinsoft-contact-link-icon {
        width: 24px;
        height: 24px;
        margin-right: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tourinsoft-contact-link-text {
        font-size: 1rem;
    }

    .tourinsoft-contact-favorite {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border: 2px solid #e4a044;
        color: #e4a044;
        border-radius: 50%;
        margin-bottom: 1.5rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .tourinsoft-contact-favorite:hover {
        background-color: rgba(228, 160, 68, 0.2);
    }

    .tourinsoft-contact-favorite-icon {
        width: 24px;
        height: 24px;
    }

    .tourinsoft-contact-share {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tourinsoft-contact-share-text {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .tourinsoft-contact-social {
        display: flex;
        gap: 1rem;
    }

    .tourinsoft-contact-social-link {
        color: white;
        text-decoration: none;
        transition: opacity 0.3s ease;
    }

    .tourinsoft-contact-social-link:hover {
        opacity: 0.8;
    }

    .tourinsoft-contact-social-icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .leaflet-pane, .leaflet-top, .leaflet-control, .leaflet-bottom {
        z-index: 90 !important;
    }
}

@media (min-width: 768px) {
    .tourinsoft-contact-container {
        flex-direction: row;
    }
}