@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito Sans", sans-serif;
}

:root {
  --color-fondo: #212224;
  --color-fondo2: #1b1b1b;
  --color-fondo3: #141414;
  --color-fondo4: #312e26;
  --color-fondo5: #2d2f33;
  --color-fondo6: #3a3d42;
  --color7: #2f3034;
  --color8: #2a2b2e;
  --color-fuente: #dddddd;
  --color-fuente-opaco: #afafbb99;
  --color-fuente-opaco2: #9b9bb199;
  --color-bordes: #363a3f;
  --color-principal: #a7996e;
  --color-principal-opaco: #7e7352;
  --color-resaltado: #b8a97e;
  --color-seleccionado: #f5a623;
  --color-amarillo: #dabc5c;
  --color-celeste-opaco: #5c81b9;
  --color-verde: #20a56d;
  --color-rojo: #ca5454;
  --color-preMercado: #cf9343;
  --color-postMercado: #4d6bf0;

  --positive-color: #20a56d; 
  --negative-color: #ca5454; 

  --transicion: 0.5s;
  --invertir: invert(0%);

  --fondoTxtChart: rgba(37, 38, 39, 0.5);
}
body.claro {
  --color-fondo: #dcdde1;
  --color-fondo2: #eeeded;
  --color-fondo3: #ffffff;
  --color-fondo4: #dfd2bb;
  --color-fondo5: #c7c9ce;
  --color-fondo6: #dcdde0;
  --color7: #e8eaeb;
  --color8: #d9dcdf;
  --color-fuente: #383838;
  --color-fuente-opaco: #4e4e5899;
  --color-fuente-opaco2: #40404699;
  --color-bordes: #bbbbd3;
  --color-principal: #9c8f63;
  --color-principal-opaco: #7e7352;
  --color-resaltado: #b8a97e;
  --color-seleccionado: #c97508;
  --color-amarillo: #cc7708;
  --color-celeste-opaco: #2e62b1;
  --color-verde: #33922f;
  --color-rojo: #e43838;
  --color-preMercado: #d16e55;
  --color-postMercado: #2577bb;

  --transicion: 0.5s;
  --invertir: invert(100%);

  --fondoTxtChart: rgba(167, 172, 177, 0.5);
}

body {
  background-color: var(--color-fondo);
  color: var(--color-fuente);
  text-align: center;
  font-size: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transicion);
  user-select: none;
}

a {
  color: var(--color-fuente);
  text-decoration: none;
}
ul {
  list-style-type: none;
}


nav {
  background-color: var(--color-fondo2);
  padding: 1rem 1rem 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transicion);
  position: fixed;
  width: 100%;
  z-index: 2;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin: 0 15px;
}

.nav-menu li a {
  text-decoration: none;
  color: var(--color-fuente);
  transition: color 0.3s;
}

.nav-menu li a:hover {
  color: var(--color-principal);
}
nav img {
  width: 1.5rem;
  filter: var(--invertir);
}


.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-fuente);
  cursor: pointer;
}

nav .modo {
  background-color: transparent;
  border: none;
  padding: 0rem;
  color: var(--color-fuente);
  cursor: pointer;
  font-size: 1.5em;
  margin: 0rem;
  position: absolute;
  margin-left: 95%;
}
nav .modo:hover {
  color: var(--color-principal);
  transition: var(--transicion);
}

.ingresar {
  background-color: var(--color-fondo3);
  padding: 0.4rem 1rem;
  border-radius: 0.5rem;
  
}
.ingresar:hover {
  background-color: var(--color-fondo);
  transition: background-color 0.3s ease-in-out;
}

@media (max-width: 800px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
  nav img {
    display: none;
  }
  nav .modo {
    margin-left: 90%;
  }

  .menu-toggle {
    display: block;
    margin-bottom: 10px;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: left;
  }

  .nav-menu li {
    padding: 10px;
    border-bottom: 1px solid var(--color-fondo2);
  }

  .nav-menu.active {
    display: flex;
  }
}

.colorPrincipal {
  color: var(--color-principal);
}
.fuente08 {
  font-size: 0.8em;
}

.txt {
  color: var(--color-fuente);
  font-size: 1em;
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-fondo2);
  padding: 30px;
  z-index: 1000;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  color: var(--color-fuente);
  font-size: 1.1em;
  user-select: none;
}
.popup__nombre {
  color: var(--color-principal);
  font-size: 1.4em;
}
.popup img {
  width: 5rem;
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 999;
}

.container__botonesPerfil__cerrar {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--color-principal);
  color: var(--color-fuente);
  text-decoration: none;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transicion);
}
.container__botonesPerfil__cerrar:hover {
  background-color: var(--color-resaltado);
  transform: translateY(-2px);
}

