body
{
    font-family:"Sarala",sans-serif;
    background-color: #ffffff;
}
    
.bodywidth
{
    max-width: 1500px;
    margin: 0 auto;   
}
      
.containerx
{
    background-color: white;
}

.navbar 
{
  margin-bottom: 0;
  border-radius: 0;
}


.navbar-default
{
    background-color: white;
}

/* Set height of the grid so .sidenav can be 100% (adjust as needed) */
.row.content {min-height: 450px}

/* Set gray background color and 100% height */
.sidenav 
{
  padding-top: 20px;
  background-color: #f1f1f1;
  height: 100%;
}

/* Set black background color, white text and some padding */
footer 
{
    background-color: #d8deec;
    color: white;
    padding: 15px;
    font-size: 0.85em;
}
      
.textoFooter
{
    font-size: 0.90em;
}
      
.textoFooter a:active,.textoFooter a:link, .textoFooter a:visited, footer a:link, footer a:active, footer a:visited
{
    color: black;
}

/* On small screens, set height to 'auto' for sidenav and grid */
@media screen and (max-width: 767px) 
{
    .sidenav 
    {
        height: auto;
        padding: 15px;
    }
    .row.content 
    {
        height:auto;
    } 
}
      

.navbar .divider-vertical 
{
    height: 50px;
    border-right: 1px solid #ffffff;
    border-left: 1px solid #f2f2f2;
}

.navbar-inverse .divider-vertical {
    border-right-color: #222222;
    border-left-color: #111111;
}

@media (max-width: 767px) {
    .navbar-collapse .nav > .divider-vertical {
        display: none;
     }
}
      
.logo-Gobierno
{ 
    margin-right: 35px;
}
      
.fb-page, 
.fb-page span, 
.fb-page span iframe[style] { 
    width: 100% !important; 
}
      
.facebook-fix
{
    Width: 80%; 
    Margin: 0 auto; 
    Display: block;
}
      
@media screen and (min-width: 890px) 
{
    #youtubemobile
    {
        display: none;
    }
}
      
@media screen and (max-width: 889px) 
{
    #youtubeweb
    {
        display: none;
    }
}
      
h1,h2,h3,h4,h5,h6
{
    font-family: Arial, Helvetica, sans-serif;
}


.banner-Header
{
    background-color: #d8deec;
    padding-top: 15px;
    padding-bottom: 15px;
    color: black;
}

.banner-subHeader
{
    background-color: royalblue;
    padding-top: 15px;
    padding-bottom: 15px;
    color: white;
}

#subirTop      
{
  font-size: 1.5em;
  color: white;
}
      
#logoBlancoFooter
{
    padding-top: 20px;
    padding-bottom: 10px;
}
      


@media screen and (min-width: 890px) 
{
    body
    {
        /*margin: 30px !important;
        box-shadow: 0 0 10px #cdcdcd !important;*/
    }
}

/* ── Navbar BS5 – layout horizontal ── */

/* Tamaño de fuente del menú */
.navbar-xl .navbar-nav {
    font-size: 14px;
}

/* Desktop (≥992px): menú en fila horizontal */
@media (min-width: 992px) {
    .navbar-xl .navbar-collapse {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
    }

    .navbar-xl .navbar-collapse > ul.navbar-nav {
        flex-direction: row !important;
        align-items: center;
        margin: 0 auto !important;
    }

    .navbar-xl .navbar-collapse > ul.navbar-nav > li.nav-item {
        position: relative;
    }

    .navbar-xl .navbar-collapse > ul.navbar-nav > li.nav-item > ul.dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        min-width: 200px;
    }
}

