/* Estilo General */
/* Importar la fuente Lato desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');

/* Aplicar la fuente Lato como tipografía principal */
body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color:#4d4d4d; /* Texto en gris oscuro */
    background-color: #f8f8f8; /* Fondo claro */
    margin: 0;
    padding: 0;
  }

  .btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #d22020;
    --bs-btn-border-color: #d22020;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #d22020;
    --bs-btn-hover-border-color: #d22020;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #d22020;
    --bs-btn-active-border-color: #d22020;
    --bs-btn-active-shadow: inset 0 0px 0px rgba(0, 0, 0,0);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #d22020;
    --bs-btn-disabled-border-color: #d22020;
    border-radius: 0;
    text-transform: uppercase;
  }

  p{
    font-size: 19px;
    line-height:28px;
  }

  .btn-primary:hover{
    background-color: #385e9d;
    border-color:#385e9d;
   
  }

  .nav-link, .media-library-view--widget .view-header a {
    color:#d22020;
  }




  
  h1{
    font-size: 40px;
    color:#4d4d4d;
    font-weight: 900;
    
  }

  .path-frontpage h1{
    color: #fff;
  }

  h2 a,
  h2{
    font-size: 25px;
    line-height: 30px;
    color: #d22020;
    font-weight: 400;
  }

  h2 a:hover{
    color: #385e9d;
  }

  
  a{
    color:#D22020;
    text-decoration: none;
  }

  a:hover{
    color:#385e9d;
    text-decoration: none;
  }

  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1220px;
}

  /****Header***/
  .region-header{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content:space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 20px;
  }

  #block-usal-branding {
    margin-right: auto; /* Empuja los demás bloques a la derecha */
    display: flex;
    align-items: center;
   
  }
  
  #block-usal-main-navigation,
  #block-usal-searchform {
    display: flex;
    align-items: center;
  }

  p.search-result__snippet{
    margin-bottom:8px;
  }

  .search-result__snippet-info{
    margin-bottom: 30px;
  }
  
  .search-advanced .fieldset-legend{
    text-transform: uppercase;
        font-size: 25px;
    line-height: 30px;
    color: #d22020;
    font-weight: 400;
  }
  details > .details-wrapper {
    padding: 0.5em 1.5em 30px;
     }

  
  /**Logotipo**/
  .navbar-brand{
    max-width:315px;
    width: 315px;
  }

  .navbar-brand img {
    height: auto;
    width: 315px;
}



  /**Main menu**/
 
  ul.navbar-nav{
    display: flex;
    flex-direction: row; /* Cambia de column a row */
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    margin-top: 20px;
    list-style: none;
  }
  ul.navbar-nav li{
    margin-right: 15px; /* Espacio entre items */
    width: auto;
  }
  

 ul.navbar-nav li a{
    font-size: 19px;
    font-weight: bold;
    color: #4d4d4d;
    text-transform: uppercase;
  }
 ul.navbar-nav li a:hover,
 ul.navbar-nav li a:active,
 .navbar-nav .nav-link.active,
 ul.navbar-nav a.is-active {
    color: #d22020;

  }



  /* Estilo base para los items del menú */
.navbar-nav .nav-item .nav-link {
  position: relative;
  padding: 8px 0;
  margin: 0 10px;
  transition: color 0.3s ease;
}

/* Línea de subrayado con animación */
.navbar-nav .nav-item .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #dc3545; /* Color rojo, puedes usar --bs-red o --bs-danger */
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

/* Estado activo - muestra la línea roja */
.navbar-nav .nav-item.active .nav-link::after,
.navbar-nav .nav-item .nav-link.active::after {
  width: 110%; /* Un poco más ancho que el texto */
}

/* Estado hover - muestra la línea roja */
.navbar-nav .nav-item .nav-link:hover::after {
  width: 110%; /* Un poco más ancho que el texto */
}

/* Estilos para el texto seleccionado/activo como en la imagen */
.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-item .nav-link.active {
  color: #dc3545; /* Texto en rojo cuando está activo */
  font-weight: 700; /* Opcional: texto en negrita cuando está activo */
}



#block-usal-informaciondecontacto{
  max-width: 1180px;
  padding-bottom: 0px;
  padding-top: 35px;
  margin: 0 auto;
  border-top: 0px solid #4d4d4d ;
}

#block-usal-areadecomunicaciondelauniversidaddesalamanca{
  max-width: 1180px;
  padding-bottom: 0px;
  padding-top: 0px;
  margin: 0 auto;
  border-top: 0px solid #4d4d4d ;
}

#block-usal-areadecomunicaciondelauniversidaddesalamanca .field--name-body{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
#block-usal-areadecomunicaciondelauniversidaddesalamanca .field--name-body img{
  margin: 0;
}

#block-usal-areadecomunicaciondelauniversidaddesalamanca div{
  width: 35%;
}


#block-usal-areadecomunicaciondelauniversidaddesalamanca h1{
  padding-top: 35px;
  padding-bottom: 0px;
  padding-right: 60px;
  width: 65%;
}

/**Bloque explorar*/
.breadcrumb-container{
  width: 100%;
  margin-top: 10px;
  margin-top: 20px;
}

.region-breadcrumb{


}

#block-usal-explorar{
  margin: 0 auto;
  max-width: 1200px;
}

#block-usal-explorar{
  font-size: 19px;
  font-weight: bold;
  color: #4d4d4d;
  padding: 10px 0px 10px;
 
}

#block-usal-explorar p{
  margin-bottom: 0;
}



/****MAIN***/

main {
  margin-top: 20px;
  margin-bottom: 55px;
}/* Estilo General */
/* Importar la fuente Lato desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');

/* Aplicar la fuente Lato como tipografía principal */
body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color:#4d4d4d; /* Texto en gris oscuro */
    background-color: #f8f8f8; /* Fondo claro */
    margin: 0;
    padding: 0;
  }

  .btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #d22020;
    --bs-btn-border-color: #d22020;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #d22020;
    --bs-btn-hover-border-color: #d22020;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #d22020;
    --bs-btn-active-border-color: #d22020;
    --bs-btn-active-shadow: inset 0 0px 0px rgba(0, 0, 0,0);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #d22020;
    --bs-btn-disabled-border-color: #d22020;
    border-radius: 0;
    text-transform: uppercase;
  }

  p{
    font-size: 19px;
    line-height:28px;
  }

  .btn-primary:hover{
    background-color: #385e9d;
    border-color:#385e9d;
   
  }

  .nav-link, .media-library-view--widget .view-header a {
    color:#d22020;
  }




  
  h1{
    font-size: 40px;
    color:#4d4d4d;
    font-weight: 900;
    
  }

  .path-frontpage h1{
    color: #fff;
  }

  h2 a,
  h2{
    font-size: 25px;
    line-height: 30px;
    color: #d22020;
    font-weight: 400;
  }

  h2 a:hover{
    color: #385e9d;
  }

  
  a{
    color:#D22020;
    text-decoration: none;
  }

  a:hover{
    color:#385e9d;
    text-decoration: none;
  }

  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1220px;
}

  /****Header***/
  .region-header{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content:space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 20px;
  }

  #block-usal-branding {
    margin-right: auto; /* Empuja los demás bloques a la derecha */
    display: flex;
    align-items: center;
   
  }
  
  #block-usal-main-navigation,
  #block-usal-searchform {
    display: flex;
    align-items: center;
  }

  p.search-result__snippet{
    margin-bottom:8px;
  }

  .search-result__snippet-info{
    margin-bottom: 30px;
  }
  
  .search-advanced .fieldset-legend{
    text-transform: uppercase;
        font-size: 25px;
    line-height: 30px;
    color: #d22020;
    font-weight: 400;
  }
  details > .details-wrapper {
    padding: 0.5em 1.5em 30px;
     }

  
  /**Logotipo**/
  .navbar-brand{
    max-width:315px;
    width: 315px;
  }

  .navbar-brand img {
    height: auto;
    width: 315px;
}



  /**Main menu**/
 
  ul.navbar-nav{
    display: flex;
    flex-direction: row; /* Cambia de column a row */
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    margin-top: 20px;
    list-style: none;
  }
  ul.navbar-nav li{
    margin-right: 15px; /* Espacio entre items */
    width: auto;
  }
  

 ul.navbar-nav li a{
    font-size: 19px;
    font-weight: bold;
    color: #4d4d4d;
    text-transform: uppercase;
  }
 ul.navbar-nav li a:hover,
 ul.navbar-nav li a:active,
 .navbar-nav .nav-link.active,
 ul.navbar-nav a.is-active {
    color: #d22020;

  }



  /* Estilo base para los items del menú */
.navbar-nav .nav-item .nav-link {
  position: relative;
  padding: 8px 0;
  margin: 0 10px;
  transition: color 0.3s ease;
}

/* Línea de subrayado con animación */
.navbar-nav .nav-item .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #dc3545; /* Color rojo, puedes usar --bs-red o --bs-danger */
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

/* Estado activo - muestra la línea roja */
.navbar-nav .nav-item.active .nav-link::after,
.navbar-nav .nav-item .nav-link.active::after {
  width: 110%; /* Un poco más ancho que el texto */
}

/* Estado hover - muestra la línea roja */
.navbar-nav .nav-item .nav-link:hover::after {
  width: 110%; /* Un poco más ancho que el texto */
}

/* Estilos para el texto seleccionado/activo como en la imagen */
.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-item .nav-link.active {
  color: #dc3545; /* Texto en rojo cuando está activo */
  font-weight: 700; /* Opcional: texto en negrita cuando está activo */
}



#block-usal-informaciondecontacto{
  max-width: 1180px;
  padding-bottom: 0px;
  padding-top: 35px;
  margin: 0 auto;
  border-top: 0px solid #4d4d4d ;
}

#block-usal-areadecomunicaciondelauniversidaddesalamanca{
  max-width: 1180px;
  padding-bottom: 0px;
  padding-top: 0px;
  margin: 0 auto;
  border-top: 0px solid #4d4d4d ;
}

#block-usal-areadecomunicaciondelauniversidaddesalamanca .field--name-body{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
#block-usal-areadecomunicaciondelauniversidaddesalamanca .field--name-body img{
  margin: 0;
}

#block-usal-areadecomunicaciondelauniversidaddesalamanca div{
  width: 35%;
}


#block-usal-areadecomunicaciondelauniversidaddesalamanca h1{
  padding-top: 35px;
  padding-bottom: 0px;
  padding-right: 60px;
  width: 65%;
}

/**Bloque explorar*/
.breadcrumb-container{
  width: 100%;
  margin-top: 10px;
  margin-top: 20px;
}

