/* ==========================================================================
   Randonnées préférées - Guide Régions
   Snippet : guide_regions_randos_preferees
   ========================================================================== */

.titre-h3-randos-preferees {
    color: #05668d;
    font-size: 20px;
    line-height: 1.4em;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: #05668d;
    transition: text-decoration 0.2s ease;
    cursor: pointer;
    display: inline;
}

.titre-h3-randos-preferees:hover {
    text-decoration: none !important;
    transform: translateY(-1px);
}

.randos-preferees-row {
    display: flex;
    margin-bottom: 10px;
    margin-top: 10px;
    align-items: flex-start;
}

.randos-preferees-row .image-container {
    width: 28%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.randos-preferees-row .image-container img {
    width: 275px !important;
}

.randos-preferees-row .texte-container {
    width: 72%;
    padding-left: 30px;
}

.randos-preferees-row .texte-container > div {
    max-width: 700px;
    margin: 0 auto;
}

/* Style pour les liens dans les descriptions */
.randos-preferees-row .texte-container a {
    text-decoration: underline;
}

/* Classe pour les conteneurs */
.randos-preferees-container {
    padding: 30px calc(50vw - 50% + 20px);
}

/* Titre sous l'image principale */
.randos-preferees-image-titre-mobile {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #333;
    text-align: center;
    font-weight: 500;
}

.randos-preferees-image-titre-mobile a {
    color: #333;
    text-decoration: underline;
}

.randos-preferees-image-titre-mobile a:hover {
    text-decoration: none;
}

/* Responsive pour mobile/tablette */
@media (max-width: 1023px) {
    .randos-preferees-container {
        padding: 20px 0px !important;
    }

    .randos-preferees-content-wrapper {
        max-width: 92%;
        margin-left: auto;
        margin-right: auto;
    }

    .randos-preferees-row {
        flex-direction: column-reverse !important;
    }

    .randos-preferees-row .image-container {
        width: 100% !important;
        margin-top: 25px;
    }

    .randos-preferees-row .image-container img {
        width: 320px !important;
    }

    .randos-preferees-row .texte-container {
        width: 100% !important;
        padding-left: 0 !important;
    }

    .randos-preferees-row .texte-container > div {
        max-width: 800px;
    }
}