@charset "UTF-8";
/* CSS Document */

@font-face {
    font-family: 'Helvetica Neue';
    src: local('Helvetica Neue Light'), local('HelveticaNeue-Light'),
		url('../fonts/HelveticaNeue-Light.woff2') format('woff2'),
        url('../fonts/HelveticaNeue-Light.woff') format('woff'),
        url('../fonts/HelveticaNeue-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: local('Helvetica Neue Medium'), local('HelveticaNeue-Medium'),
		url('../fonts/HelveticaNeue-Medium.woff2') format('woff2'),
        url('../fonts/HelveticaNeue-Medium.woff') format('woff'),
        url('../fonts/HelveticaNeue-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: local('Helvetica Neue Bold'), local('HelveticaNeue-Bold'),
		url('../fonts/HelveticaNeue-Bold.woff2') format('woff2'),
        url('../fonts/HelveticaNeue-Bold.woff') format('woff'),
        url('../fonts/HelveticaNeue-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: local('Helvetica Neue Thin'), local('HelveticaNeue-Thin'),
		url('../fonts/HelveticaNeue-Thin.woff2') format('woff2'),
        url('../fonts/HelveticaNeue-Thin.woff') format('woff'),
        url('../fonts/HelveticaNeue-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: local('Helvetica Neue Roman'), local('HelveticaNeue-Roman'),
		url('../fonts/HelveticaNeue-Roman.woff2') format('woff2'),
        url('../fonts/HelveticaNeue-Roman.woff') format('woff'),
        url('../fonts/HelveticaNeue-Roman.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}




/*!
 * Bootstrap v4.4.1 (https://getbootstrap.com/)
 * Copyright 2011-2019 The Bootstrap Authors
 * Copyright 2011-2019 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: "Helvetica Neue";
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

body {
  margin: 0;
  font-family: 'Helvetica Neue' !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
}

[tabindex="-1"]:focus:not(:focus-visible) {
  outline: 0 !important;
}


/*CODIGO ROSS*/

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #122f67;
/*  background-color: rgba(18, 47, 103, 0.8);	*/
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 20px;
  height: 80px;
  z-index: 100;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links li a,
.dropbtn {
  color: #ffffff;
  text-decoration: none;
  padding: 10px 5px;
  display: block;
  cursor: pointer;
  font-weight: normal;
  white-space: nowrap;
  font-family: 'Helvetica Neue';
  font-size: 17px;

}

.nav-links li a:hover,
.dropdown:hover   {
  background-color: #143e90;
  border-radius: 4px;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #122f67;
  min-width: 150px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 100;
  list-style: none; /* Aquí se eliminan los bullets */
  padding: 0;
  margin: 0;
}

.dropdown-content li a {
  padding: 10px 15px;
  text-align: right;
  color: #ffffff;
  display: block;
  font-weight: normal;
  font-family: 'Helvetica Neue';
  font-size: 15px;
  white-space: nowrap;
  background-color: transparent;
  /*border-bottom: 1px solid rgba(255, 255, 255, 0.1);  separador sutil */
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 4px;
	line-height: 1.3;
	border-bottom: 1px solid #ffffff; /* línea clara debajo*/
	
}

/*
.dropdown-content li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
*/

.dropdown-content li a:hover {
  background-color: #143e90;
  color: #ffffff;
	font-family: 'Helvetica Neue';
  font-weight: normal;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Logo desktop */
.logo img {
  height: 25px;
  margin-left: 20px;
}

/* Hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 27px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 20px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
}

/* Menú móvil */
.mobile-menu {
  display: none;
  position: fixed;
  top: 50px;
  right: 0;
  width: 65%; /* Coloque porcentaje para que no ocupe el 100% de la pantalla */
/*  height: calc(100vh - 60px);*/
  background-color: #122f67;
	max-height: 100%;
	height: auto;
  padding: 20px;
/*  box-shadow: -2px 0 8px rgba(0,0,0,0.5);*/
  overflow-y: auto;
  z-index: 100;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
	justify-content: flex-end;
  align-items: flex-end;
  gap: 5px;
	flex-wrap: wrap
}

.mobile-menu a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  padding: 8px 12px;
  font-weight: normal;
  white-space: nowrap;
  font-family: 'Helvetica Neue';
  font-size: 15px;
  line-height: 1.6; /* <-- aquí ajustas el interlineado */
	text-align: right;
}

/* Dropdown móvil */
.dropdown-mobile > .dropdown-content-mobile {
  display: none;
  flex-direction: column;
  padding-left: 15px;
  margin-top: 5px;
/*  border-left: 2px solid #555;*/
	
}

.dropdown-content-mobile li {
  border-bottom: 1px solid #ffffff; /* línea gris clara */
  padding-bottom: 1px; /* espacio debajo del texto */
  margin-bottom: 1px;  /* espacio entre líneas */
	
}
/* ESTE CODIGO LO AGREGUE COMO ADICIONAL */
.dropdown-content-mobile a {
  font-size: 13px; /* Ajusta según necesidad */
  color: #ffffff;
  font-family: 'Helvetica Neue';
  line-height: 1.4;
  padding: 6px 12px;
  text-align: right;
  display: block;
  text-decoration: none;
/*	transition: background-color 0.3s ease, color 0.3s ease;*/
  border-radius: 4px;
}

.dropdown-content-mobile a:hover {
  background-color: #f4f4f4;
  color: #ffffff;
	text-align: right;

}

/* AQUI TERMINA EL CODIGO QUE AGREGUE COMO ADICIONAL */

.dropdown-mobile.open > .dropdown-content-mobile {
  display: flex;
}

.dropbtn-mobile {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  font-weight: normal;
  white-space: nowrap;
  font-family: 'Helvetica Neue';
  font-size: 15px;
	text-align: right;
	width: 100%;
/*	justify-content: flex-end;*/
}

.mobile-menu a:hover,
.dropbtn-mobile:hover {
  color: #ffffff;         /* Cambia el color del texto */
  background-color: #143e90; /* Fondo azul al hacer hover */
  transition: all 0.2s ease;
  padding-right: 10px;    /* Opcional: efecto de movimiento */
	font-weight: normal;
  font-family:  'Helvetica Neue';
  font-size: 15px;
	text-align: right;
}

.logo-mobile img {
  height: 26px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links,
  .logo {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu.show {
    display: block;
  }
}


/* Logo Menu */

.logo-menu-top {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #ffffff; /* Puedes personalizar */
  padding: 5px;
  z-index: 500; /* Mayor que el navbar para estar encima */
	 display: flex;
	width: 250px;
	height: 135px;
	border-radius: 8px;
	justify-content: center;
	align-items: center;     /* centra vertical */
	 box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.logo-menu-top img {
  width: 220px;
  height: auto;
  object-fit: contain;
  display: block;
  align-content: center;
}

/* 1920px */
@media (max-width: 1920px) {
  .logo-menu-top {
    width: 240px;
    height: 130px;
  }
  .logo-menu-top img {
    width: 195px;
  }
}


/* 1366px */
@media (max-width: 1366px) {
  .logo-menu-top {
    width: 220px;
    height: 120px;
  }
  .logo-menu-top img {
    width: 180px;
  }
}

/* 1280px */
@media (max-width: 1280px) {
  .logo-menu-top {
    width: 210px;
    height: 115px;
  }
  .logo-menu-top img {
    width: 170px;
  }
}

/* 1024px */
@media (max-width: 1024px) {
  .logo-menu-top {
    width: 190px;
    height: 105px;
  }
  .logo-menu-top img {
    width: 155px;
  }
}


/* 768px */
@media (max-width: 768px) {
  .logo-menu-top {
    width: 170px;
    height: 95px;
  }
  .logo-menu-top img {
    width: 140px;
  }
}

/* 720px */
@media (max-width: 720px) {
  .logo-menu-top {
    width: 160px;
    height: 90px;
  }
  .logo-menu-top img {
    width: 130px;
  }
}

/* 600px */
@media (max-width: 600px) {
  .logo-menu-top {
    width: 150px;
    height: 85px;
  }
  .logo-menu-top img {
    width: 120px;
  }
}


/* 480px */
@media (max-width: 480px) {
  .logo-menu-top {
    width: 130px;
    height: 75px;
  }
  .logo-menu-top img {
    width: 105px;
  }
}

/* 360px */
@media (max-width: 360px) {
  .logo-menu-top {
    width: 110px;
    height: 65px;
  }
  .logo-menu-top img {
    width: 90px;
  }
}


/* BANNER CARRUSEL HEADER */
.header-carousel {
  position: relative;
  width: 100%;
  height: 655px; /* mismo alto que tu header */
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.carousel-slide.active {
  opacity: 1;
}

/* Texto encima de las imágenes */
.header-carousel-text {
  position: relative;	
  margin-left: 170px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 2vw, 15px);
  color: white;
}

.header-carousel-text h2 {
   font-family: 'Helvetica Neue';
  font-size: 60px; 
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.0em;
  margin: 0;
  text-align: center;	
}

.header-carousel-text p {
  font-family: 'Helvetica Neue';
  font-size: 33px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.0em;
  margin: 0;
  text-align: center;

}

/* Botones del carrusel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  border: none;
  color: #ffffff;
  font-size: 15px;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.5);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }


/* Resolución 1366px */
@media screen and (max-width: 1366px) {
  .header-carousel {
    height: 600px;
  }
  .header-carousel-text {
    margin-left: 140px;
    max-width: 550px;
  }
  .header-carousel-text h2 {
    font-size: 52px;
  }
  .header-carousel-text p {
    font-size: 28px;
  }
}

/* Resolución 1280px */
@media screen and (max-width: 1280px) {
  .header-carousel {
    height: 560px;
  }
  .header-carousel-text {
    margin-left: 120px;
    max-width: 500px;
  }
  .header-carousel-text h2 {
    font-size: 48px;
  }
  .header-carousel-text p {
    font-size: 26px;
  }
}

/* Resolución 1024px (tablets grandes) */
@media screen and (max-width: 1024px) {
  .header-carousel {
    height: 500px;
  }
  .header-carousel-text {
    margin-left: 80px;
    max-width: 450px;
  }
  .header-carousel-text h2 {
    font-size: 42px;
  }
  .header-carousel-text p {
    font-size: 22px;
  }
  .carousel-btn {
    font-size: 14px;
    padding: 8px 12px;
  }
}

/* Resolución 768px (tablets) */
@media screen and (max-width: 768px) {
  .header-carousel {
    height: 420px;
  }
  .header-carousel-text {
    margin-left: 50px;
    max-width: 400px;
    text-align: center;
    align-items: center;
  }
  .header-carousel-text h2 {
    font-size: 36px;
  }
  .header-carousel-text p {
    font-size: 20px;
  }
  .carousel-btn {
    font-size: 13px;
    padding: 8px 10px;
  }
}

/* Resolución 600px (móviles grandes) */
@media screen and (max-width: 600px) {
  .header-carousel {
    height: 380px;
  }

  .header-carousel-text {
    position: absolute;     /* Para fijarlo dentro del carrusel */
    bottom: 20px;           /* Pegado a la parte inferior */
    left: 50%;              /* Lo centramos horizontalmente */
    transform: translateX(-50%);
    margin-left: 0;         /* Quitamos margen izquierdo */
    max-width: 90%;
    text-align: center;
    align-items: center;
  }

  .header-carousel-text h2 {
    font-size: 30px;
  }

  .header-carousel-text p {
    font-size: 18px;
  }

  .carousel-btn {
    font-size: 12px;
    padding: 6px 8px;
  }
}

/* Resolución 480px (móviles medianos) */
@media screen and (max-width: 480px) {
  .header-carousel {
    height: 340px;
  }

  .header-carousel-text {
    bottom: 15px;
    padding: 0 15px;
    max-width: 100%;
  }

  .header-carousel-text h2 {
    font-size: 26px;
  }

  .header-carousel-text p {
    font-size: 16px;
  }

  .carousel-btn {
    font-size: 11px;
    padding: 6px 8px;
  }
}

/* Resolución 360px (móviles pequeños)  */
@media screen and (max-width: 360px) {
  .header-carousel {
    height: 300px;
  }

  .header-carousel-text {
    bottom: 10px;
    padding: 0 10px;
    max-width: 100%;
  }

  .header-carousel-text h2 {
    font-size: 22px;
  }

  .header-carousel-text p {
    font-size: 14px;
  }

  .carousel-btn {
    font-size: 10px;
    padding: 5px 7px;
  }
}


/* BANNER IMAGEN HOME */

.header-home {
  background-image: url('../images/header-home.jpg'); /* Reemplaza con tu imagen */
  background-size: cover;        /* Ajusta la imagen para cubrir el div */
  background-position: right center;   /* Centra la imagen */
  background-repeat: no-repeat;	
  height: 655px;               
  width: 100%;
  position: relative;
  display: flex;	
  align-items: center;
  margin: 0;
  padding-top: 0;	
/*justify-content: flex-start;	*/
  
}
.header-home-text {
  position: relative; /* ya no necesitamos absolute para centrar verticalmente */
  margin-left: 170px; /* margen escalable desde la izquierda */
  max-width: 600px;  /* controla el ancho del contenido */
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 2vw, 15px);  /* espacio entre h2 y p */
  color: #ffffff;
}

.header-home-text h2 {
  font-family: 'Helvetica Neue';
  font-size: 60px; 
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.0em;
  margin: 0;
  text-align: center;	
}

.header-home-text p {
    font-family: 'Helvetica Neue';
    font-size: 33px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.0em;
    margin: 0;
	text-align: center;
}


/* 1920px */
@media (min-width: 1920px) {
  .header-home {
    height: 750px;
  }
  .header-home-text {
    margin-left: 200px;
    max-width: 700px;
  }
  .header-home-text h2 { font-size: 70px; }
  .header-home-text p { font-size: 38px; }
}

/* 1366px – 1919px */
@media (max-width: 1919px) and (min-width: 1366px) {
  .header-home {
    height: 650px;
  }
  .header-home-text { margin-left: 150px; }
  .header-home-text h2 { font-size: 56px; }
  .header-home-text p { font-size: 30px; }
}

/* 1280px – 1365px */
@media (max-width: 1365px) and (min-width: 1280px) {
  .header-home { height: 600px; }
  .header-home-text { margin-left: 120px; }
  .header-home-text h2 { font-size: 52px; }
  .header-home-text p { font-size: 28px; }
}

/* 1024px – 1279px (tablet horizontal / laptops) */
@media (max-width: 1279px) and (min-width: 1024px) {
  .header-home { height: 580px; }
  .header-home-text { margin-left: 100px; }
  .header-home-text h2 { font-size: 48px; }
  .header-home-text p { font-size: 26px; }
}

/* 768px – 1023px (Tablet vertical) */
@media (max-width: 1023px) and (min-width: 768px) {
  .header-home {
   /* justify-content: center;    texto centrado */
     /*align-items: center;      centrado vertical */
    height: 520px;
    padding: 20px;
  }
  .header-home-text {
    margin-left: 40px;
    max-width: 80%;
    text-align: center;
  }
  .header-home-text h2 { font-size: 42px; }
  .header-home-text p { font-size: 24px; }
}

/* 601px – 767px (Móviles grandes) */
@media (max-width: 767px) and (min-width: 601px) {
  .header-home {
    justify-content: center;  
    align-items: flex-end;    /* texto abajo */
    height: 480px;
    padding: 20px;
  }
  .header-home-text {
    margin-left: 0;
    max-width: 90%;
    text-align: center;
  }
  .header-home-text h2 { font-size: 36px; }
  .header-home-text p { font-size: 22px; }
}

/* 480px – 600px (Móviles) */
@media (max-width: 600px) and (min-width: 481px) {
  .header-home {
    justify-content: center;  
    align-items: flex-end;
    height: 420px;
    padding: 15px;
  }
  .header-home-text {
    margin-left: 0;
    max-width: 95%;
  }
  .header-home-text h2 { font-size: 32px; }
  .header-home-text p { font-size: 20px; }
}

/* 480px (Móviles pequeños) */
@media (max-width: 480px) {
  .header-home {
    justify-content: center;  
    align-items: flex-end;
    height: 380px;
    padding: 15px;
  }
  .header-home-text {
    margin-left: 0;
    max-width: 95%;
  }
  .header-home-text h2 { font-size: 28px; }
  .header-home-text p { font-size: 18px; }
}


/* BANNER IMAGEN SECCIONES */

.top-secciones {
  background-image: url('../images/header-comunicacion.jpg'); /* Reemplaza con tu imagen */
  background-size: cover;        /* Ajusta la imagen para cubrir el div */
  background-position: right center;   /* Centra la imagen */
  background-repeat: no-repeat;	
  height: 220px;               
  width: 100%;
  position: relative;
  display: flex;	
  align-items: center;
  justify-content: center;	
}

.top-secciones::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background-color: rgba(20, 62, 144, 0.75); /* color + transparencia */
  z-index: 1;
}


.top-secciones-text {
  position: relative; /* ya no necesitamos absolute para centrar verticalmente */
  /*margin-left: clamp(5px, 5vw, 90px);  margen escalable desde la izquierda */
  max-width: 600px;  /* controla el ancho del contenido */
  display: flex;
  flex-direction: column;
  gap: 15px;  /* espacio entre h2 y p */
  color: white;
  z-index: 2;
  margin-top: 55px;
	
}

.top-secciones-text h2 {
  font-family: 'Helvetica Neue';
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.2em;
  margin: 0;
  text-align: center;
}

.top-secciones-text p {
  font-family: 'Helvetica Neue';
  font-size: 24px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.0em;
  margin: 0;
}

/* Pantallas grandes (escritorio >1200px) */
@media (min-width: 1200px) {
  .top-secciones {
    height: 220px;
    background-position: right center;
  }
  .top-secciones-text h2 {
    font-size: 48px;
  }
  .top-secciones-text p {
    font-size: 26px;
  }
}

/* Escritorios medianos / laptops (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .top-secciones {
    height: 200px;
    background-position: center center;
  }
  .top-secciones-text h2 {
    font-size: 42px;
  }
  .top-secciones-text p {
    font-size: 24px;
  }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .top-secciones {
    height: 200px;
    background-position: center center;
  }
  .top-secciones-text h2 {
    font-size: 36px;
  }
  .top-secciones-text p {
    font-size: 20px;
  }
}

/* Móviles grandes (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
  .top-secciones {
    height: 180px;
    background-position: center center;
  }
  .top-secciones-text h2 {
    font-size: 28px;
  }
  .top-secciones-text p {
    font-size: 18px;
  }
}

/* Móviles pequeños (<576px) */
@media (max-width: 575px) {
  .top-secciones {
    height: 150px;
    background-position: center center;
  }
  .top-secciones-text h2 {
    font-size: 22px;
  }
  .top-secciones-text p {
    font-size: 16px;
  }
}

/* BANNER IMAGEN COMUNICADOS */

.header-comunicados {
  background-image: url('../images/header-comunicacion.jpg'); /* Reemplaza con tu imagen */
  background-size: cover;        /* Ajusta la imagen para cubrir el div */
  background-position: right center;   /* Centra la imagen */
  background-repeat: no-repeat;	
  height: 220px;               
  width: 100%;
  position: relative;
  display: flex;	
  align-items: center;
  justify-content: center;	
}

.header-comunicados::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background-color: rgba(20, 62, 144, 0.75); /* color + transparencia */
  z-index: 1;
}


.header-comunicados-text {
  position: relative; /* ya no necesitamos absolute para centrar verticalmente */
  /*margin-left: clamp(5px, 5vw, 90px);  margen escalable desde la izquierda */
  max-width: 600px;  /* controla el ancho del contenido */
  display: flex;
  flex-direction: column;
  gap: 15px;  /* espacio entre h2 y p */
  color: white;
  z-index: 2;	
}

.header-comunicados-text h2 {
  font-family: 'Helvetica Neue';
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.2em;
  margin: 0;
  text-align: center;
}

.header-comunicados-text p {
  font-family: 'Helvetica Neue';
  font-size: 24px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.0em;
  margin: 0;
}



 /* CARRUSEL FRASES */
.carrusel-frases {
  width: clamp(85%, 90%, 100%);
  max-width: 1000px;
  margin: 10px auto;
  position: relative;
  text-align: center;
}

.carrusel-frases .slides {
  position: relative;
  overflow: hidden;
  min-height: 120px;
  display: flex;
  align-items: center;       
  justify-content: center;   	
}

.carrusel-frases .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  font-family:  'Helvetica Neue';
  font-size: clamp(18px, 4vw, 28px);
  font-weight: 500;
  color: #525252;
  line-height: 1.2;
	
}

.carrusel-frases .slide.active {
  opacity: 1;
  z-index: 1;
}

.carrusel-frases .navegacion {
  margin-top: clamp(5px, 1vw, 10px);
  display: flex;
  justify-content: center;
  gap: clamp(6px, 1vw, 10px);
}

.carrusel-frases .dot {
  width: clamp(8px, 1vw, 10px);
  height: clamp(8px, 1vw, 10px);
  background: #c4c4c4;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carrusel-frases .dot.active {
  background: #143e90;
}





 /* TITULOS Y SUBTITULOS */

.titulo-01  {
  width: clamp(300px, 80%, 1000px); /* ancho mínimo 300px, máximo 1000px, escala con 80% del viewport */
  height: auto;
  margin: 0 auto;           /* Centra horizontalmente */
  display: flex;
  align-items: center;        /* Centra verticalmente */
  justify-content: center;    /* Centra horizontalmente */
  padding: 0 10px;
  text-align: center;
}
	
.titulo-01 h2 {
  font-family:  'Helvetica Neue';
  font-size: clamp(20px, 4vw, 28px); /* mínimo 20px, máximo 28px, escala con 4% del viewport */
  font-weight: 500;
  color: #525252;
  line-height: 1.2;
  letter-spacing: 0em;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

.titulo-01 .inicio {
  color: #5d5d5d;
  font-size: clamp(20px, 4vw, 28px);	
}

.titulo-01 .final {
  font-size: clamp(20px, 4vw, 28px);	
}

.titulo-home .final {
    color: #122f67;
    font-weight: 600;
}

.titulo-ontologico .final {
  color: #fbb700;
}

.titulo-deportivo .final {
  color: #bc1818;
}

.titulo-organizacional .final {
  color: #004976;
}



.titulo-02  {
  height: auto;
  display: flex;
  align-items: center;        /* Centra verticalmente */
  justify-content: center;    /* Centra horizontalmente */
  padding: 0 10px;
  text-align: center;
}

.titulo-02 h2 {
  font-family:  'Helvetica Neue';
  font-size: 30px;
  font-weight: bold;
  color: #525252;
  line-height: 1.0;
  letter-spacing: 0em;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

/* 1366px */
@media (max-width: 1366px) {
  .titulo-02 h2 {
    font-size: 30px;
  }
}

/* 1280px */
@media (max-width: 1280px) {
  .titulo-02 h2 {
    font-size: 28px;
  }
}

/* 1024px */
@media (max-width: 1024px) {
  .titulo-02 h2 {
    font-size: 26px;
  }
}

/* 768px */
@media (max-width: 768px) {
  .titulo-02 h2 {
    font-size: 24px;
    padding: 0 8px;
  }
}

/* 720px */
@media (max-width: 720px) {
  .titulo-02 h2 {
    font-size: 22px;
  }
}

/* 600px */
@media (max-width: 600px) {
  .titulo-02 h2 {
    font-size: 21px;
  }
}

/* 480px */
@media (max-width: 480px) {
  .titulo-02 h2 {
    font-size: 19px;
    line-height: 1.1;
  }
}

/* 360px */
@media (max-width: 360px) {
  .titulo-02 h2 {
    font-size: 18px;
    line-height: 1.2;
  }
}



.subtitulo-01 {
  height: auto;
  display: flex;
  align-items: center;        /* Centra verticalmente */
  justify-content: center;    /* Centra horizontalmente */
  padding: clamp(8px, 2vw, 20px) clamp(10px, 4vw, 30px);
  text-align: center;
}

.subtitulo-01 h2 {
  font-family:  'Helvetica Neue';
  font-size: clamp(14px, 2.5vw, 20px);
  font-weight: normal;
  color: #525252;
  line-height: 1.0;
  letter-spacing: 0em;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  text-align: center;
}

.linea {
  width: 80%;
  height: 1px;
  background-color: #979595;
  margin: 10px auto;        /* Centra la línea horizontalmente */

}



/* ESTILOS DE TEXTO */

.tx-contenido-general{
  font-family: 'Helvetica Neue';
  font-size: clamp(12px, 2vw, 16px); 
  font-weight: normal;
  text-align: var(--text-align, center); /* usa la variable, por defecto center */	
  line-height: 1.3;
  color: #525252;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0em;
}

@media (min-width: 992px) {
  .tx-contenido-general {
    text-align: var(--text-align, center);
  }
}

/* Tablets (768px – 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .tx-contenido-general {
    text-align: center;
  }
}

/* Smartphones medianos (576px – 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .tx-contenido-general {
    text-align: center;
  }
}

/* Smartphones pequeños (<576px) */
@media (max-width: 575px) {
  .tx-contenido-general {
    text-align: center;
  }
}


.tx-content-01{
  font-family: 'Helvetica Neue';
  font-size: clamp(12px, 2vw, 16px); 
  font-weight: normal;
  color: var(--tx-color, #525252); /* usa la variable, por defecto #525252 */
  line-height: 1.3;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0em;

}

@media (min-width: 992px) {
  .tx-content-01 {
    text-align: left;
  }
}

/* Tablets (768px – 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .tx-content-01 {
    text-align: center;
  }
}

/* Smartphones medianos (576px – 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .tx-content-01 {
    text-align: center;
  }
}

/* Smartphones pequeños (<576px) */
@media (max-width: 575px) {
  .tx-content-01 {
    text-align: center;
  }
}


.tx-lista {
  text-align: left;
  list-style-type: disc;     /* bullets tradicionales */
  padding-left: 20px;        /* espacio para bullets */
  font-family: 'Helvetica Neue';
  font-weight: normal;	
  font-size: clamp(12px, 2vw, 16px); 
  line-height: 1.4;
  color: var(--tx-color, #525252);
	  -webkit-font-smoothing: antialiased;
  letter-spacing: 0em;
}

.tx-lista li {
  margin-bottom: 10px;
}

/* Sublistas dentro de li */
.tx-lista li ul {
  list-style-type: circle; /* bullets diferentes para sublistas */
  padding-left: 15px;      /* sangría adicional */
  margin-top: 5px;         /* espacio opcional arriba de sublista */
}


.tx-footer{
  text-align: center;
  font-family: "Helvetica Neue";
  font-size: clamp(9px, 2vw, 13px); 
  font-weight: normal;
  letter-spacing: 0em;;
   line-height: 1.4;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
}



/* CONTENIDO TEXTO HORIZONTAL*/

.contenido-texto {
  padding: clamp(10px, 2vw, 20px) clamp(5px, 2vw, 15px);
  width: 100%;
  display: flex;
  justify-content: center;
  height: auto;
  background-color: var(--bg-color, transparent); /* usa la variable, por defecto transparente */	

}

/* Caja de texto centrada */
.texto-contenido {
  max-width: clamp(300px, 80%, 1200px); /* mínimo 300px, máximo 1200px, escala con 80% del contenedor */
  width: 90%;

}


/*CONTENEDOR IMAGEN Horizontal 100% */

.contenedor-imagen {
  width: clamp(300px, 90vw, 1200px); /* mínimo 260px, máximo 1200px, escala con el viewport */	
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(5px, 2vw, 0px);
  margin: 0 auto; /* Centra el contenedor horizontalmente */	
}

/* Imagen centrada */
.contenedor-imagen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px; /* opcional, bordes redondeados */	
}


/* Div contenido texto-imagen*/

.content-01 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 15px;
  box-sizing: border-box;
  gap: clamp(10px, 2vw, 20px);
  flex-wrap: wrap; /* permite que se acomode en columna si es necesario */
  background-color: var(--bg-color, transparent); 
}

.content-01.reverse {
  flex-direction: row-reverse;
}

/* Texto a la izq */
.caja-lateral-01 {
  max-width: 500px;

}
.caja-lateral-01 h2 {
  font-family: 'Helvetica Neue';
  font-weight: 500;	
  font-size: clamp(20px, 4vw, 28px);
  color: var(--tx-color, #525252);
  margin-bottom: clamp(8px, 1.5vw, 15px);
  /*text-transform: uppercase;  ejemplo de transformación */
	  line-height: 1.2;
	text-align: center;
  letter-spacing: 0em;
  -webkit-font-smoothing: antialiased;
}

.caja-lateral-01 .inicio {
  color: #5d5d5d;
  font-size: clamp(20px, 2vw, 28px);	
}

.caja-lateral-01 .final {
  color: #00b8d6;
  font-size: clamp(20px, 2vw, 28px);	
}

/* Imagen a la derecha */
.imagen-lateral-01 img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  width:500px;
}

.btn-lateral {
  display: inline-block;         /* botón en línea */
  margin: clamp(12px, 2vw, 20px) auto 0; /* espacio arriba y centrado */
  padding: 10px 20px;
  background-color: #122f67;     /* azul institucional */
  color: #ffffff;
  text-decoration: none;
  font-family: 'Helvetica Neue';
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: normal;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.btn-lateral:hover {
  background-color: #143e90;
  transform: translateY(-2px);
}

/* Asegura que todo dentro de caja-lateral-01 esté centrado */
.caja-lateral-01 {
  text-align: center;
}

@media (min-width: 1200px) {
  .content-01 {
    flex-direction: row;
    gap: 30px;
    padding: 20px 15px; /* base en desktop */
  }

  .imagen-lateral-01 img {
    width: 500px;
  }
}

/* Laptops y tablets horizontales (992px – 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .content-01 {
    flex-direction: row;
    gap: 20px;
    padding: 25px 20px; /* un poco más aire */
  }

  .imagen-lateral-01 img {
    width: 400px;
  }
}

/* Tablets verticales (768px – 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .content-01 {
    flex-direction: column-reverse !important;
    align-items: center; 
	text-align: center;
    padding: 30px 25px; /* mayor respiro en vertical */
  }

  .caja-lateral-01 {
    max-width: 90%;
  }

  .imagen-lateral-01 img {
    width: 350px;
  }
}

/* Smartphones medianos (576px – 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .content-01 {
    flex-direction: column-reverse !important;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 35px 25px; /* más padding en móvil medio */
  }

  .imagen-lateral-01 img {
    width: 300px;
  }
}

/* Smartphones pequeños (< 576px) */
@media (max-width: 575px) {
  .content-01 {
    flex-direction: column-reverse !important;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 40px 30px; /* padding más grande en móviles pequeños */
  }
	
	.caja-lateral-01 {
    margin: 0 auto;
    max-width: 95%;
  }

  .caja-lateral-01 h2 {
    font-size: 20px; /* fuerza el mínimo del clamp */
  }

  .imagen-lateral-01 img {
    width: 100%;
    max-width: 280px;
  }

  .btn-lateral {
    font-size: 12px;
    padding: 8px 16px;
  }
}

/* CARRUSEL DE  CONTENT-02*/

.content-02 {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;	
  display: flex;	
  align-items: center;
  justify-content: center;
  padding: 20px 15px;
  box-sizing: border-box;
  gap: clamp(10px, 2vw, 20px);
  background-color: var(--bg-color, transparent); 
}

.content-02.reverse {
  flex-direction: row-reverse;
}

/* Texto a la izq */
.texto-container {
	flex: 1 1 500px;
  max-width: 500px;
  text-align: center;	
}

.carrusel-container {
	flex: 1 1 500px; 
  max-width: 500px;   /* limita el ancho máximo */
}

.carrusel {
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.carrusel .slides {
  display: flex; /* controlado por JS */
  transition: transform 0.6s ease-in-out;	
}

.carrusel .slide {
  flex: 0 0 100%;	
}

.carrusel .slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (max-width: 1366px) {
  .content-02 {
    max-width: 1000px;
    gap: 18px;
  }
  .texto-container,
  .carrusel-container {
    max-width: 460px;
  }
}


/* Pantallas <= 1280px */
@media (max-width: 1280px) {
  .content-02 {
    max-width: 950px;
    gap: 16px;
  }
  .texto-container,
  .carrusel-container {
    max-width: 440px;
  }
}

/* Pantallas <= 1024px */
@media (max-width: 1024px) {
  .content-02 {
/*    flex-direction: column;*/
    text-align: center;
    max-width: 90%;
  }
  .texto-container,
  .carrusel-container {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

/* Pantallas <= 768px */
@media (max-width: 768px) {
  .content-02 {
    flex-direction: column-reverse !important;
    padding: 15px 10px;
    gap: 14px;
  }
  .texto-container {
    font-size: 0.95rem;
  }
  .carrusel-container {
    max-width: 100%;
  }
}

/* Pantallas <= 600px */
@media (max-width: 600px) {
  .content-02 {
    flex-direction: column-reverse !important;	  
    padding: 15px 8px;
    gap: 12px;
  }
  .texto-container {
    font-size: 0.9rem;
  }
}

/* Pantallas <= 480px */
@media (max-width: 480px) {
  .content-02 {
    flex-direction: column-reverse !important;	  
    padding: 12px 6px;
    gap: 10px;
  }
  .texto-container {
    font-size: 0.85rem;
  }
  .carrusel .slide img {
    border-radius: 6px;
  }
}

/* Pantallas <= 360px */
@media (max-width: 360px) {
  .content-02 {
    flex-direction: column-reverse !important;	  
    padding: 10px 5px;
    gap: 8px;
  }
  .texto-container {
    font-size: 0.8rem;
  }
  .carrusel .slide img {
    border-radius: 4px;
  }
}


/* CONTENEDOR COMUNICADOS HEAD*/

.comunicado-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
/*  padding: 20px 15px;*/
  box-sizing: border-box;
/*  gap: clamp(10px, 2vw, 20px);*/
  flex-wrap: wrap; /* permite que se acomode en columna si es necesario */
  background-color: var(--bg-color, transparent); 
}

.comunicado-head.reverse {
  flex-direction: row-reverse;
}

/* Texto a la izq */
.comunicado-lateral {
  width: 50%;
  height: auto;	
  padding: 20px 70px;
  background-color: #122f67;
  text-align: center;	

}

.comunicado-lateral p {
  font-family: 'Helvetica Neue';
  font-weight: normal;	
  font-size: clamp(14px, 2vw, 18px); 
  color: var(--tx-color, #525252);
  margin-bottom: clamp(8px, 1.5vw, 15px);
  /*text-transform: uppercase;  ejemplo de transformación */
	  line-height: 1.2;
	text-align: center;
  letter-spacing: 0em;
  -webkit-font-smoothing: antialiased;
}

.imagen-comunicado {
  width: 50%;	

}

/* Imagen a la derecha */
.imagen-comunicado img {
/*  max-width: 100%;*/
  height: auto;
  display: block;
  border-radius: 0px;
  width:100%;
}

/* 1366px */
@media (max-width: 1366px) {
  .comunicado-lateral {
    padding: 20px 50px;
  }
}

/* 1280px */
@media (max-width: 1280px) {
  .comunicado-lateral {
    padding: 20px 40px;
  }
  .comunicado-lateral p {
    font-size: 16px;
  }
}

/* 1024px (tablets grandes o laptops chicas) */
@media (max-width: 1024px) {
  .comunicado-lateral {
    padding: 20px 30px;
  }
  .comunicado-lateral p {
    font-size: 15px;
  }
}

/* 768px (tablets verticales) */
@media (max-width: 768px) {
  .comunicado-head {
    flex-direction: column;
  }
  .comunicado-lateral,
  .imagen-comunicado {
    width: 100%;
    padding: 15px 20px;
  }
  .comunicado-lateral p {
    font-size: 15px;
    line-height: 1.3;
  }
}

/* 600px (phablets y móviles grandes) */
@media (max-width: 600px) {
  .comunicado-lateral {
    padding: 15px;
  }
  .comunicado-lateral p {
    font-size: 14px;
  }
}

/* 480px (móviles medianos) */
@media (max-width: 480px) {
  .comunicado-lateral {
    padding: 12px;
  }
  .comunicado-lateral p {
    font-size: 13px;
  }
}

/* 360px (móviles pequeños) */
@media (max-width: 360px) {
  .comunicado-lateral {
    padding: 10px;
  }
  .comunicado-lateral p {
    font-size: 12px;
    line-height: 1.3;
  }
}



/* CONTENEDOR CANDIDATURAS PRESIDENCIALES */

.equipo-container {
  width: 80%;              /* ocupar el 80% del espacio */
  margin: 0 auto;          /* centrar */
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;         /* se ajusta en móviles */
  gap: 40px;
}

/* Cada card */
.equipo-card {
  flex: 1 1 calc(40% - 20px); /* 2 columnas con espacio */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.15);
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
	display: flex;
  flex-direction: column;
  align-items: center; 
}

/* Hover efecto */
.equipo-card:hover {
  transform: translateY(-5px);
}

/* Imagen */
.equipo-card img {
  width: 60%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

/* Nombre */
.equipo-card h3 {
  font-family: 'Helvetica Neue';
  font-weight: 500;
  color: #525252;	
  font-size: 24px;
  margin-bottom: 10px;
  text-align: center;
  letter-spacing: 0em;
  -webkit-font-smoothing: antialiased;
	
}

/* Texto */
.equipo-card p {
  font-family: 'Helvetica Neue';
  font-size: 16px;
  font-weight: normal;	
  color: #525252;
  margin-bottom: 20px;
  line-height: 1.3;
  text-align: center;	
    -webkit-font-smoothing: antialiased;
  letter-spacing: 0em;
	
}

 .subtitulo {
  font-family: 'Helvetica Neue';
  font-size: 19px;
  font-weight: bold;	
  color: #525252;
  margin-bottom: 20px;
  line-height: 1.3;
  text-align: center;	
    -webkit-font-smoothing: antialiased;
  letter-spacing: 0em;
	
}

.equipo-card .btn {
  margin-top: auto;  /* Empuja el botón hasta abajo */
  align-self: center; /* Opcional: lo centra horizontalmente */
}

/* Botón */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #122f67; /* azul */
  font-family: 'Helvetica Neue';
  font-size: 14px;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: normal;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #143e90;
}

/* Desktop grande (≥ 1200px) */
@media (min-width: 1200px) {
  .equipo-container {
    width: 80%;
    gap: 40px;
  }

  .equipo-card {
    flex: 1 1 calc(30% - 20px); /* 3 columnas */
    padding: 25px;
  }

  .equipo-card h3 {
    font-size: 26px;
  }

  .equipo-card p {
    font-size: 17px;
  }

  .subtitulo {
    font-size: 20px;
  }
}

/* Laptops y tablets horizontales (992px – 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .equipo-container {
    width: 85%;
    gap: 30px;
  }

  .equipo-card {
    flex: 1 1 calc(45% - 20px); /* 2 columnas */
    padding: 22px;
  }

  .equipo-card h3 {
    font-size: 24px;
  }

  .equipo-card p {
    font-size: 16px;
  }

  .subtitulo {
    font-size: 19px;
  }
}

/* Tablets verticales (768px – 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .equipo-container {
    width: 90%;
    gap: 25px;
  }

  .equipo-card {
    flex: 1 1 calc(50% - 20px); /* 2 columnas */
    padding: 20px;
  }

  .equipo-card h3 {
    font-size: 22px;
  }

  .equipo-card p {
    font-size: 15px;
  }

  .subtitulo {
    font-size: 18px;
  }
}