.region-breadcrumb{


}

#block-usal-explorar{
  margin: 0 auto;
  max-width: 1200px;
}

#block-usal-explorar{
  font-size: 19px;
  font-weight: bold;
  color: #4d4d4d;
  padding: 10px 0px 10px;
 
}

#block-usal-explorar p{
  margin-bottom: 0;
}



/****MAIN***/

main {
  margin-top: 20px;
  margin-bottom: 55px;
}

.path-frontpage main {
  margin-top: 0px;
  margin-bottom: 35px;
}



/****Footer***/

.footer-content{
  display: flex; 
  flex-wrap: wrap; 
  justify-content: space-between; 
  gap: 2rem;
}

.footer-col{
  flex: 1 1 25%; 
  text-align: center;
}
.footer-col-last{
   flex: 1 1 65%; 
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
}

footer{
  padding: 0 0 0;
  margin-top: 40px;
}

footer .social-icons li{
  list-style: none;
}

.text-footer{
  font-size: 1.4rem;
}

footer .social-icon{
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 400px;
}
#block-usal-copyright2025{
  text-align: center;
  background-color: #CC1818;
  color: #fff;
  padding: 6px 10px;
}

#block-usal-copyright2025 p{
  color: #fff;
  margin-bottom: 0;
  font-size: 12px;
}

.footer .container{
  max-width:1200px;
  width: 100%;
  margin: 0;
  padding: 0;
}

footer>.container{
  margin: 0;
  padding: 0;
}

footer .container{
  max-width: 100%;
}

.region-footer{
  margin: 0;
  padding: 0;
}

#block-usal-logofooter{
  text-align: center;
  background-color: #E8E8E8;
  padding: 40px 20px 30px;
}

#block-usal-logofooter a{
  font-size: 12px;
}


#block-usal-logofooter img{
  max-width: 300px;
}

.footer-section {
  background-color: #4a4a4a;
  color: white;
  padding: 40px 0;
}

.footer-section .container{

  margin: 0 auto;
  max-width: 1200px;
}

h2.footer-title {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 400;
  color: #fff;
}

p.footer-title{
  margin-top:20px;
  font-size: 22px;
}

.footer-divider {
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  margin: 15px 0 25px 0;
  width: 100%;
}

.btn-subscribe {
  border: 1px solid white;
  color: white;
  background-color: transparent;
  padding: 10px 30px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
  margin-top: 10px;
  margin: 15px 0;
}

.btn-subscribe:hover {
  background-color: #fff;
  color: #000 !important;
}

.btn-area {
  border: 1px solid white;
  color: white;
  background-color: transparent;
  padding: 10px 20px;
  transition: all 0.3s;
  text-align: center;
  margin-top: 10px;
  width: auto;
  margin-left: 5px;
  margin-right: 5px;
  float: left;
}

.btn-area:hover {
  background-color: #fff;
  color: #000 !important;
}

.social-icons {
  margin-top: 20px;
}

.footer-section .social-icons{
  display: flex;
  justify-content: center;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  margin-right: 15px;
  transition: opacity 0.3s;
}

.social-icons a:hover {
  opacity: 0.7;
}


h3.footer-info{
      font-size: 20px;
      margin-bottom: 10px;
      text-align: center;
      padding: 0 10%
}

.footer-info {
  font-size: 0.9rem;
  line-height: 1.5;
}



/******HOMEEEEEEEE****/

.path-frontpage main>.container{
  max-width: 100%;
  padding: 0;
}

.field--name-field-elementos-slider{
  width: 100%;
  background-color: #404040;
  margin-bottom: 40px;
}

.field--name-field-elementos-slider h2{
  margin-bottom: 35px;
}

.field--name-field-elementos-slider h2 a{
  color: #fff;
  font-size: 40px;
  line-height: 46px;

}

.field--name-field-elementos-slider .text-formatted{
  font-size: 27px;
  color: #fff;
}

.field--name-field-elementos-slider article{
  max-width: 1200px;
  margin: 0 auto;
}

.field--name-field-elementos-slider .node__content > .field >.field__item {
  margin-bottom: 0px !important;
}

.field--name-field-elementos-slider .field--name-field-categorias a {
    color: #fff;
    font-size: 15px;
    line-height: 18px;
    text-transform: uppercase;
}

.field--name-field-elementos-slider .field--name-field-categorias>.field__item:before {
    color: #fff;
}

.field--name-field-elementos-slider .field--name-title h2{
      margin-bottom: 15px;
}

.field--name-field-elementos-slider .field--name-field-categorias{
  display: inline !important;
}

.field--name-field-elementos-slider .field--name-field-categorias>.field__item {
    float: left;
    padding-right: 15px;
}




.path-frontpage .texto{
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-left: 40px;
}

.path-frontpage .region-content {
  padding: 0 0rem;
}

.field--name-field-elementos-slider .node__content{
  display: flex;
  justify-content: space-between;
}
.field--name-field-elementos-slider .node__content>div{
  flex: 0 0 50%;
  max-width: 50%;
}

.path-frontpage .field--name-field-noticias-video,
.path-frontpage .field--name-field-elementos-fijos{
  max-width: 1200px;
  margin: 0 auto;
}

.path-frontpage .field--name-field-noticias-video{
  border-top: 1px solid #404040;
  margin-top: 30px;
  padding-top: 30px;
}


.slide__caption {
  display: flex;
  align-items: stretch; /* Hace que ambos elementos ocupen todo el alto */
  gap: 20px; /* Espacio entre la imagen y el texto */
  position: relative;
}

.slide__overlay {
  flex: 0 0 50%; /* La imagen ocupa el 50% del ancho */
  display: flex;
  align-items: center; /* Centra la imagen verticalmente */
  position: relative;

}

.slide__overlay img {
  width: 100% !important; /* La imagen ocupa todo el ancho disponible */
  height: 100% !important; /* La imagen ocupa todo el alto disponible */
  object-fit: cover; /* Recorta la imagen si es necesario */
  position: absolute;
  top:0;
}

.slide__data {
  flex: 0 0 50%; /* El título ocupa el otro 50% */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra el texto verticalmente */
}


.path-frontpage .field--type-entity-reference>.field__item{
  margin-bottom: 40px;
}

.node--type-conf-pag-inicio .field--type-entity-reference{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 0px;
}



.node--type-conf-pag-inicio .field--type-entity-reference>.field__item{
  margin-bottom: 4px;
}

.node--type-conf-pag-inicio .field--type-entity-reference>.field__item {
  flex: 0 0 48%;
  max-width: 48%;
  margin-bottom: 40px;
}

.path-taxonomy .content >.field--name-name>h2{
  display: none;
}
/***PÁGINA ACTUALIDAD****/
.view-actualidad{
  width: 100%;

}

.path-actualidad .block-system-main-block{
  flex: 0 0 65%;
  max-width: 65%;
  width: 65% !important;
  
}

.view-actualidad .field--name-field-noticia-imagen,
.views-row .field--name-field-noticia-imagen{
  width: 100%;
  float: left;
  margin-right: 25px;
  margin-bottom: 15px;
}

.view-taxonomy-term .views-row{
  width: 100%;
}



.page-path-ciencias .views-row .field--name-field-noticia-imagen,
.path-taxonomy .views-row .field--name-field-noticia-imagen{
  width: auto;
}

.page-path-ciencias .field--name-field-noticia-resumen,
.path-taxonomy .field--name-field-noticia-resumen {
    float: none;
}

.view-actualidad .field--name-field-noticia-imagen img,
.path-taxonomy .field--name-field-noticia-imagen img{
  width: 100%;
}

.view-actualidad .field--name-title{
  width: 100%;
  float: left;
}

.path-taxonomy .field--name-field-noticia-fecha-noticia{
  width: auto;
  float: none;
}

 .path-taxonomy .views-row .field--name-field-noticia-imagen {
    width: 45%;
}

.path-taxonomy .block-page-title-block{
  padding-bottom: 15px;
}


.path-actualidad .block-views-blockactualidad-block-1,
#block-usal-views-block-videos-actualidad-block-1{
  flex: 0 0 47%;
  max-width: 47% !important;
  width: 47% !important;
}

#block-usal-views-block-videos-actualidad-block-1{
  flex: 0 0 30%;
  max-width: 30% !important;
  width: 30% !important;
}

.path-actualidad main .region-content{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}


.view-actualidad,
.view-videos-actualidad{

  border-top: 2px solid #4D4D4D;
  padding-top:15px;
  padding-bottom: 60px;
  margin-top: 40px;
}

.view-actualidad .view-header,
.view-videos-actualidad .view-header{
  margin-bottom: 40px;
}

.views-row{
  margin-bottom: 40px;
}

.views-row{
  float: left;

}

.view-listado-por-servicios-y-unidades .views-row{
  margin-bottom: 15px;
}

[class*="view-listado-por-"] .views-row,
[class*="view-duplicado-de-listado-por-"] .views-row  {
  margin-bottom: 15px;
}

[class*="view-listado-por-"] .view-content,
[class*="view-duplicado-de-listado-por-"] .view-content {
     margin-top: 30px;
    display: flex;
    flex-direction: column;
}

tt {
    font-family: 'Lato', sans-serif;
}

/*.path-facultades h1::before,
.path-servicios h1::before,
.path-departamentos h1::before,
.path-institutos h1::before,
.path-centros-propios h1::before,
.page-path-entidades-dependientes h1::before,
.page-path-entidades-dependientes h1::before,
.path-organos-representacion h1::before,
.path-organos-gobierno h1::before,
.path-campus-universitarios h1::before,
.path-equipo-gobierno h1::before{
  content: "CATEGORIAS";
  text-transform: uppercase;
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
  width: 100%;
  float: left;
  font-weight: 400;
}*/


.field--name-field-noticia-fecha-publicacion,
.field--name-field-noticia-fecha-noticia{
  font-size: 17px;
  color: #4D4D4D;
  margin: 7px 0 10px;
}

.field--name-field-noticia-resumen{
  font-size: 19px;

  font-weight: 400;
  float: left;
  width: 100%;
}

.page-path-incio .tabs-primary {
    margin: 1rem 25px;
}

.image_section .field--name-field-noticia-imagen{

  float: left;
  margin-right: 30px;
  width: 100%;
}

.image_section .field--name-field-noticia-imagen img{

  width: 100%;
}

.field--type-entity-reference .field__item .field--name-field-noticia-imagen{
  float: left;
  margin-right: 0px;
}
.path-frontpage .field--type-entity-reference .field__item .field--name-field-noticia-imagen,
.path-frontpage .field--type-entity-reference .field__item .field--name-field-noticia-imagen img{
  width: 100%;
}

