/* Créditos Metabiblioteca */

.myCredits {
    background-color: var(--color04);
    text-align: center;
    color: #fff;
}

.myCredits a {
    color: #fff;
    font-family: "Quicksand", sans-serif !important;
}

.myCredits img {
    width: 45px;
}

.myCredits {
    padding: 7px;
}

.footer-idep {
    background-color: #F7E8DC;
    padding: 40px 20px 0px;
    color: #333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-title {
    color: #E87722;
    font-size: 32px;
    font-weight: 700;
    max-width: 600px;
    line-height: 1.2;
}

.footer-logos {
    display: flex;
    gap: 15px;
    align-items: center;
}

.logo-alcaldia,
.logo-idep {
    height: 60px;
    width: auto;
}

.sede-info {
    margin-bottom: 30px;
}

.sede-title {
    color: #E87722;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-info p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 4px;
}

.contact-info a {
    color: #E87722;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-section {
    margin-bottom: 25px;
}

.social-title {
    color: #E87722;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E87722;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #d96610;
}

.footer-links {
    text-align: center;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-links a {
    color: #E87722;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.separator {
    color: #333;
    margin: 0 10px;
}

.copyright {
    text-align: center;
}

.copyright p {
    color: #333;
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-title {
        font-size: 24px;
    }

    .footer-logos {
        align-self: flex-start;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .separator {
        display: none;
    }
}

.footer-content {
    background-color: #fff;
    padding: 35px;
    border-radius: 20px 20px 0px 0px;
}

/* Para el HTML y BODY */
html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* El contenedor principal debe crecer para empujar el footer al fondo */
#pragma_content_header,
main,
.pkp_structure_main {
    flex: 1 0 auto;
}

/* El footer se mantiene en el fondo */
footer,
#pragma_content_footer,
.main-footer {
    flex-shrink: 0;
    margin-top: auto;
}

/* Estilos adicionales del footer */
.main-footer {
    width: 100%;
    background-color: #2c3e50;
    /* Ajusta al color que necesites */
    color: #ffffff;
    padding: 2rem 0;
}

/* Asegurar que el footer no se superponga con el contenido */
.pkp_structure_main {
    padding-bottom: 2rem;
}