/* CSS específico del módulo Excursiones. */
   
.ccch-excursiones {
    margin: 2rem 0;
    font-size: 0.95rem;
}

.ccch-meses {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.ccch-mes-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.2;
    color: #000;
    cursor: pointer;
}

.ccch-mes-btn.pasado {
    opacity: 0.45;
}

.ccch-mes-btn.actual {
    font-weight: 600;
}

.ccch-mes-btn.futuro {
    opacity: 0.8;
}

.ccch-mes-btn.activo {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ccch-mes-bloque {
    margin-bottom: 2rem;
}

.ccch-excursion {
    border: 1px solid #ddd;
    padding: 0.75rem;
    margin-bottom: 1rem;
    background: #fff;
}

.ccch-excursion.is-next {
    background-color: #f6f2ea;
    border-left: 4px solid #c8b89a;
    padding-left: 0.9rem;
}

.ccch-excursion-titulo {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4em;
    margin: 0 0 0.5rem 0;
    cursor: pointer;
    font-size: 1.05em;
    line-height: 1.3;
}

.ccch-excursion-titulo > span:first-child,
.ccch-excursion-titulo > strong {
    font-weight: 600;
}

.ccch-excursion-titulo small {
    font-size: 0.85em;
    color: #666;
}

.ccch-excursion-puntos {
    margin-left: 0.5em;
    font-weight: 600;
    font-size: 0.9em;
    color: #8a7b5a;
    white-space: nowrap;
}

.ccch-excursion-titulo::before {
    content: "▸";
    display: inline-block;
    margin-right: 0.35em;
    font-size: 0.9em;
    color: #777;
}

.ccch-excursion.is-open .ccch-excursion-titulo::before {
    content: "▾";
    color: #555;
}

.ccch-recorridos {
    display: none;
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.ccch-excursion.is-open .ccch-recorridos {
    display: table;
}

.ccch-recorridos th,
.ccch-recorridos td {
    border: 1px solid #ccc;
    padding: 0.4rem 0.5rem;
    text-align: left;
    vertical-align: top;
}

.ccch-recorridos th {
    background: #f2f2f2;
    font-weight: 600;
}

.ccch-recorridos td,
.ccch-recorridos th {
    font-size: 0.85em;
}

@media (max-width: 600px) {
    .ccch-excursion.is-open .ccch-recorridos {
        display: block;
    }

    .ccch-recorridos thead {
        display: none;
    }

    .ccch-recorridos tbody {
        display: block;
        width: 100%;
    }

    .ccch-recorridos tr {
        display: block;
        width: 100%;
        margin-bottom: 0.8em;
        padding: 0.6em;
        border: 1px solid #e0e0e0;
        border-radius: 3px;
        background: #fafafa;
    }

    .ccch-recorridos td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.75rem;
        width: 100%;
        border: none;
        padding: 0.2em 0;
        font-size: 0.9em;
    }

    .ccch-recorridos td::before {
        content: attr(data-label);
        flex: 0 0 auto;
        font-weight: 600;
        color: #555;
        margin-right: 0.6em;
    }
}

.ccch-obs-destacado {
    color: #c00000;
    font-weight: 700;
    animation: ccch-parpadeo-obs 1s step-start 30;
}

.ccch-obs-destacado::before {
    content: "⚠ ";
    font-weight: 700;
}

.ccch-recorrido-extra {
    margin-top: 0.25em;
}

@keyframes ccch-parpadeo-obs {
    50% {
        opacity: 0.2;
    }
}