.path-frontpage .field--type-entity-reference .field__item .field--name-field-noticia-imagen{
  margin-bottom: 20px;
}

.field--name-title
.paragraph--type--contenido-extra p{
  font-size: 20px;
}

.field--name-field-subtitulo p,
.field--name-field-subtitulo h2{
  font-size: 24px;
      padding: 10px 0;
}

.field--name-field-audio,
.field--name-field-videos,
.field--name-field-contenido-extra .field--name-field-imagen{
    padding: 15px 0;
}

.path-actualidad .field--name-field-videos{
   padding: 0px 0;
}

.field--name-field-videos .field__item{
  margin-bottom: 15px;
}

.field--name-field-contenido-extra .field--name-field-texto{
   padding: 0px 0 15px;
   font-size: 19px;
}

.field--name-field-leyenda-del-video{
  margin-bottom: 20px;
}

audio{
  width: 100%;
}

/******PÁGINA CONVOCATORIAS****/
.page-node-type-usal_convocatoria .top_new .title-date-wrapper,
.route-entity-node-preview.page-node-type-usal-convocatoria .top_new .title-date-wrapper{
  display: flex;
}
h2.name_section{
  color: #404040;
  text-transform: uppercase;
  font-size: 23px;
  width: 100%;
  float: left;
  padding-bottom: 20px;
}

.node--type-usal-convocatoria h1{
  margin-bottom: 35px;
}

.node--type-usal-convocatoria .social-share .title_section h2{
  padding-top: 20px;
}

.node--type-usal-convocatoria .group_new .right_new {
  margin-top: -20px;
}

.node--type-usal-convocatoria .social-share{
  margin-top: 0px;
  padding-top:0px;
}

.node--type-usal-convocatoria h2.name_section{
  border-bottom: 1px solid #404040;
  padding-bottom: 42px;
  margin-bottom: 30px;

}

.node--type-usal-convocatoria .date_section{
  border-right: 1px solid #4a4a4a;
  padding-right: 15px;
  margin-right: 25px;
  min-width: 165px;
  margin-bottom: 50px;
  font-size: 28px;
}
.node--type-usal-convocatoria .date_section .field--name-field-noticia-fecha-publicacion{
  font-size: 30px;
}
.page-node-type-usal_notadeprensa .text_section-info a{
  margin-left: 20px;
}

.node--view-mode-noticia-destacada .field--name-field-noticia-fecha-noticia{
  color: #fff;
}

.node--view-mode-noticia-destacada .field--name-field-noticia-imagen{
  margin-top: 0;
  padding-top: 0;
}

.field--name-created.field--type-created.field--label-hidden{
  display: none;
}

.view-convocatorias-usal{
  padding-top: 40px;
}
.view-convocatorias-usal .view-content{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.view-convocatorias-usal .view-content>.views-row{
 flex:  0 0 47%;
 max-width: 47%;
}

.view-convocatorias-usal .view-content>.views-row .node__content{
  display: flex;
}

.view-convocatorias-usal .field--name-field-noticia-fecha-publicacion{
  width: 15%;
  border-right: 2px solid #4d4d4d;
  padding-right: 20px;
  margin-right: 20px;
  font-size: 22px;
}

.view-convocatorias-usal .field--name-title{
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 75%;
}

.page-node-type-usal_convocatoria .field--name-field-nombre{
  font-weight: bold;
  text-transform: uppercase;
}

.page-node-type-usal_convocatoria .field--name-field-nombre p{
  margin-bottom: 0;
}

.detail{
  background-color: #EAEAEA;
  padding: 25px;
  border-radius: 5px;
}
.detail .column-left .text_section{
  padding-left: 20px;
  padding-right: 25px;
}
.paragraph--type--convocatoria{
  margin-bottom: 15px;
}

.page-node-type-usal_convocatoria .detail,
.route-entity-node-preview.page-node-type-usal_convocatoria .detail,
.route-entity-node-preview .detail{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.page-node-type-usal_convocatoria .field--name-field-convocatoria-mas-info p a{
  font-size: 16px;
  font-weight: normal;
}
.page-node-type-usal_convocatoria .field--name-field-convocatoria-mas-info p a strong{

  font-weight: normal;
}

.page-node-type-usal_convocatoria .detail>div,
.route-entity-node-preview.page-node-type-usal-convocatoria .detail>div,
.route-entity-node-preview .detail>div{
 flex: 0 0 50%;
 max-width: 50%;
}
/* Contenedor general opcional para mejorar espacio entre elementos */
.field--name-field-fecha,
.field--name-field-hora,
.field--name-field-lugar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: #1d1d1d;
  margin-bottom: 8px;
}

/* === Vista: Convocatorias USAL === */
.view-convocatorias-usal .node--teaser .title-date-wrapper{
  display:flex;
  align-items:flex-start;
  gap:2rem;                /* separación fecha/título */
}

.view-convocatorias-usal .node--teaser .date_section{
  flex:0 0 140px;          /* ancho columna fecha (ajusta si hace falta) */
  line-height:1.1;
  border-right: 0;
  padding-right: 0;
  margin-right: 0;
}



.view-convocatorias-usal .node--teaser .title-date-wrapper{
  border-right: 1px solid #000;
  margin-right: 15px;
}

.view-convocatorias-usal .node--teaser .node__title{
  margin:0;
  padding-left:2rem;
  border-left:2px solid #d8d8d8;  /* línea vertical */
}

/* Si el teaser lleva algo más debajo del título */
.view-convocatorias-usal .node--teaser .node__content{
  margin-top:.75rem;       /* quita si no lo usas */
}

/* Mes con mayúscula inicial si el locale lo deja en minúsculas */
.view-convocatorias-usal .node--teaser .date_section .date-month{
  text-transform:capitalize;
}

.view-convocatorias-usal article.node--teaser{
  display: flex;
}

.view-convocatorias-usal article.node--teaser




/* Icono de calendario para la fecha */
.field--name-field-fecha::before {
  font-family: "Font Awesome 6 Free";
  content: "\f133"; /* icono de calendario */
  font-weight: 400;  /* regular */
  margin-right: 6px;
}

/* Icono de reloj para la hora */
.field--name-field-hora::before {
  font-family: "Font Awesome 6 Free";
  content: "\f017"; /* icono de reloj */
  font-weight: 400;
  margin-right: 6px;
}

/* Icono de ubicación para el lugar */
.field--name-field-lugar::before {
  font-family: "Font Awesome 6 Free";
  content: "\f3c5"; /* icono de ubicación */
  font-weight: 900; /* solid */
  margin-right: 6px;
}


.detail .title_section h2{
  border-top: 0px solid #404040;
  font-size: 20PX;
  margin-top:0px;
}

.field--type-entity-reference .field__item:nth-of-type(n+5) .field--name-field-noticia-imagen{
  display: none;
}


.field--type-entity-reference> .field__item:nth-of-type(n+5){
  position: relative;
  padding-top: 25px;
}

.field--type-entity-reference> .field__item:nth-of-type(n+5)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  border-top: 2px solid #c00;
}

.field--name-field-tags-dinamicos.field--type-entity-reference> .field__item:nth-of-type(n+5)::before {
 
    width:auto !important;
    border-top: 0px solid #c00;
}

.field--name-field-tags-dinamicos.field--type-entity-reference> .field__item:nth-of-type(n+5) {
    position: relative;
    padding-top: 0px;
}



.path-frontpage .field--name-field-noticias-video .field--name-field-videos{
  margin-bottom: 0px;

}

.page-path-actualidad .field--name-field-videos .field__item{
  display:none;
}

.page-path-actualidad .field--name-field-videos .field__item:first-child{
  display:block;
}


.field--name-field-bloque{
  position: relative;
  padding-bottom: 80px;

}

.field--name-field-bloque .btn{
  background-color: #CC1B1A;
  padding: 4px 25px;
  color: #fff;
  border-radius: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/******PÁGINA DE CIENCIAS*****/
.view-duplicate-of-actualidad{
  padding-top: 30px;
}

.field--name-field-tags-dinamicos{
  display: flex;
  flex-wrap: wrap;
}

.field--name-field-tags-dinamicos .field__item::after{
  content: ",";
  margin-right: 4px;
}

.field--name-field-tags-dinamicos .field__item:last-child::after{
  content: " ";
  margin-right: 4px;
}





/*********PÁGINAS ESTÁTICAS****************/

.feed-icons{
  display: none;
}
/**INFORMACIÓN Y CONTACTO*/
.info-contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 0px 40px;
  font-size: 19px;
  
}

.intro-text {
  font-size:19px;
 
  margin-bottom: 20px;
  color: #444;
}

.info-contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
}

.info-column {
  flex: 1 1 58%;
}

.contact-column {
  flex: 1 1 35%;
}


.section-title {
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
}

.page-path-area-comunicacion h2.section-title{
  max-width: 66%;
}

h2.section-title{
  text-transform: none;
   font-size: 40px;
   line-height: 47px;
}
.section-divider {
  height: 1px;
  background-color: #ddd;
  margin: 30px 0;
}
.contact-info {
  margin-bottom: 20px;
}
.email-link {
  color: #c00;
  text-decoration: none;
}
.email-link:hover {
  text-decoration: underline;
}
.highlighted {
  color: #c00;
}
.map-container {
  margin-top: 20px;
}
.map-container img {
  width: 100%;
  border-radius: 5px;
}


/**Página estatica de Área de comunicación***/
.comunicacion-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 0px 20px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.section-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 35px;
  font-weight: 600;
  margin: 30px 0 15px 0;
  text-transform: none;
  color: #333;
}
h2.section-subtitle{
  text-transform: uppercase;
  font-weight: 800;
  font-size: 40px;
}

.section-column .section-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 35px;
  font-weight: 400;
  margin: 30px 0 15px 0;
  text-transform: nonw;
  color: #333;
}

.intro-parrafo {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 30px;
}

.section-divider {
  height: 1px;
  background-color: #ccc;
  margin: 30px 0;
}

.mision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.mision-card {
  background: #f9f9f9;
  padding: 0px 20px 20px 0px;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.section-column{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 19px;
}

.section-column>div{
 flex:48% 0 0;
 max-width: 48%;
}
.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.persona-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #f8f8f8;
  padding: 15px;
  border-radius: 6px;
  font-size: 19px;
  padding-left: 0;
}

.persona-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.email-link {
  color: #c00;
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}


