/**:not(svg, svg *){
     all: revert;
}*/

.gds-container a:hover {
    text-decoration: none;
}


.gds-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.gds-link-read-more{
    font-weight: bold;
}



.gds-button {
    padding: 10px;
    border-radius: 10px;
    display: inline-block;
    margin: 1rem 1rem 1rem 0;
    font-weight: bold;
    font-size: 14px;
    border: none;
    line-height: 1;
}

.gds-container hr {
    margin: 4em auto;
}


.gds-single hr {}

.gds-single h1 {
    font-size: 2.5em;
    margin: 1em 0 0.25em;
    padding: 0;
}

.gds-single h2 {
    font-size: 1.5em;
    margin: 1em 0;
    padding: 0;
}

.gds-single h3 {
    font-size: 1.125em;
    margin: 1em 0 0.25em;
}


.gds-single-item {
    margin: 0 0 2em;
}

.gds-single p {
    font-size: 1em;
}

.gds-single .gds-single-category {
    margin: 10px 0;
}


.gds-single .gds-single-infos .gds-single-header .gds-single-departure-arrival {
    margin: 2rem 0;
}


.gds-single .gds-single-container {
    display: flex;
}



.gds-single .gds-single-container .gds-single-infos {
    width: 60%;
}

.gds-single .gds-single-map,
.gds-map {
    width: 100%;
    height: 100%;
    min-height: 800px;
}

.gds-single .gds-single-infos .gds-single-header .gds-single-details {
    margin: 1em 0 2em 0;
}

.gds-single .gds-single-infos .gds-single-header .gds-single-details span {
    margin: 0 1rem 0 0;
}


.gds-single .gds-single-infos .gds-single-header .gds-single-details img,
.gds-single .gds-single-infos .gds-single-header .gds-single-details svg,
.gds-single-card-details img,
.gds-single-card-details svg,
.gds-map .details img,
.gds-map .details svg,
.gds-trek-card .gds-trek-card-details img,
.gds-trek-card .gds-trek-card-details svg,
.gds-nearly-card .gds-nearly-card-details img,
.gds-nearly-card .gds-nearly-card-details svg {
    width: 24px;
    height: 100%;
    vertical-align: middle;
}


.gds-single .gds-single-teaser {
    font-weight: bold;
    font-size: 1.25em;
    margin: 2em 0;
}

.gds-single-ambiance {
    font-weight: normal;
    font-size: 1em;
    margin-bottom: 1em;
}

.gds-single-images {
    margin: 0 0 2em 0;
}


/* Style des onglets */
.gds-tabs {
    display: flex;
    margin-bottom: 1em;
    border-bottom: 1px solid #CCC;
}

/* Boutons des onglets */
.gds-tab-link {
    background-color: #CCC;
    border: none;
    cursor: pointer;
    padding: 15px 15px 10px 15px;
    transition: 0.3s;
    font-size: 1em;
    line-height: 1;
    font-weight: bold;
    height: auto;
    border-radius: 10px 10px 0 0;
    margin-right: 5px;
}

/* Changement de couleur au survol */
.gds-tab-link:hover {
    background-color: #ddd;
}

.gds-tab-link:focus-visible,
.gds-button:focus-visible,
.gds-filter-block input[type="checkbox"]:focus-visible,
.gds-container a:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

/* Style du contenu des onglets */
.gds-tab-content {
    display: none;
    padding: 6px 12px;
    border-top: none;
}

/* Style du contenu de l'onglet actif */
.gds-tab-link.active,
.gds-active-tab {
    display: block;
    border-left: 1px;
    border-top: 1px;
    border-right: 1px;
    border-bottom: 0;
    border-color: #CCC;
    background-color: #FFF;
    border-style: solid;
    bottom: -1px;
    position: relative;
}




.gds-single .gds-single-description ol {
    position: relative;
    list-style: none;
    counter-reset: item 0;
}

.gds-single .gds-single-description ol::before {
    content: " ";
    background-color: #333;
    width: 3px;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 12px;
    z-index: 0;
}

.gds-single .gds-single-description ol>li {
    position: relative;
    margin-top: 2rem;
    padding-left: 4rem;
    /*    list-style: none;*/
    counter-increment: item 1;
}