.portada {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: left;
  padding: 6rem 8% 1rem 8%;
}
@media screen and (max-width: 620px) {
  .fecha {
    margin-top: 2rem;
  }
}
.logoPortada {
  display: flex;
  flex-direction: row;
  margin-top: 0.5rem;
}
.logoPrincipal {
  width: 2.2rem;
  margin-top: 0.6rem;
  margin-right: 1rem;
  filter: var(--invertir);
}
.portada .nombre{
  font-size: 1.3em;
  font-weight: 400;
  color: var(--color-fuente-opaco);
}
.portada h1 {
  font-weight: 300;
  font-size: 1.7em;
  line-height: 0.7em;
}
.portada h2 {
  font-weight: 300;
  font-size: 0.8em;
  line-height: 3em;
  color: var(--color-fuente-opaco);
}

h3 {
  font-size: 1em;
  font-weight: 300;
  color: var(--color-fuente-opaco);
  margin-top: -0.3rem;
}
.separador {
  background-color: var(--color-fondo2);
  height: 0.1rem;
  margin: 0rem 8%;
}
.fecha {
  font-size: 0.9em;
  color: var(--color-fuente-opaco);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  font-size: 0.9em;
}
.fecha img {
  width: 3rem;
  filter: grayscale(40%);
  margin-top: -1rem;
}
.fecha .redes {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: -0.5rem;
}
.fecha .redes img {
  width: 1.6rem;
  margin-right: 0.5rem;
  margin-top: 0.6rem;
  border-radius: 0.5rem;
}
.fecha .redes img:hover {
  opacity: 50%;
  transition: var(--transicion);
}
.fecha .redes button {
  background-color: var(--color-fondo3);
  transition: background-color 0.3s ease-in-out;
  border-radius: 1rem;
  border-width: 0px;
  border-color: var(--color-fuente-opaco);
  align-items: center;
  text-align: center;
  padding: 0.2rem 0.8rem 0.1rem 0.8rem;
  cursor: pointer;
  color: var(--color-fuente);
  margin-right: 0.5rem;
  margin-top: 0.3rem;
}
.fecha .redes button:hover {
  background-color: var(--color-principal);
  transition: var(--transicion);
  color: var(--color-fondo2);
}
.fecha .redes a img{
  width: 1.5rem;
}

.boton {
  background-color: var(--color-principal);
  transition: var(--transicion);
  border-radius: 0.3rem;
  align-items: center;
  text-align: center;
  padding: 0.4rem 1rem 0.3rem 1rem;
  cursor: pointer;
  margin-top: 0.8rem;
  width: fit-content;
  font-size: 0.9em;
  font-weight: 700;
}
.boton:hover {
  background-color: var(--color-resaltado);
  transform: translateY(-2px);
  color: var(--color-fondo);
}

.bloque1 {
  margin: 1rem 8%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  transition: var(--transicion);
}
.bloque1 .temasCortos {
  width: 59%;
  display: flex;
  flex-direction: column;
}

.bloque1 .temasCortos .temasDia {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.bloque1 .temasCortos .temasDia a {
  background-color: var(--color-fondo3);
  transition: background-color 0.3s ease-in-out;
  color: var(--color-fuente-opaco);
  border-radius: 0.3rem;
  padding: 0.1rem 0.3rem;
  font-size: 0.8em;
}
.bloque1 .temasCortos .temasDia a:hover {
  background-color: var(--color-principal);
  color: var(--color-fondo);
  transition: var(--transicion);
}
.bloque1 .temasCortos .temasDia a.activo {
  background-color: var(--color-principal);
  color: var(--color-fondo);
}

.bloque1 .temasCortos .tema {
  display: flex;
  flex-direction: row;
  text-align: left;
  gap: 1rem;
}
.fotoDia {
  position: relative;
  width: 100%;
  max-height: 19rem;
  max-width: 30rem;
}

.fotoDia .bruma {
  position: relative;
  border-radius: 0.6rem;
  overflow: hidden;
  max-height: 19rem;
}

.fotoDia .bruma img {
  width: 100%;
  display: block;
  border-radius: 0.6rem;
  max-height: 19rem;
}

.fotoDia .bruma::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(231, 179, 65, 0.3),
    rgba(70, 136, 212, 0.3),
    rgba(231, 179, 65, 0.3)
  );
  pointer-events: none;
  z-index: 1;
}

