/* --- 1. TIPOGRAFÍA GLOBAL Y ELEMENTOS BASE --- */
body, 
.new_foot_header_et_pb_column_1_2 .new_foot_header_et_quote_content blockquote cite, 
.new_foot_header_et_pb_column_1_2 .new_foot_header_et_link_content a.new_foot_header_et_link_main_url, 
.new_foot_header_et_pb_column_1_3 .new_foot_header_et_quote_content blockquote cite, 
.new_foot_header_et_pb_column_3_8 .new_foot_header_et_quote_content blockquote cite, 
.new_foot_header_et_pb_column_1_4 .new_foot_header_et_quote_content blockquote cite, 
.new_foot_header_et_pb_blog_grid .new_foot_header_et_quote_content blockquote cite, 
.new_foot_header_et_pb_column_1_3 .new_foot_header_et_link_content a.new_foot_header_et_link_main_url, 
.new_foot_header_et_pb_column_3_8 .new_foot_header_et_link_content a.new_foot_header_et_link_main_url, 
.new_foot_header_et_pb_column_1_4 .new_foot_header_et_link_content a.new_foot_header_et_link_main_url, 
.new_foot_header_et_pb_blog_grid .new_foot_header_et_link_content a.new_foot_header_et_link_main_url, 
body .new_foot_header_et_pb_bg_layout_light .new_foot_header_et_pb_post p, 
body .new_foot_header_et_pb_bg_layout_dark .new_foot_header_et_pb_post p {
    font-size: 14px;
    font-weight: 400;
}

.new_foot_header_et_pb_slide_content, 
.new_foot_header_et_pb_best_value {
    font-size: 15px;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', Georgia, "Times New Roman", serif;
}

body, input, textarea, select, #top-header .new_foot_header_container {
    font-family: 'Roboto', Helvetica, Arial, Lucida, sans-serif;
}

/* --- 2. NAVEGACIÓN Y CABECERA --- */
.new_foot_header_nav li ul {
    border-color: #000000;
}

.new_foot_header_et_secondary_nav_enabled #page-container #top-header,
#et-secondary-nav li ul {
    background-color: #e0e0e0 !important;
}

#top-header, 
#top-header a {
    color: #707070;
}

#top-menu li.new_foot_header_current-menu-ancestor > a, 
#top-menu li.new_foot_header_current-menu-item > a, 
#top-menu li.new_foot_header_current_page_item > a {
    color: rgba(40, 7, 2, 0.4);
}

/* --- 3. BOTONES --- */
body .new_foot_header_et_pb_button {
    font-size: 14px;
}

body .new_foot_header_et_pb_button:after {
    font-size: 22.4px;
    transition: all 300ms ease 0ms;
}

.new_foot_header_et_pb_button_0 {
    transition: all 300ms ease 0ms;
}

/* --- 4. SECCIONES Y FILAS (DISEÑO ESPECÍFICO) --- */
div.new_foot_header_et_pb_section.new_foot_header_et_pb_section_0 {
    background-image: url(../imagenes_footer_header/fondoweb.jpg) !important;
    background-color: #0C71C3 !important;
    padding-bottom: 96px;
}

.new_foot_header_et_pb_section_1.new_foot_header_et_pb_section {
    padding-top: 5px;
    padding-bottom: 20px;
    margin-top: -4px;
}

.new_foot_header_et_pb_row_0.new_foot_header_et_pb_row {
    width: 90% !important;
    margin-top: -73px !important;
    padding: 0px 0px 4px 0px !important;
}

.new_foot_header_et_pb_row_1.new_foot_header_et_pb_row {
    padding-top: 17px !important;
}

.new_foot_header_et_pb_row_2.new_foot_header_et_pb_row {
    padding-top: 1px !important;
}

/* --- 5. MÓDULOS ESPECÍFICOS (BLURBS, TEXTO, COLUMNAS) --- */
.new_foot_header_et_pb_blurb_0.new_foot_header_et_pb_blurb .new_foot_header_et_pb_module_header, 
.new_foot_header_et_pb_blurb_0.new_foot_header_et_pb_blurb .new_foot_header_et_pb_module_header a {
    font-weight: 600;
    font-size: 20px;
    color: #0051a8 !important;
}

.new_foot_header_et_pb_blurb_0 .new_foot_header_et-pb-icon {
    font-size: 20px;
    color: #0051a8;
    font-family: FontAwesome !important;
    font-weight: 900 !important;
}