/* Mobile (<992px): menú en columna centrada */
@media (max-width: 991px) {
    .navbar-xl .navbar-collapse > ul.navbar-nav {
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .navbar-xl .navbar-collapse > ul.navbar-nav > li.nav-item > ul.dropdown-menu {
        position: static;
        text-align: center;
        width: 100%;
    }

    .navbar-xl .navbar-collapse .d-block.d-lg-none {
        text-align: center;
        width: 100%;
    }
}
      
.bgcolormain
{
    background-color: white;
}
      
.bgcolormainBack
{
    background-color: white;
}
      
.bgcolormainads
{
    background-color: #d8deec ;
}
   
.navbar.navbar-default 
{
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.navbar-inverse 
{
    border: 0;
}
      
.not-active 
{
   pointer-events: none;
   cursor: default;
}
      
.buscar-button
{
    padding: 2px;
    padding-left: 10px;
    padding-right: 10px;
}

.buscar-div
{
    margin: 3px;
}
      
.carousel-inner img 
{
  width: 100%; /* Set width to 100% */
/*  min-height: 200px;*/
}
      
.NewsContainer
{
    padding: 10px;
}
      
.peopleCarouselImg img
{
  text-align: center;
  width: auto;
  height: auto;
  max-height: 375px;
  margin: 0 auto; 
}
    
.attachment-post-thumbnail, .size-post-thumbnail, .wp-post-image
{
  text-align: center;
  width: 100%;
  height: auto;
  margin: 0 auto; 
}
    
#BannerCarouselImg img 
{
  text-align: center;
  width: auto;
  height: auto;
  max-height: 300px;
  margin: 0 auto; 
}
    
#InnerSliderCarouselImg img 
{
  text-align: center;
  width: auto;
  height: auto;
  max-height: 200px;
  margin: 0 auto; 
}
      
.carousel-control.left, .carousel-control.right 
{
    background-image: none;
}
      
.bgtextNews
{
    background: rgba(0, 90, 140, 0.8);
    padding: 5px;
}
    
.textnoticias
{
    text-align: center;
    padding: 10px;
    padding-top: 10px;
}
      
.wellnews
{
    background-color: #E2ECF2;
}
      
.well-lateral
{
    background-color: #E2ECF2;
    padding: 10px;
}

.lastnews
{
    padding: 5px;
    margin-top: -50px;
}
      
.wellAds, .wellAds h3
{
    padding: 0px;
    background-color:#d8deec ;
    border-radius: 5px;
    color: black !important;
}
      
.bgcolorlateral
{
    padding: 0px;
    background-color: #EFEFEF;
}
      
.bgcolorLateralMain
{
    padding: 0px;
    border-radius: 5px;
    background-color: #d8deec;    
}
    
.btn-primary
{
    background-color: #d8deec !important;
        border-color: #d8deec !important;
}
    
.btn-primary:hover,.btn-info:hover
{
    background-color: royalblue !important;
        border-color: royalblue !important;
}
      
.list-group-item.active
{
    background-color: #d8deec !important;
    border-color: #d8deec !important;
}

.listURL
{
    font-size: 0.9em;    
}
      
#titleMainNews
{
    margin-top: -20px;
}
      

.blink_me 
{
  animation: blinker 1s linear infinite;
}

@keyframes blinker 
{ 
  50% { opacity: 0.4; }
}  
    


li.square
{
    display:list-item;
    list-style-type:square;
    color:navy;
    line-height: 25px !important;
}
    
li.square a
{ 
    color:navy;
}
    
.combosHome
{
	border-right:2px solid #ecf0f1;
    line-height: 40px ;
}
    

.page-numbers 
{
    background-color: white;
	display: inline-block;
	padding: 5px;
	margin: 0 2px 0 0;
	border: 1px solid #eee;
	line-height: 1;
	text-decoration: none;
	border-radius: 2px;
	font-weight: 600;
}

.page-numbers.current,a.page-numbers:hover 
{
	background-color: darkgrey;
}

.google-maps 
{
    position: relative;
    padding-bottom: 35%; 
    height: 0;
    overflow: hidden;
}
.google-maps iframe 
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
    

.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail 
{
	max-width: 100%;
	height: auto;
}

#tableID {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

#tableID td, #tableID th {
  border: 1px solid #ddd;
  padding: 8px;
}

#tableID tr:nth-child(even){background-color: #f2f2f2;}

#tableID tr:hover {background-color: #ddd;}

#tableID th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #d8deec;
  color: black;
}

.csvButton
{
    background-image : none !important;
    background-color: blue !important;
    color: white !important;
}

.pdfButton
{
    background-image : none !important;
    background-color: red !important;
    color: white !important;
}

.excelButton
{
    background-image : none !important;
    background-color: green! important;
    color: white !important;
}