.bloque1 .temasCortos .tema .txtDia {
  width: 50%;
  margin-bottom: 0.5rem;
}
.bloque1 .temasCortos .tema .txtDia h2 {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.bloque1 .temasCortos .tema .txtDia .txtDiaTicker {
  color: var(--color-principal);
  margin-left: 0.5rem;
}
.bloque1 .temasCortos .tema .txtDia .txtDiaFecha {
  color: var(--color-fuente-opaco);
  font-size: 0.9em;
}

.bloque1 .notasMercado {
  width: 19%;
  text-align: left;
  padding-left: 1rem;
}
.bloque1 .misPosiciones {
  width: 19%;
  text-align: left;
  padding-left: 1rem;
}


@media (max-width: 1400px) {
  .bloque1 .temasCortos {
    width: 100%;
  }
  .bloque1 .notasMercado {
    width: 48%;
    border-style: hidden;
  }
  .bloque1 .misPosiciones {
    width: 48%;
    border-style: hidden;
  }
  .bloque1 .temasCortos .tema .fotoDia img {
    max-height: none;
  }
}
@media (max-width: 768px) {
  .bloque1 {
    text-align: center;
    flex-direction: column;
    gap: 3rem;
  }
  .bloque1 .notasMercado {
    width: 100%;
    border-style: hidden;
  }
  .bloque1 .misPosiciones {
    width: 100%;
    border-style: hidden;
  }
  .bloque1 .temasCortos .tema {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 1rem;
  }
  .bloque1 .temasCortos .tema .txtDia {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

.bloque2 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 1rem 8%;
  gap: 1rem;
  justify-content: space-between;
}
.ideas {
  width: 24%;
  text-align: left;
  margin-top: 0.5rem;
}
.ideas .ideasTabla {
  display: flex;
  flex-direction: row;
  gap: 0.3rem;
  align-items: center;
  margin: 0.3rem 0rem;
  cursor: pointer;
}
.ideas .ideasTabla:hover {
  background-color: var(--color-fondo3);
  transition: background-color 0.3s ease-in-out;
}
.ideas .ideasTabla img {
  height: 2rem;
  border-radius: 0.3rem;
}
.ideas .ideasTabla h2 {
  font-size: 0.8em;
  font-weight: 700;
}
.ideas .ideasTabla p {
  font-size: 0.8em;
  color: var(--color-fuente-opaco);
}
.bx-chevrons-up {
  color: var(--color-verde);
  font-size: 1.4em;
}
.bx-chevrons-down {
  color: var(--color-rojo);
  font-size: 1.4em;
}
.bx-chevrons-right {
  color: var(--color-amarillo);
  font-size: 1.4em;
}
.bx-block {
  color: var(--color-rojo);
  font-size: 1em;
}

.gestoresTabla .precioProy {
  font-size: 1.2em;
  font-weight: 700;
  color: var(--color-principal);
}

.bloque2 .institucionales {
  width: 24%;
  border-right-style: solid;
  border-right-width: 1px;
  border-right-color: var(--color-fondo2);
  text-align: left;
}
.bloque2 .resumenSemanal {
  width: 24%;
  text-align: left;
}
.bloque2 .resumenSemanal .listaSemanas {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.bloque2 .resumenSemanal .listaSemanas a.activo {
  background-color: var(--color-principal);
  color: var(--color-fuente);
}
.bloque2 .resumenSemanal .temasSemana {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.bloque2 .resumenSemanal .temasSemana .txtDiaFecha {
  color: var(--color-fuente-opaco);
  font-size: 0.9em;
}
.bloque2 .resumenSemanal .temasSemana a {
  background-color: var(--color-fondo3);
  transition: background-color 0.3s ease-in-out;
  color: var(--color-fuente-opaco);
  border-radius: 0.3rem;
  padding: 0.1rem 0.3rem;
  font-size: 0.8em;
  transition: var(--transicion);
}
.bloque2 .resumenSemanal .temasSemana a:hover {
  background-color: var(--color-principal);
  color: var(--color-fondo);
}


.fotoSemana .bruma2 {
  position: relative;
  border-radius: 0.6rem;
  overflow: hidden;
  max-height: 19rem;
  margin-bottom: 0.5rem;
  width: 95%;
}

.fotoSemana .bruma2 img {
  width: 100%;
  display: block;
  border-radius: 0.6rem;
  max-height: 19rem;
}

.fotoSemana .bruma2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(231, 179, 65, 0.3),
    rgba(70, 136, 212, 0.3),
    rgba(231, 179, 65, 0.3)
  );
  pointer-events: none;
  z-index: 1;
}

.bloque2 .emergentes {
  width: 24%;
  text-align: left;
}

.institucionales .proyeccion {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.institucionales .proyeccion img {
  width: 2.5rem;
  border-radius: 0.5rem;
}
.institucionales .proyeccion .proyFecha {
  font-size: 0.8em;
  color: var(--color-fuente-opaco);
}
.institucionales .proyeccion h3 {
  font-size: 1.1em;
  color: var(--color-fuente);
  font-weight: 700;
}
.institucionales .proyeccion .institucion {
  border-left-style: solid;
  border-left-width: 1px;
  border-left-color: var(--color-fondo2);
  padding: 0rem 0.5rem;
  border-right-style: solid;
  border-right-width: 1px;
  border-right-color: var(--color-fondo2);
}
.institucionales .proyeccion .proyBuy {
  color: var(--color-verde);
}
.institucionales .proyeccion .proyNeutral {
  color: var(--color-amarillo);
}
.institucionales .proyeccion .proySell {
  color: var(--color-rojo);
}
.institucionales .proyeccion .proyPrecio {
  font-size: 1.1em;
  color: var(--color-fuente);
  font-weight: 700;
}



.bloque2 .notasEmergentes .ul .li .txtNotas {
  display: flex;
  flex-direction: column;
}
.bloque2 .notasEmergentes ul {
  margin-top: 0.5rem;
}
.bloque2 .notasEmergentes ul li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease-in-out;
}
.bloque2 .notasEmergentes ul li a:hover {
  background-color: var(--color-fondo3);
  transition: var(--transicion);
}
.bloque2 .notasEmergentes ul li {
  margin-bottom: 0.5rem;
}
.bloque2 .notasEmergentes img {
  width: 2.5rem;
  border-radius: 0.3rem;
}
.bloque2 .notasEmergentes .notasFecha {
  font-size: 0.8em;
  font-weight: 700;
  color: var(--color-fuente-opaco);
}

@media (max-width: 1200px) {
  .bloque2 .ideas {
    width: 48%;
    margin-bottom: 3rem;
  }
  .bloque2 .institucionales {
    width: 48%;
    margin-bottom: 3rem;
  }
  .bloque2 .resumenSemanal {
    width: 48%;
    margin-bottom: 3rem;
  }
  .bloque2 .emergentes {
    width: 48%;
    margin-bottom: 3rem;
  }
}
@media (max-width: 768px) {
  .bloque2 .ideas {
    width: 100%;
  }
  .bloque2 .institucionales {
    width: 100%;
  }
  .bloque2 .resumenSemanal {
    width: 100%;
  }
  .bloque2 .emergentes {
    width: 100%;
  }
  .bloque2 .resumenSemanal .temaSemana img {
    max-height: none;
  }
}

.bloqueVid {
  margin: 2rem 8%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2rem;
}
.bloqueVid .ideas {
  width: 23%;
}

.video-panel{
  width: 47%;
}
@media (max-width: 1400px) {
  .video-panel {
    width: 80%;
    text-align: center;
    margin: 0 auto;
  }
  .bloqueVid .ideas {
    width: 47%;
  }
}
@media (max-width: 768px) {
  .bloqueVid .ideas {
    width: 100%;
  }
}


.internos {
  width: 45%;
}
.main-video {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
  position: relative;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 8px rgba(0,0,0,0.3);
}

.main-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.thumbnail {
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
}

.thumbnail:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(255,255,255,0.1);
}

.thumbnail iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

.preMkt {
  color: var(--color-preMercado);
}
.postMkt {
  color: var(--color-postMercado);
}

.internos .proyeccion {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.internos .proyeccion img {
  width: 2.5rem;
  border-radius: 0.5rem;
}
.internos .proyeccion .proyFecha {
  font-size: 0.8em;
  color: var(--color-fuente-opaco);
}
.internos .proyeccion h3 {
  font-size: 1.1em;
  color: var(--color-fuente);
  font-weight: 700;
}
.internos .proyeccion .institucion {
  border-left-style: solid;
  border-left-width: 1px;
  border-left-color: var(--color-fondo2);
  padding: 0rem 0.5rem;
  border-right-style: solid;
  border-right-width: 1px;
  border-right-color: var(--color-fondo2);
}
.internos .proyeccion .proyBuy {
  color: var(--color-verde);
}
.internos .proyeccion .proyNeutral {
  color: var(--color-amarillo);
}
.internos .proyeccion .proySell {
  color: var(--color-rojo);
}
.internos .proyeccion .proyPrecio {
  font-size: 1.1em;
  color: var(--color-fuente);
  font-weight: 700;
}


@media (max-width: 768px) {
  .video-panel {
      padding: 15px;
      margin: 20px auto;
      width: 100%;
  }
  
  .video-thumbnails {
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 15px;
  }

  .internos {
    width: 100%;
  }
}

.titulosSeccionSuelto {
  text-align: center;
  margin: 1rem 8%;
}
.bloque3 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 1rem 8%;
  justify-content: space-between;
  text-align: center;
}
.bloque3 .f24 {
  width: 23%;
  text-align: left;
  border-right-style: solid;
  border-right-width: 1px;
  border-right-color: var(--color-fondo2);
  padding-right: 0.5rem;
}
.bloque3 .f24-sb {
  width: 23%;
  text-align: left;
  padding-right: 0.5rem;
}
.bloque3 img {
  width: 1.2rem;
  border-radius: 0.3rem;
  margin-right: 0.5rem;
}
.bloque3 h1 {
  font-weight: 300;
  color: var(--color-fuente);
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.3em;
}
.chart-container {
  width: 100%;
}
.canvas {
  padding: 0.3rem;
}

@media (max-width: 1200px) {
  .bloque3 .f24 {
    width: 48%;
    margin-bottom: 1rem;
  }
  .bloque3 .f24-sb {
    width: 48%;
    margin-bottom: 1rem;
  }
}
@media (max-width: 768px) {
  .bloque3 .f24 {
    width: 100%;
  }
  .bloque3 .f24-sb {
    width: 100%;
  }
}


.bloque4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1rem 8%;
}

