/* ==========================================
   DR. RAFAEL SOLANO
   IDENTIDAD VISUAL WEB Y BLOG
   ========================================== */

:root {
    --rs-marino: #061F32;
    --rs-azul: #0077B6;
    --rs-turquesa: #48CAE4;
    --rs-texto: #566D79;
}

/* 1. NOMBRE DEL SITIO */
.site-title,
.site-title a,
.site-branding .site-title,
.site-branding .site-title a,
.site-header .site-title,
.site-header .site-title a {
    color: var(--rs-marino) !important;
}

/* 2. TITULOS DE LAS ENTRADAS DEL BLOG */
body.blog article h2 a,
body.blog article h3 a,
body.archive article h2 a,
body.archive article h3 a,
.blog .entry-title a,
.archive .entry-title a,
.elementor-post__title,
.elementor-post__title a,
.elementor-widget-posts .elementor-post__title a,
.elementor-widget-loop-grid h2 a,
.elementor-widget-loop-grid h3 a {
    color: var(--rs-azul) !important;
}

/* 3. TITULOS AL PASAR EL CURSOR */
body.blog article h2 a:hover,
body.blog article h3 a:hover,
body.archive article h2 a:hover,
body.archive article h3 a:hover,
.blog .entry-title a:hover,
.archive .entry-title a:hover,
.elementor-post__title a:hover,
.elementor-widget-loop-grid h2 a:hover,
.elementor-widget-loop-grid h3 a:hover {
    color: var(--rs-marino) !important;
}

/* 4. ENLACES "LEER MAS" */
body.blog article .more-link,
body.archive article .more-link,
.elementor-post__read-more,
.elementor-post__read-more a,
.elementor-widget-posts .elementor-post__read-more {
    color: var(--rs-azul) !important;
}

/* 5. ENLACES "LEER MAS" AL PASAR EL CURSOR */
body.blog article .more-link:hover,
body.archive article .more-link:hover,
.elementor-post__read-more:hover,
.elementor-post__read-more a:hover {
    color: var(--rs-marino) !important;
}

/* 6. DESCRIPCIONES DE LAS ENTRADAS */
body.blog article .entry-summary,
body.archive article .entry-summary,
.blog .entry-summary p,
.archive .entry-summary p,
.elementor-post__excerpt {
    color: var(--rs-texto) !important;
}
/* LANDINGS DEL PILOTO: ocultar encabezado superior */
body.page-id-17023 #site-header,
body.page-id-16921 #site-header,
body.page-id-17089 #site-header {
  display: none !important;
}

/* Ocultar botones para compartir de Jetpack */
body.page-id-17023 .sharedaddy,
body.page-id-16921 .sharedaddy,
body.page-id-17089 .sharedaddy {
  display: none !important;
}

/* Ocultar botón flotante de llamada y enlaces telefónicos */
body.page-id-17023 .wp-call-button,
body.page-id-16921 .wp-call-button,
body.page-id-17089 .wp-call-button,
body.page-id-17023 a[href^="tel:"],
body.page-id-16921 a[href^="tel:"],
body.page-id-17089 a[href^="tel:"] {
  display: none !important;
}
/* Ocultar botones para compartir en todo el sitio */
.sharedaddy {
  display: none !important;
}
/* Menú principal en azul de identidad */
#site-header .site-navigation,
#site-header .site-navigation ul {
  background-color: #194A63 !important;
}

#site-header .site-navigation a {
  color: #FFFFFF !important;
}

/* Estado al pasar el cursor o seleccionar una sección */
#site-header .site-navigation li:hover > a,
#site-header .site-navigation li:focus-within > a,
#site-header .site-navigation .current-menu-item > a {
  background-color: #12394D !important;
  color: #FFFFFF !important;
}

/* CORRECCIÓN DE MENÚS DESPLEGABLES */

/* Fondo azul y letras blancas */
.main-navigation ul ul,
.main-navigation .sub-menu,
#site-navigation ul ul {
    background-color: #123F59 !important;
}

/* Opciones del submenú */
.main-navigation ul ul li a,
.main-navigation .sub-menu li a,
#site-navigation ul ul li a {
    background-color: #123F59 !important;
    color: #FFFFFF !important;
    opacity: 1 !important;
}

/* Al pasar el cursor o seleccionar con teclado */
.main-navigation ul ul li a:hover,
.main-navigation ul ul li a:focus,
.main-navigation ul ul li:hover > a,
.main-navigation ul ul li:focus-within > a,
#site-navigation ul ul li a:hover,
#site-navigation ul ul li a:focus {
    background-color: #0A2E45 !important;
    color: #FFFFFF !important;
}

/* CORREGIR SUBMENÚS DEL SITIO */

ul.sub-menu,
ul.children,
nav ul ul {
    background: #174B68 !important;
}

ul.sub-menu li a,
ul.children li a,
nav ul ul li a {
    color: #FFFFFF !important;
    background: #174B68 !important;
    opacity: 1 !important;
}

ul.sub-menu li a:hover,
ul.children li a:hover,
nav ul ul li a:hover {
    background: #082D45 !important;
    color: #FFFFFF !important;
}