/* Smartphones medianos (576px – 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .equipo-container {
    width: 95%;
    gap: 20px;
  }

  .equipo-card {
    flex: 1 1 100%; /* 1 columna */
    padding: 22px;
  }

  .equipo-card h3 {
    font-size: 21px;
  }

  .equipo-card p {
    font-size: 15px;
  }

  .subtitulo {
    font-size: 18px;
  }

  .btn {
    font-size: 13px;
    padding: 9px 18px;
  }
}

/* Smartphones pequeños (< 576px) */
@media (max-width: 575px) {
  .equipo-container {
    width: 100%;
    gap: 15px;
    padding: 0 15px;
  }

  .equipo-card {
    flex: 1 1 100%; /* 1 columna */
    padding: 18px;
  }

  .equipo-card img {
    width: 70%; /* imagen más grande para móviles */
  }

  .equipo-card h3 {
    font-size: 20px;
  }

  .equipo-card p {
    font-size: 14px;
  }

  .subtitulo {
    font-size: 17px;
  }

  .btn {
    font-size: 12px;
    padding: 8px 16px;
  }
}



/* CANDIDATOS DIPUTADOS BLOQUES */
.candidatos {
  width: 95%;
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
}

.grid-candidatos {
  /*display: grid;*/
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 	
  /*grid-template-columns: repeat(4, 1fr);  4 columnas fijas */
 /*  gap: 40px 20px;  row-gap 40px, column-gap 20px */	
  column-gap: 20px; /* espacio entre columnas */
  row-gap: 40px;    /* espacio entre filas (ajusta a tu gusto) */
  justify-content: center; /* centra el conjunto de columnas */	
  justify-items: center; /* centra las tarjetas dentro de la columna */
}