.contenedor-grafico {
  position: relative;
  flex: 1 1 calc(25% - 1rem);
  max-width: calc(25% - 1rem);
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-principal);
}

.contenedor-grafico img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  filter: var(--invertir);
}

.contenedor-grafico:hover img {
  transform: scale(1.05);
}

.overlay-informacion {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--fondoTxtChart);
  color: var(--color-fuente);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0.5rem;
  opacity: 1;
}

.fecha-publicacion {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.ticker-marco {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
}

.nombre-empresa {
  font-size: 0.9rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.nombre-empresa img {
  width: 1.1rem;
  height: 1.1rem;
  filter: none;
  border-radius: 50%;
}

/* Responsivo */
@media screen and (max-width: 1024px) {
  .contenedor-grafico {
    flex: 1 1 calc(33.33% - 1rem);
    max-width: calc(33.33% - 1rem);
  }
}

@media screen and (max-width: 768px) {
  .contenedor-grafico {
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
}

@media screen and (max-width: 480px) {
  .contenedor-grafico {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Modal */
.modal-tecnico {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.modal-tecnico img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  filter: var(--invertir);
}

.cerrar-modal {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: var(--color-fuente);
  cursor: pointer;
  font-weight: bold;
}

.bloque5 {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.seccion-articulos {
  max-width: 1200px;
  margin: 0 auto;
}
.contenedor-articulos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}
.articulo {
  background-color: var(--color-fondo2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
  text-align: left;
  max-width: 20rem;
}
.articulo:hover {
  transform: scale(1.02);
}
.imagen-articulo {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.descripcion-articulo {
  padding: 0.5rem;
  font-size: 1em;
}
.articulo h2 {
  margin-left: 0.5rem;
  color: var(--color-principal);
}
.imgArt{
  width: 90%;
  max-width: 30rem;
}

footer {
  background-color: var(--color-fondo2);
  color: var(--color-fuente-opaco);
  padding: 1rem;
  text-align: center;
  font-size: 1em;
  margin-top: auto;
}
footer a {
  color: var(--color-fuente-opaco);
}
footer a:hover {
  color: var(--color-principal);
}
footer img {
  width: 12rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
  filter: var(--invertir);
  transition: var(--transicion);
}
footer img:hover {
  transform: translateY(-6px);
  transition: var(--transicion);
  filter: sepia();
}
footer .disclaimerFoot {
  margin: 0 5%;
  text-align: justify;
  font-size: 0.8em;
}

/* portafolio */
.tablaPosiciones {
  margin: 1rem 8%;display: flex;
  flex-direction: column;
  text-align: left;
}
.tablaPosiciones table {
  margin-bottom: 1rem;
}
.tablaPosiciones p {
  font-weight: 700;
  color: var(--color-principal);
}
.portafolio {
  margin-top: 1rem;
}
.portafolio thead tr th {
  color: var(--color-principal);
}
.portafolio tr td img {
  width: 2.5rem;
  border-radius: 0.5rem;
}
.buy {
  color: var(--color-verde);
  display: flex;
  align-items: center;
}
.verde {
  color: var(--color-verde);
}
.sell {
  color: var(--color-rojo);
}
.neutral {
  color: var(--color-amarillo);
}

.notaPosicion {
  text-align: left;
  margin: 1rem 8%;
}
.notaPosicionActivo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0rem;
}
.notaPosicionActivo img {
  width: 2rem;
  border-radius: 0.5rem;
}
.notaPosicionActivo p {
  font-weight: 700;
}

.notaPosicionFecha {
  font-size: 0.9em;
  color: var(--color-fuente-opaco);
  display: flex;
  flex-direction: column;
  justify-content: left;
  font-size: 0.9em;
}

.proyeccionesInst {
  padding: 0.3rem;
  border-style: solid;
  border-width: 1px;
  border-color: var(--color-fondo6);
  border-radius: 0.6rem;
}

.proyeccionesInst p {
  font-size: 0.9em;
  border-collapse: collapse;
}
.proyeccionesInst th {
  background-color: var(--color-fondo2);
  padding-left: 0.2rem;
}
.proyeccionesInst td {
  padding-left: 0.2rem;
}
.proyeccionesInst thead tr th {
  color: var(--color-principal);
}
.tablaPosiciones .proyeccionesInst tbody tr:nth-child(odd) {
  background-color: var(--color-fondo2);
}

.proyeccionesInst img {
  width: 1.4rem;
}

.opaco {
  color: var(--color-fuente-opaco);
}
.opaco2 {
  color: var(--color-fuente-opaco2);
}
.principal {
  color: var(--color-principal);
}


.bloqueGris {
            background: linear-gradient(145deg, var(--color-fondo2), var(--color-fondo5));
            border-radius: 0.8rem;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: all 0.4s ease;
            border: 0px solid var(--color-principal);
            position: relative;
}
.bloqueGris:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
            border-color: var(--color-principal-opaco);
}
.bloqueGris::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--color-principal-opaco), var(--color-resaltado));
}
.bloqueGris .gestoresTabla img {
  border-radius: 0.5rem;
  width: 2.3rem;
}
.bloqueGris .gestoresTabla {
  cursor: pointer;
}




.bloqueCompleto {
            background: linear-gradient(145deg, var(--color-fondo2), var(--color-fondo5));
            border-radius: 0.8rem;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: all 0.4s ease;
            border: 1px solid var(--color-principal);
            position: relative;
}
.bloqueCompleto:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
            border-color: var(--color-principal-opaco);
}
.bloqueCompleto::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--color-principal-opaco), var(--color-resaltado));
}
.bloqueCompleto .gestoresTabla img {
  border-radius: 0.5rem;
  width: 2.3rem;
}
.bloqueCompleto .gestoresTabla {
  cursor: pointer;
}


