/* Agenda de partidos: tarjetas desplazables con controles visibles. */
#home .agenda-head{gap:14px}
#home .agenda-controls{display:flex;gap:6px}
#home .agenda-controls button{width:36px;height:32px;border:1px solid #fff6;background:transparent;color:#fff;font-size:18px}
#home .agenda-strip{scroll-behavior:smooth;scrollbar-width:thin}
#home .agenda-match{width:290px;min-width:290px;text-decoration:none;align-content:space-between}
#home .agenda-match .teams{gap:8px;line-height:1.2}
#home .agenda-match .teams b{font:700 15px/1.2 Arial,sans-serif;overflow-wrap:anywhere}
#home .agenda-match .teams{grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);align-items:start}
#home .agenda-match .agenda-team{display:flex;min-width:0;min-height:93px;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;text-align:center}
#home .agenda-match .agenda-team img{display:block;width:45px;height:45px;object-fit:contain}
#home .agenda-match .agenda-team span{min-width:0;overflow-wrap:normal;word-break:normal;font:700 14px/1.2 Arial,sans-serif}
#home .agenda-match .teams i{align-self:center}
#home .agenda-empty{color:#fff;padding:24px;margin:0;align-self:center}

/* En todas las tarjetas editoriales, imagen 16:9 y texto debajo. */
#home .news-grid .news-card{display:flex;flex-direction:column}
#home .news-grid .news-card .thumb{width:100%;height:auto;aspect-ratio:16/9}
#home .news-grid .news-card .thumb img{display:block;width:100%;height:100%;object-fit:cover}
.section-page .rdj-section-leads .news-card,.section-page .rdj-section-leads .news-card:not(:first-child){display:flex;flex-direction:column}
.section-page .rdj-section-leads .news-card .thumb,.section-page .rdj-section-leads .news-card:first-child .thumb,.section-page .rdj-section-leads.count-2 .news-card .thumb{width:100%;height:auto;min-height:0;aspect-ratio:16/9}
.section-page .rdj-section-leads .news-card .thumb img{width:100%;height:100%;object-fit:cover}
.section-page .rdj-section-leads .news-card>div:last-child{position:static;background:#fff;color:#101820}
.section-page .rdj-section-leads .news-card small{font:700 11px/1.2 Arial,sans-serif;color:var(--card)}
.section-page .rdj-section-leads .news-card h3{font:400 clamp(16px,1.6vw,21px)/1.25 Arial,sans-serif;overflow-wrap:anywhere}
#football .rdj-section-leads{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);grid-template-rows:repeat(2,auto);align-items:start}
#football .rdj-section-leads .news-card:first-child{grid-row:1/3}
#football .rdj-section-leads .news-card:first-child h3{font-size:clamp(21px,2.2vw,29px)}
#football .rdj-section-leads .news-card:not(:first-child) .thumb{max-height:190px}
#football .football-live-feed{margin:28px 0 36px}
#football .football-live-feed h2{font:700 clamp(22px,2.7vw,31px)/1.15 Arial,sans-serif;text-transform:uppercase}
#football .football-live-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#football .football-live-list .news-card{display:flex;flex-direction:column;min-width:0;color:#111;text-decoration:none;background:#fff}
#football .football-live-list .news-card .thumb{width:100%;height:auto;aspect-ratio:16/9}
#football .football-live-list .news-card .thumb img{width:100%;height:100%;object-fit:cover}
#football .football-live-list .news-card h3{font:400 18px/1.26 Arial,sans-serif;overflow-wrap:anywhere}
#football .football-all-link{display:inline-block;margin:18px 0 0;color:#1d2910;font-weight:800}
#football .football-fixtures{margin:30px 0 35px;scroll-margin-top:170px}
#football .football-fixtures>p{color:#52606b;font:14px/1.5 Arial,sans-serif}
#football .football-fixture-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}
#football .football-fixture-toolbar label{display:grid;gap:5px;min-width:150px;color:#4e5a64;font:700 12px Arial,sans-serif}
#football .football-fixture-toolbar select{min-height:42px;padding:8px 10px;border:1px solid #bfc7cb;background:#fff;font:14px Arial,sans-serif}
#football .local-fixture-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#football .local-fixture-games article{background:#fff;border-left:4px solid var(--football);padding:16px;min-width:0}
#football .local-fixture-games small{color:#5e6900;font:800 11px Arial,sans-serif}
#football .local-fixture-duel{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;margin-top:13px}
#football .local-fixture-duel strong{font:700 16px/1.2 Arial,sans-serif;overflow-wrap:anywhere}
#football .local-fixture-duel strong:last-child{text-align:right}
#football .local-fixture-duel span{color:#7d8809;font-weight:900}
#football .local-fixture-source a{color:#2e480e}
@media(max-width:850px){#football .football-live-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){
  #home .agenda{display:grid;grid-template-columns:1fr;margin:0 -14px}
  #home .agenda-strip{display:flex;overflow-x:auto;padding:12px;gap:10px;scroll-snap-type:x mandatory}
  #home .agenda-match{width:85vw;min-width:85vw;scroll-snap-align:start}
  #football .rdj-section-leads{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}
  #football .rdj-section-leads .news-card:first-child{grid-column:1/-1;grid-row:auto}
  #football .rdj-section-leads .news-card:not(:first-child){grid-column:auto}
  #football .rdj-section-leads .news-card h3{font-size:15px}
  #football .football-live-list{grid-template-columns:1fr}
  #football .football-live-list .news-card{display:flex;flex-direction:column}
  #football .local-fixture-games{grid-template-columns:1fr}
  #football .football-fixture-toolbar label{flex:1 1 42%;min-width:0}
}
@media(max-width:390px){#football .rdj-section-leads{grid-template-columns:1fr}#football .rdj-section-leads .news-card:first-child{grid-column:auto}#football .rdj-section-leads .news-card:not(:first-child){display:flex;grid-template-columns:none}}