/***Campo categorías***/
.field--name-field-categorias a{
  color: #404040;
  font-size: 15px;
  line-height: 18px;
  text-transform: uppercase;
  
}

.field--name-field-categorias a:hover{
  color: #D22020;
}

.field--name-field-categorias{
    padding: 10px 0 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 15px;
  float: left;
  width: 100%;
}

.field--name-field-categorias>.field__item{
  margin-bottom: 0px !important;
}

.field--name-field-categorias>.field__item:before{
 content: " / ";
 padding-right: 10px;
}

.field--name-field-categorias>.field__item:first-child:before{
 content: " / ";
 display: none;
}


/*****NODO NOTICIAS***/


.btn-hr{
  display:inline-block;
  padding:.75rem 1rem;
  border:0px solid #D22020;
  background-color:#D22020;
  color: #fff;
  text-align:center;
  text-decoration:none;
  border-radius:0;
  text-transform: uppercase;
}

.btn-hr:hover{
  color: #d22020 !important;
  background:none !important;
  border: 1px solid #d22020;
  }

.hr-download{margin-top:1rem}

/* Bullet rojo SOLO en la lista de Documentos */
.documentos-list > .documentos-item::marker{
  color: #d22020;
}


/**Visor**/

.slick--field-noticia-imagen{
  position: relative;
}
.slick__arrow{
  float: right;
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: none;
}

.slick--field-noticia-imagen .slick__arrow{
  position: static;
}

.page-node-type-usal-notadeprensa .slick__arrow{
 
  display: block;
}
/* Por si acaso */
.page-node-type-usal-notadeprensa .slick__arrow .slick-prev,
.page-node-type-usal-notadeprensa .slick__arrow .slick-next {
}


.slick-prev{
  position: absolute;
  left: 25px;
  top: 40%;
  z-index: 9;
}

.slick-prev{
  position: absolute;
  left: 20px;
  top: 40%;
  z-index: 9;
}

.slick-next{
  position: absolute;
  right: 20px;
  top: 40%;
  z-index: 9;
}


/* Ocultar texto pero dejar accesible el botón */
.slick-prev,
.slick-next {
  width: 40px;
  height: 40px;
  background: #ae291e;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 0; /* Oculta texto */
 
  cursor: pointer;
  border-radius: 0;
  margin: 0 5px;
}

.slick-prev:hover,
.slick-next:hover{
 
   background: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
}

/* Flecha izquierda (anterior) */
.slick-prev::before {
  content: "◀";
  font-size: 24px;
  display: block;
  text-align: center;
  line-height: 40px;
}

/* Flecha derecha (siguiente) */
.slick-next::before {
  content: "▶";
  font-size: 24px;
  display: block;
  text-align: center;
  line-height: 40px;
}


/*Fin visor*/




.top_new{
  max-width: 75%;
  display: flex;
  flex-direction: column;
}


.group_new{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.group_new .left_new{
  flex: 0 0 75%;
  max-width: 75%;
  padding-right: 50px;
}

.group_new .right_new{
  flex: 0 0 23%;
  max-width: 23%;

}




.group_new .right_new>div{
  float: left;
  width: 100%;
}

.title_section h2,
.noticias-relacionadas h2{
  border-top: 1px solid #404040;
  padding-top: 7px;
  margin-top: 20px;
  color: #404040
}

.noticias-relacionadas h2{
  padding-top: 35px;
  padding-bottom: 25px;
}

.noticias-relacionadas .noticia-relacionada{
  float: left;
  width: 25%;
  padding-right: 25px;
  margin-bottom: 30px;
}



.noticias-relacionadas img{
  width: 100%;
  max-width: 100%;
}

.imagen-noticia {
  height: 150px;
  object-fit: cover;
  width: 100%; /* o lo que necesites */
}


.noticia-relacionada h3{
  font-size: 18px;
  margin-top: 15px;
}

.field--name-field-noticia-fecha-noticia{
  text-transform: uppercase;
  font-size:15px;
  float: left;
  width: 100%;
}

.field--name-field-noticia-subtitulo,
.field--name-field-noticia-subtitulo2,
.field--name-field-investigacion-subtitulo2{
  font-size: 24px;
  padding: 10px 0;
}

.page-node-type-usal_notadeprensa .field--name-field-noticia-subtitulo,
.route-entity-node-canonical .field--name-field-noticia-subtitulo,
.field--name-field-noticia-subtitulo{
  text-align: left;
  width: 100%;
  float: left;
}

.page-node-type-usal_notadeprensa .field--name-field-noticia-fecha-noticia,
.node--type-usal-notadeprensa .field--name-field-noticia-fecha-noticia{
  width: auto;
  float: left;
}

.page-path-ciencia .node--type-usal-notadeprensa .field--name-field-noticia-fecha-noticia,
.path-taxonomy .node--type-usal-notadeprensa .field--name-field-noticia-fecha-noticia{
  float: none;
}

.page-node-type-usal_notadeprensa .text_section,
.node--type-usal-notadeprensa .text_section{
  float: left;
  width: 100%;
}

.meta-sep,
.meta-author{
  padding-top: 3px;
  float: left;
  font-size: 18px;
  color: #4d4d4d;
  text-transform: none;
}
.meta-sep{
  margin: 0 5px;
}

.field--name-field-noticia-contenido{
  font-size: 19px;
  line-height: 21px;
}

.field--name-field-noticia-contenido img{
  width: 100%;
  height: auto !important;
}

tt{
  font-size: 14px;
}

.field--name-field-noticia-nodos{
  line-height: 20px;
}

.documentos-enlace{
  padding-top: 20px;
}

.documentos-enlace a{
  text-align: center;
  width: 90%;
  margin-left: 0;
}

.image_section{
  padding: 35px 0;
  float: left;
  width: 100%;
}

.image_section img{
  width: 100%;
}

.title_section h2{
  font-size: 23px;
  padding-top: 15px;
  color: #404040;
  font-weight: bold;
}


.page-node-type-usal-notadeprensa .title_section{
  float: left;
  width: 100%;
}

.right_new .text_section{
  margin-bottom: 40px;
}

.text_section .field__label{
  font-size: 18px;
  border-top:0px solid #4a4a4a;
  padding-top: 15px;
}

.image_section figcaption{
  margin-top: 15px;
}

figure {
  margin: 0 0 5px;
}

.view-taxonomy-term .field--name-field-categorias{
  display: none;
}

.field--name-field-noticia-persona-contacto .field__label{
  font-size: 16px;
}

.field--name-field-noticia-persona-contacto .field__item{
  text-transform: uppercase;
}

.right_new .field--name-field-noticia-persona-contacto .field__item{
  text-transform: none;
}

li{
  margin-bottom: 9px;
}


.field--name-field-noticia-email,
.field--name-field-noticia-telefono,
.field--name-field-noticia-persona-contacto .field__item{
  padding: 3px 20px;
}

.field--name-field-noticia-web{
  padding: 0px 20px;
}

.field--name-field-noticia-persona-contacto .field__item{
  padding: 10px 20px 3px;
}

.field--name-field-noticia-email{
  color: #D22020;
}

.fecha{
  padding-top: 15px;
}

.categoria_section{
  float: left;
  width: 100%;
  padding-bottom: 15px;
}

.categoria_section .field--name-field-categorias a,
.categoria_section{
  font-size: 20px;
  color: #D22020;
  text-transform: uppercase;
 
}

.social-share {
  margin: 2rem 0;
}

.social-share__title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.social-share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  padding-bottom: 40px;
  float: left;
  width: 100%;
}

.right_new .social-share__list{
  padding-bottom: 0px;
}
.right_new .social-share{
  margin-bottom: 50px;
}
.social-share__item {
  margin: 0;
}

.social-share__item a{
  color: #000;
  margin-right: 13px;
}

.social-share__item svg{
  font-size: 22px;
}

.social-share__item a:hover{
  opacity: 0.7;
}

.social-share__item a img{
  width: 23px;
      margin-top: -5px;
}

li.social-share__item:last-child a img{
   width: 28px;
    margin-top: -6px;
}


.social-share__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

.social-share__link:hover {
  background-color: #e0e0e0;
}

.social-share__icon {
  display: block;
  width: 24px;
  height: 24px;
}

.social-share__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: #333;
}

.social-share__link--facebook:hover svg {
  fill: #3b5998;
}

.social-share__link--instagram:hover svg {
  fill: #e1306c;
}

.social-share__link--twitter:hover svg {
  fill: #1da1f2;
}

.social-share__link--youtube:hover svg {
  fill: #ff0000;
}

.social-share__link--linkedin:hover svg {
  fill: #0077b5;
}

.social-share__link--tiktok:hover svg {
  fill: #000000;
}

.social-share__link--twitch:hover svg {
  fill: #6441a5;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


.field--name-field-noticia-resumen strong{
  font-weight: 400;
}


/****fORMULARIO DE BÚSQUEDA***/

/* Oculta el input y botón inicialmente */
#search-block-form .form-item,
#search-block-form .form-actions {
  display: none;
  transition: all 0.3s ease;
}

/* Aparece cuando se activa la clase */
#search-block-form.active .form-item,
#search-block-form.active .form-actions {
  display: block;
}

#search-block-form{
  margin-top: 18px;
}

/* Estilo visual del bloque cerrado */
#search-block-form::before {
  font-family: "Font Awesome 6 Free"; /* o según tu versión */
  font-weight: 900; /* para estilo solid */
  content: "\f002";
  letter-spacing: 1px;
  display: inline-block;
  cursor: pointer;
  font-weight: 500;
  font-size: 19px;
  padding: 5px 10px;
  text-decoration: none;
}

#search-block-form::after {
  content: "BUSCADOR";
  padding-top: 6px;
  font-family: 'Lato', sans-serif;
  font-weight: bold;
  margin-top: 2px;
  letter-spacing: 1px;
  padding-left: 13px;
  font-size: 19px;
  cursor: pointer;
}

/* Oculta el contenido real del formulario mientras no esté activo */
#search-block-form:not(.active) * {
  visibility: hidden;
  height: 0;
  overflow: hidden;
}



/* --- ESTILO DEL BOTÓN DE LUPA INICIAL --- */
#search-block-form {
  position: relative;
  z-index: 10;
}

#search-block-form::before {
  font-family: "Font Awesome 6 Free"; /* o según tu versión */
  font-weight: 900; /* para estilo solid */
  content: "\f002";
  display: inline-block;
  font-size: 19px;
  font-weight: bold;
  cursor: pointer;
  padding: 8px 2px 8px 15px;
  background: none;
  color: #333;
  border-radius: 20px;
  transition: all 0.3s ease;
}