.botonPortafolio {
          width: 100%;
          text-align: center;
          background-color: var(--color-principal);
          color: var(--color-fuente);
          transition: var(--transicion);
          padding: 0.5rem;
          font-weight: 700;
          cursor: pointer;
}
.botonPortafolio:hover {
  background-color: var(--color-resaltado);
  color: var(--color-fondo2);
}
.botonPortafolio a:hover {
  color: var(--color-fondo);
}


.bloqueGestores {
            
            margin: 1rem 8%;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 1rem;
        }

        .gestoresBloque {
            background: linear-gradient(145deg, var(--color-fondo2), var(--color-fondo5));
            border-radius: 0.8rem;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: all 0.4s ease;
            border: 1px solid var(--color-principal);
            position: relative;
            padding-bottom: 0.2rem;
            width: 24%;
        }

        .gestoresBloque:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
            border-color: var(--color-principal-opaco);
        }

        .gestoresBloque::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--color-principal-opaco), var(--color-resaltado));
        }
        @media screen and (max-width: 1450px) {
            .gestoresBloque {
                width: 47%;
            }
        }
        @media screen and (max-width: 768px) {
            .gestoresBloque {
                width: 100%;
            }
          
        }


        .gestoresTitulo {
            display: flex;
            align-items: center;
            text-align: left;
            padding: 0.5rem;
            background: var(--color-fondo2);
            position: relative;
            z-index: 1;
            padding-left: 1rem;
        }

        .gestoresTitulo img {
            width: 4rem;
            height: 4rem;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--color-principal);
            margin-right: 1rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .gestoresTitulo div {
            flex: 1;
        }

        .gestoresTitulo h2 {
            font-size: 1.4rem;
            font-weight: 600;
            margin-bottom: 0.2rem;
            color: var(--color-fuente);
        }

        .gestoresTitulo h3 {
            font-size: 0.95rem;
            font-weight: 400;
            color: var(--color-principal);
        }

        .gestoresTabla {
            display: flex;
            align-items: center;
            padding: 0.5rem 0.5rem 0.5rem 1rem;
            border-bottom: 1px solid var(--color-bordes);
            transition: background 0.3s ease;
            position: relative;
        }

        .gestoresTabla:last-child {
            border-bottom: none;
        }

        .gestoresTabla:hover {
            background-color: var(--color-fondo5);
        }

        .gestoresTabla img {
            width: 2.2rem;
            height: 2.2rem;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 1rem;
            border: 1px solid var(--color-fondo2);
        }

        .gestoresTabla label {
            font-size: 0.9rem;
            margin-right: 8px;
            font-weight: 400;
        }

        .gestoresTabla .opaco {
            color: var(--color-fuente);
            font-weight: 300;
        }

        .gestoresTabla .gestoresActivos {
            color: var(--color-principal);
            font-weight: 500;
            display: flex;
            align-items: center;
        }

        .gestoresTabla .gestoresPositivo {
            color: var(--color-verde);
            font-weight: 700;
        }
        .gestoresTabla .gestoresNegativo {
            color: var(--color-rojo);
            font-weight: 700;
        }
        .gestoresTabla p {
            margin-left: auto;
            font-weight: 600;
            font-size: 1rem;
            color: #a7996e;
            background: var(--color-fondo6);
            padding: 0.2rem 0.8rem;
            border-radius: 5rem;
        }


