/* ================================================
   SHORTCODES PAGE D'ACCUEIL
   ================================================ */

/* Messages urgents: voir urgent-messages.css */
.rc-urgent-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Prochaines randonnées */
.rc-prochaines-randonnees {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rc-rando-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    border-left: 4px solid var(--color-primary, #2B7A4B);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rc-rando-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.rc-rando-date {
    background: var(--color-primary, #2B7A4B);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    text-align: center;
    min-width: 55px;
    flex-shrink: 0;
}

.rc-rando-jour {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1;
}

.rc-rando-mois {
    display: block;
    font-size: 0.8em;
    text-transform: uppercase;
}

.rc-rando-info {
    flex: 1;
    min-width: 0;
}

.rc-rando-titre {
    margin: 0 0 0.25rem 0;
    font-size: 1.05em;
}

.rc-rando-titre a {
    color: var(--color-text, #333);
    text-decoration: none;
}

.rc-rando-titre a:hover {
    color: var(--color-primary, #2B7A4B);
}

.rc-rando-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85em;
    color: #666;
}

.rc-rando-btn {
    background: var(--color-primary, #2B7A4B);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.rc-rando-btn:hover {
    background: var(--color-primary-dark, #1a5a3a);
    color: white !important;
}

.no-upcoming-hikes {
    padding: 1rem;
    background: #e3f2fd;
    border-radius: 8px;
    color: #1565c0;
    text-align: center;
}

/* Mobile - Prochaines randonnées */
@media (max-width: 600px) {
    .rc-rando-item {
        flex-wrap: wrap;
    }

    .rc-rando-info {
        flex-basis: calc(100% - 70px);
    }

    .rc-rando-btn {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
}