.gds-single .gds-single-description ol>li:before {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    content: counter(item);
    border-radius: 100%;
    width: 26px;
    height: 26px;
    margin-right: 14px;
    color: white;
    background-color: red;
    display: flex;
    -moz-box-pack: center;
    justify-content: center;
    -moz-box-align: center;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 20px;
}

.gds-single .gds-single-description li ol,
.gds-single .gds-single-description li ul {
    /*    margin-top: 6px;*/
}

.gds-single .gds-single-description ol ol li:last-child {
    margin-bottom: 0;
}


.gds-single .gds-single-description li::before {
    /*  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  content: counter(item);
  border-radius: 100%;
  width: 26px;
  height: 26px;
  margin-right: 14px;
  color: white;
  background-color: red;
  display: flex;
  -moz-box-pack: center;
  justify-content: center;
  -moz-box-align: center;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 20px;*/
}




.gds-single-gallery a:not(:first-child) img {
    display: none;
}

.gds-single-information-desk {
    display: flex;
    column-gap: 1em;
}

.gds-single-information-desk .gds-single-information-desk-name {
    font-weight: bold;
}

.gds-single-information-desk .gds-single-information-desk-links a:nth-of-type(2) {
    margin-left: 1em;
}

.gds-container #map {
    height: 75%;
}

.gds-single #gds-single-elevation-div {
    width: 100%;
    min-height: 460px;
    margin-top: 2.5rem;
}

.gds-single-nearby-pois {
    /*display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    grid-auto-rows: minmax(100px, auto);*/
}


.gds-treks-cards .gds-trek-card {
    display: flex;
    gap: 1em;
    margin: 0 0 4em 0;
}

.gds-nearly-card .gds-nearly-card-thumbnail,
.gds-trek-card .gds-trek-card-thumbnail {
    max-width: 40%;
    min-width: 320px;
    max-height: 240px;
    overflow: hidden;
    position: relative;
}

.gds-nearly-card .gds-nearly-card-thumbnail a img,
.gds-trek-card .gds-trek-card-thumbnail a img {
    width: 100%;
}

.gds-nearly-card .gds-nearly-card-pictogram {
    display: none;
    position: absolute;
    left: 10px;
    top: 10px;
    border-radius: 16px;
    width: 31px;
    border: 2px solid #FFF;
}

.gds-nearly-card h4 {
    font-size: 1.5em;
    margin: 0 0 0.5em 0;
    padding: 0;
}

p.gds-nearly-card-city{
    margin: 0 0 0.25em;
}

/*.gds-nearly-card .gds-nearly-card-category-type:before,
.gds-single .gds-single-category .gds-single-category-type:before {
    content: ' - ';
}*/

.gds-nearly-card .gds-nearly-card-info {}

.gds-nearly-card .gds-nearly-card-info p {
    line-height: 1.5;
    margin-bottom: 1rem;
}

.gds-nearly-card a.gds-more-info {
    font-weight: bold;
}


.gds-single-card {
    display: flex;
    margin-bottom: 4rem;
}

.gds-single-card-info {
    flex: 1;
    margin-left: 2rem;
}

.gds-single-card-image {
    flex: 1;
    max-width: 40%;
    min-width: 320px;
    max-height: 240px;
    overflow: hidden;
}


.gds-single-card-title {

    font-size: 1.5em;
}

.gds-nearly-card-teaser {
    line-height: 1.5;
    margin: 0.5rem 0;
}



.gds-single-card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
    width: 100%;
    margin-top: 10px;
}

.gds-single-card-difficulty {}


.gds-single-card-duration {}

.gds-single-card-length {}

.gds-single-card-ascent {}


.gds-single-touristiccontents {
    margin: 4em 0 0;
}

.gds-map .leaflet-popup-content-wrapper {
    padding: 30px;
}


.gds-map .leaflet-popup-content-wrapper .leaflet-popup-content h3 {
    font-size: 16px;
    margin: 16px 0;
    text-transform: initial;
}

.gds-map .leaflet-popup-content-wrapper .leaflet-popup-content p {
    margin: 0 0 8px 0;
    width: 50%;
    display: inline-block;
}

.gds-container .marker-cluster div {
    font-weight: bold;
}

.gds-map-panel,
.gds-treks-list {
    display: none;
}

.gds-treks-list {
    display: block;
}

