/* Estilos para pantallas medianas y mayores */
@media (max-width: 1200px) {
  .bg2color {
    background: rgb(255, 255, 255);
    /*      background: linear-gradient(0deg, #e5e5e5 15%, rgba(255, 255, 255, 0) 15%);
 */
  }
  .bgColorResp {
    background: rgb(255, 255, 255);
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 60%,
      rgb(225, 7, 50) 60%
    );
  }
  .navbar-toggler {
    background-color: #e10732;
    top: 0;
    position: absolute;
    right: 0;
    border-radius: 0;
    border: none;
    height: 60px;
    width: 60px;
  }
  #navbar {
    position: absolute;
    width: 100%;
    z-index: 999;
  }
  .navbar-nav {
    list-style: none;
    display: flex;
    padding: 0;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    list-style: none;
    text-align: left;
    font-weight: bold;
    padding-left: 10%;
    line-height: 50px;
  }

  .bg-custom {
    padding-top: 0px;
    background-color: #e10732;
  }
  #close-icon {
    opacity: 0;
    visibility: hidden;
    transform: rotate(45deg);
  }
  #menu-icon,
  #close-icon {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    transition: opacity 0.3s ease, visibility 0s 0.3s, transform 0.3s ease;
    transform: scale(1);
  }
  h1 {
    font-size: 26px;
    font-weight: bold;
    color: #fff;
    background-color: #e10732;
    padding: 20px 60px;
    text-align: center;
  }
  .blanco h1 {
    font-size: 26px;
    font-weight: bold;
    color: #ffffff;
  }
  .negativo95 {
    margin-top: -95px;
    position: relative;
  }
  .bg2colorBio {
    background: #ffffff00;
  }
  .bgPvista {
    background: rgba(225, 7, 51, 0);
  }
  .bgNoticias {
    background: rgba(225, 7, 51, 0);
  }
  .negativo50 {
    margin-top: 0;
  }
  .colorBlanco {
    color: #000;
    font-weight: bold;
  }
  .subtitulo {
    color: #fff !important;
  }
}
/* Estilos para pantallas pequeñas y mayores */
@media (max-width: 576px) {
  .border-right {
    border-right: 0px solid #ccc;
  }
  h1 {
    font-size: 26px;
    font-weight: bold;
    color: #fff;
    background-color: #e10732;
    padding: 20px 60px;
    text-align: center;
  }
  .bg-custom {
    padding-top: 0px;
    background-color: #e10732;
  }
  #navbar {
    position: absolute;
    width: 100%;
    z-index: 999;
  }
  .nav-link:focus,
  .nav-link:hover {
    color: #fff;
  }
  #CarouselHome {
    width: 100%;
    max-height: 790px;
  }
  #CarouselHome .carousel-inner {
    max-height: 790px;
  }
  #CarouselGeneral {
    width: 100%;
    max-height: 400px;
  }
  .bgSliderInteriores {
    background-position: center;
    background-size: cover;
    height: 40vh;
  }
  .bgSliderHome {
    background-position: right;
    background-size: cover;
    height: 65vh;
    background-repeat: no-repeat;
  }
  .carousel-caption {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    padding: 20px;
  }
  .text-container {
    margin: 80px 15px 15px 30px;
  }
  .hero-title {
    font-size: 20px;
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: 14px;
  }
  .hero-title p {
    font-size: 18px;
    margin-bottom: 0px;
    font-weight: 600;
    letter-spacing: 5px;
  }
  .hero-text p {
    font-size: 16px;
    letter-spacing: normal;
    max-width: 600px;
  }
  .BioRedSlider {
    font-size: 11px;
  }
  .navbar-nav {
    list-style: none;
    display: flex;
    padding: 0;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    list-style: none;
    text-align: left;
    font-weight: bold;
    padding-left: 10%;
    line-height: 50px;
  }
  .hero-header {
    background-image: url(../img/HeroBanner.png);
    background-size: 100% 100%;
    background-position: left;
    color: white;
    padding-bottom: 100px;
    background-repeat: no-repeat;
    margin-left: 0;
  }
  .hero-bio {
    background-image: url(../img/bioHero.png);
    background-size: 100% 100%;
    background-position: left;
    color: white;
    padding-bottom: 100px;
    background-repeat: no-repeat;
    margin-left: 0;
  }
  .navbar-toggler {
    background-color: #e10732;
    top: 0;
    position: absolute;
    right: 0;
    border-radius: 0;
    border: none;
    height: 60px;
    width: 60px;
  }
  .btn-intranet {
    background-color: #e10732;
    border-color: #e10732;
    color: #fff !important;
  }
  .btn-intranet .nav-link {
    background-color: #e10732;
    border-color: #e10732;
    color: #fff !important;
  }
  .img-Logo {
    height: auto;
    width: 45%;
  }
  .bg2color {
    background: rgb(229, 229, 229);
    background: linear-gradient(0deg, #e5e5e5 15%, rgba(255, 255, 255, 0) 15%);
  }
  .bg3color {
    background: rgb(229, 229, 229);
  }
  .hero-title {
    font-size: 21px;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 5px;
  }
  .hero-text {
    font-size: 16px;
    letter-spacing: normal;
    max-width: 600px;
  }
  .negativo40 {
    margin-top: -40px;
    position: relative;
  }
  .negativo60 {
    margin-top: -60px;
  }
  .negativo50 {
    margin-top: 0;
  }
  .card-title {
    font-size: 14px;
    font-weight: bold;
    color: #e10732;
  }
  .bgcards {
    background-color: #e10732;
    margin: 0 3 3 5;
  }
  .card-body {
    flex: 1 1 auto;
    color: var(--bs-card-color);
    padding: 5px;
  }
  .areasmobile {
    position: relative;
    z-index: 2;
    margin-bottom: -30px;
  }
  .bg2colorBio {
    background: #ffffff00;
  }
  .colorBlanco {
    color: #000;
    font-weight: bold;
  }
  .blanco h1 {
    font-size: 26px;
    font-weight: bold;
    color: #ffffff;
  }
  .colorBlancoinfo {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .subtitulo {
    color: #fff !important;
  }
  .negativo95 {
    margin-top: -95px;
    position: relative;
  }
  #noteCarosuel .owl-item {
    height: auto !important;
    padding-left: 5px;
  }
  #notePvista .owl-item {
    height: auto !important;
    padding-left: 5px;
  }
  #noteVideos .owl-item {
    height: auto !important;
    padding-left: 5px;
  }
  .bgPvista {
    background: rgba(225, 7, 51, 0);
  }
  .bgNoticias {
    background: rgba(225, 7, 51, 0);
  }
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .OverlayPeople {
    height: 100%;
    background-color: rgba(119, 119, 119, 0.52);
  }
  .hero-container {
    position: relative; /* Para que el div absoluto se posicione relativo a este contenedor */
    width: 100%; /* Para que ocupe todo el ancho */
  }
  .hero-bio {
    position: relative; /* Posiciona el div detrás de los otros elementos */
    top: 0;
    left: 50%; /* Centra horizontalmente */
    transform: translateX(-50%); /* Ajusta el centro */
    width: 100% !important; /* Ancho del 95% */
    height: 430px; /* Altura deseada */
    background-size: cover; /* Cubre todo el div */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat;
    z-index: 0; /* Asegúrate de que esté detrás del contenido */
  }
  .content {
    position: relative; /* Permite que el contenido esté por encima de la imagen de fondo */
    z-index: 2; /* Asegúrate de que esté por encima */
  }
  .carousel-control-next {
    right: 0;
  }
  .carousel-control-prev {
    left: 0;
  }
  .bgPeople {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 480" fill="%23E10732"><circle cx="240" cy="240" r="240"></circle></svg>'),
      linear-gradient(
        180deg,
        rgba(229, 229, 229, 1) 60%,
        rgba(255, 255, 255, 1) 60%
      );
    background-repeat: no-repeat;
    background-size: 207px, 100%;
    background-position: -90px 50px, 0 0;
    height: 60vh;
  }
  .bgOjos2 {
    position: relative;
    padding-top: 30px;
    z-index: 1; /* Cambiado a 1 para asegurar que esté por encima de elementos de fondo */
    background: rgb(229, 229, 229);
    background: linear-gradient(
      90deg,
      rgba(229, 229, 229, 1) 84%,
      rgba(229, 229, 229, 1) 84%
    );
  }
  .bgGrey {
    background: rgb(229, 229, 229);
  }
  .prefooter {
    background-size: contain;
  }
  /* Aseguramos que ambos íconos estén centrados y ocupen el mismo espacio */
  #menu-icon,
  #close-icon {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    transition: opacity 0.3s ease, visibility 0s 0.3s, transform 0.3s ease;
    transform: scale(1);
  }

  /* El ícono de cerrar (X) está oculto inicialmente */
  #close-icon {
    opacity: 0;
    visibility: hidden; /* Lo ocultamos para evitar que interactúe */
    transform: rotate(
      45deg
    ); /* Lo rotamos ligeramente para hacerlo más dinámico */
  }

  /* El ícono de hamburguesa (menu) es visible por defecto */
  #menu-icon {
    opacity: 1;
    visibility: visible;
  }

  /* Cuando el menú se expanda (aria-expanded = true), ocultamos el menú y mostramos la X */
  .navbar-toggler[aria-expanded="true"] #menu-icon {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8); /* Lo reduce en tamaño */
  }

  .navbar-toggler[aria-expanded="true"] #close-icon {
    opacity: 1;
    visibility: visible;
    transform: rotate(0deg) scale(1); /* Hace que la X sea visible y la rota de vuelta a su posición original */
  }
  /* iframe {
    height: 250px; 
  } */
  .logopreFooter {
    margin-bottom: -2px;
    width: 60%;
  }
  .flechaAtras {
    position: relative;
    top: 55px;
    bottom: 0;
    margin: auto;
  }
  .fechaPubli {
    position: absolute;
    margin-top: -90px;
    z-index: 1223231;
    left: 0;
    right: 0;
  }
  .bg2colorPost {
    background: rgb(255, 255, 255);
  }
  .imgLinkedin {
    height: auto;
    width: 25%;
    margin-left: -15px;
    margin-right: 15px;
  }
}

