/* CampbellStocks: homepage sections, category pages and the book shelf.
   Everything is prefixed hs- so it cannot clash with your other styles. */

.hs-wrap, .hs-page {
  --hs-red: #EA1E20;
  --hs-ink: #111827;
  --hs-muted: #5b6472;
  --hs-line: #dcdfe4;
  --hs-card: #ffffff;
  --hs-chip: #eceef2;
  --hs-serif: Georgia, 'Times New Roman', Times, serif;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--hs-ink);
}
body.dark-mode .hs-wrap, body.dark-mode .hs-page {
  --hs-ink: #eaeef2;
  --hs-muted: #a3acb9;
  --hs-line: #2f3345;
  --hs-card: #1a1a28;
  --hs-chip: #242638;
}

.hs-wrap { max-width: 1200px; margin: 0 auto; padding: 28px 16px 8px; }
.hs-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 36px; align-items: start; }
@media (min-width: 820px) { .hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hs-grid .hs-books { grid-column: 1 / -1; } }
.hs-embed { max-width: none; padding: 0; }
.hs-embed .hs-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .hs-embed .hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- section heading: red dash, bold title, grey rule ---- */
.hs-sec { min-width: 0; }
.hs-sec-head { display: flex; align-items: flex-end; gap: 10px; margin: 0 0 18px; }
.hs-dash { flex: none; width: 22px; height: 4px; background: var(--hs-red); margin-bottom: 9px; }
.hs-sec-title { flex: none; margin: 0; font-size: 1.7rem; line-height: 1.15; font-weight: 800; letter-spacing: -.3px; }
.hs-sec-title a:hover { color: var(--hs-red); }
.hs-rule { flex: 1; height: 3px; background: var(--hs-line); margin-bottom: 9px; border-radius: 2px; }

/* ---- featured story ---- */
.hs-feature { margin: 0 0 6px; }
.hs-feature-img { display: block; overflow: hidden; background: var(--hs-chip); aspect-ratio: 16 / 9; }
.hs-feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.hs-feature-img:hover img { transform: scale(1.03); }
.hs-feature-title { margin: 14px 0 6px; font-family: var(--hs-serif); font-size: 1.55rem; line-height: 1.22; font-weight: 700; }
.hs-feature-title a:hover, .hs-item-title a:hover, .hs-card-title a:hover { color: var(--hs-red); }
.hs-sum { margin: 8px 0 0; color: var(--hs-muted); font-size: .95rem; line-height: 1.55; }