/* Card noticia */
.card-candidatos {
  width: 100%;
  max-width: 300px; /* tamaño uniforme */
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s ease;
}

.card-candidatos:hover {
  transform: translateY(-5px);
}

.card-candidatos .imagen {
  position: relative;
  align-content: center;
  align-items: center;
  padding: 15px;	
}

.card-candidatos img {
  width: 75%;
  height: auto;
  display: block;
  margin: 0 auto; 	
  border-radius: 8px;	
}

.card-candidatos .contenido {
  padding: 12px;
}

.candidatos h3 {
  font-family: 'Helvetica Neue';
  font-weight: 500;
  color: #525252;	
  font-size: 23px;
  margin-bottom: 5px;
  text-align: center;
  letter-spacing: 0em;
   line-height: 1.0;
	-webkit-font-smoothing: antialiased;
}

.subtitulo {
  font-family: 'Helvetica Neue';
  font-size: 19px;
  font-weight: 500;	
  color: #525252;
  margin-top: 0; 	
  margin-bottom: 20px;
  line-height: 1.3;
  text-align: center;	
    -webkit-font-smoothing: antialiased;
  letter-spacing: 0em;
	
}

.card-candidatos .texto {
    font-family: 'Helvetica Neue';
  font-size: 16px;
  font-weight: normal;	
  color: #525252;
  margin-bottom: 20px;
  line-height: 1.0;
  text-align: center;	
    -webkit-font-smoothing: antialiased;
  letter-spacing: 0em;

}

