/* Styles desktop (min-width: 768px) */
summary{
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items:baseline;
}

h2 {
    color: var(--grey-color);
    font-weight: bold;
}

.gallery-container {
    background: var(--background-color);
    position: relative;
    .entete-quart-rond-svg {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 10%;
        max-width: 10%;
        height: auto;
        min-width: 10%;
        z-index: 200;
        pointer-events: none;
        filter: brightness(100%) !important;
    }
}
.obt__gallery-one {
    display:flex;
    justify-content: center;

}


/* Bouton "Voir toutes les photos" */

.obt__gallery-plus {
    padding-top:2.5em;
}


/* Modale */
.obt__gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.obt__gallery-modal.show {
    display: flex;
}

.obt__gallery-modal-content {
    background: white;
    border-radius: 0.5rem;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
}

.obt__gallery-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    z-index: 1001;
}

.obt__gallery-modal-close:hover {
    color: #000;
}

/* Grille de photos dans la modale */
.obt__gallery-modal-grid {

    margin-top: 2rem;
}

.obt__gallery-modal-grid figure {
    margin: 0;
}

.obt__gallery-modal-grid img {
    width: 100%;
    height: auto;
    border-radius: 0.25rem;
    object-fit: cover;
}

.obt__gallery-modal-grid figcaption {
    font-size: 0.75rem;
    color: #666;
    padding: 0.5rem 0;
}

/* Shares */
.obt__share{
    cursor: pointer;
}
.obt__share_sharesub {
    display: none;
    position: absolute;
    top: 30px;
    z-index: 100;
}
.obt__share_sharesub.show {
    display:flex;
}
.block-ariane_share{
    a{
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100%;
    }
}

.obt__title  {
    font-family: var(--font-figtree); 
    text-align: -webkit-center;
}
.obt_commune {
        color:white;
        text-transform: uppercase;
        text-align: center;
        padding: 0.5em;
        font-weight: bold;
        background-color: var(--main-color);
        width: max-content;
}
figcaption {
                position:relative;
                bottom:2em;
                font-size:0.60em;
                color:white;
}
.obt__chapo {
      padding: 2em;
      text-align: center;
      font-size:1.25em;
}
.obt_desc_contact {
    background-color: rgb(174, 80, 71, 0.2);
    padding: 1em 0;
    .row > .colored-bg-full {
        border-radius: 1em;
        color: white;
    }
      
}
.obt__desc_contact-inner {
    justify-content: center;

}
.obt__contacts__telmailurl {
        
    a {
        color: white; }
    a:hover {
            text-decoration: underline;
        }
    a[target=_blank]{
    background: no-repeat right var(--external-url-white);
    padding-right: 1.25em;
    background-size: 20px;
    }       
}
.obt__contacts__coordonnees a[target="_blank"] {
    background-color: white;
    background-image: var(--external-url-rosange);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 20px;
    padding-right: 1.75em;
}
.obt__contacts__coordonnees {

    a, .obt__transp-commun {
        background-color: white;
        color:var(--main-color);
        padding:0.25em 0.5em;
        border-radius:0.75em; 
        max-width: 300px;
        
    }


    a:hover, .obt__transp-commun:hover {
            background-color: var(--main-color);
            color: white;
            border-color: white;
            border-width: 1px;
            border-style: solid;
        }   
}


.obt__description {
      padding: 0 2em;

}
.obt__communeh2 {
    font-size: 0.85em;
    font-weight: normal;
}
.obt__TD h3::before {
    content: url("../icons/tourisme/eco-feuille-a-4dsX1.svg");
    margin-right: 1em;
    height:42px;
    width:auto;
    display: inline-flex;
    vertical-align: middle;
}

.obt__labels {
    padding:2em
}

.obt__contacts-titre {
        text-align: center;
        padding-top:1em;
}
.obt__contacts-details summary{
    justify-content: left;
}
.obt__contacts-details-item {
    display: flex;
}

.dd__oi_favoris {
    display:inline-block;
    background: url("../icons/fav-uclGH4y.svg") center/contain no-repeat;
    border: 0 none;
    width: 28px;
    height: 28px;
    cursor: pointer;
}
.dd__oi_favoris.favoris-enabled {
    background: url("../icons/favo-KToNNzx.svg") center/contain no-repeat;
}


.obt__equipement-titre {
    text-transform: uppercase;
}
.obt__equipement-titre {    
    display: flex;
    justify-content: space-between;
    align-items: center;
   
    text-align: left;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease-in-out;
    line-height: 2.5em !important;
    width:100%;
}

