  :root{
    --ink:#0c1425;
    --navy:#152444;
    --navy-mid:#2a4066;
    --cream:#efe6d1;
    --cream-soft:#f7f2e6;
    --paper:#fbf8f1;
    --gold:#b8934f;
    --gold-deep:#8a6a34;
    --line: rgba(184,147,79,0.35);
    --max: 1180px;
  }

  *{box-sizing:border-box; margin:0; padding:0;}

  html, body{
    scroll-behavior:smooth;
  }

  body{
    background:var(--paper);
    color:var(--ink);
    font-family:'Inter', sans-serif;
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }

  h1,h2,h3,h4{
    font-family:'Fraunces', serif;
    font-weight:600;
    color:var(--ink);
    line-height:1.05;
  }

  a{color:inherit; text-decoration:none;}

  .wrap{
    max-width:var(--max);
    margin:0 auto;
    padding:0 32px;
  }

  @media(max-width:640px){
    .wrap{padding:0 20px;}
  }

  .stripes{
    background-image: repeating-linear-gradient(
      100deg,
      var(--navy-mid) 0px, var(--navy-mid) 26px,
      var(--navy) 26px, var(--navy) 66px
    );
  }

  /* ---------- NAV ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(251,248,241,0.92);
    backdrop-filter: blur(8px);
    border-bottom:1px solid var(--line);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 32px;
    max-width:var(--max); margin:0 auto;
  }
  .brand{display:flex; align-items:center; gap:12px;}
  .brand img{width:42px; height:42px; border-radius:50%; display:block;}
  .brand span{
    font-family:'Fraunces', serif; font-weight:600; font-size:1.05rem;
    letter-spacing:0.01em;
  }
  nav.links{display:flex; gap:34px;}
  nav.links a{
    font-size:0.92rem; color:var(--navy);
    position:relative; padding:4px 0;
  }
  nav.links a:hover{color:var(--gold-deep);}
  .nav-toggle{display:none;}

  @media(max-width:800px){
    nav.links{
      position:fixed; top:73px; right:0; left:0;
      background:var(--paper);
      flex-direction:column; gap:0;
      border-bottom:1px solid var(--line);
      max-height:0; overflow:hidden;
      transition:max-height .3s ease;
    }
    nav.links.open{max-height:320px;}
    nav.links a{padding:16px 32px; border-top:1px solid var(--line);}
    .nav-toggle{
      display:block; background:none; border:none; cursor:pointer;
      width:26px; height:20px; position:relative;
    }
    .nav-toggle span{
      display:block; position:absolute; left:0; width:100%; height:2px;
      background:var(--navy); transition:.25s;
    }
    .nav-toggle span:nth-child(1){top:0;}
    .nav-toggle span:nth-child(2){top:9px;}
    .nav-toggle span:nth-child(3){top:18px;}
  }

  /* ---------- HERO ---------- */
  .hero{
    background:var(--navy);
    color:var(--cream);
    position:relative;
    overflow:hidden;
    padding:96px 0 90px;
  }
  .hero::before{
    content:"";
    position:absolute; inset:0;
    background-image: repeating-linear-gradient(
      100deg,
      rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 22px,
      transparent 22px, transparent 60px
    );
    pointer-events:none;
  }
  .hero-inner{
    max-width:var(--max); margin:0 auto; padding:0 32px;
    position:relative; z-index:2;
    display:grid; grid-template-columns: 1.3fr 0.7fr; gap:60px; align-items:center;
  }
  .hero-eyebrow{
    font-size:0.85rem; color:var(--gold); letter-spacing:0.04em;
    margin-bottom:18px; font-family:'Fraunces', serif; font-style:italic; font-weight:500;
  }
  .hero h1{
    font-size:clamp(2.8rem, 6vw, 4.6rem);
    color:var(--cream-soft);
    margin-bottom:22px;
  }
  .hero p.lead{
    max-width:46ch; color:rgba(239,230,209,0.78);
    font-size:1.08rem; margin-bottom:34px;
  }
  .hero-ctas{display:flex; gap:16px; flex-wrap:wrap;}
  .btn{
    display:inline-block; padding:14px 26px; font-size:0.94rem; font-weight:500;
    border-radius:2px; border:1px solid transparent; cursor:pointer;
    transition:.2s ease;
  }
  .btn-gold{background:var(--gold); color:var(--ink);}
  .btn-gold:hover{background:#c8a35f;}
  .btn-outline{border-color:rgba(239,230,209,0.4); color:var(--cream-soft);}
  .btn-outline:hover{border-color:var(--gold); color:var(--gold);}

  .hero-crest{
    display:flex; justify-content:center; align-items:center;
  }
  .hero-crest img{
    width:min(320px, 80%);
    border-radius:50%;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  }

  @media(max-width:800px){
    .hero-inner{grid-template-columns:1fr; text-align:center;}
    .hero p.lead{margin-left:auto; margin-right:auto;}
    .hero-ctas{justify-content:center;}
    .hero-crest{order:-1;}
  }

  /* ---------- STAT STRIP ---------- */
  .stats{
    border-bottom:1px solid var(--line);
    background:var(--cream-soft);
  }
  .stats .wrap{
    display:grid; grid-template-columns:repeat(3,1fr);
  }
  .stat{
    padding:38px 28px;
    border-left:1px solid var(--line);
    text-align:center;
  }
  .stat:first-child{border-left:none;}
  .stat .num{
    font-family:'Fraunces', serif; font-size:2.1rem; color:var(--navy); font-weight:600;
  }
  .stat .label{
    font-size:0.85rem; color:var(--gold-deep); margin-top:6px;
  }
  @media(max-width:640px){
    .stats .wrap{grid-template-columns:1fr;}
    .stat{border-left:none; border-top:1px solid var(--line); padding:26px 10px;}
    .stat:first-child{border-top:none;}
  }

  /* ---------- SECTION SCAFFOLD ---------- */
  section{padding:88px 0;}
  .section-head{
    display:flex; justify-content:space-between; align-items:flex-end;
    margin-bottom:44px; gap:24px; flex-wrap:wrap;
    border-bottom:1px solid var(--line);
    padding-bottom:22px;
  }
  .section-head h2{font-size:clamp(1.8rem,3.4vw,2.4rem);}
  .section-head p{max-width:38ch; color:#5a5548; font-size:0.96rem;}

  /* ---------- PRÓXIMO PARTIDO ---------- */
  .match-box{
    background:var(--navy); color:var(--cream-soft);
    border-radius:2px;
    padding:44px 46px;
    display:grid; grid-template-columns: auto 1fr auto; gap:40px; align-items:center;
    position:relative; overflow:hidden;
  }
  .match-box::after{
    content:""; position:absolute; top:0; right:0; bottom:0; width:8px;
    background:var(--gold);
  }
  .match-date{
    text-align:center; border-right:1px solid rgba(239,230,209,0.25); padding-right:36px;
  }

  .day {
    font-size: 2.4rem;
  }


.match-teams{display:flex; flex-direction:column; align-items:center; gap:10px;}
.teams-row{display:flex; align-items:center; justify-content:center; gap:22px; flex-wrap:wrap;}
.match-teams .vs-team{font-family:'Fraunces',serif; font-size:1.5rem;}
.match-teams .vs{color:var(--gold); font-style:italic; font-size:1rem;}
.match-meta{font-size:0.88rem; color:rgba(239,230,209,0.75); text-align:center;}
.match-cta{white-space:nowrap;}

@media(max-width:760px){
  .match-box{grid-template-columns:1fr; text-align:center; padding:34px 26px;}
  .match-date{border-right:none; border-bottom:1px solid rgba(239,230,209,0.25); padding:0 0 20px;}
  .teams-row{flex-direction:column; gap:8px;}
}

  /* ---------- PLANTILLA ---------- */
  .roster{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(200px,1fr));
    gap:1px;
    background:var(--line);
    border:1px solid var(--line);
  }
  .player{
    background:var(--paper);
    padding:24px;
    display:flex; align-items:center; justify-content:space-between; gap:18px;
  }
  .player-info{display:flex; flex-direction:column; gap:10px;}
  .player .no{
    font-family:'Fraunces', serif; font-size:1.9rem; color:var(--gold-deep); font-weight:600;
  }
  .player .name{font-size:1rem; font-weight:600;}
  .player .pos{font-size:0.82rem; color:#7a7562;}

  .player-photo{
    flex-shrink:0;
    width:64px; height:64px;
    border-radius:2px;
    overflow:hidden;
    display:flex; align-items:center; justify-content:center;
    background:linear-gradient(150deg, var(--navy), var(--navy-mid));
  }
  .player-photo img{
    width:100%; height:100%; object-fit:cover; display:block;
  }
  .player-photo .initials{
    font-family:'Fraunces', serif; font-weight:600; font-size:1.05rem;
    color:var(--gold);
  }

  /* ---------- RESULTADOS ---------- */
  .results{border-top:1px solid var(--line);}
  .result-row{
    display:grid; grid-template-columns: 90px 1fr auto 70px;
    align-items:center; gap:18px;
    padding:18px 0;
    border-bottom:1px solid var(--line);
    font-size:0.95rem;
  }
  .result-row .rdate{color:#8a8570; font-size:0.85rem;}
  .result-row .rival{font-weight:500;}
  .result-row .score{
    font-family:'Fraunces', serif; font-weight:600; font-size:1.1rem;
  }
  .badge{
    justify-self:end;
    font-size:0.72rem; padding:4px 10px; border-radius:20px;
    font-weight:600;
  }
  .badge.win{background:#dcecd9; color:#2f6b34;}
  .badge.loss{background:#f4dede; color:#9a3a3a;}
  .badge.draw{background:#eee7d3; color:var(--gold-deep);}

  @media(max-width:640px){
    .result-row{grid-template-columns:70px 1fr auto; font-size:0.88rem;}
    .badge{grid-column:1/-1; justify-self:start; margin-top:4px;}
  }

  /* ---------- GALERÍA ---------- */
  .gallery{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    grid-auto-rows:150px;
    gap:6px;
  }
  .gallery .g{
    position:relative;
    display:flex; align-items:flex-end;
    padding:14px;
    color:rgba(239,230,209,0.85);
    font-family:'Fraunces', serif; font-style:italic; font-size:0.85rem;
    overflow:hidden;
  }
  .gallery .g span{position:relative; z-index:1;}
  .gallery .g::before{
    content:""; position:absolute; inset:0; opacity:0.9;
  }
  .g1{grid-column:span 2; grid-row:span 2;}
  .g1::before{background:linear-gradient(135deg,var(--navy),var(--navy-mid));}
  .g2::before{background:linear-gradient(135deg,var(--gold-deep),var(--gold));}
  .g3::before{background:linear-gradient(135deg,var(--navy-mid),#4a6690);}
  .g4::before{background:linear-gradient(135deg,var(--ink),var(--navy));}
  .g5{grid-column:span 2;}
  .g5::before{background:linear-gradient(135deg,var(--gold),var(--gold-deep));}
  .g6::before{background:linear-gradient(135deg,#4a6690,var(--navy));}

  @media(max-width:700px){
    .gallery{grid-template-columns:repeat(2,1fr); grid-auto-rows:130px;}
    .g1{grid-column:span 2;}
    .g5{grid-column:span 2;}
  }

  /* ---------- CONTACTO ---------- */
  .contact{background:var(--navy); color:var(--cream-soft);}
  .contact .wrap{
    display:grid; grid-template-columns:1fr 1fr; gap:60px;
  }
  .contact h2{color:var(--cream-soft);}
  .contact p{color:rgba(239,230,209,0.75); max-width:42ch; margin-top:14px;}
  .contact-list{margin-top:30px; display:flex; flex-direction:column; gap:14px;}
  .contact-list a{
    font-size:0.98rem; border-bottom:1px solid rgba(239,230,209,0.2);
    padding-bottom:10px; display:block;
  }
  .contact-list a:hover{color:var(--gold);}

  form{display:flex; flex-direction:column; gap:16px;}
  form input, form textarea{
    background:transparent;
    border:1px solid rgba(239,230,209,0.3);
    color:var(--cream-soft);
    padding:14px 16px; font-family:'Inter',sans-serif; font-size:0.95rem;
    border-radius:2px;
  }
  form input::placeholder, form textarea::placeholder{color:rgba(239,230,209,0.45);}
  form input:focus, form textarea:focus{outline:2px solid var(--gold); border-color:transparent;}
  form textarea{resize:vertical; min-height:110px;}

  @media(max-width:760px){
    .contact .wrap{grid-template-columns:1fr;}
    .hero-crest{display:none;}
  }

  footer{
    padding:32px 0; text-align:center; font-size:0.82rem; color:#8a8570;
    border-top:1px solid var(--line);
  }

  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{transition:none !important;}
  }

  /* ---------- MODAL DE VOTACIÓN ---------- */
.modal-overlay{
  display:none;
  position:fixed; inset:0; z-index:100;
  background:rgba(12,20,37,0.72);
  backdrop-filter:blur(3px);
  align-items:center; justify-content:center;
  padding:20px;
}
.modal-overlay.open{display:flex;}
.modal-box{
  background:var(--paper);
  max-width:440px; width:100%;
  padding:40px 34px 34px;
  border-radius:2px;
  position:relative;
  border-top:4px solid var(--gold);
}
.modal-close{
  position:absolute; top:16px; right:16px;
  background:none; border:none; font-size:1.6rem; line-height:1;
  color:#8a8570; cursor:pointer; padding:4px 8px;
}
.modal-close:hover{color:var(--ink);}
.modal-eyebrow{
  font-size:0.8rem; color:var(--gold-deep); letter-spacing:0.04em;
  font-family:'Fraunces', serif; font-style:italic; font-weight:500;
  margin-bottom:8px;
}
.modal-title{font-size:1.5rem; margin-bottom:26px;}

.vote-options{display:flex; flex-direction:column; gap:10px; margin-bottom:20px;}
.vote-option{
  text-align:left;
  padding:15px 18px;
  border:1px solid var(--line);
  background:var(--cream-soft);
  font-family:'Inter', sans-serif; font-size:0.96rem; font-weight:500;
  color:var(--ink);
  cursor:pointer;
  border-radius:2px;
  transition:.15s ease;
}
.vote-option:hover{border-color:var(--gold);}
.vote-option.selected{
  background:var(--navy); color:var(--cream-soft); border-color:var(--navy);
}
.vote-submit{width:100%; opacity:0.5; cursor:not-allowed;}
.vote-submit:not(:disabled){opacity:1; cursor:pointer;}

.vote-result-row{
  display:flex; justify-content:space-between; align-items:baseline;
  font-size:0.95rem; font-weight:500;
}
.vote-pct{
  font-family:'Fraunces', serif; font-weight:600; color:var(--gold-deep); font-size:1.15rem;
}
.vote-bar-track{
  position:relative;
  height:14px; margin-top:8px;
  background:var(--cream-soft);
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
}
.vote-bar-fill{
  height:100%;
  background:var(--gold);
  transition:width .5s ease;
}
.vote-divider{
  position:absolute; top:-1px; bottom:-1px;
  width:2px; background:var(--navy);
  transition:left .5s ease;
}
.vote-note{
  margin-top:20px; font-size:0.85rem; color:#7a7562; text-align:center;
}

/* ---------- MODAL DE ESTADÍSTICAS DE JUGADOR ---------- */
.player{cursor:pointer; transition:background .15s ease;}
.player:hover{background:var(--cream-soft);}

.player-modal-header{display:flex; align-items:center; gap:18px; margin-bottom:28px;}
.player-modal-photo{
  width:64px; height:64px; flex-shrink:0;
  border-radius:2px;
  background:linear-gradient(150deg, var(--navy), var(--navy-mid));
  display:flex; align-items:center; justify-content:center;
}
.player-modal-photo span{
  font-family:'Fraunces', serif; font-weight:600; color:var(--gold); font-size:1.25rem;
}
.player-stats-grid{
  display:grid; grid-template-columns:repeat(2, 1fr);
  gap:1px; background:var(--line); border:1px solid var(--line);
}
.player-stat{
  background:var(--paper);
  padding:20px; text-align:center;
}
.player-stat .val{
  font-family:'Fraunces', serif; font-size:1.8rem; font-weight:600; color:var(--navy);
}
.player-stat .lbl{
  font-size:0.78rem; color:var(--gold-deep); margin-top:4px;
}

/* ---------- CLASIFICACIÓN ---------- */
.standings-wrap{
  border:1px solid var(--line);
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
table.standings{
  width:100%;
  border-collapse:collapse;
  font-size:0.9rem;
  min-width:560px;
}
table.standings thead tr{
  background:var(--navy);
}
table.standings th{
  color:var(--cream-soft);
  font-family:'Fraunces', serif; font-weight:600; font-size:0.78rem;
  letter-spacing:0.03em;
  text-transform:uppercase;
  padding:14px 10px;
  text-align:center;
  white-space:nowrap;
}
table.standings th.col-pos{width:44px; text-align:center;}
table.standings th.col-team{text-align:left; padding-left:20px;}

table.standings td{
  padding:13px 10px;
  text-align:center;
  border-bottom:1px solid var(--line);
  color:var(--ink);
}
table.standings tbody tr:last-child td{border-bottom:none;}

td.col-pos{
  font-family:'Fraunces', serif; font-weight:600; color:#7a7562;
  position:relative;
}
td.col-team{
  text-align:left; padding-left:20px; font-weight:600;
  white-space:nowrap;
}
td.pts{
  font-family:'Fraunces', serif; font-weight:700; font-size:1rem; color:var(--navy);
}

/* franja de color a la izquierda, estilo La Liga */
table.standings tbody tr{position:relative;}
table.standings tbody tr td.col-pos::before{
  content:"";
  position:absolute; left:0; top:0; bottom:0; width:4px;
}
tr.zone-up td.col-pos::before{background:#2f6b34;}
tr.zone-down td.col-pos::before{background:#9a3a3a;}

tr.is-us{background:var(--cream-soft);}
tr.is-us td.col-team{color:var(--gold-deep);}
tr.is-us td.col-pos::before{background:var(--gold);}

.standings-legend{
  display:flex; gap:24px; flex-wrap:wrap;
  margin-top:16px; font-size:0.82rem; color:#7a7562;
}
.standings-legend span{display:flex; align-items:center; gap:8px;}
.dot{width:10px; height:10px; border-radius:2px; display:inline-block;}
.dot-up{background:#2f6b34;}
.dot-down{background:#9a3a3a;}


/* ---------- NOTICIAS (CARRUSEL) ---------- */
.news-carousel-wrap{
  display:flex; align-items:center; gap:14px;
}
.news-track{
  display:flex; gap:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  padding-bottom:4px;
}
.news-track::-webkit-scrollbar{display:none;}
.news-track{scrollbar-width:none;}

.news-card{
  scroll-snap-align:start;
  flex:0 0 100%;
  max-width:460px;
  border:1px solid var(--line);
  background:var(--paper);
  display:flex; flex-direction:column;
}
@media(min-width:700px){
  .news-card{flex:0 0 calc(50% - 10px);}
}

.news-img{height:180px;}
.news-img-1{background:linear-gradient(135deg,var(--navy),var(--navy-mid));}
.news-img-2{background:linear-gradient(135deg,var(--gold-deep),var(--gold));}
.news-img-3{background:linear-gradient(135deg,var(--navy-mid),#4a6690);}

.news-body{padding:24px;}
.news-date{
  font-size:0.8rem; color:var(--gold-deep);
  font-family:'Fraunces', serif; font-style:italic; font-weight:500;
}
.news-title{font-size:1.2rem; margin:10px 0 10px;}
.news-excerpt{font-size:0.92rem; color:#5a5548; margin-bottom:14px;}
.news-link{
  font-size:0.88rem; font-weight:600; color:var(--navy);
  border-bottom:1px solid var(--gold); padding-bottom:2px;
}
.news-link:hover{color:var(--gold-deep);}

.news-arrow{
  width:40px; height:40px; border-radius:50%; flex-shrink:0;
  border:1px solid var(--line); background:var(--paper);
  font-size:1.4rem; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  color:var(--navy); transition:.15s ease;
}
.news-arrow:hover{border-color:var(--gold); color:var(--gold-deep);}
@media(max-width:640px){
  .news-arrow{display:none;}
}

.news-dots{display:flex; gap:8px; justify-content:center; margin-top:22px;}
.news-dot{
  width:8px; height:8px; border-radius:50%;
  background:var(--line); border:none; padding:0; cursor:pointer;
}
.news-dot.active{background:var(--gold);}

/* ---------- MODAL DE NOTICIA ---------- */
.news-modal-box{
  max-width:600px;
  padding:0;
  overflow:hidden;
  max-height:88vh;
  overflow-y:auto;
}
.news-modal-close{
  background:rgba(12,20,37,0.55);
  color:#efe6d1;
  border-radius:50%;
  width:34px; height:34px;
  top:14px; right:14px;
  display:flex; align-items:center; justify-content:center;
  padding:0;
}
.news-modal-close:hover{background:rgba(12,20,37,0.8); color:#fff;}

.news-modal-img{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
}
.news-modal-content{padding:30px 34px 36px;}
.news-modal-title{font-size:1.6rem; margin-bottom:8px;}
.news-modal-subtitle{
  font-family:'Fraunces', serif; font-style:italic; font-weight:500;
  color:var(--gold-deep); font-size:1.02rem; margin-bottom:20px;
}
.news-modal-body p{
  color:#4a4638; font-size:0.98rem; line-height:1.75; margin-bottom:14px;
}
.news-modal-body p:last-child{margin-bottom:0;}

@media(max-width:640px){
  .news-modal-img{height:200px;}
  .news-modal-content{padding:24px 22px 28px;}
}

/* ---------- CUERPO TÉCNICO Y DIRECTIVA ---------- */
.staff-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px,1fr));
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.staff-card{
  background:var(--paper);
  padding:36px 24px;
  display:flex; flex-direction:column; align-items:center; text-align:center;
  gap:14px;
}
.staff-photo{
  width:80px; height:80px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(150deg, var(--navy), var(--navy-mid));
  border:2px solid var(--gold);
}
.staff-photo .initials{
  font-family:'Fraunces', serif; font-weight:600; color:var(--gold); font-size:1.3rem;
}
.staff-name{font-family:'Fraunces', serif; font-weight:600; font-size:1.05rem;}
.staff-role{font-size:0.85rem; color:var(--gold-deep);}

/* ---------- HISTORIA DEL CLUB ---------- */
.timeline{
  position:relative;
  padding-left:36px;
}
.timeline::before{
  content:"";
  position:absolute; left:6px; top:6px; bottom:6px;
  width:2px;
  background:var(--line);
}
.timeline-item{
  position:relative;
  padding-bottom:44px;
}
.timeline-item:last-child{padding-bottom:0;}
.timeline-item::before{
  content:"";
  position:absolute; left:-36px; top:4px;
  width:14px; height:14px;
  border-radius:50%;
  background:var(--gold);
  border:3px solid var(--paper);
  box-shadow:0 0 0 2px var(--gold);
}
.timeline-year{
  font-family:'Fraunces', serif; font-weight:700; font-size:1.6rem;
  color:var(--navy); margin-bottom:6px;
}
.timeline-content h3{
  font-size:1.05rem; margin-bottom:8px;
}
.timeline-content p{
  color:#5a5548; font-size:0.94rem; max-width:60ch;
}

/* ---------- NOTICIAS (CARRUSEL) ---------- */
.news-carousel-wrap{
  display:flex; align-items:center; gap:14px;
}
.news-track{
  display:flex; gap:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  padding-bottom:4px;
}
.news-track::-webkit-scrollbar{display:none;}
.news-track{scrollbar-width:none;}

.news-card{
  scroll-snap-align:start;
  flex:0 0 100%;
  max-width:460px;
  border:1px solid var(--line);
  background:var(--paper);
  display:flex; flex-direction:column;
}
@media(min-width:700px){
  .news-card{flex:0 0 calc(50% - 10px);}
}

.news-img{height:180px;}
.news-img-1{background:linear-gradient(135deg,var(--navy),var(--navy-mid));}
.news-img-2{background:linear-gradient(135deg,var(--gold-deep),var(--gold));}
.news-img-3{background:linear-gradient(135deg,var(--navy-mid),#4a6690);}

.news-body{padding:24px;}
.news-date{
  font-size:0.8rem; color:var(--gold-deep);
  font-family:'Fraunces', serif; font-style:italic; font-weight:500;
}
.news-title{font-size:1.2rem; margin:10px 0 10px;}
.news-excerpt{font-size:0.92rem; color:#5a5548; margin-bottom:14px;}
.news-link{
  font-size:0.88rem; font-weight:600; color:var(--navy);
  border-bottom:1px solid var(--gold); padding-bottom:2px;
}
.news-link:hover{color:var(--gold-deep);}

.news-arrow{
  width:40px; height:40px; border-radius:50%; flex-shrink:0;
  border:1px solid var(--line); background:var(--paper);
  font-size:1.4rem; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  color:var(--navy); transition:.15s ease;
}
.news-arrow:hover{border-color:var(--gold); color:var(--gold-deep);}
@media(max-width:640px){
  .news-arrow{display:none;}
}

.news-dots{display:flex; gap:8px; justify-content:center; margin-top:22px;}
.news-dot{
  width:8px; height:8px; border-radius:50%;
  background:var(--line); border:none; padding:0; cursor:pointer;
}
.news-dot.active{background:var(--gold);}

/* ---------- MODAL DE NOTICIA ---------- */
.news-modal-box{
  max-width:600px;
  padding:0;
  overflow:hidden;
  max-height:88vh;
  overflow-y:auto;
}
.news-modal-close{
  background:rgba(12,20,37,0.55);
  color:#efe6d1;
  border-radius:50%;
  width:34px; height:34px;
  top:14px; right:14px;
  display:flex; align-items:center; justify-content:center;
  padding:0;
}
.news-modal-close:hover{background:rgba(12,20,37,0.8); color:#fff;}

.news-modal-img{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
}
.news-modal-content{padding:30px 34px 36px;}
.news-modal-title{font-size:1.6rem; margin-bottom:8px;}
.news-modal-subtitle{
  font-family:'Fraunces', serif; font-style:italic; font-weight:500;
  color:var(--gold-deep); font-size:1.02rem; margin-bottom:20px;
}
.news-modal-body p{
  color:#4a4638; font-size:0.98rem; line-height:1.75; margin-bottom:14px;
}
.news-modal-body p:last-child{margin-bottom:0;}

@media(max-width:640px){
  .news-modal-img{height:200px;}
  .news-modal-content{padding:24px 22px 28px;}
}

#loginBtn {
  background-color: var(--gold);
  color: var(--ink);
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  margin: 0 auto;
  display: block;
}