.card-candidatos .btn {
  display: inline-block;
  background: #122f67;
  color: #ffffff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-family: 'Helvetica Neue';	
  font-size: 14px;
  font-weight: normal;	
  transition: background 0.2s ease;
}

.card-candidatos .btn:hover {
  background: #143e90;
}

/* 1366px */
@media (max-width: 1366px) {
  .grid-candidatos {
    grid-template-columns: repeat(4, 1fr); /* aún 4 columnas */
  }
}

/* 1280px */
@media (max-width: 1280px) {
  .grid-candidatos {
    grid-template-columns: repeat(3, 1fr); /* baja a 3 columnas */
  }
}

/* 1024px */
@media (max-width: 1024px) {
  .grid-candidatos {
    grid-template-columns: repeat(3, 1fr); /* mantiene 3 columnas */
  }
}

/* 768px (tablets) */
@media (max-width: 768px) {
  .grid-candidatos {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas */
  }
}

/* 600px (phablets / móviles grandes) */
@media (max-width: 600px) {
  .grid-candidatos {
    grid-template-columns: repeat(2, 1fr); /* aún 2 columnas */
    column-gap: 20px;
    row-gap: 30px;
  }
  .card-candidatos {
    max-width: 260px;
  }
}

/* 480px (móviles medianos) */
@media (max-width: 480px) {
  .grid-candidatos {
    grid-template-columns: 1fr; /* solo 1 columna */
    row-gap: 25px;
  }
  .card-candidatos {
    max-width: 90%; /* ocupa casi todo el ancho */
  }
}