.new_foot_header_et_pb_blurb_1.new_foot_header_et_pb_blurb .new_foot_header_et_pb_module_header, 
.new_foot_header_et_pb_blurb_1.new_foot_header_et_pb_blurb .new_foot_header_et_pb_module_header a {
    font-weight: 600;
    font-size: 20px;
    color: #E02B20 !important;
}

.new_foot_header_et_pb_blurb_1 .new_foot_header_et-pb-icon {
    font-size: 20px;
    color: #e02b20;
    font-family: ETmodules !important;
}

.new_foot_header_et_pb_blurb_2.new_foot_header_et_pb_blurb .new_foot_header_et_pb_module_header, 
.new_foot_header_et_pb_blurb_2.new_foot_header_et_pb_blurb .new_foot_header_et_pb_module_header a {
    font-weight: 600;
    font-size: 20px;
    color: #12876F !important;
}

.new_foot_header_et_pb_blurb_2 .new_foot_header_et-pb-icon {
    font-size: 20px;
    color: #12876F;
    font-family: ETmodules !important;
}

.new_foot_header_et_pb_text_0, .new_foot_header_et_pb_text_1, .new_foot_header_et_pb_text_2 {
    width: 100%;
}

.new_foot_header_et_pb_text_3 {
    font-family: 'Roboto Slab', Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: 23px;
    color: #0051a8 !important;
    border-bottom: 3px solid #0051a8;
    padding-bottom: 7px !important;
    width: 80%;
}

.new_foot_header_et_pb_column_0, .new_foot_header_et_pb_column_1 {
    background-color: #FFFFFF;
    border-radius: 5px;
    overflow: hidden;
    padding: 30px 22px;
    box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3);
}

.new_foot_header_et_pb_column_2 {
    background: url(../imagenes_footer_header/pie-gob.jpg) left 13% top / 46% 4% no-repeat #FFFFFF;
    border-radius: 5px;
    overflow: hidden;
    padding: 30px 22px;
    box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3);
}

/* --- 6. MEDIA QUERIES (OPTIMIZACIÓN DE DISEÑO) --- */

/* Desktop / Pantallas grandes */
@media only screen and (min-width: 1350px) {
    .new_foot_header_et_pb_row { padding: 27px 0; }
    .new_foot_header_et_pb_section { padding: 54px 0; }
    .new_foot_header_single.new_foot_header_et_pb_pagebuilder_layout.new_foot_header_et_full_width_page .new_foot_header_et_post_meta_wrapper { padding-top: 81px; }
}

@media only screen and (min-width: 981px) {
    .new_foot_header_et_header_style_left #et-top-navigation, 
    .new_foot_header_et_header_style_split #et-top-navigation { padding: 48px 0 0 0; }
    
    .new_foot_header_et_header_style_left #et-top-navigation nav > ul > li > a, 
    .new_foot_header_et_header_style_split #et-top-navigation nav > ul > li > a { padding-bottom: 48px; }
    
    .new_foot_header_et_header_style_split .new_foot_header_centered-inline-logo-wrap { width: 95px; margin: -95px 0; }
    .new_foot_header_et_header_style_split .new_foot_header_centered-inline-logo-wrap #logo { max-height: 95px; }
    .new_foot_header_et_header_style_centered #main-header .new_foot_header_logo_container { height: 95px; }
    #logo { max-height: 100%; }

    .new_foot_header_et_fixed_nav #page-container .new_foot_header_et-fixed-header#top-header { background-color: #e0e0e0 !important; }
    .new_foot_header_et-fixed-header #top-menu li.new_foot_header_current-menu-ancestor > a, 
    .new_foot_header_et-fixed-header #top-menu li.new_foot_header_current-menu-item > a { color: rgba(40, 7, 2, 0.4) !important; }
}

/* Tablets */
@media only screen and (max-width: 980px) {
    .new_foot_header_et_pb_row, .new_foot_header_et_pb_column .new_foot_header_et_pb_row_inner { padding: 29px 0; }
    body #page-container .new_foot_header_et_pb_section .new_foot_header_et_pb_button_0:after { display: inline-block; opacity: 0; }
    body #page-container .new_foot_header_et_pb_section .new_foot_header_et_pb_button_0:hover:after { opacity: 1; }
}

/* Móviles */
@media only screen and (max-width: 767px) {
    .new_foot_header_et_pb_section { padding: 53px 0; }
    .new_foot_header_et_pb_section.new_foot_header_et_pb_fullwidth_section { padding: 0; }
    body #page-container .new_foot_header_et_pb_section .new_foot_header_et_pb_button_0:after { display: inline-block; opacity: 0; }
    body #page-container .new_foot_header_et_pb_section .new_foot_header_et_pb_button_0:hover:after { opacity: 1; }
}