/* Incremental improvements to existing news pages. No logo, language, feed or API changes. */
/* Branded mastheads remain navy in both modes; avoid pale gradient stops behind small white text. */
body .tp-hero,body .series-hero,
[data-theme="dark"] body .tp-hero,[data-theme="dark"] body .series-hero,
body .signal-masthead::before {
  background:linear-gradient(135deg,#162d4a 0%,#1e3a5f 50%,#254b78 100%) !important;
}
body .tp-hero :is(.tp-hero-breadcrumb,.tp-hero-breadcrumb a,.tp-hero-desc,.tp-hero-meta,.tp-hero-count,.tp-hero-label),
body .series-hero .series-hero-desc,
body .signal-masthead :is(.signal-kicker,.signal-nameplate p,.signal-masthead-deck,.signal-status) {
  color:#dce6f2;opacity:1;
}
body :is(.tp-hero-title,.series-hero-title,.tag-header-title,.mp-hero-title) {overflow-wrap:anywhere;text-wrap:balance;line-height:1.3;}
body .tp-hero-meta {flex-wrap:wrap;row-gap:8px;}
[data-theme="dark"] body .mp-range[aria-pressed="true"] {color:#0b0d10;}
@media(max-width:640px) {
  body .tp-hero,body .series-hero {padding:32px 20px;}
  body .tag-header-section {padding-block:32px;}
}
body :where(a,button,input,select,summary,[tabindex]):focus-visible { outline:2px solid var(--accent,#1e3a5f); outline-offset:4px; }
.post-template .post-title,.page-template .post-title { text-wrap:balance; overflow-wrap:anywhere; line-height:1.3; }
.post-template .post-excerpt { line-height:1.75; }
.post-template .post-content,.page-template .post-content { min-width:0; overflow-wrap:anywhere; }
.post-template .post-content > p,.page-template .post-content > p { font-size:18px; line-height:1.9; margin-bottom:24px; }
.post-template .post-content :is(h2,h3),.page-template .post-content :is(h2,h3) { line-height:1.5; scroll-margin-top:140px; }
.post-template .post-content > h2,.page-template .post-content > h2 { margin-top:48px; margin-bottom:20px; }
.post-template .post-content > :is(ul,ol),.page-template .post-content > :is(ul,ol) { line-height:1.85; padding-left:1.5em; }
.post-template .post-content :is(p,li) > a,.page-template .post-content :is(p,li) > a { text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; }
.post-template .post-content figcaption,.page-template .post-content figcaption { font-size:13px; line-height:1.7; overflow-wrap:anywhere; }
.post-template .post-content pre,.page-template .post-content pre { max-width:100%; overflow:auto; }
.sp-editorial-table { max-width:100%; overflow-x:auto; margin-block:24px; }
.sp-editorial-table table { width:100%; border-collapse:collapse; }
.sp-editorial-table :is(th,td) { min-width:100px; padding:12px; overflow-wrap:normal; }
.sp-editorial-toc { max-width:720px; margin:24px auto; border-block:1px solid var(--border); padding:12px 0; color:var(--text-primary); }
.sp-editorial-toc summary { cursor:pointer; font-weight:600; font-size:14px; padding:10px 0; }
.sp-editorial-toc nav { max-height:45vh; overflow:auto; }
.sp-editorial-toc ol { padding-left:1.5em; margin:12px 0; }
.sp-editorial-toc a { display:inline-block; padding:6px 0; font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.home-template :is(.pick-card-title,.cat-feature-title,.cat-list-title,.cat-item-title,.en-list-title),
.tag-template :is(.tag-article-title,.tp-article-title,.series-card-title),
.author-template .tag-article-title { overflow-wrap:anywhere; line-height:1.45; }
.home-template :is(.pick-card-body,.cat-feature-body,.cat-list-item,.en-list-item),
.tag-template :is(.tag-article,.tp-article),.author-template .tag-article { min-width:0; }
.tag-template .tag-header-desc,.tag-template .tp-hero-desc,.author-template .tag-header-desc { line-height:1.8; }
.tag-template .pagination,.author-template .pagination { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:16px; }
.tag-template .pagination a,.author-template .pagination a { min-height:44px; display:inline-flex; align-items:center; padding:8px 14px; }
@media(max-width:640px) {
 .post-template .post-content > p,.page-template .post-content > p { font-size:17px; line-height:1.85; }
 .post-template .post-meta-bar { flex-wrap:wrap; gap:14px; }
 .post-template .post-meta-left { flex-wrap:wrap; row-gap:8px; }
 .post-template .post-language-switch { flex-wrap:wrap; gap:10px; }
 .sp-editorial-toc { margin-inline:0; }
 .home-template :is(.section-header,.cat-header),.tag-template .section-header { flex-wrap:wrap; gap:12px; }
}
@media(prefers-reduced-motion:reduce) { .sp-editorial-toc { scroll-behavior:auto; } }
@media print { .sp-editorial-toc { display:none; } }

/* Section fronts: hierarchy and reading paths, rather than an undifferentiated feed. */
.sp-section-hub { --hub-accent:var(--accent); color:var(--text-primary); }
.sp-section-hub[data-section="market"],.sp-section-hub[data-section="finance"] { --hub-accent:#285771; }
.sp-section-hub[data-section="politics"] { --hub-accent:#884142; }
.sp-section-hub[data-section="tech"] { --hub-accent:#514a88; }
.sp-section-hub[data-section="livelihood"] { --hub-accent:#37665b; }
[data-theme="dark"] .sp-section-hub { --hub-accent:#aac6e5; }
.sp-hub-inner { max-width:1240px; margin:0 auto; padding-inline:24px; }
.sp-hub-header { background:var(--bg-secondary); padding:48px 0 28px; border-bottom:1px solid var(--border); }
.sp-hub-header h1 { font:800 clamp(36px,5vw,64px)/1.2 var(--font-serif); margin:20px 0; color:var(--text-primary); }
.sp-hub-header p { max-width:760px; font-size:18px; line-height:1.85; color:var(--text-secondary); }
.sp-hub-header nav { display:flex; flex-wrap:wrap; gap:12px 24px; margin-top:24px; }
.sp-hub-header nav a { padding:10px 0; font-size:14px; color:var(--hub-accent); }
.sp-hub-eyebrow { display:block; color:var(--hub-accent,var(--accent)); font:650 12px/1.5 var(--font-sans); letter-spacing:.1em; }
.sp-hub-feature { padding-block:36px; }
.sp-hub-feature:empty { display:none; }
.sp-hub-feature:not(:has(article)) { display:none; }
.sp-hub-lead { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); background:var(--bg-secondary); border-block:1px solid var(--border); }
.sp-hub-lead-image { display:block; min-width:0; }
.sp-hub-lead-image img { width:100%; height:100%; object-fit:cover; aspect-ratio:3/2; }
.sp-hub-lead-copy { padding:32px; min-width:0; }
.sp-hub-lead h2 { font:750 clamp(25px,2.8vw,38px)/1.4 var(--font-serif); margin:16px 0; overflow-wrap:anywhere; }
.sp-hub-lead h2 a,.sp-hub-picks h3 a,.sp-hub-archive h3 a { color:var(--text-primary); }
.sp-hub-lead-copy p { font-size:16px; line-height:1.85; color:var(--text-secondary); margin-bottom:20px; }
.sp-hub-read { display:inline-block; color:var(--hub-accent); border-bottom:1px solid currentColor; margin-top:24px; padding-bottom:6px; font-size:14px; }
.sp-hub-lead-text { grid-template-columns:1fr; border-top:3px solid var(--hub-accent); }
.sp-hub-lead-text .sp-hub-lead-copy { max-width:920px; }
.sp-hub-section-heading { display:flex; justify-content:space-between; align-items:baseline; gap:16px; border-bottom:1px solid var(--border); padding-bottom:14px; margin-bottom:24px; }
.sp-hub-section-heading h2 { font:700 22px/1.5 var(--font-serif); }
.sp-hub-section-heading > span { color:var(--text-tertiary); font-size:12px; }
.sp-hub-picks { padding-block:12px 40px; }
.sp-hub-picks-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.sp-hub-picks h3 { font:700 20px/1.5 var(--font-serif); margin:12px 0; }
.sp-hub-picks p { font-size:14px; line-height:1.8; color:var(--text-secondary); }
.sp-hub-main { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:48px; padding-block:24px 64px; }
.sp-hub-archive { padding:0; min-width:0; scroll-margin-top:120px; }
.sp-hub-archive-item { display:grid; grid-template-columns:100px minmax(0,1fr) auto; gap:20px; padding:24px 0; border-bottom:1px solid var(--border); }
.sp-hub-archive-item h3 { font:700 21px/1.5 var(--font-serif); margin:0 0 10px; overflow-wrap:anywhere; }
.sp-hub-archive-item p { color:var(--text-secondary); font-size:14px; line-height:1.8; margin-bottom:12px; }
.sp-hub-meta { color:var(--text-tertiary); font-size:12px; line-height:1.7; }
.sp-hub-thumb { width:120px; align-self:start; }
.sp-hub-thumb img { width:100%; aspect-ratio:3/2; height:auto; object-fit:cover; }
.sp-hub-guide { align-self:start; padding:24px 0; border-top:3px solid var(--hub-accent); scroll-margin-top:120px; }
.sp-hub-guide h2 { font:700 23px/1.5 var(--font-serif); margin:16px 0; }
.sp-hub-guide p { font-size:15px; line-height:1.85; color:var(--text-secondary); }
.sp-hub-guide a { display:inline-block; color:var(--hub-accent); margin-top:20px; padding:8px 0; font-size:14px; }
.sp-section-hub[data-section="politics"] .sp-hub-archive-list { border-left:1px solid var(--border); padding-left:24px; }
.sp-section-hub[data-section="politics"] .sp-hub-archive-item { position:relative; }
.sp-section-hub[data-section="politics"] .sp-hub-archive-item::before { content:""; position:absolute; width:7px; height:7px; border-radius:50%; background:var(--hub-accent); left:-28px; top:31px; }
.sp-section-hub[data-section="tech"] .sp-hub-picks-grid article { background:var(--bg-secondary); padding:24px; border-top:3px solid var(--hub-accent); }
.sp-section-hub[data-section="livelihood"] .sp-hub-guide { background:var(--bg-secondary); padding:24px; }
.sp-section-hub[data-section="english"] .sp-hub-header h1 { font-family:Georgia,serif; letter-spacing:-.035em; }
.sp-section-hub[data-section="english"] .sp-hub-lead h2 { font-family:Georgia,serif; line-height:1.2; }
.sp-reading-paths { padding:48px 0; border-top:1px solid var(--border); background:var(--bg-secondary); }
.sp-path-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.sp-path-grid > a { color:var(--text-primary); border-top:2px solid var(--accent); padding:20px 0; }
.sp-path-grid span { color:var(--text-tertiary); font-size:12px; }
.sp-path-grid h3 { font:700 22px/1.5 var(--font-serif); margin:12px 0; }
.sp-path-grid p { color:var(--text-secondary); font-size:14px; line-height:1.8; }
@media(max-width:1000px) { .sp-hub-main { grid-template-columns:minmax(0,1fr); gap:32px; }.sp-hub-guide { max-width:760px; }.sp-hub-lead { grid-template-columns:1fr; }.sp-hub-lead-image img { max-height:460px; }.sp-path-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .sp-hub-inner { padding-inline:20px; }.sp-hub-header { padding-top:32px; }.sp-hub-lead-copy { padding:24px 0; }.sp-hub-picks-grid,.sp-path-grid { grid-template-columns:1fr; }.sp-hub-archive-item { grid-template-columns:minmax(0,1fr) auto; gap:10px 16px; }.sp-hub-archive-item > .sp-hub-meta { grid-column:1/-1; }.sp-hub-thumb { width:88px; }.sp-hub-archive-item h3 { font-size:19px; }.sp-hub-header p { font-size:17px; } }