.contenedor-tabla {
    max-width: 50rem;
    width: 100%;
    margin: 2rem auto;
    background-color: var(--color-fondo5);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-fondo6);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    text-align: center;
  }

  .contenedor-tabla h2 {
    color: var(--color-principal);
    font-size: 1.8em;
    margin-bottom: 1.4rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .tabla-precios {
    width: 100%;
    border-collapse: collapse;
    font-size: 1em;
  }

  .tabla-precios th,
  .tabla-precios td {
    border: 1px solid var(--color-fondo6);
    padding: 1rem;
    text-align: center;
    color: var(--color-fuente);
  }

  .tabla-precios th {
    background-color: var(--color-fondo2);
    color: var(--color-principal);
    font-weight: 600;
  }

  .tabla-precios tr:nth-child(even) {
    background-color: var(--color7);
  }

  .tabla-precios tr:nth-child(odd) {
    background-color: var(--color8);
  }

  .tabla-precios .fila-precios td {
    font-weight: bold;
    font-size: 18px;
    color: var(--color-principal);
    background-color: var(--color-fondo2);
  }
        

.subs {
  width: 100%;
}
.subs:hover {
  color: var(--color-principal);
}
.subGratis {
  width: 100%;
}
.subGratis h3{
  color: var(--color-principal);
  font-size: 1.5em;
}
.subGratis iframe{
  min-width: 25rem;
}

.caracteristicas {
  margin: 1rem 8%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}
.secciones__4col {
  max-width: 23%;
}
.secciones__4col span {
  color: var(--color-principal);
  font-size: 3em;
}
.secciones__4col h3{
  color: var(--color-principal);
  font-weight: 700;
}


.swingIdeas {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 1rem 8%;
  gap: 1rem;
}
.swingIdeas .contenedor-grafico {
  min-width: 30%;
  max-height: fit-content;
}
@media screen and (max-width: 768px) {
  .swingIdeas {
    flex-direction: column;
  }
  .swingIdeas .contenedor-grafico {
    min-width: 100%;
  }    
}

.swingIntro {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid var(--color-bordes);
  transition: background 0.3s ease;
  position: relative;
  font-size: 0.9em;
}
.swnigIntro .swingMiniatura{
  height: 4rem;
  filter: var(--invertir);
}
.swingIntro .swingDetalle img {
  width: 2rem;
  border-radius: 0.5rem;
  margin-bottom: -0.2rem;
}
.emergentes .notasEmergentes .swingIntro .swingMiniatura img{
  width: 8.2rem;
  border-radius: 0.5rem;
  filter: var(--invertir);
  border-style: solid;
  border-color: var(--color-bordes);
  border-width: 1px;
}
.emergentes .notasEmergentes .swingIntro .swingMiniatura img:hover {
  opacity: 70%;
  transition: var(--transicion);
}

.swingIntro:last-child {
  border-bottom: none;
}
.swingIntro:hover {
  background-color: var(--color-fondo5);
}
.swingInfo {
  text-align: left;
}
.swingFecha {
  color: var(--color-fuente-opaco2);
}

/* ======== CONTENEDOR PRINCIPAL ======== */
.news-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  margin: 1rem auto;
  max-width: 1200px;
  align-items: start;
}
.news-gallery a {
  cursor: pointer;
}

