/* =============================================
   COMPOSANT COMMUN — Toggle aide (info-toggle)
   Utilisé par : page_tableau_pays, page_carte_pays
   ============================================= */

.hiking-info-container {
    background: #ededed;
    padding: 8px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 800px;
}

.info-toggle-heading {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    font-weight: normal;
}

.info-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 15px;
    background: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #05668d;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-toggle:hover {
    background: #f8f8f8;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.info-toggle-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.info-toggle.open .info-toggle-arrow {
    transform: rotate(180deg);
}

.info-content {
    display: none;
    margin-top: 15px;
    padding: 20px 20px 4px 20px;
    background: white;
    border-radius: 8px;
    line-height: 1.5;
}

.info-content h3 {
    color: #05668d;
    font-size: 16px;
    font-weight: 600;
    margin: 2px 0 2px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-content h3:first-child {
    margin-top: 0;
}

.info-content ul {
    margin: 0;
    padding-left: 40px;
    list-style: none;
}

.info-content ul li {
    margin-bottom: 4px;
    position: relative;
    padding-left: 0;
    line-height: 1.4;
}

.info-content ul li::before {
    content: "▸";
    color: #05668d;
    font-weight: bold;
    position: absolute;
    left: -18px;
    font-size: 13px;
}

.info-content ul li img {
    max-width: 18px !important;
    max-height: 18px !important;
    width: auto !important;
    height: auto !important;
    display: inline !important;
    vertical-align: middle !important;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .hiking-info-container {
        padding: 8px;
        margin-top: 15px;
        margin-bottom: 25px;
        max-width: 100%;
    }

    .info-toggle {
        font-size: 14px;
        padding: 8px 12px;
    }

    .info-content {
        padding: 15px 10px 0px 10px;
        font-size: 14px;
    }

    .info-content h3 {
        font-size: 15px;
    }

    .info-content ul {
        padding-left: 30px;
    }

    .info-content ul li:last-child {
        margin-bottom: 0;
    }
}