.obt__equipement-titre::after {
    content: url("../icons/selecter-noir-NxbuWQU.svg");
    font-family:'Montserrat', sans-serif;
    color: var(--grey-color, #666);
    transition: transform 0.3s ease-in-out;
    flex-shrink: 0;
    margin-left: 1em;
    font-size:0.75em;
}

details:open > summary {
    ::after {
    transform: rotate(180deg);
    }
}
.obt__equipements__services, .obt__equipements__note {
    align-items: center;
    margin: 0 20%;
    text-align: left;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease-in-out;
    
}
.obt__chuchoteurs_section {
    background-color: var(--background-color);
    padding: 2em 0;
    margin-top: 2em;
}

.obt__chuchoteurs {
    background-color: white;
    border-radius: 2.5%;
    
}
.secret h3 {
    color: black;
    padding: 0 1em;
}
.secret {
    margin-top: 2.5em;
    color: black;
    font-size: 0.85em;
}
.secret-description {
    padding: 0 0 1em 1em;
}
.link-card {
    border-color: var(--main-color);
    border-width: 1px;
    border-style: solid;
    text-align: center;
    width: max-content;
    padding: 10px 15px;
    border-radius: 25px;
    margin: 1em;
    color:var(--main-color);
    
}
.link-card:hover {
    background-color: var(--main-color);
    color: white;
}

.obt__chuchoteurs_cnt {
    background-color: white;
    border-radius: 25px;
    padding-bottom: 2em;
}
.secret-img-chucho {
    padding: 0 0 1em 0;
    text-align: center  ;
    > figcaption {
        font-size: 1em;
        color: black;
        position: inherit;

    }
}
.obt__fg_note li {
    list-style: none;

}
.is-style-stripes {
    margin: auto;
    max-width: 1200px;
    width: 95%;
    justify-content: center;
    display: grid;
    background-color: transparent;
    border-bottom: 1px solid #f0f0f0;
    figure {
        table {
        width: 100%;
            thead {
                border-bottom: 3px solid;
            }
           
        }
        figcaption {
            color: var(--grey-color);
            position: inherit;
            margin: 1em;
            text-align: left;
        }
    }
}
.geo-container {
    background-color: var(--background-color);
}
.geoinfos {
    display: block;
    width: 100%;
    border-bottom: #000 1px solid;
    .geoinfos__header,
    .geoinfos__body {
        display: block;
    }

    .geoinfos__row {
        display: block;
    }

    .geoinfos__cell {
        display: block;
        padding: 12px 8px;
        vertical-align: middle;
        text-align: center;
        
    }
    .geoinfos__denivele, .geoinfos__altitude, .geoinfos__duree, .geoinfos__distance {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        border:none;
    }
    .geoinfos__denivele::before, .geoinfos__altitude::before, .geoinfos__duree::before, .geoinfos__distance::before {
        content: "";
        display: inline-block;
        width: 2rem;
        height: 2rem;
        flex-shrink: 0;
    }
    .geoinfos__denivele::before {
        background: url("../icons/tourisme/denivele-light-IurbhcO.svg") center/contain no-repeat;

    }
    .geoinfos__altitude::before {
        background: url("../icons/tourisme/hauteur-light-rW0EnCU.svg") center/contain no-repeat;

    }
    .geoinfos__duree::before {
        background: url("../icons/tourisme/duree-light-OA8Y9eZ.svg") center/contain no-repeat;
    }
    .geoinfos__distance::before {
        background: url("../icons/tourisme/itineraire-light-CXPgJq3.svg") center/contain no-repeat;
    }

    /* En-têtes */
    .geoinfos__header  {
        display:none;
    }    


    /* Corps */
    .geoinfos__body .geoinfos__cell p {
        margin: 0;
    }

}
.geoinfos__downloads {
        font-weight: bold;
        text-transform: uppercase;
        margin-bottom: 0.5em; 
        font-size: 0.85em;      
    }
.obt__contacts-details-geoinfos a {
    color: #000;
}
.geoinfos__massifs {
    margin : auto 10em;
    padding-top: 2em;
    text-align: center;
}
.obt_img_float-left {
    float: left;
}
@media screen and (min-width: 768px) {
    main{
        padding-top: 120px;
    }
    .obt__gallery{
        display:grid;
        grid-template:
            "a a b" 200px
            "a a c" 200px / 1fr 1fr 1fr;
        figure{
            margin:1em;
            img{
                object-fit: contain;
            }
            
        }
        figure:first-child{
            grid-area: a;
        }
        figure:nth-child(2){
            grid-area: b;
        }
        figure:nth-child(3){
            grid-area: c;
        }
    }
    .obt__title_prevnext{
        justify-content: space-between;
        align-items: center;
    }

    .block-ariane{
        justify-content: space-between;
        
    }
    .secretslist{
        padding: 0 0 1em 0;
    }
    .obt__chapo {
      padding: 3em 5em;
    }
    .obt__desc_contact-inner {
    display: grid  ;
    grid-template-columns: 66% auto;
    }
    .secretslist {
        padding: 2em;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1em;
        min-width: 0;
        flex: 1 1 auto;
       
    }
    .geoinfos {
    display: table;
    width: 100%;
    border-bottom: #000 1px solid;
    .geoinfos__header,
    .geoinfos__body {
        display: table-row-group;
    }

    .geoinfos__row {
        display: table-row;
    }

    .geoinfos__cell {
        display: table-cell;
        padding: 12px 8px;
        vertical-align: middle;
        text-align: center;
        border-bottom: 1px solid #e0e0e0;
    }
        /* En-têtes */
    .geoinfos__header .geoinfos__cell {
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.75rem;
        border-bottom: 2px solid #e0e0e0;
        
    }  
    
} 
.geoinfos__doc {
        columns: 2;

        padding: 1em 0;
    }

    .geoinfos__contact {
        break-before: column;
        -webkit-column-break-before: always;
        page-break-before: always;
        break-inside: avoid;
    }
}