/* Ocultar contenido cuando está cerrado */
#search-block-form:not(.active) .form-item,
#search-block-form:not(.active) .form-actions,
#search-block-form:not(.active) .close-button {
  display: none;
}

/* --- ESTILO DESPLEGADO EN CABECERA --- */
#search-block-form.active {
  position: fixed;
  top:-30px;
  left: 0;
  width: 100vw;
  padding: 40px;
  background: white;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

/* Input ocupa todo el ancho menos el botón */
#search-block-form input[type="search"] {
  flex-grow: 1;
  max-width: 100%;
  padding: 12px 16px;
  font-size: 18px;
  border: 2px solid #ccc;
  border-radius: 8px;
  min-width: 0;
}

/* Botón buscar junto al input */
#search-block-form input[type="submit"] {
  padding: 12px 20px;
  font-size: 16px;
  white-space: nowrap;
  border-radius: 8px;
  background-color: #333;
  color: white;
  border: none;
}



/* Contenedor de input + botón como fila */
#search-block-form .form-item,
#search-block-form .form-actions {
  display: flex;
  flex: 1;
  max-width: 100%;
  align-items: center;
  gap: 10px;
}

#search-block-form .form-actions{
  max-width: 180px !important;
}

.search-results,
.search-results li{
  padding-left: 0;
  margin-left: 0;
}

.page-path-search-node .region-content h2{
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
  margin-top: 35px;
  text-transform: uppercase;
}

.search-help-link{
  display: none;
}

/* Botón cerrar */
#search-block-form .close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: #666;
  z-index: 1000;
}

/* Oculta el botón "🔍 BUSCADOR" cuando el formulario está activo */
#search-block-form.active::before,
#search-block-form.active::after{
  display: none;
}


/*********USER LOGIN***/

.page-path-user-login .region-content,
.page-path-user-password .region-content {
  max-width: 650px;

}


/***Paginador***/
.active > .page-link{
  background-color: #d22020;
  border-color: #d22020;
}

.page-link {
  color: #d22020;
  background: none;
}

.pager{
  float: left;
  width: 100%;
}

.pagination {
    padding:0rem 0;
  
}






/*Menu responsive**/

.responsive-menus.responsified span.toggler,
.responsive-menus.responsified span.toggler{
  max-width: 60px;
  height: 40px;
  padding-top: 5px;
}


.responsive-menus.responsified span.toggler {
  padding: 1px;
  display: block;
  background: none;
  color: #333;
  border-radius: 0px !important;
  box-shadow: 0px 0px 0px #000;
  font-size: 1.90em;
  text-align: center;
  cursor: pointer;
  outline: none;
  border-radius: 0;
  margin-left: 0;
}

.responsive-menus.responsified .responsive-menus-simple li {
  width: 100%;
  display: block;
  padding: 0;
  margin: 0;
  clear: both;
  list-style: none;
  background-color: #f8f8f8 !important;
  border-bottom: 2px solid #4d4d4d;
}

.responsive-menus.responsified .responsive-menus-simple li a{
  color: #1d1d1d !important;
  background-color: #f8f8f8 !important;
}

.responsive-menus.responsified .responsive-menus-simple {
    display: none;
    width: 100%;
    background: #f8f8f8;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    box-shadow: 0px 0px 0px #fff;
}


.social-icons a.icon-svg img {
  width: 20px;
  height: 20px;
  display: block;
  vertical-align: middle;
  margin-top: 7px;
}


.sidebar-audio{
  margin-top: 0px;
  padding-top: 20px;
  border-top: 0px solid #1d1d1d;
}

.field--name-field-audio{
  border-top: 1px solid #1d1d1d;
  padding-top: 30px;
  margin-top: 90px;
}


.node--type-noticia article blockquote {
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.4;
  color: #555;
  max-width: 420px;
  padding: 20px 30px;
  border-left: 4px solid #aaa;
  margin: 2.5rem 0;
  background: transparent;
}

/* Alternancia: izquierda / derecha */
/* Estilo general del blockquote */
.field--name-field-noticia-contenido blockquote {
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.4;
  color: #444;
  max-width: 450px;
  padding: 20px 30px;
  border-left: 4px solid #d6a760;
  margin: 2.5rem 0;
  background: transparent;
}

/* Alternancia de alineación */
.field--name-field-noticia-contenido blockquote:nth-of-type(odd) {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  float: left;
  margin-bottom: 0;
  margin-right: 15px;
  padding-bottom: 25px;
  width: 43%;
  background-color: transparent;
  border: 0;
  font-size: 25px !important;
  line-height: 33px;
  color: #737373;
  text-align: left;
  float: left;
  margin-bottom: 0;

  margin-left: 0;
  padding-left: 0;
  padding-top: 0;
 
}

.field--name-field-noticia-contenido blockquote:nth-of-type(even) {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
  border-left: none;
  float: left;
  margin-bottom: 0;
  margin-right: 20px;
  padding-bottom: 25px;
  width: 43%;
  background-color: transparent;
  border: 0;
  font-size: 25px !important;
  line-height: 30px;
  color: #737373;
  text-align: left;
  margin-left: 0;
  padding-left: 0;
  padding-top: 0;

}

.field--name-field-noticia-contenido blockquote p{
  font-size: 25px;
  line-height: 30px;
}

.route-entity-node-preview .block-page-title-block h1{
  display: none;
}


/***Ocultar Categorias*/
.extra-links-container{
  display: none;
}









.path-frontpage main {
  margin-top: 0px;
  margin-bottom: 35px;
}



/****Footer***/

.footer-content{
  display: flex; 
  flex-wrap: wrap; 
  justify-content: space-between; 
  gap: 2rem;
}

.footer-col{
  flex: 1 1 25%; 
  text-align: center;
}
.footer-col-last{
   flex: 1 1 65%; 
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
}

footer{
  padding: 0 0 0;
  margin-top: 40px;
}

footer .social-icons li{
  list-style: none;
}

.text-footer{
  font-size: 1.4rem;
}

footer .social-icon{
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 400px;
}
#block-usal-copyright2025{
  text-align: center;
  background-color: #CC1818;
  color: #fff;
  padding: 6px 10px;
}

#block-usal-copyright2025 p{
  color: #fff;
  margin-bottom: 0;
  font-size: 12px;
}

.footer .container{
  max-width:1200px;
  width: 100%;
  margin: 0;
  padding: 0;
}

footer>.container{
  margin: 0;
  padding: 0;
}

footer .container{
  max-width: 100%;
}

.region-footer{
  margin: 0;
  padding: 0;
}

#block-usal-logofooter{
  text-align: center;
  background-color: #E8E8E8;
  padding: 40px 20px 30px;
}

#block-usal-logofooter a{
  font-size: 12px;
}


#block-usal-logofooter img{
  max-width: 300px;
}

.footer-section {
  background-color: #4a4a4a;
  color: white;
  padding: 40px 0;
}

.footer-section .container{

  margin: 0 auto;
  max-width: 1200px;
}

h2.footer-title {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 400;
  color: #fff;
}

p.footer-title{
  margin-top:20px;
  font-size: 22px;
}

.footer-divider {
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  margin: 15px 0 25px 0;
  width: 100%;
}

.btn-subscribe {
  border: 1px solid white;
  color: white;
  background-color: transparent;
  padding: 10px 30px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
  margin-top: 10px;
  margin: 15px 0;
}

.btn-subscribe:hover {
  background-color: #fff;
  color: #000 !important;
}

.btn-area {
  border: 1px solid white;
  color: white;
  background-color: transparent;
  padding: 10px 20px;
  transition: all 0.3s;
  text-align: center;
  margin-top: 10px;
  width: auto;
  margin-left: 5px;
  margin-right: 5px;
  float: left;
}

.btn-area:hover {
  background-color: #fff;
  color: #000 !important;
}

.social-icons {
  margin-top: 20px;
}

.footer-section .social-icons{
  display: flex;
  justify-content: center;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  margin-right: 15px;
  transition: opacity 0.3s;
}

.social-icons a:hover {
  opacity: 0.7;
}


h3.footer-info{
      font-size: 20px;
      margin-bottom: 10px;
      text-align: center;
      padding: 0 10%
}

.footer-info {
  font-size: 0.9rem;
  line-height: 1.5;
}



/******HOMEEEEEEEE****/

.path-frontpage main>.container{
  max-width: 100%;
  padding: 0;
}

.field--name-field-elementos-slider{
  width: 100%;
  background-color: #404040;
  margin-bottom: 40px;
}

.field--name-field-elementos-slider h2{
  margin-bottom: 35px;
}

.field--name-field-elementos-slider h2 a{
  color: #fff;
  font-size: 40px;
  line-height: 46px;

}

.field--name-field-elementos-slider .text-formatted{
  font-size: 27px;
  color: #fff;
}

.field--name-field-elementos-slider article{
  max-width: 1200px;
  margin: 0 auto;
}

.field--name-field-elementos-slider .node__content > .field >.field__item {
  margin-bottom: 0px !important;
}

.field--name-field-elementos-slider .field--name-field-categorias a {
    color: #fff;
    font-size: 15px;
    line-height: 18px;
    text-transform: uppercase;
}

.field--name-field-elementos-slider .field--name-field-categorias>.field__item:before {
    color: #fff;
}

.field--name-field-elementos-slider .field--name-title h2{
      margin-bottom: 15px;
}

.field--name-field-elementos-slider .field--name-field-categorias{
  display: inline !important;
}

.field--name-field-elementos-slider .field--name-field-categorias>.field__item {
    float: left;
    padding-right: 15px;
}




.path-frontpage .texto{
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-left: 40px;
}

.path-frontpage .region-content {
  padding: 0 0rem;
}

.field--name-field-elementos-slider .node__content{
  display: flex;
  justify-content: space-between;
}
.field--name-field-elementos-slider .node__content>div{
  flex: 0 0 50%;
  max-width: 50%;
}

.path-frontpage .field--name-field-noticias-video,
.path-frontpage .field--name-field-elementos-fijos{
  max-width: 1200px;
  margin: 0 auto;
}

.path-frontpage .field--name-field-noticias-video{
  border-top: 1px solid #404040;
  margin-top: 30px;
  padding-top: 30px;
}


.slide__caption {
  display: flex;
  align-items: stretch; /* Hace que ambos elementos ocupen todo el alto */
  gap: 20px; /* Espacio entre la imagen y el texto */
  position: relative;
}

.slide__overlay {
  flex: 0 0 50%; /* La imagen ocupa el 50% del ancho */
  display: flex;
  align-items: center; /* Centra la imagen verticalmente */
  position: relative;

}

