
/* HEADER (ahora semántico + Grid) */


    
   .header{
    background: #0A3161;
   font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  z-index: 9999;
  align-content: flex-start;
 align-items: flex-start;

  /* borde blanco REAL 100% */
  border-bottom: 1px solid #ffffff;

  /* STICKY de verdad (mejor que JS fixed) */
  position: sticky;
  top: 0;
  
}

/* Si tú quieres el “doble efecto” (línea azul pegada debajo) */
.header::after{
  content: "";
  display: block;
  height: 1px;
  background: #0A3161;
}

.header-grid{
  display: grid;

  /* equivalente a tu tabla 5% / 95% pero mejor */
  grid-template-columns: 56px 1fr 56px;

  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* En desktop grande, si quieres volver al 5% exacto, lo puedes activar:
@media(min-width: 900px){
  .header-grid{ grid-template-columns: 5% 1fr 5%; }
}
*/

.header-left{
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header-center{
  text-align: center;
  padding: 0 6px;
}

.header-right{
  width: 56px;
  height: 56px;
}

/* Tu H1 y P, pero ahora en clases (MISMO clamp) */
.an-title{
  color: #fff;

  margin: 0;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  letter-spacing: -2px;
  font-stretch: ultra-condensed;
  text-shadow: 3px 3px #02043E;
  font-size: clamp(1.7rem, 4vw, 4.5rem);
}

 .an-motto{

  margin-bottom: 9px;
  color: #fff;
    font-family: 'Montserrat', sans-serif;
  text-align: center;
  font-style: italic;
  letter-spacing: 0px;
  font-weight: 400;
 
}

/* Burger líneas (equivale a tus div inline, pero limpio) */
.burger-line{
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 6px;
  margin: 4px 0;
}
.burger-line.w35{ width: 35px; }
.burger-line.w30{ width: 30px; }



.index-sidebar {
 --s: 6px; /* the size */
  --c: #0A3161;
   --_s: calc(2*var(--s)) calc(2*var(--s));
  --_g: 35.36% 35.36% at;
  --_c: #0000 66%,#EDC001 68% 70%,#0000 72%;
  background:
    radial-gradient(var(--_g) 100% 25%,var(--_c)) var(--s) var(--s)/var(--_s),
    radial-gradient(var(--_g) 0    75%,var(--_c)) var(--s) var(--s)/var(--_s),
    radial-gradient(var(--_g) 100% 25%,var(--_c)) 0 0/var(--_s),
    radial-gradient(var(--_g) 0    75%,var(--_c)) 0 0/var(--_s),
    repeating-conic-gradient(var(--c) 0 25%,#0000 0 50%) 0 0/var(--_s),
    radial-gradient(var(--_c)) 0 calc(var(--s)/2)/var(--s) var(--s)
    var(--c);
    
  height: 100vh;
  width: 0;
  
  position: fixed;
  box-sizing: border-box;
  top: 0;
  left: 0;
  overflow-x: hidden;
  transition: 0.4s;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  
}

/* Bot贸n cerrar */
.index-closebtn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  text-decoration: none;
   border: 2 solid ghostwhite;
   background: #c1c1c1;
   padding: 5px 10px;
   border-radius: 6px;
   margin-bottom: 20px;
   font-weight: 300;
   z-index: 10001;
}


.index-btn {

  position: absolute;
  color: yellow;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}


.index-btn.ingresar{

   top: 9%;
   right: 5%;
   border: 0;
   background: none;
   margin-bottom: 15px;
   padding: 0;
   color: yellow;
   font-size: 16px;
}


.index-btn.suscribete{

   top: 6%;
   left: 5%;
}



.index-btn:hover{

   background: transparent;
    color: white;
    transform: scale(1.3); 
    font-weight: 500;

   
}



/* Men煤 debajo del video */
.index-menu {
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
  

}

.index-menu a {
  padding: 7px 0;
  color: white;
  text-decoration: none;
  font-size: clamp( 1.1rem, 1.2vw, 1.2rem);
  font-weight: 500;
  height: auto;
 
}

.index-menu a:hover {
  background-color: #096AE6;
  padding-left: 10px;
  transition: 0.3s;
}

/* Bot贸n hamburguesa */
.index-hamburger{
  cursor: pointer;
  background: transparent;
  border: none;
  color: white;
  z-index: 99999;
  margin: 10px;
 
} 

    .sidebar-top {
 position: relative;
  height: 175px;
  width: 100%;
  min-height: 175px;
  box-sizing: border-box;
  background-image: url('/images/libertyusa1.webp'); /* TU IMAGEN */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  display: flex;
  flex-direction: column;
  
}

.sidebar-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: liear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.1));
}


.sidebar-top-wrap{
    
    margin-top: 0;

}


/* Lado izquierdo */
.left-block {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  
}

.sidebar-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 5px;
}

.subscribe-link {
    display: inline-block;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  background: rgba(0,0,0,0.4);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
}

/* Lado derecho */
.right-block {
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.login-link {
    display: inline-block;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  background: rgba(0,0,0,0.4);
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 700;
}  
      

/* Ajuste fino en móviles */
@media (max-width: 760px){
  .header-grid{
    grid-template-columns: 56px 1fr 56px;
  }
  
 
}