.excelButton:hover, .pdfButton:hover, .csvButton:hover
{
    background-color: lightgreen !important;
    color: white !important;
}


.videowrapper 
{
    float: none;
    clear: both;
    width: 100%;
    max-width: 1500px;
    position: relative;
    padding-bottom: 36.25%;
    padding-top: 25px;
    height: 0;
}
.videowrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*iframe css responsive*/
.iframe-container {
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
  height: 700px !important;
  text-align: center;
}
 
.iframe-container iframe {
   border: 0;
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}

.page-numbers
{
    padding: 10px;
}

.page-numbers.current, a.page-numbers:hover {
    background-color: #d8deec;
    color: black;
}

.button-download {
  background-color: DodgerBlue;
  border: none;
  color: white;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 20px;
}

/* Darker background on mouse-over */
.button-download:hover {
  background-color: RoyalBlue;
  color: white !important;
}

.button-download a:hover {
  color: white !important;
}

.button-general a:hover {
  background-color: RoyalBlue;
  color: white !important;
  color: white !important;
}

/* imagenes css hover text pagina proyectos */

.containerhover {
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #d8deec;
}

.containerhover:hover .overlay {
  opacity: 1;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.proyecto-heading
{
    padding:0px;margin:0px;
}


.btn-proyect-color
{
    padding-top: 40px;
    padding-bottom: 40px;
    font-size: 1.6em;
    border-radius: 5px;
}


.btn-proyect-color:hover
{
    background-color: #d8deec;
    color: black;
}

.downloadlinks > li:hover
{
    background-color: #d8deec;
    color: white !important;
    border-radius: 5px;
}

.downloadlinks > li > a:hover, .downloadlinks > li > h5 > a:hover
{
    color: white !important;
}

/*****************************/
.icon-box
{
	position:absolute;
    left: 50%;
    top: 0%;
    transform: translate(-50%, -50%);
    background-color:#d8deec; 
    border-radius:50px;
    font-size:3em;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-style:solid;
    border-width:2px;  
    border-color:#ddd;
}

.wrapIcon {
  margin-top:50px;
  width: 100%;
  height: 100%;
  background-color: #e9e9e9;}

.blockicon {
  background:#666;
  margin-top:-50px;
}


#logo2024
{
    padding: 35px;
}

/*carusel proyectos */
.proyectos-carousel-wrapper {
    position: relative;
    padding: 40px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    margin-top: 20px;
    overflow: hidden;
}

.proyectos-carousel-container {
    overflow: hidden;
    margin: 0 60px;
    position: relative;
}

.proyectos-carousel-track {
    display: flex;
    width: fit-content;
    position: relative;
}

.proyectos-carousel-track.animating {
    transition: transform 0.5s linear;
}

.proyecto-item {
    flex: 0 0 auto;
    width: 440px;
    padding: 20px;
    text-align: center;
    margin: 0 10px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.proyecto-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,75,156,0.15);
    border-color: #d8deec;
}

.proyecto-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.proyecto-logo-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.proyecto-logo-circle {
    background: navy;
    border-radius: 50%;
    color: black;
}

.proyecto-logo {
    max-width: 180px;
    max-height: 180px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.proyecto-badge {
    color: white;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
}

.proyecto-logo-circle .proyecto-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.proyecto-info h4 {
    font-size: 14px;
    color: #333;
    margin: 10px 0 5px;
    font-weight: 600;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proyecto-url {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.proyecto-ver-mas {
    background: linear-gradient(135deg, navy 0%, #0066cc 100%);
    border-color: #d8deec;
}

.proyecto-ver-mas:hover {
    background: linear-gradient(135deg, #0066cc 0%, navy 100%);
}

.proyecto-ver-mas .proyecto-info h4,
.proyecto-ver-mas .proyecto-url {
    color: white;
}

.proyecto-mas-icon {
    font-size: 40px;
    color: white;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #d8deec;
    color: black;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.carousel-nav:hover {
    background: #0066cc;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-left {
    left: 10px;
}

.carousel-nav-right {
    right: 10px;
}

@media (max-width: 768px) {
    .proyectos-carousel-container {
        margin: 0 40px;
    }
    
    .proyecto-item {
        width: 180px;
        padding: 15px;
    }
    
    .proyecto-logo-container {
        width: 80px;
        height: 80px;
    }
    
    .proyecto-logo {
        max-width: 60px;
        max-height: 60px;
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .proyectos-carousel-wrapper {
        display: none;
    }
}

@media (max-width: 480px) {
    .proyectos-carousel-wrapper {
        display: block;
    }
    
    .proyectos-carousel-track {
        animation-duration: 20s;
    }
    
    .proyecto-item {
        width: 150px;
        padding: 10px;
    }
}

.banner-fullwidth-container {
    margin-left: -15px;
    margin-right: -15px;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .banner-fullwidth-container {
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
}

.carousel-fullwidth {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.carousel-fullwidth .carousel-inner {
    width: 100%;
    max-width: none;
}

.banner-slide {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
    position: relative;
}

.banner-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-image-fullwidth {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 600px;
    object-fit: cover;
    object-position: center;
}

.banner-link {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    padding: 40px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner-slide:hover .banner-overlay {
    opacity: 1;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.banner-title {
    color: white;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-excerpt {
    color: white;
    font-size: 1.2em;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.carousel-fullwidth .carousel-control {
    background-image: none;
    background-color: transparent;
    width: 60px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.carousel-fullwidth .carousel-control:hover {
    opacity: 0.9;
}

.carousel-fullwidth .carousel-indicators {
    bottom: 20px;
}

.carousel-fullwidth .carousel-indicators li {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid white;
    transition: all 0.3s ease;
}

.carousel-fullwidth .carousel-indicators li.active {
    width: 30px;
    background-color: white;
    border-radius: 10px;
}

@media (max-width: 991px) {
    .banner-slide {
        min-height: 350px;
        max-height: 500px;
    }
    
    .banner-image-fullwidth {
        min-height: 350px;
        max-height: 500px;
    }
    
    .banner-title {
        font-size: 2em;
    }
    
    .banner-excerpt {
        font-size: 1.1em;
    }
}

@media (max-width: 767px) {
    .banner-slide {
        min-height: 250px;
        max-height: 400px;
    }
    
    .banner-image-fullwidth {
        min-height: 250px;
        max-height: 400px;
    }
    
    .banner-overlay {
        padding: 20px;
    }
    
    .banner-title {
        font-size: 1.5em;
    }
    
    .banner-excerpt {
        font-size: 1em;
        display: none;
    }
    
    .carousel-fullwidth .carousel-control {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .banner-slide {
        min-height: 200px;
        max-height: 300px;
    }
    
    .banner-image-fullwidth {
        min-height: 200px;
        max-height: 300px;
    }
    
    .banner-title {
        font-size: 1.2em;
    }
}

.carousel-fullwidth .item {
    transition: transform 0.6s ease-in-out;
}

body {
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .banner-image-fullwidth {
        transform: scale(1.05);
        transition: transform 10s ease;
    }
    
    .banner-slide:hover .banner-image-fullwidth {
        transform: scale(1);
    }
}

html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
}

* {
    box-sizing: border-box;
}

.container-fluid:not(.navbar .container-fluid) {
    overflow-x: hidden;
}

.banner-fullwidth-container {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

@media (max-width: 991px) {
    .banner-fullwidth-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .carousel-fullwidth {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.proyectos-carousel-wrapper {
    overflow: hidden !important;
    width: 100%;
    max-width: 100%;
}

.proyectos-carousel-container {
    overflow: hidden !important;
}

.bgcolormain,
.bgcolormainBack,
.bgcolormainads,
.navbar-xm {
    width: 100%;
    max-width: 100%;
}

.panel-default>.panel-heading { 
    background-color: #d8deec; 
    border-color: #c7d0e8;    
}

.panel-fix-color .panel-heading  { 
    background-color: #d8deec; 
    border-color: #c7d0e8;
}

@media (max-width: 768px) {
    #wpadminbar {
        display: none !important;
    }

    html {
        margin-top: 0 !important;
    }
}

.direccion-box {
  display: block;
  background: #0b1a78;
  border: 1px solid #0b1a78;
  padding: 12px 10px;
  margin-bottom: 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.direccion-text {
  font-size: 12px;
  color: #fff;
  font-weight: 500;
}

.direccion-box:hover {
  background: #1428a0;
  border-color: #1428a0;
  text-decoration: none;
}

.direccion-box:hover .direccion-text {
  color: #fff;
}

.direcciones-operativas {
  margin-top: 40px;
  margin-bottom: 20px;
}


/*css google box*/

.gsc-control-cse
{
	padding:0px !important;
	border-width:0px !important;
}

form.gsc-search-box,table.gsc-search-box
{
	margin-bottom:0px !important;
}

.gsc-search-box .gsc-input
{
	padding:0px 4px 0px 6px !important;
}

#gsc-iw-id1
{
        height: auto !important;
        padding: 0px !important;
        border-width: 0px !important;
        box-shadow:none !important;
}

#gs_tti50
{
	padding:0px !important;
}

#gsc-i-id1
{
	height:33px !important;
	padding:0px !important;
	padding-left: 28px !important; /* Reducido a 28px */
	background:none !important;
	text-indent:0px !important;
}

.gsib_b
{
	display:none;
}

/* Quitar el ícono de búsqueda de Google */
.gsib_a
{
	background-image: none !important;
	background: none !important;
	padding-left: 28px !important; /* Reducido a 28px */
}

button.gsc-search-button
{
        display:block;
        width:13px !important;
        height:13px !important;
        border-width:0px !important;
        margin:0px !important;
        padding: 10px 6px 10px 13px !important;
        outline:none;
        cursor:pointer;
        box-shadow:none !important;
        box-sizing: content-box !important;
}

.gsc-branding
{
	display:none !important;
}

.gsc-control-cse,#gsc-iw-id1
{
	background-color:transparent !important;
}

/*ending css google box*/

/* CSS for changing placeholder color on search input box */
			
#gsc-i-id1::-webkit-input-placeholder
{ 
	/* Chrome */
	color: #000;
}

#gsc-i-id1:-ms-input-placeholder
{ 
	/* IE 10+ */
	color: #000;
}

#gsc-i-id1::-moz-placeholder
{ 
	/* Firefox 19+ */
	color: #000;
	opacity: 1;
}

#gsc-i-id1:-moz-placeholder
{ 
	/* Firefox 4 - 18 */
	color: #000;
	opacity: 1;
}

#search-box
{
	width: 300px;
	height: 33px;
	margin: 0 auto;
	background-color: #fff;
	border-radius: 2px;
	overflow: hidden;
	position: relative;
}

#search-icon
{
	position: absolute;
	left: 8px; /* Reducido a 8px */
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

#search-icon svg
{
	width: 14px; /* Ícono más pequeño */
	height: 14px;
}

.gsc-search-box .gsc-input
{
	padding:0px 13px 0px 28px !important; /* Reducido a 28px */
}

#gsc-i-id1
{
	color:#000;
}

button.gsc-search-button
{
	padding:8px !important;
	background-color: royalblue !important;
}

.accordion-header {
    font-size:1.0em;
}


/* ============================================================
   ANUNCIOS AIG - Barra superior + Modal
   Agregar al final de css.css
   ============================================================ */

/* ── Barra de anuncios ───────────────────────────────────── */
.anuncios-bar {
    display: flex;
    align-items: center;
    background-color: #1a1a2e;
    color: #fff;
    font-size: 0.85em;
    padding: 6px 12px;
    width: 100%;
    position: relative;
    z-index: 1050;
    min-height: 36px;
    overflow: hidden;
}

.anuncios-bar__icon {
    flex-shrink: 0;
    margin-right: 10px;
    color: #f0c040;
    font-size: 1.1em;
}

/* Contenedor del ticker con overflow oculto */
.anuncios-bar__ticker-wrap {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    cursor: default;
}

/* El track que se desplaza */
.anuncios-bar__ticker {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
}

.anuncios-bar__item {
    display: inline-block;
    padding: 0 8px;
    color: #fff;
}

.anuncios-bar__item a {
    color: #f0c040;
    text-decoration: none;
}

.anuncios-bar__item a:hover {
    text-decoration: underline;
}

.anuncios-bar__sep {
    color: #f0c040;
    padding: 0 4px;
}

/* Botón "Ver todos" */
.anuncios-bar__btn-ver-todos {
    flex-shrink: 0;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 0.8em;
    padding: 3px 10px;
    border-radius: 3px;
    margin-left: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.anuncios-bar__btn-ver-todos:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

/* Badge contador */
.anuncios-bar__badge {
    display: inline-block;
    background: #f0c040;
    color: #1a1a2e;
    font-size: 0.75em;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    margin-left: 5px;
    vertical-align: middle;
}

/* Botón cerrar barra */
.anuncios-bar__close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.3em;
    line-height: 1;
    padding: 0 0 0 10px;
    cursor: pointer;
    transition: color 0.2s;
}

.anuncios-bar__close:hover {
    color: #fff;
}

/* Responsive mobile */
@media (max-width: 576px) {
    .anuncios-bar {
        font-size: 0.78em;
        padding: 5px 8px;
    }
    .anuncios-bar__btn-ver-todos {
        font-size: 0.72em;
        padding: 2px 7px;
    }
}


/* ── Modal de anuncios ───────────────────────────────────── */
.anuncios-modal {
    border-radius: 12px;
    overflow: hidden;
}

.anuncios-modal .modal-header {
    background: #fff;
}

.anuncios-modal .modal-body {
    background: #fff;
    padding-bottom: 30px;
}

/* Círculo con campana */
.anuncios-modal__icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.anuncios-modal__icon {
    font-size: 2.2em;
    color: #2e7d32;
}

.anuncios-modal__titulo {
    font-size: 1.6em;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

/* Lista de anuncios en el modal */
.anuncios-modal__list {
    max-width: 480px;
    margin: 0 auto;
}

.anuncios-modal__item {
    padding: 14px 0;
}

.anuncios-modal__item--border {
    border-bottom: 1px solid #e0e0e0;
}

.anuncios-modal__item-texto {
    font-size: 0.95em;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.5;
}

.anuncios-modal__item-texto a {
    color: #1565c0;
    text-decoration: none;
}

.anuncios-modal__item-texto a:hover {
    text-decoration: underline;
}

.anuncios-modal__item-detalle {
    font-size: 0.88em;
    color: #555;
}

.anuncios-modal__item-fecha {
    font-size: 0.8em;
    color: #888;
    text-align: right;
    margin: 0;
}




/* Tiles de Proyectos en Página de Dirección */
.proyecto-tile {
    position: relative;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.proyecto-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,75,156,0.2);
}

.proyecto-tile-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.proyecto-tile-link:hover {
    text-decoration: none;
}

.proyecto-tile-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    overflow: hidden;
    position: relative;
}

.proyecto-tile-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.proyecto-tile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b1a78 0%, #1428a0 100%);
}

.proyecto-tile-initials {
    font-size: 48px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
}

.proyecto-tile-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.proyecto-tile-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 50px;
}

.proyecto-tile-url {
    font-size: 14px;
    color: #0b1a78;
    margin: 0;
    margin-top: auto;
}

.proyecto-tile-url i {
    margin-right: 5px;
}

.proyecto-tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 26, 120, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.proyecto-tile:hover .proyecto-tile-overlay {
    opacity: 1;
}

.proyecto-tile-visit {
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .proyecto-tile-image {
        height: 150px;
    }
    
    .proyecto-tile-title {
        font-size: 16px;
        min-height: auto;
    }
    
    .proyecto-tile-content {
        padding: 15px;
    }
}

/* Sin proyectos asociados - mensaje informativo */
.sin-proyectos-mensaje {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 30px;
}

.sin-proyectos-mensaje i {
    font-size: 48px;
    color: #999;
    margin-bottom: 15px;
}

.sin-proyectos-mensaje p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* ============================================================
   NOTICIAS - Filtros por categoría y sticky
   Agregar al final de css.css
   ============================================================ */

/* ── Barra de filtros ─────────────────────────────────────── */
.noticias-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.noticias-filtro-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border: 2px solid #013161;
    border-radius: 4px;
    color: #013161;
    background: white;
    font-size: 0.88em;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.noticias-filtro-btn:hover {
    background: #013161;
    color: white;
    text-decoration: none;
}

.noticias-filtro-btn.activo {
    background: #013161;
    color: white;
}

/* Contador de posts en cada botón de categoría */
.noticias-filtro-count {
    display: inline-block;
    background: rgba(255,255,255,0.3);
    color: inherit;
    font-size: 0.78em;
    border-radius: 10px;
    padding: 0 6px;
    min-width: 20px;
    text-align: center;
    line-height: 1.5;
}

.noticias-filtro-btn:not(.activo) .noticias-filtro-count {
    background: #d8deec;
    color: #013161;
}

/* ── Etiqueta filtro activo ───────────────────────────────── */
.noticias-filtro-activo-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: #555;
    margin-bottom: 16px;
    padding: 6px 12px;
    background: #f0f4ff;
    border-left: 3px solid #013161;
    border-radius: 0 4px 4px 0;
}

.noticias-filtro-quitar {
    color: #c0392b;
    text-decoration: none;
    font-size: 0.88em;
    margin-left: auto;
}

.noticias-filtro-quitar:hover {
    color: #922b21;
    text-decoration: underline;
}

/* ── Card de noticia ─────────────────────────────────────── */
.noticias-card {
    transition: box-shadow 0.2s ease;
}

.noticias-card:hover {
    box-shadow: 0 4px 12px rgba(1,49,97,0.15) !important;
}

/* Card sticky: borde izquierdo destacado */
.noticias-card--sticky {
    border-left: 4px solid #f0c040 !important;
}

/* ── Badge "Fijado" ──────────────────────────────────────── */
.noticias-badge-sticky {
    display: inline-block;
    background: #f0c040;
    color: #1a1a2e;
    font-size: 0.72em;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 6px;
    margin-left: 8px;
    float: right;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 767px) {
    .noticias-filtros {
        gap: 6px;
    }
    .noticias-filtro-btn {
        font-size: 0.82em;
        padding: 5px 10px;
    }
    .noticias-badge-sticky {
        float: none;
        display: inline-block;
        margin-left: 0;
        margin-bottom: 8px;
    }
}


/* ============================================================
   PROYECTOS DETALLE - Tiles 3 por fila
   Agregar al final de css.css
   ============================================================ */

/* ── Link wrapper ────────────────────────────────────────── */
.proyecto-tile-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.proyecto-tile-link:hover {
    text-decoration: none;
}

/* ── Tile base ───────────────────────────────────────────── */
.proyecto-tile {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    /* Altura fija para que todos los tiles sean iguales */
    height: 220px;
    display: flex;
    flex-direction: column;
}

.proyecto-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,75,156,0.2);
}

/* ── Imagen del tile ─────────────────────────────────────── */
.proyecto-tile-imgbox {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #fff;
    overflow: hidden;
}

.proyecto-tile-img {
    max-width: 100%;
    max-height: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ── Footer del tile con logo ────────────────────────────── */
.proyecto-tile-info {
    background: #f0f3f8;
    padding: 8px 12px;
    border-top: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.proyecto-tile-nombre {
    font-size: 0.82em;
    font-weight: 600;
    color: #333;
    margin: 0 0 2px 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.proyecto-tile-dominio {
    font-size: 0.72em;
    color: #0b1a78;
}

/* ── Tile AZUL (sin logo) ────────────────────────────────── */
.proyecto-tile--azul {
    background: linear-gradient(135deg, #0b1a78 0%, #1a3bbf 100%);
    border-color: transparent;
}

.proyecto-tile-azul-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    text-align: center;
}

.proyecto-tile-azul-titulo {
    font-size: 1.05em;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.proyecto-tile-azul-dominio {
    font-size: 0.78em;
    color: rgba(255,255,255,0.65);
}

/* ── Overlay hover ───────────────────────────────────────── */
.proyecto-tile-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 26, 120, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.proyecto-tile:hover .proyecto-tile-overlay {
    opacity: 1;
}

.proyecto-tile-overlay span {
    color: #fff;
    font-size: 0.95em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 767px) {
    .proyecto-tile {
        height: 180px;
    }

    .proyecto-tile-img {
        max-height: 100px;
    }

    .proyecto-tile-azul-titulo {
        font-size: 0.95em;
    }
}



.banner-noticia-badge {
    display: inline-block;
    background: #013161;
    color: #fff;
    font-size: 0.78em;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
}