.slide__overlay img {
  width: 100% !important; /* La imagen ocupa todo el ancho disponible */
  height: 100% !important; /* La imagen ocupa todo el alto disponible */
  object-fit: cover; /* Recorta la imagen si es necesario */
  position: absolute;
  top:0;
}

.slide__data {
  flex: 0 0 50%; /* El título ocupa el otro 50% */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra el texto verticalmente */
}


.path-frontpage .field--type-entity-reference>.field__item{
  margin-bottom: 40px;
}

.node--type-conf-pag-inicio .field--type-entity-reference{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 0px;
}



.node--type-conf-pag-inicio .field--type-entity-reference>.field__item{
  margin-bottom: 4px;
}

.node--type-conf-pag-inicio .field--type-entity-reference>.field__item {
  flex: 0 0 48%;
  max-width: 48%;
  margin-bottom: 40px;
}

.path-taxonomy .content >.field--name-name>h2{
  display: none;
}
/***PÁGINA ACTUALIDAD****/
.view-actualidad{
  width: 100%;

}

.path-actualidad .block-system-main-block{
  flex: 0 0 65%;
  max-width: 65%;
  width: 65% !important;
  
}

.view-actualidad .field--name-field-noticia-imagen,
.views-row .field--name-field-noticia-imagen{
  width: 100%;
  float: left;
  margin-right: 25px;
  margin-bottom: 15px;
}

.view-taxonomy-term .views-row{
  width: 100%;
}



.page-path-ciencias .views-row .field--name-field-noticia-imagen,
.path-taxonomy .views-row .field--name-field-noticia-imagen{
  width: auto;
}

.page-path-ciencias .field--name-field-noticia-resumen,
.path-taxonomy .field--name-field-noticia-resumen {
    float: none;
}

.view-actualidad .field--name-field-noticia-imagen img,
.path-taxonomy .field--name-field-noticia-imagen img{
  width: 100%;
}

.view-actualidad .field--name-title{
  width: 100%;
  float: left;
}

.path-taxonomy .field--name-field-noticia-fecha-noticia{
  width: auto;
  float: none;
}

 .path-taxonomy .views-row .field--name-field-noticia-imagen {
    width: 45%;
}

.path-taxonomy .block-page-title-block{
  padding-bottom: 15px;
}


.path-actualidad .block-views-blockactualidad-block-1,
#block-usal-views-block-videos-actualidad-block-1{
  flex: 0 0 47%;
  max-width: 47% !important;
  width: 47% !important;
}

#block-usal-views-block-videos-actualidad-block-1{
  flex: 0 0 30%;
  max-width: 30% !important;
  width: 30% !important;
}

.path-actualidad main .region-content{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}


.view-actualidad,
.view-videos-actualidad{

  border-top: 2px solid #4D4D4D;
  padding-top:15px;
  padding-bottom: 60px;
  margin-top: 40px;
}

.view-actualidad .view-header,
.view-videos-actualidad .view-header{
  margin-bottom: 40px;
}

.views-row{
  margin-bottom: 40px;
}

.views-row{
  float: left;

}

.view-listado-por-servicios-y-unidades .views-row{
  margin-bottom: 15px;
}

[class*="view-listado-por-"] .views-row,
[class*="view-duplicado-de-listado-por-"] .views-row  {
  margin-bottom: 15px;
}

[class*="view-listado-por-"] .view-content,
[class*="view-duplicado-de-listado-por-"] .view-content {
     margin-top: 30px;
    display: flex;
    flex-direction: column;
}

tt {
    font-family: 'Lato', sans-serif;
}

/*.path-facultades h1::before,
.path-servicios h1::before,
.path-departamentos h1::before,
.path-institutos h1::before,
.path-centros-propios h1::before,
.page-path-entidades-dependientes h1::before,
.page-path-entidades-dependientes h1::before,
.path-organos-representacion h1::before,
.path-organos-gobierno h1::before,
.path-campus-universitarios h1::before,
.path-equipo-gobierno h1::before{
  content: "CATEGORIAS";
  text-transform: uppercase;
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
  width: 100%;
  float: left;
  font-weight: 400;
}*/


.field--name-field-noticia-fecha-publicacion,
.field--name-field-noticia-fecha-noticia{
  font-size: 17px;
  color: #4D4D4D;
  margin: 7px 0 10px;
}

.field--name-field-noticia-resumen{
  font-size: 19px;

  font-weight: 400;
  float: left;
  width: 100%;
}

.page-path-incio .tabs-primary {
    margin: 1rem 25px;
}

.image_section .field--name-field-noticia-imagen{

  float: left;
  margin-right: 30px;
  width: 100%;
}

.image_section .field--name-field-noticia-imagen img{

  width: 100%;
}

.field--type-entity-reference .field__item .field--name-field-noticia-imagen{
  float: left;
  margin-right: 0px;
}
.path-frontpage .field--type-entity-reference .field__item .field--name-field-noticia-imagen,
.path-frontpage .field--type-entity-reference .field__item .field--name-field-noticia-imagen img{
  width: 100%;
}

.path-frontpage .field--type-entity-reference .field__item .field--name-field-noticia-imagen{
  margin-bottom: 20px;
}

.field--name-title
.paragraph--type--contenido-extra p{
  font-size: 20px;
}

.field--name-field-subtitulo p,
.field--name-field-subtitulo h2{
  font-size: 24px;
      padding: 10px 0;
}

.field--name-field-audio,
.field--name-field-videos,
.field--name-field-contenido-extra .field--name-field-imagen{
    padding: 15px 0;
}

.path-actualidad .field--name-field-videos{
   padding: 0px 0;
}

.field--name-field-videos .field__item{
  margin-bottom: 15px;
}

.field--name-field-contenido-extra .field--name-field-texto{
   padding: 0px 0 15px;
   font-size: 19px;
}

.field--name-field-leyenda-del-video{
  margin-bottom: 20px;
}

audio{
  width: 100%;
}

/******PÁGINA CONVOCATORIAS****/
.page-node-type-usal_convocatoria .top_new .title-date-wrapper,
.route-entity-node-preview.page-node-type-usal-convocatoria .top_new .title-date-wrapper{
  display: flex;
}
h2.name_section{
  color: #404040;
  text-transform: uppercase;
  font-size: 23px;
  width: 100%;
  float: left;
  padding-bottom: 20px;
}

.node--type-usal-convocatoria h1{
  margin-bottom: 35px;
}

.node--type-usal-convocatoria .social-share .title_section h2{
  padding-top: 20px;
}

.node--type-usal-convocatoria .group_new .right_new {
  margin-top: -20px;
}

.node--type-usal-convocatoria .social-share{
  margin-top: 0px;
  padding-top:0px;
}

.node--type-usal-convocatoria h2.name_section{
  border-bottom: 1px solid #404040;
  padding-bottom: 42px;
  margin-bottom: 30px;

}

.node--type-usal-convocatoria .date_section{
  border-right: 1px solid #4a4a4a;
  padding-right: 15px;
  margin-right: 25px;
  min-width: 165px;
  margin-bottom: 50px;
  font-size: 28px;
}
.node--type-usal-convocatoria .date_section .field--name-field-noticia-fecha-publicacion{
  font-size: 30px;
}
.page-node-type-usal_notadeprensa .text_section-info a{
  margin-left: 20px;
}

.node--view-mode-noticia-destacada .field--name-field-noticia-fecha-noticia{
  color: #fff;
}

.node--view-mode-noticia-destacada .field--name-field-noticia-imagen{
  margin-top: 0;
  padding-top: 0;
}

.field--name-created.field--type-created.field--label-hidden{
  display: none;
}

.view-convocatorias-usal{
  padding-top: 40px;
}
.view-convocatorias-usal .view-content{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.view-convocatorias-usal .view-content>.views-row{
 flex:  0 0 47%;
 max-width: 47%;
}

.view-convocatorias-usal .view-content>.views-row .node__content{
  display: flex;
}

.view-convocatorias-usal .field--name-field-noticia-fecha-publicacion{
  width: 15%;
  border-right: 2px solid #4d4d4d;
  padding-right: 20px;
  margin-right: 20px;
  font-size: 22px;
}

.view-convocatorias-usal .field--name-title{
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 75%;
}

.page-node-type-usal_convocatoria .field--name-field-nombre{
  font-weight: bold;
  text-transform: uppercase;
}

.page-node-type-usal_convocatoria .field--name-field-nombre p{
  margin-bottom: 0;
}

.detail{
  background-color: #EAEAEA;
  padding: 25px;
  border-radius: 5px;
}
.detail .column-left .text_section{
  padding-left: 20px;
  padding-right: 25px;
}
.paragraph--type--convocatoria{
  margin-bottom: 15px;
}

.page-node-type-usal_convocatoria .detail,
.route-entity-node-preview.page-node-type-usal_convocatoria .detail,
.route-entity-node-preview .detail{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.page-node-type-usal_convocatoria .field--name-field-convocatoria-mas-info p a{
  font-size: 16px;
  font-weight: normal;
}
.page-node-type-usal_convocatoria .field--name-field-convocatoria-mas-info p a strong{

  font-weight: normal;
}

.page-node-type-usal_convocatoria .detail>div,
.route-entity-node-preview.page-node-type-usal-convocatoria .detail>div,
.route-entity-node-preview .detail>div{
 flex: 0 0 50%;
 max-width: 50%;
}
/* Contenedor general opcional para mejorar espacio entre elementos */
.field--name-field-fecha,
.field--name-field-hora,
.field--name-field-lugar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: #1d1d1d;
  margin-bottom: 8px;
}

/* === Vista: Convocatorias USAL === */
.view-convocatorias-usal .node--teaser .title-date-wrapper{
  display:flex;
  align-items:flex-start;
  gap:2rem;                /* separación fecha/título */
}

.view-convocatorias-usal .node--teaser .date_section{
  flex:0 0 140px;          /* ancho columna fecha (ajusta si hace falta) */
  line-height:1.1;
  border-right: 0;
  padding-right: 0;
  margin-right: 0;
}



.view-convocatorias-usal .node--teaser .title-date-wrapper{
  border-right: 1px solid #000;
  margin-right: 15px;
}

.view-convocatorias-usal .node--teaser .node__title{
  margin:0;
  padding-left:2rem;
  border-left:2px solid #d8d8d8;  /* línea vertical */
}

/* Si el teaser lleva algo más debajo del título */
.view-convocatorias-usal .node--teaser .node__content{
  margin-top:.75rem;       /* quita si no lo usas */
}

/* Mes con mayúscula inicial si el locale lo deja en minúsculas */
.view-convocatorias-usal .node--teaser .date_section .date-month{
  text-transform:capitalize;
}

.view-convocatorias-usal article.node--teaser{
  display: flex;
}

.view-convocatorias-usal article.node--teaser




/* Icono de calendario para la fecha */
.field--name-field-fecha::before {
  font-family: "Font Awesome 6 Free";
  content: "\f133"; /* icono de calendario */
  font-weight: 400;  /* regular */
  margin-right: 6px;
}

/* Icono de reloj para la hora */
.field--name-field-hora::before {
  font-family: "Font Awesome 6 Free";
  content: "\f017"; /* icono de reloj */
  font-weight: 400;
  margin-right: 6px;
}

/* Icono de ubicación para el lugar */
.field--name-field-lugar::before {
  font-family: "Font Awesome 6 Free";
  content: "\f3c5"; /* icono de ubicación */
  font-weight: 900; /* solid */
  margin-right: 6px;
}


.detail .title_section h2{
  border-top: 0px solid #404040;
  font-size: 20PX;
  margin-top:0px;
}

.field--type-entity-reference .field__item:nth-of-type(n+5) .field--name-field-noticia-imagen{
  display: none;
}


.field--type-entity-reference> .field__item:nth-of-type(n+5){
  position: relative;
  padding-top: 25px;
}

.field--type-entity-reference> .field__item:nth-of-type(n+5)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  border-top: 2px solid #c00;
}