/* 360px (móviles pequeños) */
@media (max-width: 360px) {	
  .grid-candidatos {
    grid-template-columns: 1fr; /* una sola columna */
  }
  .card-candidatos {
    max-width: 90%;
  }
}





/* CONTENEDOR NOTICIAS*/

.content-noticias-1 {
  width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
	padding: 0 95px;
}

.noticia-1 {
  width: 30%;
  background-color: #f5f8fc;
  border-radius: 10px;
  padding: 15px 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.texto-noticia-1 {
  margin-top: 10px;
  font-family: 'Helvetica Neue';
  font-size: 14px;
  color: #525252;
  line-height: 1.2;
  font-weight: normal;
  padding: 0 15px;
}

.boton-noticia {
  display: inline-block; /* botón */
  margin-top: 15px;
  background-color: #1a3768;
  color: white;
  font-family: 'Helvetica Neue';
  font-size: 12px;
  font-weight: 500;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;  
  transition: background-color 0.3s ease;
}

.boton-noticia:hover {
  background-color: #2c4e9b;
  color: white;
  font-family: 'Helvetica Neue';
  font-size: 12px;
  font-weight: 500;
}

/* 1366px */
@media screen and (max-width: 1366px) {
  .content-noticias-1 {
    padding: 0 70px;
  }
  .noticia-1 {
    width: 28%;
  }
}

/* 1280px */
@media screen and (max-width: 1280px) {
  .content-noticias-1 {
    padding: 0 60px;
  }
  .noticia-1 {
    width: 30%;
  }
}

/* 1024px */
@media screen and (max-width: 1024px) {
  .content-noticias-1 {
    padding: 0 40px;
  }
  .noticia-1 {
    width: 45%; /* 2 tarjetas por fila */
  }
  .texto-noticia-1 {
    font-size: 13px;
    padding: 0 20px;
  }
}

/* 768px */
@media screen and (max-width: 768px) {
  .content-noticias-1 {
    padding: 0 30px;
  }
  .noticia-1 {
    width: 80%; /* 1 tarjeta centrada */
  }
  .texto-noticia-1 {
    font-size: 13px;
  }
  .boton-noticia {
    font-size: 12px;
    padding: 8px 16px;
  }
}

/* 600px */
@media screen and (max-width: 600px) {
  .content-noticias-1 {
    padding: 0 20px;
  }
  .noticia-1 {
    width: 90%;
  }
  .texto-noticia-1 {
    font-size: 12px;
    padding: 0 15px;
  }
}

/* 480px */
@media screen and (max-width: 480px) {
  .content-noticias-1 {
    padding: 0 15px;
  }
  .noticia-1 {
    width: 100%;
  }
  .texto-noticia-1 {
    font-size: 12px;
  }
  .boton-noticia {
    font-size: 11px;
    padding: 7px 14px;
  }
}

/* 360px */
@media screen and (max-width: 360px) {
  .content-noticias-1 {
    padding: 0 10px;
  }
  .noticia-1 {
    width: 100%;
    padding: 12px 8px;
  }
  .texto-noticia-1 {
    font-size: 11px;
    padding: 0 10px;
  }
  .boton-noticia {
    font-size: 11px;
    padding: 6px 12px;
  }
}


/* SECCION NOTICIAS BLOQUES */
.noticias {
  width: 90%;
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
}

.noticias h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.grid-noticias {
  /*display: grid;*/
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 	
  /*grid-template-columns: repeat(4, 1fr);  4 columnas fijas */
 /*  gap: 40px 20px;  row-gap 40px, column-gap 20px */	
  column-gap: 20px; /* espacio entre columnas */
  row-gap: 40px;    /* espacio entre filas (ajusta a tu gusto) */
  justify-content: center; /* centra el conjunto de columnas */	
  justify-items: center; /* centra las tarjetas dentro de la columna */
}

/* Card noticia */
.card-noticia {
  width: 100%;
  max-width: 300px; /* tamaño uniforme */
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s ease;
}

.card-noticia:hover {
  transform: translateY(-5px);
}

.card-noticia .imagen {
  position: relative;
}

.card-noticia img {
  width: 100%;
  height: auto;
  display: block;
}

.card-noticia .fecha {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.7); /* azul con 70% opacidad */
  color: #4d4c4c;
  font-family: 'Helvetica Neue';
  font-weight: normal;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 16px;
}

