/* White Latest News cards must NOT inherit white text from dark template shells. */
.ssf-factory-home .ssf-hl-news .ssf-hl-news-grid>article {background:#fff;color:#172b42;border:1px solid #d4dee9;border-radius:5px;min-width:0;padding:16px;}
.ssf-factory-home .ssf-hl-news .ssf-hl-news-grid>article :is(h3,h3 a){color:#172b42;font-size:18px;line-height:1.35;}
.ssf-factory-home .ssf-hl-news .ssf-hl-news-grid>article time{color:#526579;font-size:13px;}
.ssf-factory-home .ssf-hl-news .ssf-hl-news-grid>article p{color:#33475b;font-size:15px;line-height:1.55;}
/* All news listing card headings, not article H1s, clamp visually; DOM retains full title. */
.ssf-factory-home :is(.ssf-hl-news-grid>article,.ssf-factory-story,.ssf-v182-story,.ssf-v183-story,.ssf-v184-story,.ssf-v185-news-item,.ssf-v186-story,.ssf-v187-article-card,.ssf-v182-archive-card,.ssf-v183-archive-card,.ssf-v184-archive-card,.ssf-v185-archive-card,.ssf-v186-archive-card,.ssf-v187-archive-card) :is(h2,h3) a {
 display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:anywhere;text-overflow:ellipsis;line-height:1.35;max-height:2.7em;
}
.ssf-factory-home .ssf-hl-news-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
@media(max-width:920px){.ssf-factory-home .ssf-hl-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.ssf-factory-home .ssf-hl-news-grid{grid-template-columns:minmax(0,1fr);}}
.ssf-factory-home .ssf-about59{grid-column:1/-1;min-width:0;max-width:100%;overflow-wrap:anywhere;}
.ssf-factory-home .ssf-about59 h3{font-size:clamp(17px,2vw,21px);margin:14px 0 8px;line-height:1.35;color:inherit;}
.ssf-factory-home .ssf-hl-league-filter{margin:12px 0;padding:9px 12px;border:1px solid #ccd9e5;border-radius:5px;background:#f7fafc;color:#1b3046;}
.ssf-factory-home .ssf-hl-league-filter summary{cursor:pointer;font-weight:700;}
.ssf-factory-home .ssf-hl-league-filter div,.ssf-factory-home .ssf-hl-page-nav{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0;align-items:center;}
.ssf-factory-home .ssf-hl-league-filter a,.ssf-factory-home .ssf-hl-page-nav a{display:inline-block;padding:6px 9px;background:#fff;border:1px solid #d4dee9;color:#1b3046;border-radius:5px;text-decoration:underline;text-underline-offset:2px;font-size:13px;}
.ssf-factory-home .ssf-about59-links{display:flex;flex-wrap:wrap;gap:8px 16px;margin:12px 0 16px;}
.ssf-factory-home .ssf-about59-links a{color:inherit;text-decoration:underline;text-underline-offset:3px;}
/* The branded homepage overview is the final full-width content block. */
.ssf-factory-home .ssf-factory-slot--home_body:has(>.ssf-about59){grid-column:1/-1;min-width:0;}

/* v78: contextual editorial links only. Fixed contrast pair works on every template. */
.ssf-factory-home .ssf-factory-home-copy a.ssf-editorial-link[href],
.ssf-site-content .ssf-content-body a.ssf-editorial-link[href],
.ssf-factory-home .ssf-content-body a.ssf-editorial-link[href] {
 color:#0757bf!important;background:#eaf3ff!important;font-weight:650;text-decoration:underline!important;text-decoration-thickness:1.5px;text-underline-offset:2px;border-radius:3px;padding:0 .12em;overflow-wrap:anywhere;
}
.ssf-factory-home .ssf-factory-home-copy a.ssf-editorial-link[href]:is(:hover,:focus-visible),
.ssf-site-content .ssf-content-body a.ssf-editorial-link[href]:is(:hover,:focus-visible),
.ssf-factory-home .ssf-content-body a.ssf-editorial-link[href]:is(:hover,:focus-visible) {color:#003780!important;background:#d4e7ff!important;outline:2px solid #407ed5;outline-offset:2px;}
.ssf-factory-home .ssf-editorial-link[href] :is(strong,em),.ssf-site-content .ssf-editorial-link[href] :is(strong,em) {color:inherit!important;}