/* ======== NOTICIA PRINCIPAL ======== */
.featured-news {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.featured-news img {
  width: 100%;
  height: auto;
  min-height: 23rem;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 1.2s ease, filter 0.6s ease;
}

/* zoom con cursor */
.featured-news:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.news-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  z-index: 1;
}

.news-info::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.60) 70%, transparent 100%);
  z-index: -1;
  border-radius: 0 0 12px 12px;
}

.news-info h2,
.news-info p,
.news-info a {
  color: white;
  position: relative;
  z-index: 2;
}

.news-info h2 {
  margin: 0 0 0.3rem;
  font-size: 1.6rem;
}

.news-info .news-date {
  font-size: 0.9rem;
  opacity: 0.8;
  color: darkgray;
}

.news-info .news-summary {
  margin-top: 0.5rem;
  line-height: 1.4;
}

.news-info .read-more {
  display: inline-block;
  margin-top: 0.8rem;
  text-decoration: underline;
  font-weight: 500;
}

/* ======== SCROLLING AREAS ======== */
.news-thumbs,
.news-list {
  position: relative;
  overflow: hidden;
  max-height: 23rem;
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.scroll-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: scrollLoop 30s linear infinite;
}

.news-thumbs:hover .scroll-content,
.news-list:hover .scroll-content {
  animation-play-state: paused;
}

/* ======== ANIMACIÓN DE LOOP ======== */
@keyframes scrollLoop {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* ======== MINIATURAS ======== */
.thumb {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-fondo5);
  transition: transform 0.3s ease;
  text-align: center;
}

.thumb:hover { transform: scale(1.02); }

