/* *********************************** */
/* *** CSS pour interface ISY-CORE *** */
/***************************************/

/* PARTIE vue internaute = Template Kadence : Template Partenaire */
/* fichier : assets/css/isy-style.css */
/*******************************************************************/

/* *** Bandeau filtre actif partenaires *** */
.isy-filter-status {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    background: var(--global-palette3, #1a5276);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
}
.isy-filter-status strong {
    font-weight: 700;
}
.isy-filter-status-reset {
    margin-left: auto;
    color: #fff;
    text-decoration: underline;
    font-size: 13px;
    white-space: nowrap;
}
.isy-filter-status-reset:hover {
    opacity: 0.8;
}

/* Bouton Reset des filtres : état désactivé (aucun filtre actif) */
.isy-reset-disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    filter: grayscale(60%);
}

/* *** Shortcodes filtres partenaires *** */
.isy-ville-filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.isy-ville-filter-label {
    font-weight: 600;
    font-size: 14px;
}
.isy-ville-filter-select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    background: #fff;
}
.isy-reset-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}
.isy-reset-btn--active {
    background: var(--global-palette1, #e91e8c);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
.isy-reset-btn--active:hover {
    opacity: 0.85;
    color: #fff;
}
.isy-reset-btn--disabled {
    background: var(--global-palette1, #e91e8c);
    color: #fff;
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* Style spécifique pour les photos des partenaires */
.isy-img-container {
    width: 100%;
    aspect-ratio: 2 / 3; /* Format portrait forcé Desktop */
    overflow: hidden;
    border-radius: 25px;
    background: #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: block;
    position: relative;
    margin-bottom: 10px;
}

.isy-lightbox-trigger {
    display: block;
    width: 100%;
    height: 100%; 
}

.isy-fixed-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    transition: all 0.4s ease;
    cursor: zoom-in;
}

.isy-fixed-img:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* --- Lightbox --- */
.isy-lightbox-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 99999;
    cursor: zoom-out;
}

.isy-lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
}

/* --- Réseaux Sociaux --- */
#primary .entry-content .isy-partner-socials a.isy-social-link,
.isy-partner-socials a.isy-social-link {
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    display: inline-flex !important;
}

#primary .isy-partner-socials a.isy-social-link .dashicons {
    font-size: 50px;
    width: 50px;
    height: 50px;
    color: var(--global-palette12, #000) !important;
}

/* --- Contacts Desktop --- */
.isy-contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0;
}

.isy-contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.isy-label {
    font-weight: normal; 
    color: #555;
}
/* --- Message d'alert si on appel un partenaire inexistant --- */
.isy-alert-partner{
    background:#c62828;
    color:#fff;
    padding:15px 20px;
    margin-bottom:25px;
    border-radius:6px;
    font-weight:600;
    text-align:center;
}


/* --- Documents à télécharger [isy_documents] --- */
.isy-documents {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
}
.isy-doc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f7f9fc;
    border: 1px solid #dde3ed;
    border-radius: 6px;
    text-decoration: none !important;
    color: #1d2327 !important;
    transition: background 0.15s, border-color 0.15s;
}
.isy-doc-item:hover {
    background: #eef3fb;
    border-color: var(--global-palette1, #0073aa);
    text-decoration: none !important;
}
.isy-doc-item .isy-doc-icon {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: var(--global-palette1, #0073aa);
    flex-shrink: 0;
}
.isy-doc-item .isy-doc-label {
    flex: 1;
    font-weight: 500;
    font-size: 15px;
}
.isy-doc-item .isy-doc-dl {
    font-size: 13px;
    font-weight: 600;
    color: var(--global-palette1, #0073aa);
    white-space: nowrap;
    padding: 4px 12px;
    border: 1px solid var(--global-palette1, #0073aa);
    border-radius: 20px;
    flex-shrink: 0;
}

/* Paramétrage spéciaux pour le GSM */
@media (max-width: 767px) {
.isy-centre {
        text-align: center !important;
        display: block !important; /* S'assure que l'élément prend toute la largeur pour pouvoir se centrer */
        margin-left: auto !important;
        margin-right: auto !important;
        /*padding-left: 15px !important;
        padding-right: 15px !important;*/
    }
}




