/* Portadas de sección: una noticia principal, dos secundarias y más contenido en tiras. */
.section-page .rdj-live-feed{min-width:0;margin:0 0 32px}
.section-page .rdj-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px;border-bottom:2px solid var(--section-accent);padding-bottom:11px}
.section-page .rdj-section-head h2{margin:0;min-width:0}
.section-page .rdj-section-all{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:39px;padding:8px 13px;border:1px solid var(--section-accent);border-radius:4px;color:#111923;background:#fff;text-decoration:none;font:700 12px/1.2 Arial,sans-serif}
.section-page .rdj-section-all:hover,.section-page .rdj-section-all:focus-visible{background:var(--section-accent);color:#101820}
.section-page .rdj-section-leads.count-3{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.section-page .rdj-section-leads.count-3 .news-card{min-width:0;min-height:0;border:1px solid #d9e0e5;border-radius:6px;box-shadow:0 8px 24px #14212e0b}
.section-page .rdj-section-leads.count-3 .news-card:first-child{grid-column:1;grid-row:1/3}
.section-page .rdj-section-leads.count-3 .news-card:not(:first-child){display:grid;grid-template-columns:42% minmax(0,1fr);grid-column:2;grid-row:auto;align-items:center}
.section-page .rdj-section-leads.count-3 .news-card:not(:first-child) .thumb{align-self:center}
.section-page .rdj-section-leads .news-card .thumb,.section-page .rdj-section-leads .news-card:first-child .thumb{height:auto;aspect-ratio:16/9;background:#15202b}
.section-page .rdj-section-leads .news-card>div:last-child{min-width:0;padding:16px 18px}
.section-page .rdj-section-leads .news-card h3{margin:7px 0 8px;line-height:1.23}
.section-page .rdj-section-leads .news-card:first-child h3{font-size:clamp(22px,2.4vw,29px)}
.section-page .rdj-section-leads .news-card:not(:first-child) h3{font-size:clamp(16px,1.5vw,20px)}
.section-page .rdj-section-leads .card-meta{font:700 11px Arial,sans-serif;color:#596775}
.section-page .rdj-section-more-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:27px 0 11px}
.section-page .rdj-section-more-head h3{margin:0;font:700 19px Arial,sans-serif}
.section-page .rdj-section-more-head span{color:#67747f;font:12px Arial,sans-serif}
.section-page .rdj-section-more{display:flex;gap:12px;overflow-x:auto;padding:0 0 16px;scroll-snap-type:x mandatory;scrollbar-width:thin}
.section-page .rdj-section-more .news-card{display:flex;flex:0 0 clamp(230px,28%,310px);flex-direction:column;min-width:0;color:#101820;text-decoration:none;scroll-snap-align:start;border-radius:5px;overflow:hidden}
.section-page .rdj-section-more .thumb{height:auto;aspect-ratio:16/9}
.section-page .rdj-section-more .thumb img{display:block;width:100%;height:100%;object-fit:cover}
.section-page .rdj-section-more .news-card h3{font:400 17px/1.25 Arial,sans-serif;overflow-wrap:anywhere}
.section-page .rdj-section-more .news-card small{color:var(--card)}

/* La portada muestra un primer tramo y permite recorrer todas las publicaciones. */
#home .rdj-home-news-actions{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px;margin:17px 0 30px;font:700 12px Arial,sans-serif}
#home .rdj-home-news-actions span{margin-right:auto;color:#586571}
#home .rdj-home-news-more,#home .rdj-home-news-all{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border-radius:4px;font:700 12px Arial,sans-serif;text-decoration:none}
#home .rdj-home-news-more{border:1px solid #151d25;background:#151d25;color:#fff;cursor:pointer}
#home .rdj-home-news-all{border:1px solid #a8b900;background:#f9fadf;color:#151d25}
#home .rdj-home-news-more:hover,#home .rdj-home-news-more:focus-visible{background:#33404c}
#home .rdj-home-news-all:hover,#home .rdj-home-news-all:focus-visible{background:#edf3a0}
#home .rdj-home-news-more[hidden]{display:none!important}

/* Los módulos editoriales debajo de las noticias mantienen la foto y el título separados. */
.section-page .section-main{grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);align-items:stretch}
.section-page .section-main>*{min-width:0}
.section-page .section-main .feature-panel.with-photo,#waiwen .section-main .feature-panel.with-photo{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:0;aspect-ratio:auto;background:none!important;color:#111923}
.section-page .section-main .feature-panel.with-photo:before{display:none!important}
.section-page .section-main .rdj-feature-media{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.section-page .section-main .feature-panel.with-photo>div,#waiwen .section-main .feature-panel.with-photo>div{position:static;z-index:auto;flex:1;padding:20px 22px;background:#fff;color:#111923}
.section-page .section-main .feature-panel.with-photo h2{max-width:none;margin:10px 0;font:700 clamp(23px,2.4vw,32px)/1.12 Arial,sans-serif;letter-spacing:-.025em;text-transform:none;color:#111923}
.section-page .section-main .feature-panel.with-photo p{margin:0;color:#5c6974;font:15px/1.45 Arial,sans-serif}
.section-page .section-main .next-panel{min-width:0}

/* El fixture y los planteles se recorren sin convertir la página en una lista interminable. */
#waiwen .tour-strip,#gimnasia .roster-grid,#waiwen .waiwen-players{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:8px 2px 20px}
#waiwen .tour-strip>.tour-card{flex:0 0 clamp(290px,32%,380px);width:auto;min-width:0;scroll-snap-align:start}
#gimnasia .roster-grid>.person-card{flex:0 0 clamp(210px,23%,290px);min-width:0;scroll-snap-align:start}
#waiwen .waiwen-players>.waiwen-player{flex:0 0 clamp(205px,22%,275px);min-width:0;scroll-snap-align:start}
.section-page .rdj-expand{margin-left:auto;flex:none;border:1px solid #9ca8b1;border-radius:4px;background:#fff;color:#17222c;padding:8px 12px;font:700 12px Arial,sans-serif}
.section-page .rdj-expand:hover,.section-page .rdj-expand:focus-visible{border-color:var(--section-accent);background:#f2f5f6}
#waiwen .tour-strip.is-expanded,#gimnasia .roster-grid.is-expanded,#waiwen .waiwen-players.is-expanded{display:grid;overflow:visible;scroll-snap-type:none}
#waiwen .tour-strip.is-expanded{grid-template-columns:repeat(3,minmax(0,1fr))}
#gimnasia .roster-grid.is-expanded,#waiwen .waiwen-players.is-expanded{grid-template-columns:repeat(4,minmax(0,1fr))}
#waiwen .tour-strip.is-expanded>.tour-card,#gimnasia .roster-grid.is-expanded>.person-card,#waiwen .waiwen-players.is-expanded>.waiwen-player{width:auto;min-width:0}
@media(max-width:900px){
  .section-page .section-main{grid-template-columns:minmax(0,1fr)}
  #waiwen .tour-strip.is-expanded{grid-template-columns:repeat(2,minmax(0,1fr))}
  #gimnasia .roster-grid.is-expanded,#waiwen .waiwen-players.is-expanded{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:650px){
  #home .section-title a[href="/noticias"]{display:inline-flex;font-size:11px}
  #home .rdj-home-news-actions span{flex-basis:100%}
  #home .rdj-home-news-more,#home .rdj-home-news-all{flex:1 1 140px}
  .section-page .rdj-section-head{align-items:start;flex-wrap:wrap}
  .section-page .rdj-section-all{min-height:36px}
  .section-page .rdj-section-leads.count-3{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:9px}
  .section-page .rdj-section-leads.count-3 .news-card:first-child{grid-column:1/-1;grid-row:auto}
  .section-page .rdj-section-leads.count-3 .news-card:not(:first-child){display:flex;flex-direction:column;grid-column:auto;grid-row:auto}
  .section-page .rdj-section-leads .news-card>div:last-child{padding:12px}
  .section-page .rdj-section-leads .news-card:first-child h3{font-size:clamp(21px,5vw,27px)}
  .section-page .rdj-section-leads .news-card:not(:first-child) h3{font-size:15px}
  .section-page .rdj-section-more .news-card{flex-basis:min(76vw,300px)}
  #waiwen .tour-strip>.tour-card{flex-basis:min(82vw,360px)}
  #gimnasia .roster-grid>.person-card,#waiwen .waiwen-players>.waiwen-player{flex-basis:min(58vw,250px)}
  #waiwen .tour-strip.is-expanded,#gimnasia .roster-grid.is-expanded,#waiwen .waiwen-players.is-expanded{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:390px){
  .section-page .rdj-section-leads.count-3{grid-template-columns:minmax(0,1fr)}
  .section-page .rdj-section-leads.count-3 .news-card:first-child,.section-page .rdj-section-leads.count-3 .news-card:not(:first-child){grid-column:1}
  .section-page .rdj-section-leads.count-3 .news-card:not(:first-child){display:flex;flex-direction:column}
  #waiwen .tour-strip.is-expanded,#gimnasia .roster-grid.is-expanded,#waiwen .waiwen-players.is-expanded{grid-template-columns:minmax(0,1fr)}
}