.path-frontpage .field--name-field-noticias-video .field--name-field-videos{
  margin-bottom: 0px;

}

.page-path-actualidad .field--name-field-videos .field__item{
  display:none;
}

.page-path-actualidad .field--name-field-videos .field__item:first-child{
  display:block;
}


.field--name-field-bloque{
  position: relative;
  padding-bottom: 80px;

}

.field--name-field-bloque .btn{
  background-color: #CC1B1A;
  padding: 4px 25px;
  color: #fff;
  border-radius: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/******PÁGINA DE CIENCIAS*****/
.view-duplicate-of-actualidad{
  padding-top: 30px;
}

.field--name-field-tags-dinamicos{
  display: flex;
  flex-wrap: wrap;
  clear: both;
  width: 100%;
}

.field--name-field-tags-dinamicos .field__item::after{
  content: ",";
  margin-right: 4px;
}

.field--name-field-tags-dinamicos .field__item:last-child::after{
  content: " ";
  margin-right: 4px;
}





/*********PÁGINAS ESTÁTICAS****************/

.feed-icons{
  display: none;
}
/**INFORMACIÓN Y CONTACTO*/
.info-contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 0px 40px;
  font-size: 19px;
  
}

.intro-text {
  font-size:19px;
 
  margin-bottom: 20px;
  color: #444;
}

.info-contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
}

.info-column {
  flex: 1 1 58%;
}

.contact-column {
  flex: 1 1 35%;
}


.section-title {
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
}

.page-path-area-comunicacion h2.section-title{
  max-width: 66%;
}

h2.section-title{
  text-transform: none;
   font-size: 40px;
   line-height: 47px;
}
.section-divider {
  height: 1px;
  background-color: #ddd;
  margin: 30px 0;
}
.contact-info {
  margin-bottom: 20px;
}
.email-link {
  color: #c00;
  text-decoration: none;
}
.email-link:hover {
  text-decoration: underline;
}
.highlighted {
  color: #c00;
}
.map-container {
  margin-top: 20px;
}
.map-container img {
  width: 100%;
  border-radius: 5px;
}


/**Página estatica de Área de comunicación***/
.comunicacion-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 0px 20px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.section-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 35px;
  font-weight: 600;
  margin: 30px 0 15px 0;
  text-transform: none;
  color: #333;
}
h2.section-subtitle{
  text-transform: uppercase;
  font-weight: 800;
  font-size: 40px;
}

.section-column .section-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 35px;
  font-weight: 400;
  margin: 30px 0 15px 0;
  text-transform: nonw;
  color: #333;
}

.intro-parrafo {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 30px;
}

.section-divider {
  height: 1px;
  background-color: #ccc;
  margin: 30px 0;
}

.mision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.mision-card {
  background: #f9f9f9;
  padding: 0px 20px 20px 0px;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.section-column{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 19px;
}

.section-column>div{
 flex:48% 0 0;
 max-width: 48%;
}
.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.persona-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #f8f8f8;
  padding: 15px;
  border-radius: 6px;
  font-size: 19px;
  padding-left: 0;
}

.persona-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.email-link {
  color: #c00;
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}


/***Campo categorías***/
.field--name-field-categorias a{
  color: #404040;
  font-size: 15px;
  line-height: 18px;
  text-transform: uppercase;
  
}

.field--name-field-categorias a:hover{
  color: #D22020;
}

.field--name-field-categorias{
    padding: 10px 0 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 15px;
  float: left;
  width: 100%;
}

.field--name-field-categorias>.field__item{
  margin-bottom: 0px !important;
}

.field--name-field-categorias>.field__item:before{
 content: " / ";
 padding-right: 10px;
}

.field--name-field-categorias>.field__item:first-child:before{
 content: " / ";
 display: none;
}


/*****NODO NOTICIAS***/


.btn-hr{
  display:inline-block;
  padding:.75rem 1rem;
  border:1px solid #4d4d4d;
  background:none;
  font-size: 16px;
text-align:center;
text-decoration:none;
border-radius:0;
color:#4d4d4d;
text-transform: uppercase;}

.btn-hr:hover{

  color: #fff;
  background-color:#444;
  }

.hr-download{
  margin-top:60px !important;
  padding-top: 30px;
  border-top: 1px solid #4d4d4d;
}


/**Visor**/

.slick--field-noticia-imagen{
  position: relative;
}
.slick__arrow{
  float: right;
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: none;
}

.slick--field-noticia-imagen .slick__arrow{
  position: static;
}

.page-node-type-usal-notadeprensa .slick__arrow{
 
  display: block;
}
/* Por si acaso */
.page-node-type-usal-notadeprensa .slick__arrow .slick-prev,
.page-node-type-usal-notadeprensa .slick__arrow .slick-next {
}


.slick-prev{
  position: absolute;
  left: 25px;
  top: 40%;
  z-index: 9;
}

.slick-prev{
  position: absolute;
  left: 20px;
  top: 40%;
  z-index: 9;
}

.slick-next{
  position: absolute;
  right: 20px;
  top: 40%;
  z-index: 9;
}


/* Ocultar texto pero dejar accesible el botón */
.slick-prev,
.slick-next {
  width: 40px;
  height: 40px;
  background: #ae291e;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 0; /* Oculta texto */
 
  cursor: pointer;
  border-radius: 0;
  margin: 0 5px;
}

.slick-prev:hover,
.slick-next:hover{
 
   background: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
}

/* Flecha izquierda (anterior) */
.slick-prev::before {
  content: "◀";
  font-size: 24px;
  display: block;
  text-align: center;
  line-height: 40px;
}

/* Flecha derecha (siguiente) */
.slick-next::before {
  content: "▶";
  font-size: 24px;
  display: block;
  text-align: center;
  line-height: 40px;
}


/*Fin visor*/




.top_new{
  max-width: 75%;
  display: flex;
  flex-direction: column;
}


.group_new{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.group_new .left_new{
  flex: 0 0 75%;
  max-width: 75%;
  padding-right: 50px;
}

.group_new .right_new{
  flex: 0 0 23%;
  max-width: 23%;

}


.group_new .right_new>div{
  float: left;
  width: 100%;
}

.title_section h2,
.noticias-relacionadas h2{
  border-top: 1px solid #404040;
  padding-top: 7px;
  margin-top: 20px;
  color: #404040
}

.noticias-relacionadas h2{
  padding-top: 35px;
  padding-bottom: 25px;
}

.noticias-relacionadas .noticia-relacionada{
  float: left;
  width: 25%;
  padding-right: 25px;
  margin-bottom: 30px;
}



.noticias-relacionadas img{
  width: 100%;
  max-width: 100%;
}

.imagen-noticia {
  height: 150px;
  object-fit: cover;
  width: 100%; /* o lo que necesites */
}


.noticia-relacionada h3{
  font-size: 18px;
  margin-top: 15px;
}

.field--name-field-noticia-fecha-noticia{
  text-transform: uppercase;
  font-size:15px;
  float: left;
  width: 100%;
}

.field--name-field-noticia-subtitulo,
.field--name-field-noticia-subtitulo2,
.field--name-field-investigacion-subtitulo2{
  font-size: 24px;
  padding: 10px 0;
}

.page-node-type-usal_notadeprensa .field--name-field-noticia-subtitulo,
.route-entity-node-canonical .field--name-field-noticia-subtitulo,
.field--name-field-noticia-subtitulo{
  text-align: left;
  width: 100%;
  float: left;
}

.page-node-type-usal_notadeprensa .field--name-field-noticia-fecha-noticia,
.node--type-usal-notadeprensa .field--name-field-noticia-fecha-noticia{
  width: auto;
  float: left;
}

.page-path-ciencia .node--type-usal-notadeprensa .field--name-field-noticia-fecha-noticia,
.path-taxonomy .node--type-usal-notadeprensa .field--name-field-noticia-fecha-noticia{
  float: none;
}

.page-node-type-usal_notadeprensa .text_section,
.node--type-usal-notadeprensa .text_section{
  float: left;
  width: 100%;
}

.meta-sep,
.meta-author{
  padding-top: 3px;
  float: left;
  font-size: 18px;
  color: #4d4d4d;
  text-transform: none;
}
.meta-sep{
  margin: 0 5px;
}

.field--name-field-noticia-contenido{
  font-size: 19px;
  line-height: 21px;
}

.field--name-field-noticia-contenido img{
  width: 100%;
  height: auto !important;
}

tt{
  font-size: 14px;
}

.field--name-field-noticia-nodos{
  line-height: 20px;
}

.documentos-enlace .title_section h2{
      border-top: 0px solid #404040;
      padding-top: 0px;
      margin-top: 0px;
      padding-bottom: 10px;
}

.documentos-enlace{
  float: left;
  width: 100%;
  padding: 55px 45px;
  background-color: #e9e9e9;
  border:0;

}

.documentos-enlace a{
  text-align: left;
  width:100%;
  margin-left: 0;
  padding-left: 0;
  padding-top: 0;
  margin: 0;
  background: none !important;
  color:#d22020;
  border: 0;
  text-transform: none;
  
}

.documentos-enlace a:hover{
  color:#404040;
}

.image_section{
  padding: 35px 0;
  float: left;
  width: 100%;
}

.image_section img{
  width: 100%;
}

.title_section h2{
  font-size: 23px;
  padding-top: 15px;
  color: #404040;
  font-weight: bold;
}


.page-node-type-usal-notadeprensa .title_section{
  float: left;
  width: 100%;
}

.right_new .text_section{
  margin-bottom: 30px;
}

.text_section .field__label{
  font-size: 18px;
  border-top:0px solid #4a4a4a;
  padding-top: 15px;
}

.image_section figcaption{
  margin-top: 15px;
}

figure {
  margin: 0 0 5px;
}

.view-taxonomy-term .field--name-field-categorias{
  display: none;
}

.field--name-field-noticia-persona-contacto .field__label{
  font-size: 16px;
}

.field--name-field-noticia-persona-contacto .field__item{
  text-transform: uppercase;
}

.right_new .field--name-field-noticia-persona-contacto .field__item{
  text-transform: none;
}

li{
  margin-bottom: 9px;
}


.field--name-field-noticia-email,
.field--name-field-noticia-telefono,
.field--name-field-noticia-persona-contacto .field__item{
  padding: 3px 20px;
}

.field--name-field-noticia-web{
  padding: 0px 20px;
}

.field--name-field-noticia-persona-contacto .field__item{
  padding: 10px 20px 3px;
}

.field--name-field-noticia-email{
  color: #D22020;
}

.fecha{
  padding-top: 15px;
}

.categoria_section{
  float: left;
  width: 100%;
  padding-bottom: 15px;
}

.categoria_section .field--name-field-categorias a,
.categoria_section{
  font-size: 20px;
  color: #D22020;
  text-transform: uppercase;
 
}

.social-share {
  margin: 2rem 0;
}

.social-share__title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.social-share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  padding-bottom: 40px;
  float: left;
  width: 100%;
}

