/* Voxo homepage — consolidated v21.8 CSS. index.php only. */
:root{
  --home-ink:#202d40;
  --home-muted:#657185;
  --home-soft:#f6f8fc;
  --home-surface:#fff;
  --home-border:#e1e7ef;
  --home-link:#146cff;
  --home-accent:#6336ee;
  --home-radius:12px;
  --home-shadow:none;
  --home-shadow-hover:0 8px 22px rgba(31,46,73,.055);
  --home-section-title:23px;
  --home-card-title:16.5px;
  --home-body:13.5px;
  --home-meta:11px;
}

.home-main{padding-top:30px;padding-bottom:8px;color:var(--home-ink)}
.home-main *{min-width:0}
.home-main .section{margin:34px 0}
.home-main .section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px}
.home-main .section-head h2,.home-main .section h2,.home-main .topics h2{margin:0;font-size:var(--home-section-title);line-height:1.2;font-weight:800;letter-spacing:-.015em;color:#111827}
.home-main .section-head>a{font-size:12.5px;line-height:1.2;font-weight:750;color:var(--home-link);white-space:nowrap}
.home-main .section-sub{margin:-4px 0 10px;font-size:11.5px;line-height:1.4;color:var(--home-muted)}

/* Breaking and top utilities */
.home-main .breaking{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;min-height:38px;margin:14px 0 12px;border:1px solid #f0ccd2;border-radius:8px;background:#fff4f5;overflow:hidden;color:#26344a}
.home-main .breaking strong{align-self:stretch;display:flex;align-items:center;padding:0 12px;background:#cf1730;color:#fff;font-size:10px;line-height:1;font-weight:850;letter-spacing:.045em}
.home-main .breaking span{padding:0 12px;font-size:12.5px;line-height:1.25;font-weight:680;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-main .breaking small{font-size:10.5px;color:#7c6670;white-space:nowrap}
.home-main .breaking>b{padding:0 11px;color:#a82336}
.home-main .utility-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 12px}
.home-main .utility-strip>a,.home-main .utility-strip>div{display:grid;gap:4px;align-content:center;min-height:72px;padding:11px 13px;border:1px solid #dce4ee;border-radius:10px;background:#fff;box-shadow:none}
.home-main .utility-strip b{font-size:9.8px;line-height:1.1;font-weight:850;letter-spacing:.055em;color:#6b7280;text-transform:uppercase}
.home-main .utility-strip>a:first-child b,.home-main .utility-strip>a:nth-child(2) b{color:#cc1730}
.home-main .utility-strip span{font-size:13.5px;line-height:1.25;font-weight:750;color:#1c2a40;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-main .utility-strip small{font-size:10.3px;line-height:1.2;color:#758196}.home-main .utility-strip small.up{color:#087c4b;font-weight:760}
.home-main .connected-feed-note{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 13px;padding:9px 12px;border:1px solid #d9e8fa;border-radius:8px;background:#f6faff}
.home-main .connected-feed-note strong{display:block;font-size:11.5px;color:#215a9f}.home-main .connected-feed-note span{display:block;margin-top:1px;font-size:10.5px;color:#6d7a8e}.home-main .connected-feed-note>a{font-size:10.8px;font-weight:740;color:#215fae;white-space:nowrap}

/* Hero */
.home-main .editorial-hero{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.9fr) minmax(250px,.68fr);gap:14px;align-items:start;margin-bottom:22px}
.home-main .hero-card{position:relative;min-height:405px;padding:0;border:0;border-radius:11px;overflow:hidden;background:#101b2d;color:#fff;box-shadow:var(--home-shadow)}
.home-main .hero-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .22s ease}
.home-main .hero-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,15,27,.03) 25%,rgba(8,15,27,.82) 100%)}
.home-main .hero-overlay{position:absolute;z-index:1;left:0;right:0;bottom:0;padding:24px 26px}
.home-main .hero-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.home-main .pill,.home-main .hero-tag{display:inline-flex;align-items:center;min-height:23px;padding:4px 8px;border-radius:999px;font-size:9.5px;line-height:1;font-weight:800}
.home-main .pill{background:#0c9f67;color:#fff}.home-main .hero-tag{background:rgba(255,255,255,.16);color:#fff;backdrop-filter:blur(5px)}
.home-main .hero-overlay h1{margin:8px 0 7px;font-size:clamp(36px,3.4vw,48px);line-height:1.04;font-weight:820;letter-spacing:-.035em;text-wrap:balance}
.home-main .hero-overlay p{max-width:720px;margin:0 0 7px;font-size:15px;line-height:1.5;color:#edf2f7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-main .hero-overlay>small{font-size:10.8px;line-height:1.2;color:#e1e7ef}
.home-main .lead-list{display:grid;gap:9px}
.home-main .lead-item{display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px;align-items:center;min-height:92px;padding:11px;border:1px solid var(--home-border);border-radius:10px;background:#fff;box-shadow:none;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.home-main .lead-item img{width:104px;height:72px;object-fit:cover;border-radius:8px;background:#eef2f7}
.home-main .lead-item small{font-size:11px;line-height:1.25;font-weight:700;color:#687589}
.home-main .lead-item strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:4px 0;font-size:16px;line-height:1.3;font-weight:780;letter-spacing:-.012em;color:#172033}
.home-main .lead-item span{display:block;font-size:11px;line-height:1.25;color:#687589;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-main .sidebar{display:grid;align-content:start;gap:10px}
.home-main .widget{padding:16px;border:1px solid #dce4ee;border-radius:14px;background:#fff;box-shadow:none}
.home-main .widget .section-head{margin-bottom:2px}.home-main .widget h3{margin:0;font-size:17px;line-height:1.2;font-weight:800;letter-spacing:-.016em}.home-main .widget .section-head>a{font-size:10px}
.home-main .widget>a{display:grid;grid-template-columns:18px minmax(0,1fr);gap:7px;padding:7px 0;border-bottom:1px solid #eef1f5;font-size:14px;line-height:1.38}.home-main .widget>a:last-child{border-bottom:0}
.home-main .widget>a b{font-size:10.5px;color:#7650dd}.home-main .widget>a span{font-weight:650;color:#26354c}
.home-main .widget.daily p{margin:5px 0 9px;font-size:11.5px;line-height:1.42;color:var(--home-muted)}
.home-main .newsletter-mini{display:grid;grid-template-columns:minmax(0,1fr) auto}.home-main .newsletter-mini input{min-width:0;padding:9px 10px;border:1px solid #d4dce7;border-radius:7px 0 0 7px;font-size:11.5px}.home-main .newsletter-mini button{border:0;border-radius:0 7px 7px 0;background:#146cff;color:#fff;padding:8px 10px;font-size:10.5px;font-weight:780}

/* Primary story cards: equal rows, deliberately compact */
.home-main .cards{display:grid;gap:12px;align-items:stretch}
.home-main .four-cards{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr}
.home-main .news-card{display:flex;flex-direction:column;height:100%;padding:11px;border:1px solid var(--home-border);border-radius:10px;background:#fff;box-shadow:none;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.home-main .news-card .news-img{display:block;position:relative;height:140px;overflow:hidden;border-radius:8px;background:#eef2f7}
.home-main .news-card .news-img img{width:100%;height:100%;object-fit:cover;transition:transform .22s ease}
.home-main .image-type-badge{position:absolute;left:7px;top:7px;padding:4px 6px;border-radius:999px;background:rgba(12,26,48,.78);color:#fff;font-size:8.7px;line-height:1;font-weight:800;letter-spacing:.035em;text-transform:uppercase;backdrop-filter:blur(4px)}
.home-main .story-meta{display:flex;gap:7px;align-items:center;margin:8px 0 4px}.home-main .story-meta small{font-size:var(--home-meta);line-height:1.2;color:#748095;font-weight:620}
.home-main .news-card h3{margin:0 0 5px;font-size:var(--home-card-title);line-height:1.3;font-weight:780;letter-spacing:-.012em;color:#172033;overflow-wrap:anywhere}
.home-main .news-card p{margin:0 0 10px;font-size:var(--home-body);line-height:1.5;color:#586477;overflow-wrap:anywhere}
.home-main .card-bottom{margin-top:auto;padding-top:9px;border-top:1px solid #edf0f4}.home-main .source-line{display:block;margin-bottom:6px;font-size:11px;line-height:1.25;font-weight:700;color:#687589;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-main .tag-row{display:flex;flex-wrap:wrap;gap:4px}.home-main .story-tag{display:inline-flex;padding:7px 10px;border:1px solid #dfe5ec;border-radius:999px;background:#f5f7fa;font-size:12px;line-height:1.1;font-weight:750;color:#526077}

/* For You */
.home-main .horizontal-rail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.home-main .rail-card{display:grid;grid-template-rows:auto auto auto;align-content:start;gap:6px;padding:11px;border:1px solid var(--home-border);border-radius:10px;background:#fff;box-shadow:none;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.home-main .rail-card img{width:100%;height:104px;object-fit:cover;border-radius:8px;background:#eef2f7}.home-main .rail-card strong{font-size:15px;line-height:1.3;font-weight:780;color:#172033;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.home-main .rail-card small{font-size:11px;line-height:1.25;color:#687589;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Timeline / explainer / shorts */
.home-main .content-split{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr) minmax(220px,.58fr);gap:16px;align-items:stretch;margin:34px 0}
.home-main .timeline-card,.home-main .explainer-card,.home-main .shorts-card{height:100%;margin:0;padding:16px;border:1px solid #dce4ee;border-radius:14px;background:#fff;box-shadow:none}
.home-main .tabs-inline{display:flex;gap:11px;overflow-x:auto;margin:0 0 5px;padding-bottom:3px;scrollbar-width:none}.home-main .tabs-inline::-webkit-scrollbar{display:none}.home-main .tabs-inline a{font-size:11.5px;line-height:1.2;color:#6d798c;white-space:nowrap}.home-main .tabs-inline b{color:#175fc8}
.home-main .timeline-row{display:grid;grid-template-columns:66px minmax(0,1fr);gap:8px;padding:7px 0;border-top:1px solid #edf1f5}.home-main .timeline-row time{font-size:11px;line-height:1.3;color:#7a8698}.home-main .timeline-row span{font-size:14px;line-height:1.32;font-weight:680;color:#25344a}
.home-main .explainer-feature{display:block}.home-main .explainer-feature img{width:100%;height:132px;object-fit:cover;border-radius:7px}.home-main .explainer-feature>span{display:inline-block;margin-top:7px;font-size:9px;font-weight:820;color:#6840d2}.home-main .explainer-feature h3{margin:3px 0 4px;font-size:16.5px;line-height:1.3;font-weight:780}.home-main .explainer-feature small,.home-main .explainer-list small{font-size:11px;color:#687589}.home-main .explainer-list>a{display:grid;grid-template-columns:56px minmax(0,1fr);gap:8px;align-items:center;padding:7px 0;border-top:1px solid #edf1f5}.home-main .explainer-list img{width:56px;height:42px;object-fit:cover;border-radius:5px}.home-main .explainer-list b{font-size:13.5px;line-height:1.32;font-weight:750}
 .home-main .shorts-card{display:grid;grid-template-columns:minmax(0,1fr) 74px;gap:9px;align-items:stretch}
.home-main .shorts-card>.section-head{grid-column:1/-1}
.home-main .short-main{position:relative;display:block;min-height:260px;color:#fff;overflow:hidden;border-radius:10px;background:#111d30}
.home-main .short-main img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0}
.home-main .short-main:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,14,28,.86),rgba(4,14,28,.08) 65%)}
.home-main .short-main .play{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:rgba(10,22,40,.76);color:#fff;font-size:18px;box-shadow:0 6px 22px rgba(0,0,0,.22)}
.home-main .short-main b{position:absolute;z-index:2;left:12px;right:12px;bottom:34px;display:block;margin:0;font-size:14px;line-height:1.28;font-weight:800;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.3)}
.home-main .short-main small{position:absolute;z-index:2;left:12px;right:12px;bottom:16px;display:block;margin:0;font-size:10.5px;line-height:1.2;font-weight:650;color:#edf3fb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-main .short-thumbs{display:grid;grid-template-columns:1fr;gap:8px;margin:0}
.home-main .short-thumbs a{display:block;min-width:0}
.home-main .short-thumbs img{display:block;width:100%;height:126px;object-fit:cover;border-radius:8px;background:#eef2f7}

/* Category panels */
.home-main .vertical-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch;margin:34px 0}
.home-main .vertical-panel{height:100%;padding:16px;border:1px solid #dce4ee;border-radius:14px;background:#fff;box-shadow:none}
.home-main .vertical-panel .section-head{margin-bottom:8px}.home-main .vertical-panel .section-head h2{font-size:18px}.home-main .vertical-panel .section-head>a{font-size:10px}
.home-main .vertical-feature{width:100%;height:126px;object-fit:cover;border-radius:7px;background:#eef2f7}.home-main .vertical-panel>a>h3{margin:6px 0 7px;font-size:16.5px;line-height:1.3;font-weight:780;letter-spacing:-.01em;color:#19263b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-main .mini-story{display:grid;grid-template-columns:58px minmax(0,1fr);gap:7px;align-items:center;padding:7px 0;border-top:1px solid #edf1f5}.home-main .mini-story img{width:58px;height:44px;object-fit:cover;border-radius:5px}.home-main .mini-story span{font-size:13.5px;line-height:1.32;font-weight:750;color:#26354b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Topics */
.home-main .topics>div{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px}.home-main .topics a{padding:11px 7px;border:1px solid #dfe5ec;border-radius:10px;background:#fff;text-align:center;font-size:11.7px;line-height:1.2;font-weight:700;color:#334159}.home-main .topics a span{display:block;margin-bottom:4px;font-size:12px;color:#7652dd}

/* Local and Most Read */
.home-main .local-most-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.75fr);gap:16px;align-items:stretch;margin:34px 0}.home-main .local-news,.home-main .most-read{height:100%;margin:0;padding:16px;border:1px solid #dce4ee;border-radius:14px;background:#fff;box-shadow:none}
.home-main .local-news .mini-story.wide{grid-template-columns:98px minmax(0,1fr);gap:10px;padding:8px 0}.home-main .local-news .mini-story.wide img{width:98px;height:66px}.home-main .local-news .mini-story.wide span b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:16px;line-height:1.3;font-weight:780;color:#1b2940}.home-main .local-news .mini-story.wide small{display:block;margin-top:3px;font-size:11px;line-height:1.25;color:#687589}
.home-main .most-read>a{display:grid;grid-template-columns:25px minmax(0,1fr);gap:8px;padding:8px 0;border-top:1px solid #edf1f5}.home-main .most-read>a>b{font-size:16px;line-height:1;color:#7550db}.home-main .most-read>a>span{font-size:14px;line-height:1.38;font-weight:750;color:#24334a}

/* Photo, World, Sources */
.home-main .lower-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr) minmax(235px,.68fr);gap:16px;align-items:stretch;margin:34px 0}.home-main .photo-stories,.home-main .world-list,.home-main .source-list{height:100%;margin:0;padding:16px;border:1px solid #dce4ee;border-radius:14px;background:#fff;box-shadow:none}
.home-main .photo-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:7px}.home-main .photo-grid a{position:relative;overflow:hidden;border-radius:7px}.home-main .photo-grid img{width:100%;height:105px;object-fit:cover}.home-main .photo-grid .photo-big{grid-row:span 2}.home-main .photo-grid .photo-big img{height:100%;min-height:217px}.home-main .photo-grid b{display:block;margin-top:4px;font-size:15px;line-height:1.3;font-weight:780}.home-main .photo-grid small{font-size:11px;color:#687589}
.home-main .world-list>a{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px;padding:8px 0;border-top:1px solid #edf1f5}.home-main .world-list>a>span{font-size:9.2px;line-height:1.15;font-weight:800;color:#1760c8;text-transform:uppercase;letter-spacing:.035em}.home-main .world-list>a div b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:15.5px;line-height:1.3;font-weight:780;color:#1d2a40}.home-main .world-list>a div small{display:block;margin-top:3px;font-size:11px;line-height:1.25;color:#687589}
.home-main .source-list>a{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px 0;border-top:1px solid #edf1f5}.home-main .source-logo{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#eef3ff;color:#3b5da9;font-size:10.5px;font-weight:800}.home-main .source-list>a b{font-size:14px;line-height:1.3}.home-main .source-list>a em{font-size:11px;color:#145dcc;font-style:normal}

/* Newsletter */
.home-main .signup-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:24px 0 8px;padding:18px 20px;border:1px solid #dedcf8;border-radius:12px;background:linear-gradient(135deg,#f6f3ff,#f3f8ff)}.home-main .signup-banner .logo{font-size:21px}.home-main .signup-banner h2{margin:3px 0;font-size:20px;line-height:1.15;font-weight:800;letter-spacing:-.02em}.home-main .signup-banner p{margin:0;font-size:13px;line-height:1.5;color:#667286}.home-main .signup-banner form{display:grid;grid-template-columns:minmax(190px,1fr) auto;min-width:330px}.home-main .signup-banner input{min-width:0;padding:10px 11px;border:1px solid #d3d9e5;border-radius:7px 0 0 7px;font-size:13px}.home-main .signup-banner button{border:0;border-radius:0 7px 7px 0;background:#146cff;color:#fff;padding:10px 13px;font-size:12.5px;font-weight:800}

/* Interaction */
@media(hover:hover) and (pointer:fine){
  .home-main .news-card:hover,.home-main .rail-card:hover,.home-main .lead-item:hover,.home-main .vertical-panel:hover{transform:translateY(-1px);border-color:#cad7e8;box-shadow:var(--home-shadow-hover)}
  .home-main .news-card:hover .news-img img,.home-main .hero-card:hover .hero-media{transform:scale(1.018)}
  .home-main .section-head>a:hover{text-decoration:underline;text-underline-offset:3px}
}

/* Laptop */
@media(max-width:1280px){
  .home-main .editorial-hero{grid-template-columns:minmax(0,1.5fr) minmax(280px,.9fr)}
  .home-main .editorial-hero .sidebar{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-main .hero-card{min-height:385px}.home-main .hero-overlay h1{font-size:clamp(32px,3.3vw,40px)}
  .home-main .horizontal-rail{grid-template-columns:repeat(4,minmax(0,1fr))}.home-main .rail-card img{height:112px}
  .home-main .content-split{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}.home-main .shorts-card{grid-column:1/-1}
  .home-main .lower-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}.home-main .source-list{grid-column:1/-1}
}

/* Tablet / small laptop */
@media(max-width:1024px){
  .home-main .utility-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-main .hero-card{min-height:360px}.home-main .hero-overlay{padding:20px}.home-main .hero-overlay h1{font-size:33px}
  .home-main .four-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.home-main .news-card .news-img{height:160px}
  .home-main .horizontal-rail{grid-template-columns:repeat(3,minmax(0,1fr))}
  .home-main .vertical-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-main .vertical-feature{height:150px}
  .home-main .topics>div{grid-template-columns:repeat(5,minmax(0,1fr))}
  .home-main .local-most-grid{grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr)}
}

@media(max-width:850px){
  .home-main .editorial-hero{grid-template-columns:1fr}.home-main .editorial-hero .sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-main .lead-list{grid-template-columns:repeat(2,minmax(0,1fr))}.home-main .lead-item{grid-template-columns:90px minmax(0,1fr)}.home-main .lead-item img{width:90px;height:68px}
  .home-main .content-split,.home-main .lower-grid{grid-template-columns:1fr}.home-main .source-list,.home-main .shorts-card{grid-column:auto}
  .home-main .local-most-grid{grid-template-columns:1fr}.home-main .local-news,.home-main .most-read{height:auto}
}

/* Mobile */
@media(max-width:700px){
  :root{--home-section-title:20px;--home-card-title:17px;--home-body:13px}
  .home-main{padding-top:18px}.home-main .section{margin:26px 0}
  .home-main .breaking{grid-template-columns:auto minmax(0,1fr)}.home-main .breaking small,.home-main .breaking>b{display:none}
  .home-main .utility-strip{display:flex;overflow-x:auto;gap:8px;scroll-snap-type:x mandatory;padding-bottom:2px;scrollbar-width:none}.home-main .utility-strip::-webkit-scrollbar{display:none}.home-main .utility-strip>*{flex:0 0 min(82vw,268px);scroll-snap-align:start}
  .home-main .editorial-hero .sidebar{grid-template-columns:1fr}.home-main .lead-list{grid-template-columns:1fr}
  .home-main .hero-card{min-height:330px}.home-main .hero-overlay{padding:18px}.home-main .hero-overlay h1{font-size:29px}.home-main .hero-overlay p{font-size:12.7px}
  .home-main .four-cards{grid-template-columns:1fr}.home-main .news-card .news-img{height:190px}
  .home-main .horizontal-rail{display:flex;overflow-x:auto;gap:9px;padding-bottom:3px;scroll-snap-type:x mandatory;scrollbar-width:none}.home-main .horizontal-rail::-webkit-scrollbar{display:none}.home-main .rail-card{flex:0 0 min(72vw,228px);scroll-snap-align:start}.home-main .rail-card img{height:118px}
  .home-main .content-split,.home-main .vertical-grid,.home-main .lower-grid,.home-main .local-most-grid{grid-template-columns:1fr!important}
  .home-main .vertical-feature{height:170px}
  .home-main .photo-grid{grid-template-columns:1fr 1fr}.home-main .photo-grid .photo-big{grid-column:1/-1;grid-row:auto}.home-main .photo-grid .photo-big img{height:210px;min-height:0}
  .home-main .topics>div{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-main .signup-banner{display:grid;gap:13px;padding:16px}.home-main .signup-banner form{min-width:0;width:100%;grid-template-columns:minmax(0,1fr) auto}
}

@media(max-width:480px){
  .home-main .section{margin:18px 0}.home-main .section-head{margin-bottom:9px}.home-main .section-head h2,.home-main .section h2,.home-main .topics h2{font-size:19px}.home-main .section-head>a{font-size:10.5px}
  .home-main .hero-card{min-height:305px}.home-main .hero-overlay{padding:15px}.home-main .hero-overlay h1{font-size:26px;line-height:1.09}.home-main .hero-overlay p{font-size:12.3px}.home-main .hero-tag:nth-of-type(n+3){display:none}
  .home-main .lead-item{grid-template-columns:84px minmax(0,1fr);padding:7px}.home-main .lead-item img{width:84px;height:64px}.home-main .lead-item strong{font-size:15px}
  .home-main .news-card{padding:11px}.home-main .news-card .news-img{height:174px}.home-main .news-card h3{font-size:16.5px}.home-main .news-card p{font-size:13.5px}
  .home-main .timeline-card,.home-main .explainer-card,.home-main .shorts-card,.home-main .vertical-panel,.home-main .local-news,.home-main .most-read,.home-main .photo-stories,.home-main .world-list,.home-main .source-list{padding:12px}
  .home-main .timeline-row{grid-template-columns:60px minmax(0,1fr)}.home-main .timeline-row span{font-size:12.8px}
  .home-main .vertical-panel .section-head h2{font-size:17px}.home-main .vertical-panel>a>h3{font-size:15.5px}.home-main .mini-story span{font-size:13px}
  .home-main .local-news .mini-story.wide{grid-template-columns:90px minmax(0,1fr)}.home-main .local-news .mini-story.wide img{width:90px;height:62px}.home-main .local-news .mini-story.wide span b{font-size:15.5px}
  .home-main .world-list>a{grid-template-columns:47px minmax(0,1fr)}.home-main .world-list>a div b{font-size:15.5px}
  .home-main .photo-grid{grid-template-columns:1fr}.home-main .photo-grid .photo-big{grid-column:auto}.home-main .photo-grid img,.home-main .photo-grid .photo-big img{height:190px}
  .home-main .signup-banner form{grid-template-columns:1fr}.home-main .signup-banner input{border-radius:7px}.home-main .signup-banner button{min-height:44px;border-radius:7px;margin-top:7px}
}

@media(max-width:360px){
  .home-main .hero-card{min-height:286px}.home-main .hero-overlay{padding:13px}.home-main .hero-overlay h1{font-size:24px}
  .home-main .lead-item{grid-template-columns:78px minmax(0,1fr)}.home-main .lead-item img{width:78px;height:60px}
  .home-main .topics a{font-size:11.3px;padding:9px 5px}
}

@media(hover:none),(pointer:coarse){
  .home-main .news-card:hover,.home-main .rail-card:hover,.home-main .lead-item:hover,.home-main .vertical-panel:hover{transform:none;box-shadow:var(--home-shadow)}
  .home-main .hero-card:hover .hero-media,.home-main .news-card:hover .news-img img{transform:none}
  .home-main .newsletter-mini button,.home-main .signup-banner button{min-height:44px}
}
@media(prefers-reduced-motion:reduce){.home-main *, .home-main *:before, .home-main *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Shorts keeps the pre-consolidation visual treatment while adapting cleanly on phones. */
@media(max-width:640px){
  .home-main .shorts-card{grid-template-columns:minmax(0,1fr) 74px}
  .home-main .short-main{min-height:248px}
  .home-main .short-thumbs img{height:120px}
}
@media(max-width:390px){
  .home-main .shorts-card{grid-template-columns:1fr}
  .home-main .short-main{min-height:260px}
  .home-main .short-thumbs{grid-template-columns:1fr 1fr}
  .home-main .short-thumbs img{height:90px}
}
/* Configurable full-story card density: compact spacing only; typography stays in parity with article cards. */
.home-main .homepage-module.density-compact .news-card{padding:10px}.home-main .homepage-module.density-compact .news-card .news-img{height:132px}
@media(max-width:1024px){.home-main .homepage-module.density-compact .news-card .news-img{height:145px}}
@media(max-width:640px){.home-main .homepage-module.density-compact .news-card .news-img{height:176px}}


/* v21.10.7.3.13 — homepage visual parity with category.php.
   Preserve homepage layouts; equivalent story/panel surfaces follow the shared category design language. */
.home-main{
  --home-border:#e8ecf3;
  --home-radius:10px;
  --home-section-title:24px;
  --home-card-title:17px;
  --home-body:13px;
  --home-meta:12px;
}
.home-main .section{margin:28px 0}
.home-main .section-head{margin-bottom:12px}
.home-main .section-head h2,
.home-main .section h2,
.home-main .topics h2{font-size:24px;line-height:1.2;font-weight:800;letter-spacing:0}
.home-main .section-head>a{font-size:13px;font-weight:700;color:#146cff}

/* Exact category-card treatment for full homepage story cards. */
.home-main .news-card{
  padding:12px;
  border:1px solid #e8ecf3;
  border-radius:10px;
  background:#fff;
  box-shadow:none;
}
.home-main .news-card .news-img{height:155px;border-radius:8px}
.home-main .news-card .news-img img{border-radius:8px}
.home-main .category-card-meta{display:block;margin-top:8px;font-size:12px;line-height:1.35;color:#6b7586;font-weight:400}
.home-main .news-card h3{margin:8px 0;font-size:17px;line-height:1.25;font-weight:700;letter-spacing:0}
.home-main .news-card p{margin:0 0 10px;font-size:13px;line-height:1.45;color:#5c6676}
.home-main .news-card .tag-row{margin-top:auto}
.home-main .story-tag{padding:5px 9px;font-size:11.5px;font-weight:700;border-color:#e0e5ec;background:#f7f9fc}
.home-main .image-type-badge,.home-main .story-meta,.home-main .card-bottom,.home-main .source-line{display:none!important}

/* Homepage supporting cards use the same simple category surface. */
.home-main .lead-item,
.home-main .rail-card,
.home-main .widget,
.home-main .timeline-card,
.home-main .explainer-card,
.home-main .shorts-card,
.home-main .vertical-panel,
.home-main .local-news,
.home-main .most-read,
.home-main .photo-stories,
.home-main .world-list,
.home-main .source-list{
  border:1px solid #e8ecf3;
  border-radius:10px;
  background:#fff;
  box-shadow:none;
}
.home-main .lead-item,.home-main .rail-card{padding:12px}
.home-main .timeline-card,.home-main .explainer-card,.home-main .shorts-card,
.home-main .vertical-panel,.home-main .local-news,.home-main .most-read,
.home-main .photo-stories,.home-main .world-list,.home-main .source-list{padding:12px}
.home-main .widget{padding:12px}
.home-main .vertical-panel .section-head h2{font-size:20px}
.home-main .vertical-panel .section-head>a{font-size:12px}
.home-main .vertical-panel>a>h3{font-size:17px;line-height:1.25;font-weight:700}
.home-main .mini-story span,.home-main .explainer-list b{font-size:14px;line-height:1.35;font-weight:700}
.home-main .timeline-row span,.home-main .most-read>a>span{font-size:14px;line-height:1.4;font-weight:700}
.home-main .local-news .mini-story.wide span b,
.home-main .world-list>a div b{font-size:16px;line-height:1.3;font-weight:700}
.home-main .photo-grid b{font-size:16px;line-height:1.3;font-weight:700}
.home-main .source-list>a b{font-size:14px;font-weight:700}

/* Topic cards match category.php topic cards. */
.home-main .topics>div{gap:10px}
.home-main .topics a{padding:16px 8px;border:1px solid #e8ecf3;border-radius:10px;background:#fff;font-size:13px;line-height:1.25;font-weight:700}
.home-main .topics a span{font-size:13px}

/* Keep special editorial/media roles distinct while using category page border language. */
.home-main .hero-card{border-radius:10px}
.home-main .short-main{border-radius:8px}
.home-main .short-thumbs img,.home-main .vertical-feature,.home-main .explainer-feature img,.home-main .photo-grid a{border-radius:8px}

/* Newsletter stays promotional, but its controls and container match public category surfaces. */
.home-main .signup-banner{padding:16px;border:1px solid #e8ecf3;border-radius:10px;background:#fff}
.home-main .signup-banner h2{font-size:20px}
.home-main .signup-banner p{font-size:13px;color:#5c6676}
.home-main .signup-banner input{padding:12px;border-color:#cfd6e1;font-size:13px}
.home-main .signup-banner button{padding:12px 16px;font-size:13px;font-weight:700}
.home-main .newsletter-mini input{font-size:13px;padding:10px}
.home-main .newsletter-mini button{font-size:12px;padding:10px 12px}

@media(hover:hover) and (pointer:fine){
  .home-main .news-card:hover,.home-main .rail-card:hover,.home-main .lead-item:hover,.home-main .vertical-panel:hover{
    transform:none;border-color:#e8ecf3;box-shadow:none
  }
  .home-main .news-card:hover .news-img img{transform:scale(1.02)}
}
@media(max-width:1050px){
  .home-main .news-card .news-img{height:155px}
}
@media(max-width:640px){
  .home-main .section{margin:28px 0}
  .home-main .section-head h2,.home-main .section h2,.home-main .topics h2{font-size:24px}
  .home-main .section-head>a{font-size:13px}
  .home-main .news-card{padding:12px}
  .home-main .news-card .news-img{height:190px}
  .home-main .news-card h3{font-size:17px}
  .home-main .news-card p{font-size:13px}
  .home-main .topics a{font-size:13px;padding:16px 8px}
}

/* v21.10.7.3.14 — homepage-only card consistency pass.
   Keep specialized editorial roles distinct, but make equivalent homepage cards
   use one category-style surface/header/story system. No other page is affected. */
.home-main{
  --home-shared-border:#e8ecf3;
  --home-shared-radius:10px;
  --home-shared-pad:12px;
  --home-shared-title:17px;
  --home-shared-body:13px;
  --home-shared-meta:12px;
  --home-shared-section:24px;
}

/* One section-header system across homepage modules. */
.home-main .section-head,
.home-main .vertical-panel .section-head,
.home-main .local-news .section-head,
.home-main .most-read .section-head,
.home-main .photo-stories .section-head,
.home-main .world-list .section-head,
.home-main .source-list .section-head,
.home-main .timeline-card .section-head,
.home-main .explainer-card .section-head,
.home-main .shorts-card .section-head{
  margin-bottom:12px;
}
.home-main .section-head h2,
.home-main .vertical-panel .section-head h2,
.home-main .local-news .section-head h2,
.home-main .most-read .section-head h2,
.home-main .photo-stories .section-head h2,
.home-main .world-list .section-head h2,
.home-main .source-list .section-head h2,
.home-main .timeline-card .section-head h2,
.home-main .explainer-card .section-head h2,
.home-main .shorts-card .section-head h2,
.home-main .topics h2{
  margin:0;
  font-size:var(--home-shared-section);
  line-height:1.2;
  font-weight:800;
  letter-spacing:0;
  color:#152033;
}
.home-main .section-head>a,
.home-main .vertical-panel .section-head>a,
.home-main .local-news .section-head>a,
.home-main .most-read .section-head>a,
.home-main .photo-stories .section-head>a,
.home-main .world-list .section-head>a,
.home-main .source-list .section-head>a{
  font-size:13px;
  line-height:1.2;
  font-weight:700;
  color:#146cff;
}

/* Same card shell for equivalent homepage content panels. */
.home-main .news-card,
.home-main .vertical-panel,
.home-main .local-news,
.home-main .photo-stories,
.home-main .world-list,
.home-main .timeline-card,
.home-main .explainer-card,
.home-main .shorts-card,
.home-main .most-read,
.home-main .source-list,
.home-main .widget,
.home-main .rail-card,
.home-main .lead-item{
  border:1px solid var(--home-shared-border);
  border-radius:var(--home-shared-radius);
  background:#fff;
  box-shadow:none;
}
.home-main .news-card,
.home-main .vertical-panel,
.home-main .local-news,
.home-main .photo-stories,
.home-main .world-list,
.home-main .timeline-card,
.home-main .explainer-card,
.home-main .shorts-card,
.home-main .most-read,
.home-main .source-list,
.home-main .widget,
.home-main .rail-card,
.home-main .lead-item{
  padding:var(--home-shared-pad);
}

/* Standard full story cards. */
.home-main .news-card .news-img{height:155px;border-radius:8px}
.home-main .news-card h3{
  margin:8px 0;
  font-size:var(--home-shared-title);
  line-height:1.25;
  font-weight:700;
  letter-spacing:0;
  color:#152033;
}
.home-main .news-card p{
  margin:0 0 10px;
  font-size:var(--home-shared-body);
  line-height:1.45;
  color:#5c6676;
}
.home-main .category-card-meta,
.home-main .news-card small{
  font-size:var(--home-shared-meta);
  line-height:1.35;
  color:#6b7586;
}

/* Business / Technology / Sports / Entertainment: same panel and main-story scale. */
.home-main .vertical-panel{padding:var(--home-shared-pad)}
.home-main .vertical-feature{
  width:100%;
  height:155px;
  object-fit:cover;
  border-radius:8px;
  background:#eef2f7;
}
.home-main .vertical-panel>a>h3{
  margin:8px 0;
  font-size:var(--home-shared-title);
  line-height:1.25;
  font-weight:700;
  letter-spacing:0;
  color:#152033;
}
.home-main .mini-story{
  gap:9px;
  padding:9px 0;
  border-top:1px solid #edf0f5;
}
.home-main .mini-story span,
.home-main .explainer-list b{
  font-size:14px;
  line-height:1.35;
  font-weight:700;
  color:#26354b;
}

/* Equivalent visual-story modules share the same title/meta scale. */
.home-main .local-news .mini-story.wide span b,
.home-main .world-list>a div b,
.home-main .photo-grid b{
  font-size:var(--home-shared-title);
  line-height:1.3;
  font-weight:700;
  color:#152033;
}
.home-main .local-news .mini-story.wide small,
.home-main .world-list>a div small,
.home-main .photo-grid small{
  font-size:var(--home-shared-meta);
  line-height:1.35;
  color:#6b7586;
}
.home-main .local-news .mini-story.wide,
.home-main .world-list>a{
  padding:9px 0;
  border-top:1px solid #edf0f5;
}
.home-main .photo-grid{gap:10px}
.home-main .photo-grid a{border-radius:8px}

/* Source cards are identity cards, but use the same shell/spacing language. */
.home-main .source-list>a{
  gap:10px;
  padding:10px 0;
  border-top:1px solid #edf0f5;
}
.home-main .source-logo{width:36px;height:36px;border-radius:8px}
.home-main .source-list>a b{font-size:15px;line-height:1.3;font-weight:700;color:#152033}
.home-main .source-list>a em{font-size:12px;font-weight:700;color:#146cff}

/* Supporting-list roles remain deliberately compact. */
.home-main .timeline-row span,
.home-main .most-read>a>span,
.home-main .rail-card b{
  font-size:14px;
  line-height:1.4;
  font-weight:700;
}
.home-main .timeline-row time,
.home-main .most-read small,
.home-main .rail-card small{
  font-size:11.5px;
  line-height:1.35;
  color:#6b7586;
}

/* Topic + subscribe cards keep utility hierarchy but use the same shell. */
.home-main .topics a,
.home-main .signup-banner{
  border:1px solid var(--home-shared-border);
  border-radius:var(--home-shared-radius);
  background:#fff;
  box-shadow:none;
}
.home-main .topics a{font-size:13px;line-height:1.25;font-weight:700;padding:16px 8px}
.home-main .signup-banner{padding:16px}

@media(hover:hover) and (pointer:fine){
  .home-main .news-card:hover,
  .home-main .vertical-panel:hover,
  .home-main .local-news:hover,
  .home-main .photo-stories:hover,
  .home-main .world-list:hover,
  .home-main .rail-card:hover,
  .home-main .lead-item:hover{
    transform:none;
    border-color:var(--home-shared-border);
    box-shadow:none;
  }
}

@media(max-width:640px){
  .home-main .section-head h2,
  .home-main .vertical-panel .section-head h2,
  .home-main .local-news .section-head h2,
  .home-main .most-read .section-head h2,
  .home-main .photo-stories .section-head h2,
  .home-main .world-list .section-head h2,
  .home-main .source-list .section-head h2,
  .home-main .timeline-card .section-head h2,
  .home-main .explainer-card .section-head h2,
  .home-main .shorts-card .section-head h2,
  .home-main .topics h2{
    font-size:22px;
  }
  .home-main .vertical-panel>a>h3,
  .home-main .local-news .mini-story.wide span b,
  .home-main .world-list>a div b,
  .home-main .photo-grid b,
  .home-main .news-card h3{
    font-size:17px;
  }
  .home-main .vertical-feature{height:190px}
}


/* v21.10.7.3.17 — homepage mini-story image + queue rendering repair. */
.home-main .mini-story{min-width:0}
.home-main .mini-story .mini-thumb{
  display:block;
  width:58px;
  height:44px;
  min-width:58px;
  overflow:hidden;
  border-radius:6px;
  background:#eef2f7;
  line-height:0;
}
.home-main .mini-story .mini-thumb img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  border-radius:0;
  background:#eef2f7;
}
.home-main .mini-story .mini-title{
  min-width:0;
  font-size:14px;
  line-height:1.35;
  font-weight:700;
  color:#26354b;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.home-main .local-news .mini-story.wide .mini-thumb{
  width:98px;
  height:66px;
  min-width:98px;
}
.home-main .local-news .mini-story.wide .mini-copy{min-width:0;display:block}
@media(max-width:640px){
  .home-main .mini-story .mini-thumb{width:64px;height:48px;min-width:64px}
  .home-main .local-news .mini-story.wide .mini-thumb{width:90px;height:62px;min-width:90px}
}

/* Enabled homepage modules remain visible when there are no eligible stories. */
.home-main .home-empty-placeholder{display:flex;align-items:center;gap:12px;min-height:76px;padding:15px 17px;border:1px dashed #d7e0eb;border-radius:10px;background:#fbfcfe;color:var(--home-muted)}
.home-main .home-empty-placeholder>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:9px;background:#f0f4fa;color:#7b8798;font-size:21px;font-weight:700}
.home-main .home-empty-placeholder strong{display:block;color:#344256;font-size:13px;font-weight:750}
.home-main .home-empty-placeholder p{margin:3px 0 0;color:#788497;font-size:11.5px;line-height:1.45}
.home-main .home-empty-hero{min-height:405px;display:flex;align-items:center}
.home-main .home-empty-hero .home-empty-placeholder{width:100%;min-height:180px;background:#fbfcfe}
.home-main .home-empty-inline{display:grid;align-content:center;gap:4px;min-height:72px;padding:11px 13px;border:1px dashed #d7e0eb;border-radius:10px;background:#fbfcfe}
.home-main .home-empty-inline b{font-size:10px;color:#788497}
.home-main .home-empty-inline span{font-size:12px;color:#657185}
.home-main .home-empty-breaking{display:flex;align-items:center;gap:12px;background:#fbfcfe;border-style:dashed;border-color:#e1e7ef}
.home-main .home-empty-breaking strong{background:#758196}
.home-main .vertical-panel .home-empty-placeholder{min-height:125px}