.hs-cat { display: inline-block; margin: 12px 0 0; color: var(--hs-red); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hs-cat:hover { text-decoration: underline; }
.hs-by { margin: 6px 0 0; color: var(--hs-red); font-size: .9rem; font-weight: 500; }
.hs-by time { color: var(--hs-muted); }

/* ---- list of stories with thumbnails on the right ---- */
.hs-list { list-style: none; margin: 18px 0 0; padding: 0; }
.hs-item { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid var(--hs-line); }
.hs-item .hs-cat { margin-top: 0; }
.hs-item-title { margin: 3px 0 0; font-family: var(--hs-serif); font-size: 1.12rem; line-height: 1.3; font-weight: 600; }
.hs-thumb { display: block; width: 96px; height: 88px; overflow: hidden; background: var(--hs-chip); }
.hs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-item.is-new { animation: hs-in .35s ease both; }
@keyframes hs-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- buttons ---- */
.hs-actions { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.hs-more {
  display: block; width: 100%; padding: 14px 16px; text-align: center; cursor: pointer;
  font: 600 1rem/1.2 'Inter', 'Segoe UI', sans-serif; color: var(--hs-ink); background: transparent;
  border: 1px solid var(--hs-red); border-radius: 2px; transition: background .2s, color .2s;
}
.hs-more:hover, .hs-more:focus-visible { background: var(--hs-red); color: #fff; }
.hs-more[aria-busy="true"] { opacity: .65; pointer-events: none; }
.hs-viewall { align-self: center; font-size: .92rem; font-weight: 600; color: var(--hs-red); }
.hs-viewall:hover { text-decoration: underline; }
.hs-wrap a:focus-visible, .hs-page a:focus-visible, .hs-wrap button:focus-visible, .hs-page button:focus-visible { outline: 3px solid rgba(234, 30, 32, .45); outline-offset: 2px; }

/* ================= book shelf ================= */
.hs-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.hs-tab {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--hs-line); background: var(--hs-chip);
  color: var(--hs-ink); font: 600 .9rem/1 'Inter', sans-serif; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.hs-tab:hover { border-color: var(--hs-red); }
.hs-tab[aria-selected="true"] { background: var(--hs-red); border-color: var(--hs-red); color: #fff; }

.hs-shelf-wrap { position: relative; }
.hs-shelf { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.hs-book {
  flex: none; width: 132px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
  scroll-snap-align: start; color: inherit; font: inherit; transition: transform .2s;
}
.hs-book:hover { transform: translateY(-4px); }
.hs-book-cover { display: block; width: 132px; height: 188px; overflow: hidden; border-radius: 3px 8px 8px 3px; background: var(--hs-chip); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); border-left: 4px solid rgba(0, 0, 0, .25); }
.hs-book-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-book[aria-expanded="true"] .hs-book-cover { outline: 3px solid var(--hs-red); outline-offset: 2px; }
.hs-book-title { display: block; margin-top: 10px; font-family: var(--hs-serif); font-size: .95rem; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hs-book-author { display: block; margin-top: 3px; font-size: .8rem; color: var(--hs-muted); }

.hs-arrow {
  position: absolute; top: 74px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(17, 24, 39, .85); color: #fff; font-size: 1.6rem; line-height: 1; display: none; align-items: center; justify-content: center;
}
.hs-arrow:hover { background: var(--hs-red); }
.hs-arrow[disabled] { opacity: .25; cursor: default; }
.hs-prev { left: -8px; } .hs-next { right: -8px; }
@media (hover: hover) and (min-width: 700px) { .hs-arrow { display: flex; } }

.hs-bookdetail {
  position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; margin: 6px 0 4px; padding: 20px;
  background: var(--hs-card); border: 1px solid var(--hs-line); border-left: 4px solid var(--hs-red); border-radius: 4px; animation: hs-in .3s ease both;
}
.hs-bookdetail[hidden] { display: none; }
.hs-bd-cover { width: 120px; height: 170px; object-fit: cover; border-radius: 3px 8px 8px 3px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.hs-bd-title { margin: 0 28px 4px 0; font-family: var(--hs-serif); font-size: 1.3rem; line-height: 1.25; }
.hs-bd-author { margin: 0 0 10px; color: var(--hs-red); font-weight: 600; font-size: .92rem; }
.hs-bd-summary { margin: 0 0 14px; color: var(--hs-muted); line-height: 1.6; font-size: .95rem; }
.hs-bd-link { display: inline-block; padding: 10px 18px; background: var(--hs-red); color: #fff !important; border-radius: 2px; font-weight: 600; font-size: .92rem; }
.hs-bd-link:hover { filter: brightness(.92); }
.hs-bd-close { position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--hs-muted); cursor: pointer; }
.hs-bd-close:hover { color: var(--hs-red); }
@media (max-width: 520px) { .hs-bookdetail { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 16px; } .hs-bd-cover { width: 84px; height: 120px; } }

/* ================= category / listing pages ================= */
.hs-page { max-width: 1200px; margin: 0 auto; padding: 28px 16px 40px; }
.hs-page-title { margin: 0 0 6px; font-size: 2rem; font-weight: 800; letter-spacing: -.4px; display: flex; align-items: flex-end; gap: 10px; }
.hs-page-title .hs-dash { margin-bottom: 11px; }
.hs-page-lead { margin: 0 0 18px; color: var(--hs-muted); }
.hs-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; margin: 0 0 14px; scrollbar-width: none; }
.hs-chips::-webkit-scrollbar { display: none; }
.hs-chip {
  flex: none; padding: 8px 15px; border-radius: 999px; background: var(--hs-chip); border: 1px solid var(--hs-line);
  font-size: .88rem; font-weight: 600; white-space: nowrap; color: var(--hs-ink); transition: background .2s, color .2s;
}
.hs-chip:hover { border-color: var(--hs-red); color: var(--hs-red); }
.hs-chip.is-active { background: var(--hs-red); border-color: var(--hs-red); color: #fff; }

.hs-cards { display: grid; gap: 28px 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .hs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .hs-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hs-card { background: var(--hs-card); border: 1px solid var(--hs-line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.hs-card-img { display: block; aspect-ratio: 16 / 9; background: var(--hs-chip); overflow: hidden; }
.hs-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.hs-card-img:hover img { transform: scale(1.04); }
.hs-card-body { padding: 4px 16px 18px; }
.hs-card-title { margin: 6px 0 4px; font-family: var(--hs-serif); font-size: 1.15rem; line-height: 1.3; font-weight: 700; }

.hs-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 34px 0 0; }
.hs-pager a, .hs-pager span { min-width: 42px; padding: 10px 14px; text-align: center; border: 1px solid var(--hs-line); border-radius: 3px; font-weight: 600; font-size: .92rem; background: var(--hs-card); }
.hs-pager a:hover { border-color: var(--hs-red); color: var(--hs-red); }
.hs-pager .is-current { background: var(--hs-red); border-color: var(--hs-red); color: #fff; }
.hs-pager .is-gap { border-color: transparent; background: none; }
.hs-empty { padding: 40px 16px; text-align: center; color: var(--hs-muted); border: 1px dashed var(--hs-line); border-radius: 4px; }

@media (max-width: 480px) {
  .hs-sec-title { font-size: 1.45rem; }
  .hs-feature-title { font-size: 1.35rem; }
  .hs-page-title { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-wrap *, .hs-page * { animation: none !important; transition: none !important; }
}

/* ================= homepage: chip bar, hero, sidebar, follow ================= */
.hs-home { padding-top: 12px; }
.hs-chipbar { margin: 0 0 18px; border-bottom: 1px solid var(--hs-line); }
.hs-chipscroll { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.hs-chipscroll::-webkit-scrollbar { display: none; }
.hs-chipscroll .hs-chip { flex: none; scroll-snap-align: start; }
.hs-chip { display: inline-block; padding: 8px 15px; border-radius: 999px; background: var(--hs-chip); color: var(--hs-ink); font-size: .85rem; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.hs-chip:hover { background: var(--hs-red); color: #fff; }
.hs-chip.is-active { background: var(--hs-red); color: #fff; }

.hs-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; margin-bottom: 34px; }
.hs-lead-img { display: block; overflow: hidden; background: var(--hs-chip); aspect-ratio: 16 / 9; border-radius: 6px; }
.hs-lead-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.hs-lead-img:hover img { transform: scale(1.03); }
.hs-lead-title { margin: 8px 0 8px; font-family: var(--hs-serif); font-size: 1.7rem; line-height: 1.2; font-weight: 700; }
.hs-lead-title a:hover { color: var(--hs-red); }
.hs-top-title, .hs-box-title { display: flex; align-items: flex-end; gap: 10px; margin: 0 0 6px; font-size: 1.15rem; font-weight: 800; }
.hs-top-title .hs-dash, .hs-box-title .hs-dash { margin-bottom: 6px; }
.hs-list-tight { margin-top: 6px; }
@media (min-width: 900px) {
  .hs-hero { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 34px; }
  .hs-lead-title { font-size: 2.15rem; }
}

.hs-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (min-width: 1040px) { .hs-cols { grid-template-columns: minmax(0, 1fr) 320px; } .hs-main .hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 820px) and (max-width: 1039px) { .hs-cols { grid-template-columns: minmax(0, 1fr); } }
.hs-side { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
@media (min-width: 1040px) { .hs-side { position: sticky; top: 64px; align-self: start; } }
.hs-box { background: var(--hs-card); border: 1px solid var(--hs-line); border-radius: 8px; padding: 18px; min-width: 0; }
.hs-box p { margin: 6px 0 14px; color: var(--hs-muted); font-size: .92rem; line-height: 1.5; }
.hs-read { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: rd; }
.hs-read li { counter-increment: rd; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; padding: 11px 0; border-top: 1px solid var(--hs-line); font-family: var(--hs-serif); font-size: 1rem; line-height: 1.3; font-weight: 600; }
.hs-read li::before { content: counter(rd); font: 800 1.3rem/1 'Inter', sans-serif; color: var(--hs-red); }
.hs-read a:hover { color: var(--hs-red); }

.hs-follow-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hs-gbtn, .hs-sbtn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: .9rem; font-weight: 700; transition: transform .15s, box-shadow .2s; }
.hs-gbtn { background: #fff; color: #1f2937 !important; border: 1px solid #d0d5dd; }
.hs-gbtn:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, .15); transform: translateY(-1px); }
.hs-sbtn { color: #fff !important; }
.hs-wa { background: #25D366; }
.hs-tg { background: #2AABEE; }
.hs-sbtn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.hs-follow-wide { margin: 40px 0 20px; text-align: center; }
.hs-follow-wide .hs-box-title { justify-content: center; }
.hs-follow-wide .hs-follow-btns { justify-content: center; }
.hs-ad { margin: 0 0 30px; text-align: center; overflow: hidden; }
body.dark-mode .hs-gbtn { background: #f8fafc; }

/* links inside the new homepage keep the text colour, no underline (the old theme styles are not relied on) */
.hs-wrap a, .hs-page a { color: inherit; text-decoration: none; }
.hs-wrap a.hs-gbtn, .hs-wrap a.hs-sbtn { text-decoration: none; }
.hs-wrap img { max-width: 100%; }

.hs-wrap *, .hs-wrap *::before, .hs-wrap *::after, .hs-page *, .hs-page *::before, .hs-page *::after { box-sizing: border-box; }

/* ================= HOMEPAGE (hero, topics, start-here, aside, follow) ================= */
.hs-main-wrap { --hs-red:#EA1E20; --hs-ink:#111827; --hs-muted:#5b6472; --hs-line:#dcdfe4; --hs-card:#fff; --hs-chip:#eceef2; --hs-serif: Georgia,'Times New Roman',serif; font-family:'Inter','Segoe UI',system-ui,sans-serif; color:var(--hs-ink); max-width:1240px; margin:0 auto; padding:0 16px 8px; }
body.dark-mode .hs-main-wrap { --hs-ink:#eaeef2; --hs-muted:#a3acb9; --hs-line:#2f3345; --hs-card:#1a1a28; --hs-chip:#242638; }
.hs-ticker { min-height: 40px; }

.hs-topics { position: sticky; top: 0; z-index: 50; background: var(--hs-card); border-bottom: 1px solid var(--hs-line); margin: 0 -16px 18px; }
@media (max-width: 991px) { .hs-topics { top: 64px; } }
.hs-topics-in { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hs-topics-in::-webkit-scrollbar { display: none; }
.hs-topic { flex: none; padding: 7px 14px; border-radius: 999px; background: var(--hs-chip); font-size: .86rem; font-weight: 600; white-space: nowrap; color: var(--hs-ink); transition: background .2s, color .2s; }
.hs-topic.is-main { background: var(--hs-ink); color: var(--hs-card); }
.hs-topic:hover { background: var(--hs-red); color: #fff; }

.hs-hero { display: grid; grid-template-columns: minmax(0,1fr); gap: 22px; margin-bottom: 30px; }
@media (min-width: 900px) { .hs-hero { grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr); gap: 32px; } }
.hs-lead-img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--hs-chip); border-radius: 6px; }
.hs-lead-img img { width: 100%; height: 100%; object-fit: cover; }
.hs-pill { display: inline-block; margin: 14px 0 0; background: var(--hs-red); color: #fff; padding: 4px 10px; border-radius: 3px; font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.hs-pill-light { margin: 0; background: rgba(255,255,255,.18); }
.hs-lead-title { margin: 10px 0 8px; font-family: var(--hs-serif); font-size: clamp(1.55rem, 4.5vw, 2.35rem); line-height: 1.14; font-weight: 700; letter-spacing: -.01em; }
.hs-lead-title a:hover { color: var(--hs-red); }
.hs-lead-sum { margin: 0 0 6px; color: var(--hs-muted); font-size: 1.04rem; line-height: 1.55; }
.hs-readmore { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--hs-red); }
.hs-readmore:hover { text-decoration: underline; }
.hs-top { background: var(--hs-card); border: 1px solid var(--hs-line); border-radius: 6px; padding: 16px 18px; align-self: start; }
.hs-top-title, .hs-box-title { margin: 0 0 8px; font-size: 1.05rem; font-weight: 800; padding-bottom: 10px; border-bottom: 3px solid var(--hs-red); display: inline-block; }
.hs-top-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.hs-top-item { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 10px; padding: 12px 0; border-top: 1px solid var(--hs-line); }
.hs-top-item:first-child { border-top: 0; }
.hs-top-num { font-family: var(--hs-serif); font-size: 1.5rem; font-weight: 700; color: var(--hs-red); line-height: 1; }
.hs-top-h { margin: 2px 0 0; font-family: var(--hs-serif); font-size: 1.02rem; line-height: 1.3; font-weight: 600; }
.hs-top-h a:hover { color: var(--hs-red); }
.hs-top-date { display: block; margin-top: 4px; font-size: .78rem; color: var(--hs-muted); }

.hs-start { background: linear-gradient(135deg, #111827, #1f2a44); color: #fff; border-radius: 8px; padding: 24px 20px; margin: 8px 0 34px; }
.hs-start-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 18px; }
.hs-start-title { margin: 10px 0 4px; font-size: clamp(1.25rem, 3.5vw, 1.7rem); font-weight: 800; }
.hs-start-sub { margin: 0; color: #cbd5e1; font-size: .95rem; }
.hs-more-light { color: #fff; border-color: #fff; }
.hs-more-light:hover { background: #fff; color: #111827; }
.hs-start-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
@media (min-width: 640px) { .hs-start-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; } }
.hs-start-card { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 12px; align-items: center; background: rgba(255,255,255,.07); border-radius: 6px; padding: 10px; color: #fff; transition: background .2s, transform .2s; }
@media (min-width: 640px) { .hs-start-card { grid-template-columns: minmax(0,1fr); padding: 0 0 14px; align-items: start; overflow: hidden; } .hs-start-body { padding: 0 14px; } }
.hs-start-card:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.hs-start-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: #243049; border-radius: 4px; }
@media (min-width: 640px) { .hs-start-img { border-radius: 0; margin-bottom: 12px; } }
.hs-start-img img { width: 100%; height: 100%; object-fit: cover; }
.hs-start-body { display: block; min-width: 0; }
.hs-start-card .hs-cat { color: #ff8a8c; }
.hs-start-h { display: block; margin-top: 4px; font-family: var(--hs-serif); font-size: 1.02rem; line-height: 1.3; font-weight: 600; }

.hs-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 30px; align-items: start; }
@media (min-width: 1050px) { .hs-layout { grid-template-columns: minmax(0,1fr) 330px; gap: 40px; } .hs-aside { position: sticky; top: 64px; } }
.hs-aside { display: grid; gap: 22px; }
.hs-box { background: var(--hs-card); border: 1px solid var(--hs-line); border-radius: 6px; padding: 16px 18px; overflow: hidden; }

.hs-follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--hs-card); border: 1px solid var(--hs-line); border-left: 5px solid var(--hs-red); border-radius: 6px; padding: 20px; margin: 36px 0 8px; }
.hs-follow h2 { margin: 0 0 4px; font-size: 1.3rem; font-weight: 800; }
.hs-follow p { margin: 0; color: var(--hs-muted); font-size: .95rem; }
.hs-follow-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hs-fbtn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; color: #fff; font-weight: 700; font-size: .92rem; transition: transform .15s, filter .2s; }
.hs-fbtn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.hs-fb-g { background: #1a73e8; } .hs-fb-w { background: #1faa59; } .hs-fb-t { background: #229ed9; }
@media (max-width: 560px) { .hs-follow-btns { width: 100%; } .hs-fbtn { flex: 1 1 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .hs-start-card, .hs-fbtn { transition: none; } .hs-start-card:hover, .hs-fbtn:hover { transform: none; } }


/* ===== Global / Local labels, scope switch, and tabs under Top stories + Most read ===== */
.hs-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; }
.hs-tags .hs-cat { margin: 0; }
.hs-item .hs-tags { margin-top: 0; }
.hs-src { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: .66rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; line-height: 1.5; }
.hs-src-global { background: #111827; color: #fff; }
.hs-src-local { background: #fde8e8; color: #b91c1c; }
body.dark-mode .hs-src-global { background: #e5e7eb; color: #111827; }
body.dark-mode .hs-src-local { background: rgba(234,30,32,.2); color: #ff9a9b; }
.hs-start-card .hs-src { display: none; }

.hs-scope { display: inline-flex; gap: 4px; padding: 4px; margin: 4px 0 14px; border-radius: 999px; background: var(--hs-chip, #eceef2); }
.hs-scope-btn { padding: 8px 18px; border-radius: 999px; font-size: .9rem; font-weight: 700; color: var(--hs-ink, #111827); text-decoration: none; transition: background .2s, color .2s; }
.hs-scope-btn:hover { color: var(--hs-red, #ea1e20); }
.hs-scope-btn.is-active { background: var(--hs-red, #ea1e20); color: #fff; }
.hs-scope-btn:focus-visible { outline: 3px solid rgba(234,30,32,.45); outline-offset: 2px; }

.hs-stablist { display: flex; flex-wrap: nowrap; gap: 6px; margin: 2px 0 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hs-stablist::-webkit-scrollbar { display: none; }
.hs-stab { flex: none; padding: 6px 12px; border-radius: 999px; background: var(--hs-chip, #eceef2); color: var(--hs-ink, #111827); font-size: .8rem; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.hs-stab:hover { color: var(--hs-red, #ea1e20); }
.hs-stab.is-active { background: var(--hs-red, #ea1e20); color: #fff; }
.hs-stab:focus-visible, .hs-stab-more:focus-visible { outline: 3px solid rgba(234,30,32,.45); outline-offset: 2px; }
.hs-spanel[hidden] { display: none; }
.hs-stab-more { display: inline-block; margin-top: 6px; font-size: .85rem; font-weight: 700; color: var(--hs-red, #ea1e20); text-decoration: none; }
.hs-stab-more:hover { text-decoration: underline; }

/* ===== Learn hub (/blog/) ===== */
.hs-hub-hero { background: linear-gradient(135deg, #111827, #1f2a44); color: #fff; border-radius: 8px; padding: 24px 20px; margin: 0 0 18px; }
.hs-hub-hero h1 { margin: 10px 0 8px; font-family: var(--hs-serif, Georgia, serif); font-size: clamp(1.5rem, 4.5vw, 2.2rem); line-height: 1.15; font-weight: 700; }
.hs-hub-hero p { margin: 0 0 14px; max-width: 46rem; color: #d1d5db; font-size: 1rem; line-height: 1.55; }
.hs-hub-cta { display: inline-block; background: var(--hs-red, #ea1e20); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: .92rem; text-decoration: none; }
.hs-hub-cta:hover { background: #c91618; }
.hs-hub-path { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; margin: 0 0 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hs-hub-path::-webkit-scrollbar { display: none; }
.hs-hub-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--hs-chip, #eceef2); color: var(--hs-ink, #111827); font-size: .85rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hs-hub-chip b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--hs-red, #ea1e20); color: #fff; font-size: .75rem; }
.hs-hub-chip:hover { color: var(--hs-red, #ea1e20); }
.hs-hub-chip-pop { padding-left: 14px; background: transparent; border: 1px solid var(--hs-line, #dcdfe4); }
.hs-hub-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 1000px) { .hs-hub-grid { grid-template-columns: minmax(0, 1fr) 340px; } .hs-hub-aside { position: sticky; top: 76px; } }
.hs-hub-sec { scroll-margin-top: 84px; margin: 0 0 34px; padding-top: 18px; border-top: 3px solid var(--hs-ink, #111827); }
.hs-hub-sechead { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; }
.hs-hub-num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--hs-red, #ea1e20); color: #fff; font-family: var(--hs-serif, Georgia, serif); font-size: 1.25rem; font-weight: 700; }
.hs-hub-sec h2 { margin: 0; font-size: 1.3rem; line-height: 1.25; font-weight: 800; }
.hs-hub-desc { margin: 3px 0 0; color: var(--hs-muted, #5b6472); font-size: .94rem; line-height: 1.45; }
.hs-hub-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hs-hub-post { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px; background: var(--hs-card, #fff); border: 1px solid var(--hs-line, #dcdfe4); border-radius: 8px; }
@media (min-width: 640px) { .hs-hub-post { grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 12px; } }
.hs-hub-thumb { display: block; overflow: hidden; border-radius: 6px; background: var(--hs-chip, #eceef2); aspect-ratio: 4 / 3; }
.hs-hub-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hs-hub-step { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hs-red, #ea1e20); }
.hs-hub-body h3 { margin: 2px 0 4px; font-family: var(--hs-serif, Georgia, serif); font-size: 1.05rem; line-height: 1.3; font-weight: 700; }
.hs-hub-body h3 a { color: inherit; text-decoration: none; }
.hs-hub-body h3 a:hover { color: var(--hs-red, #ea1e20); }
.hs-hub-body p { margin: 0; color: var(--hs-muted, #5b6472); font-size: .9rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hs-hub-all { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .92rem; color: var(--hs-red, #ea1e20); text-decoration: none; }
.hs-hub-all:hover { text-decoration: underline; }
.hs-hub-aside .hs-box { margin-bottom: 18px; }

/* ===== Plain text pages (editorial standards, corrections, ...) ===== */
.hs-prose { max-width: 46rem; margin: 0 auto; font-family: var(--hs-serif, Georgia, serif); font-size: 1.1rem; line-height: 1.65; color: var(--hs-ink, #111827); }
.hs-prose .hs-page-title { font-family: var(--hs-serif, Georgia, serif); }
.hs-prose h2 { margin: 1.7em 0 .5em; font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; font-size: 1.3rem; font-weight: 800; line-height: 1.25; }
.hs-prose p { margin: 0 0 1em; }
.hs-prose ul { margin: 0 0 1.1em; padding-left: 1.3em; }
.hs-prose li { margin: 0 0 .5em; }
.hs-prose li::marker { color: var(--hs-red, #ea1e20); }
.hs-prose a { color: inherit; text-decoration: underline; text-decoration-color: var(--hs-red, #ea1e20); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hs-prose a:hover { color: var(--hs-red, #ea1e20); }
.hs-prose-updated { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--hs-line, #dcdfe4); color: var(--hs-muted, #5b6472); font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; font-size: .85rem; }
