/*
 Theme Name:   Rasa Education Child
 Description:  Tema hijo de Rasa Education para personalizaciones
 Author:       Tu Nombre
 Template:     rasa-education
 Version:      1.0.0
 Text Domain:  rasa-education-child
*/

/*
 Theme Name:   Rasa Education Child
 Description:  Tema hijo de Rasa Education para personalizaciones
 Author:       Tu Nombre
 Template:     rasa-education
 Version:      1.0.0
 Text Domain:  rasa-education-child
*/

/* Personalización de colores - Cambio de amarillo/naranja a azul */
a {
    color: #007BFF;
}

a:hover,
a:focus,
a:active {
    color: #0056b3;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background-color: #007BFF;
    border-color: #007BFF;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn {
    background-color: #007BFF;
    border-color: #007BFF;
}

.btn:hover,
.btn:focus {
    background-color: #0056b3;
    border-color: #0056b3;
}

.main-navigation ul.nav-menu > li:hover > a,
.main-navigation ul.nav-menu > li.focus > a {
    color: #007BFF;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover,
.pagination .page-numbers:focus {
    background-color: #007BFF;
}

.post-categories a {
    color: #007BFF;
}

.tags-links a {
    border-color: #007BFF;
    background-color: #007BFF;
}

.tags-links a:hover,
.tags-links a:focus {
    border-color: #0056b3;
    background-color: #0056b3;
}

#masthead .custom-menu-item a {
    background-color: #007BFF;
    border-color: #007BFF;
}

#masthead .custom-menu-item a:hover,
#masthead .custom-menu-item a:focus {
    background-color: #fff;
    border-color: #fff;
    color: #007BFF;
}

.backtotop {
    background-color: #007BFF;
}

.backtotop:hover {
    background-color: #0056b3;
}

#masthead .site-contact-details i {
    color: #007BFF;
}

.section-title {
    color: #007BFF;
}

.section-subtitle {
    color: #007BFF;
}

.slick-prev:hover,
.slick-next:hover,
.slick-prev:focus,
.slick-next:focus {
    background-color: #007BFF;
}

.slick-dots li.slick-active button {
    background-color: #007BFF;
}

.wp-block-search__button {
    background-color: #007BFF;
    border-color: #007BFF;
}

.wp-block-search__button:hover,
.wp-block-search__button:focus {
    background-color: #0056b3;
    border-color: #0056b3;
}

#colophon .widget_search form.search-form button.search-submit {
    background-color: #007BFF;
}

#colophon .site-info a:hover,
#colophon .site-info a:focus {
    color: #007BFF;
}

#secondary .widget_tag_cloud .tagcloud a:hover,
#secondary .widget_tag_cloud .tagcloud a:focus,
#colophon .widget_tag_cloud .tagcloud a:hover,
#colophon .widget_tag_cloud .tagcloud a:focus {
    background-color: #007BFF;
    border-color: #007BFF;
}
/*--------------------------------------------------------------
# Bandera Docuplay
--------------------------------------------------------------*/
.docuplay-flag-container {
    max-width: 300px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
    padding: 15px;
}

.bandera {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.bandera td {
    padding: 1px 3px;
    color: white;
    font-weight: 500;
    font-size: 14px;
    text-align: left;
}


.nota {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-top: 5px;
    display: block;
}

.nota a {
    color: #1976D2;
    text-decoration: none;
}

.nota a:hover {
    text-decoration: underline;
}

/* Header simple - layout básico */
#masthead .header-top .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.header-top {
    padding: 0;
}

.header-top {
    padding: 0px 0;
}

#masthead .header-top {
    padding: 2px 0;
}

#masthead .site-branding {
    display: flex;
    align-items: center;
    gap: 30px;
}

#masthead .site-logo,
#masthead #site-identity {
    flex: 0 0 auto;
}

.docuplay-flag-container {
    flex: 0 0 auto;
    max-width: 180px;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
}

.nota {
    font-size: 8px;
    color: #666;
    font-style: italic;
    margin-top: 0px;
    display: block;
    text-align: center;
}

body, button, input, select, textarea {
    color: #6f7380;
    font-size: 13px;
    line-height: 13px;
    word-wrap: break-word;
}

.nota a {
    color: #007BFF;
    text-decoration: none;
}

.nota a:hover {
    text-decoration: underline;
}

/* Estilos de la bandera según especificación - más delgada */
.bandera {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.bandera td {
    padding: 1px 25px;
    color: white;
    font-weight: 500;
    font-size: 11px;
    text-align: left;
    line-height: 1;
    height: auto;
}

/* Colores de la bandera Docuplay con !important */
.O { /* Oro - Servicio Educativo */
    background-color: #FFD700 !important;
    color: #333 !important;
}

.V { /* Verde - Servicio Económico */
    background-color: #009900 !important;
}

.R { /* Magenta - Servicio Social */
    background-color: #FF0099 !important;
    color: #333 !important;
}

.P { /* Plata - Servicio Informativo */
    background-color: #C0C0C0 !important;
    color: #333 !important;
}

.J { /* Rojo - Servicio Competitivo */
    background-color: #FF0000 !important;
}

#masthead .site-contact-details {
    display: flex;
    align-items: center;
    gap: 20px;
}

#masthead .site-contact-details li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

#masthead .site-contact-details i {
    font-size: 14px;
    color: #007BFF;
}

#masthead .site-contact-details .list-details h2 {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
}

#masthead .site-contact-details .list-details span {
    margin: 0;
    font-size: 10px;
}

/* Responsive para header con logo y bandera juntos */
@media screen and (max-width: 1200px) {
    #masthead .site-branding {
        width: 55%;
        gap: 15px;
    }
    
    #masthead .site-contact-details {
        width: 40%;
        gap: 8px;
    }
    
    .docuplay-flag-container {
        max-width: 180px;
        min-width: 140px;
    }
}

@media screen and (max-width: 1024px) {
    #masthead .header-top .wrapper {
        min-height: 60px;
        padding: 8px 0;
    }
    
    #masthead .site-branding {
        width: 50%;
        gap: 12px;
    }
    
    #masthead .site-contact-details {
        width: 45%;
        gap: 6px;
    }
    
    .docuplay-flag-container {
        max-width: 160px;
        min-width: 130px;
        padding: 4px;
    }
    
    .bandera td {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    #masthead .site-contact-details .contact-item {
        font-size: 11px;
    }
}

@media screen and (max-width: 768px) {
    #masthead .header-top .wrapper {
        flex-wrap: wrap;
        padding: 8px 0;
        min-height: auto;
        justify-content: center;
    }
    
    #masthead .site-branding {
        width: 100%;
        justify-content: center;
        order: 1;
        margin-bottom: 8px;
        gap: 15px;
    }
    
    .docuplay-flag-container {
        max-width: 180px;
        min-width: 150px;
    }
    
    #masthead .site-contact-details {
        width: 100%;
        justify-content: center;
        order: 2;
        gap: 10px;
    }
}

@media screen and (max-width: 480px) {
    #masthead .site-branding {
        flex-direction: column;
        gap: 10px;
    }
    
    #masthead .site-contact-details {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    /* Ocultar completamente la bandera en móviles */
    .docuplay-flag-container {
        display: none !important;
    }
    
    #masthead .site-contact-details .contact-item {
        font-size: 10px;
    }
}