/* Homepage categories and carousel controls. */
#root .home-category-controls,#root .home-category-nav{gap:16px;background:transparent;box-shadow:none}
#root .home-category-controls{padding:4px 0;border:0}
#root .home-category-divider{display:none}
#root .home-category-chip[data-news-theme]{display:grid;grid-template-columns:30px auto;grid-template-rows:auto auto;align-content:center;justify-content:start;align-items:center;column-gap:7px;row-gap:2px;position:relative;padding:7px 0 10px;min-height:53px;border:0;border-radius:0;border-bottom:2px solid transparent;box-shadow:none;background:transparent!important;color:#142822!important;text-shadow:none}
#root .home-category-chip[data-news-theme]::before{content:"";position:static;grid-column:1;grid-row:1/3;width:30px;height:34px;border-radius:4px;opacity:1;background:var(--topic-art,url('/onboarding-editorial-welcome.jpg')) var(--topic-focus,center)/220% auto;mask:none}
#root .home-category-chip[data-news-theme]::after{display:none}
#root .home-category-chip[data-news-theme]>span,#root .home-category-chip[data-news-theme]>small{grid-column:2;justify-self:start;text-shadow:none;font-variant-numeric:tabular-nums}
#root .home-category-chip[data-news-theme]>span{color:#172923!important;font-size:12px;font-weight:750;line-height:1.15;white-space:nowrap}
#root .home-category-chip[data-news-theme]>small{color:#53665d!important;background:none!important;border:0;padding:0!important;font-size:10px;line-height:1.1}
#root .home-category-chip[data-news-theme][aria-pressed=true]{border-bottom-color:#187b66}
#root .lead-image-actions{background:#fdfefc;color:#21352e;min-height:44px;padding:2px 10px 0 14px;border:0}
#root .lead-coverage-signal{font-size:11px;letter-spacing:.01em;font-weight:700;color:#263b32;text-transform:none}
#root .lead-coverage-signal-track{display:none}
#root .lead-image-actions :is(.lead-share-button,.lead-reaction-button,.lead-follow-button){min-width:44px;width:44px;height:44px;color:#2b4840;background:transparent;box-shadow:none;border:0}
#root .lead-carousel-controls{display:flex;justify-content:space-between;align-items:center;background:#fdfefc;border:0;padding:0 16px 7px;min-height:24px;gap:12px}
#root .lead-carousel-dots{display:flex;flex:1;gap:3px}
#root .lead-carousel-dots button,#root .lead-carousel-dots button.is-active{position:relative;flex:1;width:auto;height:24px;background:transparent;border:0;box-shadow:none;border-radius:0;padding:0}
#root .lead-carousel-dots button::after{content:"";position:absolute;inset:11px 0 auto;height:2px;background:#dbe3dd}
#root .lead-carousel-dots button.is-active::after{background:#187b66}
#root .lead-carousel-count{color:#465e53;font-size:10px;font-weight:650;font-variant-numeric:tabular-nums}
/* Keep each topic distinct while making the horizontal rail more compact. */
#root .home-category-controls,#root .home-category-nav{gap:6px}
#root .home-category-chip[data-news-theme]{grid-template-columns:23px auto;column-gap:5px;row-gap:1px;min-height:42px;padding:4px 7px;border:1px solid #b9c9c2;border-radius:6px;background:#fff!important}
#root .home-category-chip[data-news-theme]::before{width:23px;height:27px;border-radius:3px}
#root .home-category-chip[data-news-theme]>span{font-size:11px;font-weight:700}
#root .home-category-chip[data-news-theme]>small{font-size:9.5px}
#root .home-category-chip[data-news-theme][aria-pressed=true]{border-color:#267963;background:#eff8f4!important;box-shadow:inset 0 -2px #267963}
#root .lead-image-actions :is(.lead-share-button,.lead-reaction-button,.lead-follow-button){border:1px solid #59756b!important;background:#edf5f1!important;color:#163f33!important;box-shadow:none!important;border-radius:12px}
#root .lead-image-actions :is(.lead-share-button,.lead-reaction-button,.lead-follow-button) svg{width:19px;height:19px;stroke:currentColor}
#root .lead-image-actions button[aria-pressed=true]{background:#195d4d!important;color:white!important}
#root .lead-carousel-dots button::after{height:3px;border-radius:2px;background:#98aba4}
#root .lead-carousel-dots button.is-active::after{background:#72dabe}
#root .lead-carousel-count{color:#edf6f2!important}
#root .home-category-controls{gap:2px;padding:2px;background:#d8e2dc;border:1px solid #c4d3cb;border-radius:7px;overflow:hidden}
#root .home-category-nav{gap:2px}
#root .home-category-chip[data-news-theme]{border:0;border-radius:3px;min-height:38px}
#root .lead-image-actions :is(.lead-share-button,.lead-reaction-button,.lead-follow-button){width:33px;min-width:33px;height:33px;box-sizing:border-box;padding:0;display:inline-grid;place-items:center;border-radius:50%!important;background:#111!important;border-color:#111!important;color:#fff!important}
#root .lead-image-actions :is(.lead-share-button,.lead-reaction-button,.lead-follow-button) svg{width:16px;height:16px}
#root .lead-image-actions button.is-followed svg{fill:currentColor}
#root .lead-carousel-dots button::after,#root .lead-carousel-dots button.is-active::after{background:#edf4f0}
#root .lead-carousel-dots .slide-fill{pointer-events:none;position:absolute;z-index:1;top:11px;left:0;width:100%;height:3px;border-radius:2px;background:#20ac82;transform-origin:left;transform:scaleX(0)}
@media(prefers-reduced-motion:reduce){#root .lead-carousel-dots button.is-active::after{background:#20ac82}}
/* Editorial topic tabs: a single ruled strip, small round photographs and a single active marker. */
#root .home-category-controls{margin-inline:0;padding:0 2px;border:0;border-bottom:1px solid #cdd6d2;border-radius:0;background:transparent;gap:4px}
#root .home-category-nav{gap:4px;background:transparent}
#root .home-category-chip[data-news-theme],
#root .home-category-chip[data-news-theme][aria-pressed=true]{min-height:38px;padding:3px 7px 5px;grid-template-columns:23px auto;column-gap:6px;border:0;border-radius:0;background:transparent!important;box-shadow:none}
#root .home-category-chip[data-news-theme]::before{width:23px;height:23px;border-radius:50%;background-size:280% auto}
#root .home-category-chip[data-news-theme]>span{font-size:11px;font-weight:650;letter-spacing:0;color:#3b4542!important}
#root .home-category-chip[data-news-theme]>small{color:#5b6661!important;font-weight:500}
#root .home-category-chip[data-news-theme][aria-pressed=true]>span{color:#115c4c!important;font-weight:750}
#root .home-category-chip[data-news-theme][aria-pressed=true]::after{content:"";display:block;position:absolute;inset:auto 5px 0;height:3px;background:#176c58;border-radius:3px 3px 0 0;opacity:1;z-index:1}
#root .home-category-chip[data-news-theme]:focus-visible{outline:2px solid #176c58;outline-offset:-2px}

/* The map keeps its existing breakpoint-specific button height and toolbar padding. */
#root .cluster-map-topic-nav button[data-news-theme] {
  position: relative;
  display: grid;
  grid-template-columns: 21px auto;
  grid-template-rows: auto auto;
  align-content: center;
  justify-items: start;
  gap: 0 6px;
  padding-block: 1px 3px;
  background: transparent !important;
  border-color: transparent;
  border-radius: 0;
  box-shadow: none;
}
#root .cluster-map-topic-nav button[data-news-theme]::before {
  content: "";
  grid-area: 1 / 1 / 3 / 2;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--topic-art, url('/onboarding-editorial-welcome.jpg')) var(--topic-focus, 50% 32%) / 280% auto;
}
#root .cluster-map-topic-nav button[data-news-theme] > span {
  grid-column: 2;
  color: #3b4542 !important;
  font-weight: 650;
  line-height: 1.15;
  white-space: nowrap;
}
#root .cluster-map-topic-nav button[data-news-theme] > small {
  grid-column: 2;
  display: block;
  height: auto;
  padding: 0;
  background: transparent !important;
  color: #5b6661 !important;
  font-weight: 500;
  line-height: 1.1;
}
#root .cluster-map-topic-nav button[data-news-theme][aria-pressed=true] > span {
  color: #115c4c !important;
  font-weight: 750;
}
#root .cluster-map-topic-nav button[data-news-theme][aria-pressed=true]::after {
  content: "";
  position: absolute;
  inset: auto 5px 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #176c58;
}
#root .cluster-map-topic-nav button[data-news-theme]:focus-visible {
  outline: 2px solid #176c58;
  outline-offset: -2px;
}