.thumb img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.thumb p {
  margin: 0;
  padding: 0.5rem 0.8rem;
  font-size: 0.95rem;
}

/* ======== NOTICIAS ANTIGUAS ======== */
.news-list a {
  text-align: left;
  margin: 0;
  line-height: 1.4;
  border-bottom: 1px solid var(--color-bordes);
  padding-bottom: 0.4rem;
  font-size: 0.95rem;
}

.news-list a img {
  width: 1rem;
  border-radius: 0.3rem;
  margin-right: 0.3rem;
}
.news-list strong {
  color: var(--color-principal);
}

/* ======== RESPONSIVE ======== */
@media (max-width: 900px) {
  .news-gallery {
    grid-template-columns: 1fr;
  }

  .news-thumbs,
  .news-list {
    max-height: 25rem;
  }

  .scroll-content {
    animation-duration: 18s;
  }
  .news-list a {
    text-align: center;
  }
}


/* ======== PAG NOTICIAS ======== */

.noticiasBuscador {
      text-align: center;
      padding: 2rem 1rem 1rem;
    }

    .noticiasBuscador h1 {
      font-size: 2rem;
      font-weight: 600;
      margin-bottom: 0.3rem;
    }

    .noticiasBuscador p {
      font-size: 1.1rem;
      color: var(--color-fuente);
      margin-bottom: 1.2rem;
    }
.search-bar {
      text-align: center;
      margin: 1rem auto 1rem;
      max-width: 40rem;
    }

    .search-bar input {
      width: 100%;
      padding: 0.8rem 1rem;
      border-radius: 8px;
      border: none;
      outline: none;
      background: var(--color-fondo2);
      color: var(--color-fuente);
      font-size: 1rem;
      box-shadow: inset 0 0 4px rgba(0,0,0,0.4);
      transition: background 0.3s;
    }

    .search-bar input:focus {
      background: var(--color-fondo3);
    }
    .filters-container {
      text-align: center;
      margin-bottom: 1.5rem;
    }
    /* ======== BOTONES DE FILTRO ======== */
    .filter-buttons {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.6rem;
    }

    .filter-btn {
      background: var(--color-fondo5);
      color: var(--color-fuente);
      border: 1px solid var(--color-bordes);
      padding: 0.5rem 1rem;
      border-radius: 20px;
      cursor: pointer;
      font-size: 0.9rem;
      transition: all 0.3s ease;
    }

    .filter-btn:hover {
      background: var(--color-fondo3);
      color: var(--color-fuente);
    }

    .filter-btn.active {
      background: var(--color-principal);
      color: var(--color-fuente);
      border-color: var(--color-principal-opaco);
      box-shadow: 0 0 10px rgba(119, 107, 93, 0.5);
    }

    .day-divider {
      text-align: left;
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--color-principal);
      margin: 3rem 0 1rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      padding-bottom: 0.3rem;
    }

    /* ======== GRID ======== */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.8rem;
    }

    /* ======== TARJETAS ======== */
    article {
      background: var(--color-fondo5);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.4);
      transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
      display: flex;
      flex-direction: column;
    }

    article.hide {
      opacity: 0;
      transform: scale(0.97);
      pointer-events: none;
      height: 0;
      margin: 0;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    article:hover {
      transform: translateY(-4px);
      box-shadow: 0 6px 16px rgba(0,0,0,0.6);
    }

    .news-image {
      width: 100%;
      height: 220px;
      object-fit: cover;
      transition: transform 1s ease;
    }

    article:hover .news-image {
      transform: scale(1.06);
    }

    .news-content {
      padding: 1.2rem 1.4rem;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      line-height: 1.2em;
    }

    .news-date {
      font-size: 0.9rem;
      color: var(--color-fuente-opaco);
      margin-bottom: 0.4rem;
    }

    .news-title {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 0.6rem;
      color: var(--color-principal);
      line-height: 1.4;
    }
    .news-title img {
      width: 1.1rem;
      margin-right: 0.3rem;
      border-radius: 0.3rem;
    }

    .news-summary {
      font-size: 0.95rem;
      color: var(--color-fuente);
      margin-bottom: 1rem;
      flex-grow: 1;
      text-align: left;
    }

    .news-strategy {
      border-left: 3px solid var(--color-principal);
      padding: 0.4rem;
      font-size: 0.93rem;
      color: var(--color-principal);
      background: rgba(124, 102, 28, 0.116);
      border-radius: 6px;
      text-align: left;
    }

    #no-results {
      text-align: center;
      margin-top: 2rem;
      color: var(--color-fuente-opaco);
      display: none;
    }

    /* ======== RESPONSIVE ======== */
    @media (max-width: 768px) {
      .news-grid { gap: 1.2rem; }
      .news-image { height: 180px; }
      .news-title { font-size: 1.1rem; }
    }