.doc-title-blue {
    color: #103c6c;
}

/* Planificación / documentos: ritmo vertical y bloques repetibles */
.planificacion-docs {
    padding-top: 0.25rem;
}

.planificacion-docs .contenido-seccion > h6 {
    margin: 0 0 0.75rem;
    font-weight: 600;
    color: #103c6c;
}

.planificacion-docs .contenido-seccion > hr {
    margin: 1.25rem 0;
    border: 0;
    border-top: 1px solid rgba(16, 60, 108, 0.12);
}

.planificacion-docs .pd-categoriesbox {
    margin-bottom: 0.25rem;
}

.planificacion-docs .pd-title {
    margin-bottom: 0.35rem;
    padding: 0.4rem 0;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.15s ease;
}

.planificacion-docs .pd-title:hover {
    opacity: 0.88;
}

.planificacion-docs .pd-title a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.planificacion-docs .pd-title a:focus-visible {
    outline: 2px solid #103c6c;
    outline-offset: 2px;
    border-radius: 2px;
}

.planificacion-docs .pd-files {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.planificacion-docs .pd-files > br {
    display: none;
}

.planificacion-docs .pd-file .doc-title-blue {
    display: block;
    margin-bottom: 0.35rem;
}

.planificacion-docs .pd-file .doc-download-btn {
    margin-top: 0.65rem;
}

.planificacion-docs .pd-title small {
    color: rgba(16, 60, 108, 0.72);
    font-weight: 500;
    margin-left: 0.2rem;
}

.planificacion-docs .memorias-grid {
    margin-top: 0.75rem;
}

@media (max-width: 576px) {
    .planificacion-docs .doc-download-btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

.is-hidden {
    display: none;
}

.text-justify-block {
    display: block;
    text-align: justify;
}

.doc-download-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: red;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

.doc-download-icon {
    width: 22px;
    height: 26px;
    margin-left: 8px;
}

.memorias-grid {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.memoria-col {
    width: 25%;
}

.memoria-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 100%;
    box-shadow: 0 2px 8px 0 rgba(255, 255, 255, 0.16);
    overflow: hidden;
    border-radius: 8px;
    will-change: transform;
}

.memoria-embed iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 991px) {
    .memorias-grid {
        flex-wrap: wrap;
    }

    .memoria-col {
        width: calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .memoria-col {
        width: 100%;
    }
}