#root .home-category-controls { --category-surface: #f8f8f8; background: var(--category-surface); }
#root .cluster-map-topic-nav { background: #fff; }
#root .related-category-layout button.related-category-card[data-news-theme] {
  background: #fff;
  border-color: #dbe2df;
  gap: .2rem;
}
#root .related-category-layout button.related-category-card[aria-pressed=true] {
  background: #edf6f2;
  border-color: #24745f;
}
#root .related-category-layout .related-category-card[data-news-theme]::before {
  content: "";
  display: block;
  position: static;
  width: 23px;
  height: 23px;
  flex: none;
  border-radius: 50%;
  opacity: 1;
}
#root .related-category-layout .related-category-grid .related-category-card {
  aspect-ratio: auto;
  min-height: 82px;
  padding: .45rem;
}
#root .related-category-layout .related-category-card[data-news-theme] > strong {
  color: #192820 !important;
  padding-right: 0;
}
#root .related-category-layout .related-category-card[data-news-theme] .related-category-count b {
  color: #176c58 !important;
}
#root .related-category-layout .related-category-card[data-news-theme] :is(small,i,.link-arrow-icon) {
  color: #596a62 !important;
}
#root .related-category-layout .related-all-topics-card {
  display: grid;
  grid-template-columns: 23px minmax(0,1fr);
  column-gap: .45rem;
}
#root .related-category-layout .related-all-topics-card::before { grid-row: span 2; }
#root .related-category-layout .related-all-topics-card > strong { align-self: end; }
#root .related-category-layout .related-all-topics-card .related-category-count { align-self: start; }
#root :is(.home-category-controls,.cluster-map-topic-nav) button[data-news-theme]::before,
#root .related-category-layout .related-category-card[data-news-theme]::before {
  background-image: var(--menu-art, url('/onboarding-editorial-map-v2.jpg'));
  background-size: var(--menu-zoom,375%) auto;
  background-position: var(--menu-focus,50% 6.7%);
  background-repeat: no-repeat;
}
[data-news-theme=market] { --menu-focus:95.5% 40%; }
[data-news-theme=culture] { --menu-focus:5.5% 39.8%; --menu-zoom:345%; }
[data-news-theme=world] { --menu-focus:5.6% 18.5%; }
[data-news-theme=civic] { --menu-focus:92% 18.3%; }
[data-news-theme=sport] {
  --menu-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' fill='%230e5549'/%3E%3Ccircle cx='16' cy='16' r='11' fill='%23eab978'/%3E%3Cpath d='M8 23Q18 17 22 7M10 25Q20 19 24 9' fill='none' stroke='%23734c2b' stroke-width='1.2'/%3E%3C/svg%3E");
  --menu-zoom:100%;
}
[data-news-theme=tech] {
  --menu-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' fill='%230e5549'/%3E%3Cg stroke='%23e9c17c' fill='none' stroke-width='1.6'%3E%3Crect x='9' y='9' width='14' height='14' rx='2'/%3E%3Cpath d='M13 5v4m6-4v4m-6 14v4m6-4v4M5 13h4m-4 6h4m14-6h4m-4 6h4M13 13h6v6h-6z'/%3E%3C/g%3E%3C/svg%3E");
  --menu-zoom:100%;
}
#root .lead-carousel-dots button:has(~ button.is-active)::after { background:#20ac82; }
#root .home-category-shelf .story-list-row { background:#fff; color:#17231f; border-color:#d8dfdb; box-sizing:border-box; width:100%; margin-inline:0; box-shadow:0 2px 5px #17251d0c, 0 5px 15px #17251d0a; }
#root .home-category-shelf .story-list-row-copy { background:#fff; }
#root .home-category-shelf .story-list-row-pattern { display:none; }
#root .home-category-shelf .story-list-row-copy > strong { color:#18241e!important; }
#root .home-category-shelf .story-list-row-summary { color:#44524b; }
#root .home-category-shelf .story-list-row-meta { color:#596860; justify-content:space-between; flex-wrap:wrap; }
#root .home-category-shelf .story-list-row-coverage { color:#116851; }
#root .home-category-shelf .story-list-row-source { color:#596860; }
#root .home-category-shelf .story-list-row-image > .publisher-stack {
  position: absolute;
  inset: auto 8px 8px auto;
  background: #fff;
  color: #23332c;
  border: 1px solid #dbe2df;
  border-radius: 9px;
  padding: 4px 7px;
  box-shadow: 0 1px 5px #0002;
  pointer-events: none;
}
#root .home-category-shelf .story-list-row-image .publisher-stack-copy { display: grid; }

#root .home-category-shelf .story-vertical-list {
  align-items: stretch;
  row-gap: 12px;
}
@media (max-width: 767px) {
  #root .home-category-shelf .home-category-controls {
    margin-inline: 0;
    clip-path: inset(0 -100vmax);
    box-shadow: 0 0 0 100vmax var(--category-surface);
    box-sizing: border-box;
    background-color: var(--category-surface);
  }
}