

.calendario-pd {
    background-color: #f3f3f3;
    padding: 20px 0 10px;
}

.calendario-pd .calendario-titulo {
    text-align: center;
    margin: 0 0 25px;
}

.calendario-pd .ciclo {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(2, 63, 76, .12);
}

.calendario-pd .ciclo caption {
    caption-side: top;
    padding: 14px 10px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    color: #fff;
    background: #049dbf;
    background: linear-gradient(90deg, #049dbf 0%, #023f4c 100%);
    border-radius: 12px 12px 0 0;
}

.calendario-pd .ciclo th,
.calendario-pd .ciclo td {
    padding: 12px 10px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #e3eef1;
    border-right: 1px solid #e3eef1;
}

.calendario-pd .ciclo th:last-child,
.calendario-pd .ciclo td:last-child {
    border-right: 0;
}

.calendario-pd .ciclo thead th {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
    color: #023f4c;
    background-color: #e6f5f9;
}

.calendario-pd .ciclo thead th span {
    display: block;
    font-weight: 400;
    text-transform: none;
}

.calendario-pd .ciclo tbody td {
    font-size: 15px;
    color: #444;
    border-bottom: 0;
}

.calendario-pd .ciclo tbody td:first-child {
    font-weight: 700;
    color: #023f4c;
}

/* ---------- Celular: cada dato pasa a ser una fila ---------- */
@media (max-width: 600px) {
    .calendario-pd .ciclo,
    .calendario-pd .ciclo tbody,
    .calendario-pd .ciclo tr,
    .calendario-pd .ciclo td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .calendario-pd .ciclo caption {
        display: block;
    }

    .calendario-pd .ciclo thead {
        display: none;
    }

    .calendario-pd .ciclo tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        text-align: right;
        border-right: 0;
        border-bottom: 1px solid #e3eef1;
    }

    .calendario-pd .ciclo tbody td:last-child {
        border-bottom: 0;
    }

    .calendario-pd .ciclo tbody td::before {
        content: attr(data-label);
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        text-align: left;
        color: #023f4c;
    }
}