.right_new .social-share__list{
  padding-bottom: 0px;
}

.social-share__item {
  margin: 0;
}

.social-share__item a{
  color: #000;
  margin-right: 13px;
}

.social-share__item svg{
  font-size: 22px;
}

.social-share__item a:hover{
  opacity: 0.7;
}

.social-share__item a img{
  width: 23px;
      margin-top: -5px;
}

li.social-share__item:last-child a img{
   width: 28px;
    margin-top: -6px;
}


.social-share__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

.social-share__link:hover {
  background-color: #e0e0e0;
}

.social-share__icon {
  display: block;
  width: 24px;
  height: 24px;
}

.social-share__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: #333;
}

.social-share__link--facebook:hover svg {
  fill: #3b5998;
}

.social-share__link--instagram:hover svg {
  fill: #e1306c;
}

.social-share__link--twitter:hover svg {
  fill: #1da1f2;
}

.social-share__link--youtube:hover svg {
  fill: #ff0000;
}

.social-share__link--linkedin:hover svg {
  fill: #0077b5;
}

.social-share__link--tiktok:hover svg {
  fill: #000000;
}

.social-share__link--twitch:hover svg {
  fill: #6441a5;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


.field--name-field-noticia-resumen strong{
  font-weight: 400;
}


/****fORMULARIO DE BÚSQUEDA***/

/* Oculta el input y botón inicialmente */
#search-block-form .form-item,
#search-block-form .form-actions {
  display: none;
  transition: all 0.3s ease;
}

/* Aparece cuando se activa la clase */
#search-block-form.active .form-item,
#search-block-form.active .form-actions {
  display: block;
}

#search-block-form{
  margin-top: 18px;
}

/* Estilo visual del bloque cerrado */
#search-block-form::before {
  font-family: "Font Awesome 6 Free"; /* o según tu versión */
  font-weight: 900; /* para estilo solid */
  content: "\f002";
  letter-spacing: 1px;
  display: inline-block;
  cursor: pointer;
  font-weight: 500;
  font-size: 19px;
  padding: 5px 10px;
  text-decoration: none;
}

#search-block-form::after {
  content: "BUSCADOR";
  padding-top: 6px;
  font-family: 'Lato', sans-serif;
  font-weight: bold;
  margin-top: 2px;
  letter-spacing: 1px;
  padding-left: 13px;
  font-size: 19px;
  cursor: pointer;
}

/* Oculta el contenido real del formulario mientras no esté activo */
#search-block-form:not(.active) * {
  visibility: hidden;
  height: 0;
  overflow: hidden;
}



/* --- ESTILO DEL BOTÓN DE LUPA INICIAL --- */
#search-block-form {
  position: relative;
  z-index: 10;
}

#search-block-form::before {
  font-family: "Font Awesome 6 Free"; /* o según tu versión */
  font-weight: 900; /* para estilo solid */
  content: "\f002";
  display: inline-block;
  font-size: 19px;
  font-weight: bold;
  cursor: pointer;
  padding: 8px 2px 8px 15px;
  background: none;
  color: #333;
  border-radius: 20px;
  transition: all 0.3s ease;
}

/* Ocultar contenido cuando está cerrado */
#search-block-form:not(.active) .form-item,
#search-block-form:not(.active) .form-actions,
#search-block-form:not(.active) .close-button {
  display: none;
}

/* --- ESTILO DESPLEGADO EN CABECERA --- */
#search-block-form.active {
  position: fixed;
  top:-30px;
  left: 0;
  width: 100vw;
  padding: 40px;
  background: white;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

/* Input ocupa todo el ancho menos el botón */
#search-block-form input[type="search"] {
  flex-grow: 1;
  max-width: 100%;
  padding: 12px 16px;
  font-size: 18px;
  border: 2px solid #ccc;
  border-radius: 8px;
  min-width: 0;
}

/* Botón buscar junto al input */
#search-block-form input[type="submit"] {
  padding: 12px 20px;
  font-size: 16px;
  white-space: nowrap;
  border-radius: 8px;
  background-color: #333;
  color: white;
  border: none;
}



/* Contenedor de input + botón como fila */
#search-block-form .form-item,
#search-block-form .form-actions {
  display: flex;
  flex: 1;
  max-width: 100%;
  align-items: center;
  gap: 10px;
}

#search-block-form .form-actions{
  max-width: 180px !important;
}

.search-results,
.search-results li{
  padding-left: 0;
  margin-left: 0;
}

.page-path-search-node .region-content h2{
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
  margin-top: 35px;
  text-transform: uppercase;
}

.search-help-link{
  display: none;
}

/* Botón cerrar */
#search-block-form .close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: #666;
  z-index: 1000;
}

/* Oculta el botón "🔍 BUSCADOR" cuando el formulario está activo */
#search-block-form.active::before,
#search-block-form.active::after{
  display: none;
}


/*********USER LOGIN***/

.page-path-user-login .region-content,
.page-path-user-password .region-content {
  max-width: 650px;

}


/***Paginador***/
.active > .page-link{
  background-color: #d22020;
  border-color: #d22020;
}

.page-link {
  color: #d22020;
  background: none;
}

.pager{
  float: left;
  width: 100%;
}

.pagination {
    padding:0rem 0;
  
}






/*Menu responsive**/

.responsive-menus.responsified span.toggler,
.responsive-menus.responsified span.toggler{
  max-width: 60px;
  height: 40px;
  padding-top: 5px;
}


.responsive-menus.responsified span.toggler {
  padding: 1px;
  display: block;
  background: none;
  color: #333;
  border-radius: 0px !important;
  box-shadow: 0px 0px 0px #000;
  font-size: 1.90em;
  text-align: center;
  cursor: pointer;
  outline: none;
  border-radius: 0;
  margin-left: 0;
}

.responsive-menus.responsified .responsive-menus-simple li {
  width: 100%;
  display: block;
  padding: 0;
  margin: 0;
  clear: both;
  list-style: none;
  background-color: #f8f8f8 !important;
  border-bottom: 2px solid #4d4d4d;
}

.responsive-menus.responsified .responsive-menus-simple li a{
  color: #1d1d1d !important;
  background-color: #f8f8f8 !important;
}

.responsive-menus.responsified .responsive-menus-simple {
    display: none;
    width: 100%;
    background: #f8f8f8;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    box-shadow: 0px 0px 0px #fff;
}


.social-icons a.icon-svg img {
  width: 20px;
  height: 20px;
  display: block;
  vertical-align: middle;
  margin-top: 7px;
}


.sidebar-audio{
  margin-top: 0px;
  padding-top: 20px;
  border-top: 0px solid #1d1d1d;
  float: left;
  width: 100%;
  padding-bottom: 50px;
}

.sidebar-audio__item-title{
    float: left;
    width: 100%;
    padding-bottom: 10px;
}

.field--name-field-audio{
  border-top: 1px solid #1d1d1d;
  padding-top: 30px;
  margin-top: 60px;
}


.node--type-noticia article blockquote {
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.4;
  color: #555;
  max-width: 420px;
  padding: 20px 30px;
  border-left: 4px solid #aaa;
  margin: 2.5rem 0;
  background: transparent;
}

/* Alternancia: izquierda / derecha */
/* Estilo general del blockquote */
.field--name-field-noticia-contenido blockquote {
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.4;
  color: #444;
  max-width: 450px;
  padding: 20px 30px;
  border-left: 4px solid #d6a760;
  margin: 2.5rem 0;
  background: transparent;
}

/* Alternancia de alineación */
.field--name-field-noticia-contenido blockquote:nth-of-type(odd) {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  float: left;
  margin-bottom: 0;
  margin-right: 15px;
  padding-bottom: 25px;
  width: 43%;
  background-color: transparent;
  border: 0;
  font-size: 25px !important;
  line-height: 33px;
  color: #737373;
  text-align: left;
  float: left;
  margin-bottom: 0;

  margin-left: 0;
  padding-left: 0;
  padding-top: 0;
 
}

.field--name-field-noticia-contenido blockquote:nth-of-type(even) {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
  border-left: none;
  float: left;
  margin-bottom: 0;
  margin-right: 20px;
  padding-bottom: 25px;
  width: 43%;
  background-color: transparent;
  border: 0;
  font-size: 25px !important;
  line-height: 30px;
  color: #737373;
  text-align: left;
  margin-left: 0;
  padding-left: 0;
  padding-top: 0;

}

.field--name-field-noticia-contenido blockquote p{
  font-size: 25px;
  line-height: 30px;
}

.route-entity-node-preview .block-page-title-block h1{
  display: none;
}


/***Ocultar Categorias*/
.extra-links-container{
  display: none;
}

/* pies de foto */
figcaption {
  font-size: 17px;
}