.card-noticia .contenido {
  padding: 12px;
}

.card-noticia .texto {
  font-family: 'Helvetica Neue';	
  font-size: 15px;
  font-weight: 400;	
  color: #525252;	
  margin-bottom: 10px;
  text-align: center;
  line-height: 1.2;
}

.card-noticia .btn {
  display: inline-block;
  background: #122f67;
  color: #ffffff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-family: 'Helvetica Neue';	
  font-size: 14px;
  font-weight: normal;
  transition: background 0.2s ease;
}

.card-noticia .btn:hover {
  background: #143e90;
}

/* PAGINACIÓN */
.paginacion {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
/*   flex-wrap: wrap;	*/
}

.paginacion a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  background: #eee;
  color: #333;
  text-decoration: none;
  transition: background 0.2s ease;
  font-family: 'Helvetica Neue';
  font-size: 12px;
  font-weight: 500;	
}

.paginacion a:hover {
  background: #ccc;
}

.paginacion a.active {
  background: #143e90;
  color: #fff;
}


/* 1366px */
@media (max-width: 1366px) {
  .grid-noticias {
    grid-template-columns: repeat(4, 1fr); /* aún 4 columnas */
  }
}

/* 1280px */
@media (max-width: 1280px) {
  .grid-noticias {
    grid-template-columns: repeat(3, 1fr); /* baja a 3 columnas */
  }
}

