* {
  box-sizing: border-box;
}

body {
    box-sizing: border-box;
    margin: 0;
    min-height: 100vh;
    --background-color: #F4F7F6;
    --color-textos-grandes: #1ab359;
    --color-textos-pequeños: #2C3E50;
    /* --hovers: #34495E; */
    --fuente-grande: 'Montserrat';
    --fuente-pequeña: 'Open Sans', sans-serif;
    background-color: var(--background-color);
}



/* Header Compacto */
.header-mobile {
  background: #2ECC71;
  padding: 7px 2px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: space-around;
  gap: 25px;
}


.nav-principal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  overflow-x: auto; 
  white-space: nowrap;
  padding-bottom: 5px;
}

.nav-principal a:hover {
  opacity: 0.74;
  color: #000;
}

.nav-principal a {
  font-family: var(--fuente-grande);
  text-decoration: none;
  color: #fff;
  font-size: 0.80rem;
  font-weight: 800;
  margin-top: 5px;
  text-wrap: wrap;
}

.auth-group{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}

.btn-publicar-mini {
  background-color: #fff;
  color: var(--color-textos-grandes);
  border: none;
  padding: 5px 13px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 5px;
}


.btn-publicar-mini:hover {
  /* Estilo especial para resaltar "Publicar" */
  background-color: var(--color-textos-grandes);
  color: white ;
}


@media (min-width: 768px) {
    .header-content {
        display: flex;
        justify-content: space-evenly;
        gap: 550px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .nav-principal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  overflow-x: auto; 
  white-space: nowrap;
  padding-bottom: 5px;
}

    /* .btn-publicar-mini {
      font-size: 1.2rem;
    }

    .nav-principal a {
      font-size: 1.0rem;
    } */
    .auth-group{
      gap: 15px;
    }
}

@media (min-width: 1024px) {
    .header-content {
        display: flex;
        justify-content: center !important;
        max-width: 1200px;
        margin: 0 auto;
    }

    /* .nav-principal a {
      font-size: 1.1rem;
    } */
    .auth-group{
      gap: 15px;
    }
      
}

/* --------------------HEADER END---------------------------- */

/* -----------------CINTILLO DE NOTICIAS-------------------- */
/* Contenedor principal del cintillo */
.cintillo-noticias {
    margin-top: 0;
    width: 100%;
    background-color: #f33333; /* Color llamativo, ajústalo a tu marca */
    color: #ffffff;
    padding: 8px 0;
    overflow: hidden;
    position: sticky;
    top: 50px; /* ESTO DEPENDE DE SI TU HEADER PRINCIPAL ES STICKY */
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* El texto que se mueve */
.cintillo-movimiento {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%; /* Empieza desde fuera de la pantalla a la derecha */
    animation: moverCintillo 50s linear infinite;
}

/* Pausar la animación si el usuario pone el cursor encima */
.cintillo-movimiento:hover {
    animation-play-state: paused;
}

/* Separación entre noticias */
.cintillo-item {
    font-family: var(--fuente-grande);
    padding: 0 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* La animación que hace la magia */
@keyframes moverCintillo {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}
/* -----------------CINTILLO DE NOTICIAS-------------------- */