@media (min-width: 769px) and (max-width: 1400px) {
  .card-title {
    font-size: 16px;
    font-weight: bold;
    color: #e10732;
  }
}

/* ESTILOS abril 2025*/
/*estilos card noticias*/
.card-noticia {
  margin-bottom: 1rem;
  border: 1px solid #939393;
  border-radius: 15px;
  width: 100%;
  height: 100%;
}
.card-noticia .imgCard {
  width: 100%;
  height: 100%;
  min-height: 50%;
  object-fit: cover;
  object-position: center;
}
.card-noticia .card-body {
  width: 100%;
  height: 100%;
  min-height: 50%;
}
.card-noticia .card-body .card-text {
  color: #000;
  font-weight: bold;
  font-size: 0.6em;
  line-height: 1.1em;
}
.card-noticia .card-body .card-text .spanText {
  color: #e10732;
}
/*estilos Puntos de Vista*/

/*estilos Nuestros Videos*/
.card .videoCarouselIframe {
  width: 100%;
  height: 100%;
  min-height: 50%;
}
/*estilos Newsletter*/
@media (min-width: 321px) and (max-width: 375px) {
  .card-noticia .card-body .card-text {
    font-size: 0.7em;
    line-height: 1.1em;
  }
}
@media (min-width: 376px) and (max-width: 390px) {
  .card-noticia .imgCard {
    min-height: 55%;
  }
  .card-noticia .card-body {
    min-height: 45%;
  }
  .card-noticia .card-body .card-text {
    font-size: 0.75em;
    line-height: 1.1em;
  }
}
@media (min-width: 391px) and (max-width: 425px) {
  .card-noticia .card-body .card-text {
    font-size: 0.8em;
    line-height: 1.2em;
  }
}
@media (min-width: 426px) and (max-width: 540px) {
  .card-noticia .imgCard {
    min-height: 65%;
  }
  .card-noticia .card-body {
    min-height: 35%;
  }
  .card-noticia .card-body .card-text {
    font-size: 0.9em;
    line-height: 1.1em;
  }
}
@media (min-width: 541px) and (max-width: 768px) {
  .card-noticia .card-body .card-text {
    font-size: 1em;
    line-height: 1.1em;
  }
}
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
  .card-noticia .imgCard {
    min-height: 65%;
  }
  .card-noticia .card-body {
    min-height: 35%;
  }
  .card-noticia .card-body .card-text {
    font-size: 1.2em;
    line-height: 1.1em;
  }
}
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .card-noticia .imgCard {
    min-height: 65%;
  }
  .card-noticia .card-body {
    min-height: 35%;
  }
  .card-noticia .card-body .card-text {
    font-size: 1.2em;
    line-height: 1.1em;
  }
}
@media (min-width: 1025px) and (max-width: 1440px) {
  .card-noticia .imgCard {
    min-height: 65%;
  }
  .card-noticia .card-body {
    min-height: 35%;
  }
  .card-noticia .card-body .card-text {
    font-size: 1em;
    line-height: 1.2em;
  }
}
@media (min-width: 1441px) and (max-width: 1920px) {
  .card-noticia .imgCard {
    min-height: 65%;
  }
  .card-noticia .card-body {
    min-height: 35%;
  }
  .card-noticia .card-body .card-text {
    font-size: 1.1em;
    line-height: 1.3em;
  }
}
@media (min-width: 1921px) and (max-width: 2560px) {
  .card-noticia .imgCard {
    min-height: 65%;
  }
  .card-noticia .card-body {
    min-height: 35%;
  }
  .card-noticia .card-body .card-text {
    font-size: 1.2em;
    line-height: 1.3em;
  }
}
@media (min-width: 2561px) {
  .card-noticia .imgCard {
    min-height: 60%;
  }
  .card-noticia .card-body {
    min-height: 40%;
  }
  .card-noticia .card-body .card-text {
    font-size: 1.3em;
    line-height: 1.4em;
  }
}