/* 1024px */
@media (max-width: 1024px) {
  .grid-noticias {
    grid-template-columns: repeat(3, 1fr); /* mantiene 3 columnas */
  }
}

/* 768px (tablets) */
@media (max-width: 768px) {
  .grid-noticias {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas */
  }
}

/* 600px (phablets / móviles grandes) */
@media (max-width: 600px) {
  .grid-noticias {
    grid-template-columns: repeat(2, 1fr); /* aún 2 columnas */
    column-gap: 15px;
    row-gap: 30px;
  }
  .card-noticia {
    max-width: 260px;
  }
}

/* 480px (móviles medianos) */
@media (max-width: 480px) {
  .grid-noticias {
    grid-template-columns: 1fr; /* solo 1 columna */
    row-gap: 25px;
  }
  .card-noticia {
    max-width: 90%; /* ocupa casi todo el ancho */
  }
}

/* 360px (móviles pequeños) */
@media (max-width: 360px) {
  .grid-noticias {
    grid-template-columns: 1fr; /* una sola columna */
  }
  .card-noticia {
    max-width: 100%;
  }
}



/* DIV CONTENIDO PANEL EPS Izquierda*/

.content-izq {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
    box-sizing: border-box;
    gap: 20px;
    flex-wrap: wrap; /* permite que se acomode en columna si es necesario */
}

/* Imagen a la izquierda */
.imagen-lateral img {
  max-width: 100%;
  height: 248px;
  display: block;
  border-radius: 6px;
  width: 460px; /* puedes ajustar este valor */
}

/* Texto a la derecha */
.texto-lateral {
  max-width: 500px;

	
}
/*
.texto-lateral h2 {
  font-size: 20px;
  font-family: 'Poppins Medium';
  color: #525252;
  font-weight: 500;
  margin-bottom: 15px;
  text-transform: uppercase; 
	text-align: left;
}
*/


/* Responsive pantallas de 1024px o menos */
@media screen and (max-width: 1024px) {
  .content-izq {
    width: 100%;
    flex-direction:column-reverse !important;
    justify-content: center;
    padding: 5px 15px;
	   align-items: center;

  }

  .imagen-lateral img {
    width: 100%;
    height: auto;
    max-width: 450px;
  }
	.texto-lateral {
    text-align: center; /* <-- centra el texto */
  }
	.texto-lateral h2 {
    font-size: 19px;
  }
}

/* Responsive pantallas de 768px o menos */
@media screen and (max-width: 768px) {
  .content-izq {
    flex-direction: column-reverse !important;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 5px 10px;
	  justify-content: center;
  }

  .texto-lateral {
	  text-align: center;
  }

  .imagen-lateral img {
    width: 100%;
    height: auto;
    max-width: 400px;
  }

  .texto-lateral h2 {
    font-size: 18px;
  }
}

/* Responsive pantallas de 480px o menos */
@media screen and (max-width: 480px) {
  .content-izq {
	  flex-direction: column-reverse !important;
    max-width: 100%;
    padding: 5px 10px;
	  text-align: center;
    gap: 10px;	  
  }

.texto-lateral {
	  text-align: center;
  }	
	
  .imagen-lateral img {
    max-width: 100%;
    height: auto;
  }

  .texto-lateral h2 {
    font-size: 16px;
  }
}

/* Responsive pantallas de 360px o menos */
@media screen and (max-width: 360px) {
  .content-izq {
	  flex-direction: column-reverse !important;
    padding: 1px 5px;
    gap: 10px;
  }

	.texto-lateral {
	  text-align: center;
  }	
	
  .texto-lateral h2 {
    font-size: 15px;
  }

  .imagen-lateral img {
    max-width: 100%;
    height: auto;
  }
}




/* DIV CONTENIDO PANEL EPS Derecha*/

.content-der {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 20px;
  box-sizing: border-box;
  gap: 20px;
  flex-wrap: wrap; /* permite que se acomode en columna si es necesario */
}

/* Texto a la izquierda */
.texto-lateral {
  max-width: 500px;

}
/* Imagen a la derecha */
.imagen-lateral img {
  max-width: 100%;
  height: 248px;
  display: block;
  border-radius: 6px;
  width: 460px; /* puedes ajustar este valor */
}

/*.texto-lateral h2 {
  font-size: 20px;
  font-family: 'Poppins Medium';
  color: #525252;
  font-weight: 500;
  margin-bottom: 15px;
  text-transform: uppercase;  ejemplo de transformación 
	text-align: right;
}
*/

/* Responsive pantallas de 1024px o menos */
@media screen and (max-width: 1024px) {
  .content-der {
    width: 100%;
    flex-direction:column;
    justify-content: center;
    padding: 5px 15px;
	   align-items: center;

  }

  .imagen-lateral img {
    width: 100%;
    height: auto;
    max-width: 450px;
  }
	.texto-lateral {
    text-align: center; /* <-- centra el texto */
  }
	.texto-lateral h2 {
    font-size: 19px;
  }
}