.gds-filter-toggle {
    min-width: 14rem;
}

.gds-filters-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin: 0 0 2rem;
    padding: 1.5rem;
    border: 1px solid #d8e1de;
    border-radius: 12px;
    background-color: #f7f9f8;
}

.gds-filters-container[hidden] {
    display: none;
}

.gds-filter-block input[type="checkbox"] {
    all: revert;
}

.gds-filter-block label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.5rem 0 0;
    cursor: pointer;

}

.gds-filter-block fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.gds-filter-block legend {
    font-size: 1em;
    font-weight: bold;
}

.gds-filter-actions {
    grid-column: 1 / -1;
}

.gds-filter-actions .gds-button {
    margin: 0;
}

.gds-treks-found-count {
    font-weight: bold;
    margin: 30px 0;
}


.gds-treks-cards {}

.gds-treks-cards .gds-trek-card,
.gds-nearly-card {
    /*    display: flex;
    flex-wrap: wrap;*/
}

.gds-nearly-card {
    margin-bottom: 3rem;
}

.gds-single-nearby .gds-nearly-card:last-child {
    margin-bottom: 0;
}

.gds-trek-archive .gds-archive-intro {
    max-width: 52rem;
    margin: 0 0 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.gds-treks-cards .gds-trek-card .gds-trek-card-title h3 {
    all: revert;
    font-size: 1.25em;
    margin: 0;
    padding: 0;
    text-transform: none;
}

.gds-treks-cards .gds-trek-card .gds-trek-card-thumbnail,
.gds-nearly-card .gds-nearly-card-thumbnail {
    width: 50%
}

.gds-treks-cards .gds-trek-card .gds-trek-card-info,
.gds-nearly-card .gds-nearly-card-info {
    width: 50%;
}

@media screen and (max-width: 768px) {

    .gds-treks-cards .gds-trek-card,
    .gds-nearly-card .gds-flex,
    .gds-single-card,
    .gds-single-information-desk {
        flex-direction: column;
    }

    .gds-treks-cards .gds-trek-card .gds-trek-card-thumbnail,
    .gds-treks-cards .gds-trek-card .gds-trek-card-info,
    .gds-nearly-card .gds-nearly-card-thumbnail,
    .gds-nearly-card .gds-nearly-card-info {
        width: 100%;
        max-width: 100%;

    }

    .gds-treks-cards .gds-trek-card .gds-trek-card-thumbnail,
    .gds-nearly-card .gds-nearly-card-thumbnail {
        aspect-ratio: 3 / 2;
        /* Rapport hauteur-largeur de 3:2 */
        overflow: hidden;
        max-height: 100%;
        margin-bottom: 10px;
        min-width: 0;
    }

    .gds-treks-cards .gds-trek-card .gds-trek-card-thumbnail img,
    .gds-nearly-card .gds-nearly-card-thumbnail img:not(.gds-pictogram) {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-width: 100%;
    }

    .gds-single-card-image {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }

    .gds-single-card-info {
        margin-left: 0;
    }

    .gds-trek-card .gds-trek-card-details,
    .gds-nearly-card .gds-nearly-card-details,
    .gds-single .gds-single-details {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75em 1em;
        justify-content: flex-start;
    }

    .gds-single .gds-single-map,
    .gds-map {
        min-height: 420px;
    }

    .gds-tabs {
        align-items: stretch;
    }

    .gds-tab-link {
        flex: 1 1 0;
        padding: 12px 8px;
    }
}

.gds-treks-cards .gds-trek-card .gds-trek-card-info p {
    margin: 0;
    line-height: 1.75;
}

.gds-trek-card .gds-trek-card-details,
.gds-nearly-card .gds-nearly-card-details {
    margin: 0 0 0.5em 0;
    display: flex;
    justify-content: space-between;
}

.gds-trek-card .gds-trek-card-details>div,
.gds-nearly-card .gds-nearly-card-details>div {
/*    display: inline-block;*/
/*    margin: 0 10px 0 0;*/
/*    width: 50%;*/
}


.marker-point-reference-label {
    border-radius: 50%;
    background-color: rgb(232, 55, 55);
    display: grid;
    place-items: center;
    color: rgb(255, 255, 255);
    height: 26px;
    width: 26px;
}