/* Responsive pantallas de 768px o menos */
@media screen and (max-width: 768px) {
  .content-der {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 5px 10px;
	  justify-content: center;
  }

  .texto-lateral {
	  text-align: center;
  }

  .imagen-lateral img {
    width: 100%;
    height: auto;
    max-width: 400px;
  }

  .texto-lateral h2 {
    font-size: 18px;
  }
}

/* Responsive pantallas de 480px o menos */
@media screen and (max-width: 480px) {
  .content-der {
	  flex-direction: column;
    max-width: 100%;
    padding: 5px 10px;
	  text-align: center;
	  gap: 10px;
  }

.texto-lateral {
	  text-align: center;
  }	
	
  .imagen-lateral img {
    max-width: 100%;
    height: auto;
  }

  .texto-lateral h2 {
    font-size: 16px;
  }
}

/* Responsive pantallas de 360px o menos */
@media screen and (max-width: 360px) {
  .content-der {
	  flex-direction: column;
    padding: 1px 5px;
    gap: 10px;
  }

	.texto-lateral {
	  text-align: center;
  }	
	
  .texto-lateral h2 {
    font-size: 15px;
  }

  .imagen-lateral img {
    max-width: 100%;
    height: auto;
  }
}


/* Contenedor Video */
.video-container {
  width: 60%;
  margin: 0 auto; /* Centrado horizontal */
  padding: 35px 0; 
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* Opcional: bordes redondeados */
}

/* Para pantallas de 1024px o menos */
@media (max-width: 1024px) {
  .video-container {
    width: 80%;
  }
}

/* Para pantallas de 768px o menos (tabletas) */
@media (max-width: 768px) {
  .video-container {
    width: 90%;
  }
}

/* Para pantallas de 480px o menos (móviles pequeños) */
@media (max-width: 480px) {
  .video-container {
    width: 95%;
  }
}

/* Para pantallas de 360px o menos (móviles muy pequeños) */
@media (max-width: 360px) {
  .video-container {
    width: 100%;
    padding: 10px 5px;
  }
}


 /* FOOTER CDS */
.footer {
  background-color: #122f67; /* Azul oscuro */
  color: white;
  padding: 30px 20px;
  font-family: 'Helvetica Neue', sans-serif;
}

.footer-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto; /* Texto ocupa más espacio, logo ajustado */
  /*grid-template-rows: auto auto;   Redes arriba, texto abajo */
  grid-template-areas:
    "social social"
    "text logo"; 	
  gap: 20px;
  align-items: center;
}

/* Redes sociales */
.footer-social {
  /*grid-column: 1 / 3;  Ocupa todo el ancho arriba */
  grid-area: social;	
  display: flex;
  gap: 20px;
  justify-content: center;
}

.footer-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid white;
  border-radius: 50%;
  background-color: #001e45; 
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(255,255,255,50.5);
  overflow: hidden;   /* Para que la imagen no sobresalga */	
}

.footer-social a img {
  max-width: 60%;    /* Controla el tamaño dentro del círculo */
  height: auto;
}

.footer-social a:hover {
  background: gray;
  color: #122f67;
}

/* Primer párrafo destacado Texto copyright */
.footer-text {
	grid-area: text;
  font-family: "Helvetica Neue";	
  font-size: 13px;
  line-height: 1.4;
  text-align: center;   /* Centra todo el texto */
  max-width: 850px;     /* Controla el ancho máximo */
  margin: 0 auto;       /* Lo centra en la grilla */	
}


.footer-text p:first-child {
  font-family: "Helvetica Neue";
  font-size: 13px;	
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 1.0;
  color: #ffffff;
  margin-bottom: 8px;

}

/* Texto pequeño de derechos de autor */
.footer-text .copyright {
  font-family: "Helvetica Neue";	
  font-size: 13px;
  font-weight: normal;
  text-align: center;
  letter-spacing: 0em;
  line-height: 1.2;
  color: #ffffff;	
  opacity: 0.85;
}

/* Logo */
.footer-logo {
	grid-area: logo;
  justify-self: end; /* Empuja el logo a la derecha */
  margin-right: 45px; /* Ajusta el valor según lo que necesites */	
}

.footer-logo img {
  max-height: 60px;
  width: auto;
}


@media (max-width: 1366px) {
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "social"
      "logo"
      "text";
    text-align: center;
  }
  .footer-logo { justify-self: center; margin-right: 0; }
}

@media (max-width: 1280px) {
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "social"
      "logo"
      "text";
  }
  .footer-logo { justify-self: center; }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "social"
      "logo"
      "text";
  }
  .footer-logo { justify-self: center; }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "social"
      "logo"
      "text";
  }
  .footer-logo { justify-self: center; }
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "social"
      "logo"
      "text";
  }
  .footer-logo { justify-self: center; }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "social"
      "logo"
      "text";
  }
  .footer-logo { justify-self: center; }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "social"
      "logo"
      "text";
  }
  .footer-logo { justify-self: center; }
}

@media (max-width: 360px) {
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "social"
      "logo"
      "text";
  }
  .footer-logo { justify-self: center; }
}


/* FORMULARIO DE CONTACTO CDS */

.form-container {
  max-width: 900px;
  margin: 50px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  font-family: 'Helvetica Neue';
}

.form-description {
  font-family: 'Helvetica Neue';
  font-size: 15px;
  font-weight: normal;	
  text-align: center;
  margin-bottom: 15px;
  color: #525252;
  line-height: 1.3;	

}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group input {
  width: 90%;     
  margin: 0 auto; 	
  padding: 12px 15px;
  font-family: 'Helvetica Neue';	
  font-size: 14px;
  font-weight: normal;
  border: 1px solid #525252;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-color: #122f67;
  box-shadow: 0 0 5px rgba(26, 55, 134, 0.4); 	
}

.form-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Helvetica Neue';
  font-size: 14px;
  color: #525252;
  margin-top: 0px;	
  
}

.form-checkbox input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #122f67; 
  transform: scale(1.2); 
}

.form-submit {
  text-align: center;
}

.form-submit button {
  background: #122f67;
  color: #ffffff;
  font-family: 'Helvetica Neue';
  font-weight: normal;
  font-size: 16px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;	
}

.form-submit button:hover {
  background: #143e90;
}


/* 1366px */
@media (max-width: 1366px) {
  .form-container {
    width: 80%;
  }
  .form-group {
    grid-template-columns: 1fr 1fr; 
  }
}

/* 1280px */
@media (max-width: 1280px) {
  .form-container {
    width: 80%;
  }
  .form-group {
    grid-template-columns: 1fr 1fr;
  }
}

/* 1024px */
@media (max-width: 1024px) {
  .form-container {
    width: 80%;
  }
  .form-group {
    grid-template-columns: 1fr 1fr; 
    gap: 20px;
  }
}

/* 768px */
@media (max-width: 768px) {
  .form-container {
    width: 80%;
  }
  .form-group {
    grid-template-columns: 1fr 1fr; /
  }
  .form-group input {
    width: 100%;
  }
}

/* 600px */
@media (max-width: 600px) {
  .form-container {
    width: 80%;
  }
  .form-group {
    grid-template-columns: 1fr; 
  }
  .form-group input {
    width: 100%;
    font-size: 14px;
    padding: 10px;
  }
}

/* 480px */
@media (max-width: 480px) {
  .form-container {
    width: 80%;
    padding: 20px;
  }
  .form-group input {
    width: 100%;
    font-size: 13px;
    padding: 10px;
  }
  .form-submit button {
    font-size: 15px;
    padding: 10px;
  }
}

/* 360px */
@media (max-width: 360px) {
  .form-container {
    width: 80%;
    padding: 15px;
  }
  .form-description {
    font-size: 14px;
  }
  .form-group input {
    font-size: 12px;
    padding: 8px;
  }
  .form-submit button {
    width: 100%;
    font-size: 14px;
  }
}


