/*
Theme Name: Trending Topic Economy Newsroom
Theme URI: https://trendingtopic.co.kr/
Author: Trending Topic
Description: 매일경제형 정보 구조를 바탕으로 제작한 반응형 뉴스 워드프레스 테마입니다.
Version: 3.1.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: trending-topic-newsroom
*/

:root {
  --ink: #161718;
  --muted: #73777b;
  --line: #d9dadd;
  --line-dark: #a9adb1;
  --paper: #ffffff;
  --soft: #f5f5f4;
  --warm: #f26328;
  --red: #d92231;
  --blue: #1768c4;
  --green: #16784a;
  --shell: min(1240px, calc(100% - 32px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}

@supports (overflow-x: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body.is-locked {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

figure,
h1,
h2,
h3,
p {
  margin-top: 0;
}

[hidden] {
  display: none !important;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.reading-progress {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--warm);
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 100;
  background: #fff;
}

.utility {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #efefef;
}

.utility nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.utility a {
  color: #6b6f72;
  font-size: 11px;
  font-weight: 650;
}

.masthead {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.masthead-side {
  display: flex;
  align-items: center;
  gap: 8px;
}

.masthead-side.right {
  justify-content: flex-end;
}

.round-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f1f2f2;
  cursor: pointer;
}

.round-button svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

.ai-button svg {
  color: var(--warm);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #101112;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.wordmark b {
  min-width: 42px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  position: relative;
  color: #fff;
  background: var(--warm);
  font-size: 15px;
  font-weight: 900;
}

.wordmark b span {
  position: absolute;
  top: -7px;
  right: -4px;
  color: var(--red);
  font-size: 15px;
}

.market-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
  font-size: 11px;
}

.market-mini b {
  color: #606469;
  font-weight: 750;
}

.market-mini em {
  padding: 5px 8px;
  color: var(--blue);
  background: #edf4ff;
  font-style: normal;
  font-weight: 850;
}

.category-row {
  border-top: 1px solid #d0d2d3;
  border-bottom: 1px solid #26282a;
}

.category-inner {
  min-height: 44px;
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr) 78px;
  align-items: center;
  gap: 16px;
}

.category-inner time {
  color: #606468;
  font-size: 12px;
  font-weight: 650;
}

.category-inner nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  white-space: nowrap;
}

.category-inner nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  position: relative;
  font-size: 14px;
  font-weight: 750;
}

.category-inner nav a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--warm);
}

.plus-link {
  justify-self: end;
  padding: 6px 10px;
  border: 1px solid #babdc0;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 850;
}

.drawer,
.search-overlay {
  position: fixed;
  z-index: 500;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.16);
}

.drawer {
  left: 0;
  width: min(560px, 100%);
  padding: 30px 42px 50px;
  overflow-y: auto;
}

.drawer-head {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--ink);
}

.drawer-head strong {
  font-size: 24px;
}

.drawer-head button,
.overlay-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 50px;
  padding-top: 34px;
}

.drawer-grid h2 {
  margin-bottom: 12px;
  color: var(--warm);
  font-size: 15px;
}

.drawer-grid a {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e5e6e7;
  font-size: 14px;
  font-weight: 700;
}

.search-overlay {
  right: 0;
  left: 0;
  padding: 13vh max(24px, calc((100% - 820px) / 2));
}

.overlay-close {
  position: absolute;
  top: 28px;
  right: 34px;
}

.search-overlay form > label {
  display: block;
  margin-bottom: 14px;
  color: var(--warm);
  font-size: 12px;
  font-weight: 900;
}

.search-overlay form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  border-bottom: 4px solid var(--ink);
}

.search-overlay input {
  min-width: 0;
  height: 76px;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 34px;
  font-weight: 700;
}

.search-overlay form button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-overlay form svg {
  width: 30px;
  height: 30px;
}

.search-overlay > p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
  color: #5f6468;
  font-size: 13px;
}

.search-overlay > p strong {
  color: var(--ink);
}

.promo {
  min-height: 78px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding: 0 28px;
  background: #f0f3f5;
}

.promo span {
  color: var(--warm);
  font-size: 11px;
  font-weight: 900;
}

.promo strong {
  font-size: 18px;
}

.promo a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  color: #fff;
  background: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.promo svg {
  width: 15px;
}

.lead {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr) 240px;
  gap: 30px;
  align-items: stretch;
  padding: 20px 0 30px;
  border-bottom: 1px solid var(--line);
}

.lead-copy {
  min-width: 0;
  padding: 4px 0;
}

.eyebrow {
  display: block;
  margin-bottom: 15px;
  color: var(--warm);
  font-size: 14px;
  font-weight: 900;
}

.lead-copy h1 {
  margin-bottom: 22px;
  font-size: 36px;
  font-weight: 850;
  line-height: 1.38;
  word-break: keep-all;
}

.lead-copy p {
  margin-bottom: 21px;
  color: #666b70;
  font-size: 14px;
  line-height: 1.75;
  word-break: keep-all;
}

.byline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.byline i,
.latest-list time::before {
  width: 1px;
  height: 10px;
  display: inline-block;
  background: #b8bbbe;
}

.media-frame {
  overflow: hidden;
  background: #eef0f1;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.lead-image {
  min-width: 0;
  min-height: 365px;
}

.lead-briefs {
  min-width: 0;
  border-left: 1px solid var(--line);
  padding-left: 22px;
}

.lead-briefs article {
  min-height: 111px;
  padding: 2px 0 20px;
}

.lead-briefs article > a {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.lead-briefs figure {
  width: 88px;
  aspect-ratio: 16 / 10;
  margin: 0;
}

.lead-briefs article + article {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.lead-briefs span,
.headline-grid span,
.latest-list span {
  display: block;
  margin-bottom: 7px;
  color: #777c80;
  font-size: 11px;
  font-weight: 750;
}

.lead-briefs article:first-child span {
  color: var(--red);
}

.lead-briefs h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  word-break: keep-all;
}

.headline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 28px 0 34px;
  border-bottom: 1px solid var(--line);
}

.headline-grid article {
  min-width: 0;
  padding: 0 22px;
}

.headline-grid article:first-child {
  padding-left: 0;
}

.headline-grid article:last-child {
  padding-right: 0;
}

.headline-grid article + article {
  border-left: 1px solid var(--line);
}

.headline-grid figure {
  aspect-ratio: 16 / 9;
  margin: 0 0 15px;
}

.headline-grid h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.48;
  word-break: keep-all;
}

.ad-band {
  min-height: 235px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  margin-top: 32px;
}

.ad-band > span {
  color: #85898d;
  font-size: 9px;
  font-weight: 750;
}

.ad-band > div {
  width: min(590px, 100%);
  min-height: 150px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 26px;
  border: 1px solid #cfd5d9;
  background: linear-gradient(100deg, #eff5f8 0 28%, #fbfbfa 28% 100%);
}

.ad-band b {
  width: 90px;
  color: #28566b;
  font-size: 12px;
}

.ad-band strong {
  font-size: 20px;
  line-height: 1.45;
}

.ad-band a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #fff;
  background: #28566b;
  font-size: 11px;
  font-weight: 800;
}

.issue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 36px;
  padding-top: 34px;
}

.section-title {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.section-title h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 850;
}

.section-title > a,
.section-title nav,
.section-title > div {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #565b5f;
  font-size: 12px;
  font-weight: 750;
}

.section-title button {
  min-height: 32px;
  padding: 0 9px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #777b80;
  background: transparent;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.section-title button.active {
  border-bottom-color: var(--warm);
  color: var(--ink);
}

.issue-feature {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  padding-top: 22px;
}

.issue-list article {
  min-height: 106px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.issue-list article > a {
  width: 100%;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 10px 0;
}

.issue-list figure {
  width: 92px;
  aspect-ratio: 16 / 10;
  margin: 0;
}

.issue-list article:first-child {
  border-top: 1px solid var(--line);
}

.issue-list h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.48;
  word-break: keep-all;
}

.issue-list span {
  color: var(--muted);
  font-size: 10px;
}

.issue-list span i {
  display: inline-block;
  margin: 0 6px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}

.issue-lead figure {
  height: 330px;
  margin-bottom: 17px;
}

.issue-lead h3 {
  margin-bottom: 9px;
  font-size: 25px;
  line-height: 1.4;
  word-break: keep-all;
}

.issue-lead p {
  margin-bottom: 0;
  color: #676c70;
  font-size: 13px;
  line-height: 1.7;
}

.opinion-panel blockquote {
  min-height: 93px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 8px 0 31px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.5;
  word-break: keep-all;
}

.opinion-panel blockquote::before {
  content: "“";
  position: absolute;
  top: 22px;
  left: 5px;
  color: #9ba0a3;
  font-size: 28px;
  font-weight: 900;
}

.columnist {
  padding: 22px 8px;
  background: #f5f5f4;
}

.columnist span {
  display: block;
  margin-bottom: 7px;
  color: var(--warm);
  font-size: 10px;
  font-weight: 900;
}

.columnist strong {
  font-size: 14px;
  line-height: 1.5;
}

.latest-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 36px;
  margin-top: 66px;
  padding-bottom: 70px;
}

.latest-list article {
  min-height: 176px;
  border-bottom: 1px solid var(--line);
}

.latest-list article > a {
  min-height: 176px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px 0;
}

.latest-list figure {
  height: 132px;
  margin: 0;
}

.latest-list h3 {
  margin-bottom: 9px;
  font-size: 21px;
  line-height: 1.43;
  word-break: keep-all;
}

.latest-list p {
  margin-bottom: 10px;
  color: #696e72;
  font-size: 13px;
  line-height: 1.65;
}

.latest-list time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #85898d;
  font-size: 10px;
}

.latest-list time::before {
  content: "";
}

.ranking ol,
.article-ranking ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rank;
}

.ranking li,
.article-ranking li {
  min-height: 70px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  counter-increment: rank;
}

.ranking li::before,
.article-ranking li::before {
  content: counter(rank, decimal-leading-zero);
  color: var(--warm);
  font-size: 14px;
  font-weight: 850;
}

.ranking li a,
.article-ranking li a {
  font-size: 14px;
  font-weight: 750;
  line-height: 1.48;
  word-break: keep-all;
}

.data-strip {
  padding: 42px 0 48px;
  color: #fff;
  background: #17222d;
}

.data-strip header {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #46515b;
}

.data-strip header span {
  color: #70c6ff;
  font-size: 10px;
  font-weight: 900;
}

.data-strip header h2 {
  margin: 0;
  font-size: 20px;
}

.data-strip header time {
  margin-left: auto;
  color: #98a5b0;
  font-size: 10px;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.data-grid article {
  min-height: 120px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 0 28px;
}

.data-grid article:first-child {
  padding-left: 0;
}

.data-grid article + article {
  border-left: 1px solid #46515b;
}

.data-grid span {
  color: #aab5be;
  font-size: 11px;
}

.data-grid strong {
  font-size: 24px;
}

.data-grid em {
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.data-grid .up {
  color: #f06e73;
}

.data-grid .down {
  color: #5ba6ff;
}

.newsletter {
  padding: 54px 0;
  background: #f2f2f0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 490px;
  gap: 60px;
  align-items: center;
}

.newsletter-inner > div > span {
  color: var(--warm);
  font-size: 10px;
  font-weight: 900;
}

.newsletter h2 {
  margin: 8px 0 10px;
  font-size: 26px;
}

.newsletter p {
  margin: 0;
  color: #686d71;
  font-size: 13px;
}

.newsletter form > label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.newsletter form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
}

.newsletter input {
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #aeb2b5;
  border-right: 0;
  background: #fff;
  outline: 0;
}

.newsletter form button {
  border: 0;
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.newsletter form small {
  display: block;
  margin-top: 8px;
  color: #777c80;
  font-size: 10px;
}

.site-footer {
  padding: 48px 0 54px;
  color: #d8dadd;
  background: #151718;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.footer-wordmark {
  color: #fff;
  font-size: 23px;
  font-weight: 900;
}

.footer-wordmark b {
  color: var(--warm);
  font-size: 13px;
}

.footer-grid p {
  margin: 12px 0 0;
  color: #92979b;
  font-size: 11px;
  line-height: 1.7;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}

.footer-grid nav a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
}

.footer-grid nav a:last-child {
  color: #fff;
  font-weight: 850;
}

.back-top {
  position: fixed;
  z-index: 90;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #c8cbce;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.13);
  cursor: pointer;
}

.back-top svg {
  width: 17px;
}

/* Article */
.article-main {
  padding: 76px 0 0;
}

.article-page-grid {
  width: min(952px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 300px);
  gap: 52px;
  align-items: start;
  margin-inline: auto;
}

.article-page-grid > article {
  min-width: 0;
}

.article-page-grid .article-width,
.article-page-grid .article-tool-inner {
  width: 100%;
}

.article-width {
  width: min(600px, calc(100% - 32px));
  margin-inline: auto;
}

.article-ai-trigger {
  position: fixed;
  z-index: 120;
  top: 50%;
  right: 0;
  width: 42px;
  min-height: 78px;
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 9px 0;
  transform: translateY(-50%);
  border: 1px solid #e6a78a;
  border-right: 0;
  color: var(--warm);
  background: #fff;
  box-shadow: 0 7px 24px rgba(22, 27, 30, 0.12);
  cursor: pointer;
}

.article-ai-trigger svg {
  width: 18px;
  height: 18px;
}

.article-ai-trigger span {
  font-size: 12px;
  font-weight: 900;
}

.article-ai-panel {
  position: fixed;
  z-index: 600;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 100%);
  overflow-y: auto;
  padding: 30px 28px 24px;
  border-left: 1px solid #d9dcde;
  color: var(--ink);
  background: #fff;
  box-shadow: -14px 0 36px rgba(22, 27, 30, 0.15);
}

.article-ai-panel[hidden] {
  display: none;
}

.article-ai-panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 23px;
  border-bottom: 2px solid var(--ink);
}

.article-ai-panel > header div,
.article-ai-panel > header strong {
  display: block;
}

.article-ai-panel > header span {
  display: block;
  margin-bottom: 6px;
  color: var(--warm);
  font-size: 11px;
  font-weight: 900;
}

.article-ai-panel > header strong {
  font-size: 21px;
  line-height: 1.4;
}

.article-ai-panel > header button {
  width: 40px;
  height: 40px;
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  padding: 0;
  border: 1px solid #d6d9db;
  background: #fff;
  cursor: pointer;
}

.article-ai-panel > header svg {
  width: 18px;
  height: 18px;
}

.article-ai-panel > section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.article-ai-panel > section > span {
  display: block;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 900;
}

.article-ai-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 0 0 19px;
}

.article-ai-panel li {
  padding-left: 2px;
  color: #444a4e;
  font-size: 15px;
  line-height: 1.65;
}

.article-ai-panel section button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  margin-top: 8px;
  padding: 11px 13px;
  border: 1px solid #d9dcde;
  border-radius: 3px;
  color: #252a2e;
  background: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.article-ai-panel section button::after {
  content: "\2192";
  margin-left: auto;
  padding-left: 12px;
  color: var(--warm);
  font-size: 17px;
}

.article-ai-panel section button.active {
  border-color: var(--warm);
  color: var(--warm);
  background: #fff7f3;
}

.article-ai-panel > footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  color: #73787c;
  font-size: 12px;
  font-weight: 750;
}

.article-ai-panel > footer svg {
  width: 16px;
  height: 16px;
  color: var(--warm);
}

.article-sidebar {
  position: sticky;
  top: 76px;
  min-width: 0;
  align-self: start;
}

.article-side-ranking > header,
.article-side-headlines > header {
  border-top: 3px solid var(--ink);
}

.article-side-ranking > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0 13px;
  border-bottom: 1px solid #cfd2d4;
}

.article-side-ranking h2,
.article-side-headlines h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.35;
}

.article-side-ranking [role="tablist"] {
  display: flex;
  align-items: center;
  gap: 13px;
}

.article-side-ranking [role="tab"] {
  position: relative;
  padding: 0 0 3px;
  border: 0;
  color: #777c80;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.article-side-ranking [role="tab"].active {
  color: var(--warm);
}

.article-side-ranking [role="tab"].active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--warm);
}

.article-side-ranking ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: article-side-rank;
}

.article-side-ranking ol[hidden] {
  display: none;
}

.article-side-ranking li {
  counter-increment: article-side-rank;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 67px;
  padding: 10px 0;
  border-bottom: 1px solid #e0e2e4;
}

.article-side-ranking li::before {
  content: counter(article-side-rank, decimal-leading-zero);
  align-self: start;
  padding-top: 2px;
  color: var(--warm);
  font-size: 17px;
  font-weight: 900;
}

.article-side-ranking li a {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.48;
  word-break: keep-all;
}

.article-side-headlines {
  margin-top: 38px;
}

.article-side-headlines > header {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #cfd2d4;
}

.article-side-headlines > header > a {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: #777c80;
  font-size: 12px;
  font-weight: 750;
}

.article-side-headlines > header svg {
  width: 14px;
  height: 14px;
}

.article-side-media {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 93px;
  padding: 12px 0;
  border-bottom: 1px solid #e0e2e4;
}

.article-side-media figure {
  width: 104px;
  aspect-ratio: 3 / 2;
  margin: 0;
}

.article-side-media span {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.48;
  word-break: keep-all;
}

.article-side-briefing {
  margin-top: 38px;
  padding: 21px 20px 22px;
  border-top: 3px solid var(--warm);
  background: #f2f4f5;
}

.article-side-briefing > span {
  display: block;
  margin-bottom: 8px;
  color: var(--warm);
  font-size: 11px;
  font-weight: 900;
}

.article-side-briefing h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.45;
}

.article-side-briefing p {
  margin: 0 0 16px;
  color: #62676b;
  font-size: 14px;
  line-height: 1.6;
}

.article-side-briefing a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.article-side-briefing svg {
  width: 16px;
  height: 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 21px;
  color: #73787c;
  font-size: 12px;
  font-weight: 700;
}

.breadcrumb a:first-child {
  color: var(--warm);
}

.breadcrumb svg {
  width: 13px;
  height: 13px;
}

.article-header h1 {
  margin-bottom: 20px;
  font-size: 44px;
  font-weight: 850;
  line-height: 1.3;
  word-break: keep-all;
}

.article-deck {
  margin-bottom: 30px;
  color: #62676b;
  font-size: 18px;
  line-height: 1.67;
  word-break: keep-all;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
}

.reporter {
  display: flex;
  align-items: center;
  gap: 11px;
}

.reporter > span,
.avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #2f4b5f;
  font-weight: 850;
}

.reporter > span {
  width: 42px;
  height: 42px;
  font-size: 15px;
}

.reporter p {
  margin: 0;
}

.reporter strong,
.reporter small {
  display: block;
}

.reporter strong {
  margin-bottom: 4px;
  font-size: 12px;
}

.reporter small,
.date time {
  color: #777c80;
  font-size: 10px;
}

.date {
  display: grid;
  gap: 5px;
  text-align: right;
}

.article-tools {
  position: sticky;
  z-index: 80;
  top: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}

.article-tool-inner {
  width: min(600px, calc(100% - 32px));
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}

.article-tool-inner button,
.article-tool-inner > a {
  min-width: 90px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

.article-tool-inner > .mobile-tool {
  display: none;
}

.article-tool-inner > * + *:not(output) {
  border-left: 1px solid #eceeef;
}

.article-tool-inner svg {
  width: 17px;
  height: 17px;
}

.article-tool-inner output {
  position: absolute;
  top: 58px;
  left: 50%;
  padding: 7px 10px;
  transform: translateX(-50%);
  color: #fff;
  background: var(--ink);
  font-size: 10px;
}

.article-tool-inner output:empty {
  display: none;
}

.article-body {
  --article-font: 19px;
  padding-top: 38px;
  font-size: var(--article-font);
}

.article-summary {
  margin-bottom: 38px;
  padding: 6px 0 6px 20px;
  border-left: 4px solid #b8bdc1;
}

.article-summary strong {
  display: block;
  margin-bottom: 9px;
  color: var(--warm);
  font-size: 11px;
}

.article-summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-summary li {
  color: #4c5358;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.article-hero {
  margin: 0 0 36px;
  overflow: visible;
  background: transparent;
}

.article-hero img {
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  background: #eef0f1;
}

.article-hero figcaption {
  margin-top: 9px;
  color: #85898d;
  font-size: 10px;
  line-height: 1.55;
}

.article-body > p {
  margin: 0 0 35px;
  color: #2a2e31;
  font-size: var(--article-font);
  font-weight: 480;
  line-height: 1.78;
  word-break: keep-all;
}

.article-body .lead-paragraph {
  font-weight: 600;
}

.article-body h2 {
  position: relative;
  margin: 62px 0 20px;
  padding-left: 16px;
  scroll-margin-top: 80px;
  font-size: 28px;
  line-height: 1.42;
  word-break: keep-all;
}

.article-content h2::before {
  content: "";
  position: absolute;
  top: 0.16em;
  bottom: 0.16em;
  left: 0;
  width: 4px;
  background: var(--warm);
}

.article-toc {
  margin: 44px 0 52px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.article-toc > strong {
  min-height: 50px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc li + li {
  border-top: 1px solid #eceeef;
}

.article-toc a {
  min-height: 48px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.article-toc span {
  color: var(--warm);
  font-size: 10px;
  font-weight: 900;
}

.related-inline {
  margin: 43px 0;
  padding: 18px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.related-inline span {
  display: block;
  margin-bottom: 8px;
  color: var(--warm);
  font-size: 10px;
  font-weight: 900;
}

.related-inline a {
  min-height: 35px;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 15px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.related-inline a::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--warm);
  font-size: 18px;
}

.model-box {
  margin: 42px 0;
  border: 1px solid #cfd3d6;
}

.model-box header {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #dfe1e3;
}

.model-box header span {
  font-size: 14px;
  font-weight: 850;
}

.model-box header small {
  color: #85898d;
  font-size: 9px;
}

.model-box > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.model-box article {
  min-height: 120px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 0 16px;
}

.model-box article + article {
  border-left: 1px solid #e0e2e4;
}

.model-box article span {
  color: #62676b;
  font-size: 10px;
}

.model-box article strong {
  font-size: 19px;
}

.model-box article small {
  color: #92969a;
  font-size: 9px;
}

.article-body blockquote {
  margin: 48px 0;
  padding: 3px 0 3px 24px;
  border-left: 5px solid var(--warm);
}

.article-body blockquote p {
  margin: 0;
  font-size: 23px;
  font-weight: 750;
  line-height: 1.58;
  word-break: keep-all;
}

.article-note {
  margin-top: 50px;
  padding: 20px;
  background: #f3f4f4;
}

.article-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
}

.article-note p {
  margin: 0;
  color: #646a6e;
  font-size: 12px;
  line-height: 1.75;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0 50px;
}

.article-tags a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #d0d3d5;
  color: #5e6468;
  font-size: 10px;
  font-weight: 700;
}

.article-footer {
  padding-bottom: 80px;
}

.reporter-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 25px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.avatar {
  width: 68px;
  height: 68px;
  font-size: 22px;
}

.reporter-card small {
  color: var(--warm);
  font-size: 10px;
  font-weight: 850;
}

.reporter-card h2 {
  margin: 5px 0 8px;
  font-size: 17px;
  line-height: 1.48;
}

.reporter-card a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #56636d;
  font-size: 10px;
  font-weight: 750;
}

.reporter-card svg {
  width: 13px;
}

.selected-news,
.article-ranking,
.article-discovery,
.comments {
  margin-top: 62px;
}

.article-discovery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.8fr);
  gap: 38px;
  padding-top: 4px;
}

.article-discovery .section-title {
  min-height: 58px;
  border-top: 3px solid var(--ink);
}

.article-discovery .section-title h2 {
  font-size: 21px;
}

.article-discovery .section-title > a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #666c70;
  font-size: 12px;
  font-weight: 780;
}

.article-discovery .section-title > a svg {
  width: 14px;
  height: 14px;
}

.article-discovery-list > a {
  min-height: 94px;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.article-discovery-list figure {
  width: 118px;
  aspect-ratio: 16 / 10;
  margin: 0;
}

.article-discovery-list figure img,
.article-discovery-list .ttn-media-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.article-discovery-list span {
  display: block;
  margin-bottom: 5px;
  color: var(--warm);
  font-size: 11.5px;
  font-weight: 800;
}

.article-discovery-list h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.article-discovery-popular ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: article-discovery-rank;
}

.article-discovery-popular li {
  min-height: 64px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  counter-increment: article-discovery-rank;
}

.article-discovery-popular li::before {
  content: counter(article-discovery-rank, decimal-leading-zero);
  color: var(--warm);
  font-size: 14px;
  font-weight: 900;
}

.article-discovery-popular li a {
  font-size: 15px;
  font-weight: 780;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.selected-news > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 22px;
}

.selected-news figure {
  aspect-ratio: 16 / 9;
  margin-bottom: 12px;
}

.selected-news h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  word-break: keep-all;
}

.article-ranking li {
  min-height: 58px;
}

.comments .section-title span {
  color: var(--warm);
}

.comments .section-title > button {
  border: 0;
}

.comments form {
  margin-top: 20px;
  padding: 18px;
  background: #f3f4f4;
}

.comments label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
}

.comments textarea {
  width: 100%;
  min-height: 100px;
  resize: vertical;
  padding: 12px;
  border: 1px solid #cfd2d4;
  outline: 0;
  font-size: 12px;
  line-height: 1.6;
}

.comments form > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
}

.comments form small {
  color: #777c80;
  font-size: 9px;
}

.comments form button {
  min-width: 68px;
  min-height: 34px;
  border: 0;
  color: #fff;
  background: var(--ink);
  font-size: 10px;
  font-weight: 800;
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    color: var(--warm);
  }

  .media-frame img {
    transition: transform 180ms ease;
  }

  a.media-frame:hover img,
  a:hover .media-frame img {
    transform: scale(1.015);
  }

  .round-button:hover,
  .back-top:hover {
    background: #e7e8e8;
  }
}

@media (max-width: 1050px) {
  .category-inner {
    grid-template-columns: 120px minmax(0, 1fr) auto;
  }

  .category-inner time {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .category-inner nav {
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .lead {
    grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.4fr);
  }

  .lead-briefs {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .lead-briefs article {
    min-height: 100px;
    padding: 20px;
  }

  .lead-briefs article + article {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .issue-layout,
  .latest-section {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 28px;
  }

  .issue-feature {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .newsletter-inner {
    grid-template-columns: 1fr 420px;
  }
}

@media (max-width: 990px) {
  .article-page-grid {
    width: min(600px, calc(100% - 32px));
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .article-sidebar {
    display: none;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 28px, 760px);
  }

  .utility {
    display: none;
  }

  .masthead {
    min-height: 68px;
  }

  .wordmark {
    font-size: 27px;
  }

  .wordmark b {
    min-width: 36px;
    height: 30px;
  }

  .market-mini {
    display: none;
  }

  .category-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .category-inner time {
    display: none;
  }

  .lead {
    grid-template-columns: 1fr;
  }

  .lead-image {
    grid-row: 1;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .lead-copy {
    grid-row: 2;
  }

  .lead-copy h1 {
    font-size: 32px;
  }

  .headline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 0;
  }

  .headline-grid article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .issue-layout,
  .latest-section {
    grid-template-columns: 1fr;
  }

  .opinion-panel,
  .ranking {
    margin-top: 20px;
  }

  .latest-section {
    margin-top: 55px;
  }

  .data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-grid article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid #46515b;
  }

  .data-grid article:nth-child(4) {
    border-top: 1px solid #46515b;
  }

  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .article-main {
    padding-top: 54px;
  }

  .article-ai-trigger,
  .article-ai-panel {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .article-page-grid {
    width: calc(100% - 28px);
  }

  .masthead {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .masthead-side {
    gap: 0;
  }

  .masthead-side .ai-button {
    display: none;
  }

  .round-button {
    width: 40px;
    height: 40px;
    background: transparent;
  }

  .wordmark {
    justify-self: center;
    gap: 6px;
    font-size: 23px;
  }

  .wordmark b {
    min-width: 31px;
    height: 26px;
    font-size: 12px;
  }

  .category-inner {
    min-height: 43px;
  }

  .category-inner nav {
    gap: 22px;
  }

  .category-inner nav a {
    min-height: 43px;
    font-size: 13px;
  }

  .plus-link {
    padding-inline: 8px;
    font-size: 10px;
  }

  .drawer {
    padding: 20px 22px 40px;
  }

  .drawer-grid {
    gap: 28px 22px;
  }

  .search-overlay {
    padding: 16vh 22px 40px;
  }

  .search-overlay input {
    height: 64px;
    font-size: 24px;
  }

  .promo {
    min-height: 70px;
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    margin-top: 14px;
    padding: 13px 16px;
  }

  .promo span {
    grid-column: 1 / -1;
    margin-bottom: -3px;
  }

  .promo strong {
    font-size: 14px;
    line-height: 1.45;
  }

  .promo a {
    padding: 0 10px;
  }

  .lead {
    gap: 20px;
    padding: 16px 0 24px;
  }

  .lead-copy h1 {
    margin-bottom: 14px;
    font-size: 30px;
    line-height: 1.36;
  }

  .lead-copy p {
    margin-bottom: 15px;
    font-size: 13px;
  }

  .lead-briefs {
    display: block;
  }

  .lead-briefs article {
    min-height: 78px;
    padding: 16px 2px;
  }

  .lead-briefs article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .lead-briefs h2 {
    font-size: 16px;
  }

  .headline-grid {
    gap: 24px 0;
    padding: 24px 0 28px;
  }

  .headline-grid article {
    padding: 0 12px;
  }

  .headline-grid article:nth-child(odd) {
    padding-left: 0;
  }

  .headline-grid article:nth-child(even) {
    padding-right: 0;
  }

  .headline-grid h2 {
    font-size: 15px;
    line-height: 1.45;
  }

  .ad-band {
    min-height: 175px;
    margin-top: 20px;
  }

  .ad-band > div {
    min-height: 122px;
    grid-template-columns: 1fr auto;
    padding: 18px;
  }

  .ad-band b {
    grid-column: 1 / -1;
    width: auto;
  }

  .ad-band strong {
    font-size: 16px;
  }

  .issue-layout {
    padding-top: 22px;
  }

  .section-title {
    min-height: 51px;
  }

  .section-title h2 {
    font-size: 18px;
  }

  .issue-feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .issue-lead {
    grid-row: 1;
  }

  .issue-lead figure {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .issue-lead h3 {
    font-size: 22px;
  }

  .issue-list article {
    min-height: 86px;
  }

  .latest-list article,
  .latest-list article > a {
    min-height: 130px;
  }

  .latest-list article > a {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
    padding: 17px 0;
  }

  .latest-list figure {
    height: 82px;
  }

  .latest-list h3 {
    margin-bottom: 7px;
    font-size: 16px;
    line-height: 1.45;
  }

  .latest-list p {
    display: none;
  }

  .data-strip {
    padding: 32px 0;
  }

  .data-grid article {
    min-height: 105px;
    padding: 0 14px;
  }

  .data-grid strong {
    font-size: 20px;
  }

  .newsletter {
    padding: 40px 0;
  }

  .newsletter h2 {
    font-size: 22px;
    line-height: 1.4;
  }

  .newsletter form > div {
    grid-template-columns: minmax(0, 1fr) 94px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .back-top {
    right: 14px;
    bottom: 66px;
  }

  /* Article mobile */
  .article-main {
    padding-top: 34px;
  }

  .article-width {
    width: calc(100% - 28px);
  }

  .article-header h1 {
    margin-bottom: 16px;
    font-size: 31px;
    line-height: 1.34;
  }

  .article-deck {
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.65;
  }

  .article-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .date {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    text-align: left;
  }

  .article-tools {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid #cfd2d4;
    border-bottom: 0;
  }

  .article-tool-inner {
    width: 100%;
    min-height: 54px;
    justify-content: space-evenly;
  }

  .article-tool-inner button,
  .article-tool-inner > a {
    min-width: 0;
    flex: 1 1 20%;
    min-height: 54px;
    flex-direction: column;
    gap: 2px;
    padding: 4px 2px;
    font-size: 9px;
  }

  .article-tool-inner > .desktop-tool {
    display: none;
  }

  .article-tool-inner > .mobile-tool {
    display: flex;
  }

  .article-tool-inner > .is-next {
    min-height: 60px;
    align-self: end;
    margin-top: -6px;
    border-left-color: transparent;
    border-radius: 5px 5px 0 0;
    color: #fff;
    background: var(--warm);
    box-shadow: 0 -3px 10px rgba(242, 99, 40, 0.2);
  }

  .article-tool-inner output {
    top: auto;
    bottom: 60px;
  }

  .article-body {
    --article-font: 18px;
    padding-top: 28px;
  }

  .article-summary {
    margin-bottom: 30px;
    padding-left: 15px;
  }

  .article-summary li {
    font-size: 14px;
    line-height: 1.75;
  }

  .article-hero {
    margin-bottom: 29px;
  }

  .article-body > p {
    margin-bottom: 1.75em;
    line-height: 1.86;
  }

  .article-body h2 {
    margin: 2.25em 0 0.72em;
    font-size: 25px;
    line-height: 1.42;
  }

  .article-toc {
    margin: 36px 0 44px;
  }

  .related-inline {
    margin: 36px 0;
  }

  .model-box > div {
    grid-template-columns: 1fr;
  }

  .model-box article {
    min-height: 90px;
  }

  .model-box article + article {
    border-top: 1px solid #e0e2e4;
    border-left: 0;
  }

  .article-body blockquote {
    margin: 40px 0;
    padding-left: 18px;
  }

  .article-body blockquote p {
    font-size: 21px;
  }

  .reporter-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 15px;
    padding: 22px 10px;
  }

  .avatar {
    width: 54px;
    height: 54px;
  }

  .reporter-card h2 {
    font-size: 15px;
  }

  .selected-news > div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article-discovery {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .article-discovery-list > a {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .article-discovery-list figure {
    width: 112px;
  }

  .article-discovery-list h3,
  .article-discovery-popular li a {
    font-size: 15px;
  }

  .selected-news > div > a {
    min-height: 112px;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .selected-news figure {
    margin: 0;
  }

  .selected-news h3 {
    font-size: 14px;
  }

  .article-footer {
    padding-bottom: 60px;
  }
}

@media (max-width: 360px) {
  .wordmark {
    font-size: 21px;
  }

  .wordmark b {
    display: none;
  }

  .lead-copy h1 {
    font-size: 28px;
  }

  .headline-grid h2 {
    font-size: 14px;
  }

  .latest-list article > a {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .article-header h1 {
    font-size: 29px;
  }

  .article-body {
    --article-font: 17.5px;
  }
}

/* Readability pass: secondary information must remain readable at a glance. */
.utility a,
.market-mini {
  font-size: 13px;
}

.category-inner time,
.promo span,
.promo a,
.byline,
.lead-briefs span,
.headline-grid span,
.latest-list span,
.ad-band a,
.issue-list span,
.latest-list time,
.data-grid span,
.data-grid em,
.footer-grid p,
.footer-grid nav a {
  font-size: 13px;
}

.category-inner nav a {
  font-size: 15px;
}

.plus-link,
.ad-band b,
.section-title button,
.data-strip header span,
.data-strip header time,
.newsletter-inner > div > span,
.newsletter form small {
  font-size: 12px;
}

.drawer-grid h2 {
  font-size: 17px;
}

.drawer-grid a {
  font-size: 16px;
}

.search-overlay form > label,
.section-title > a,
.section-title nav,
.section-title > div {
  font-size: 14px;
}

.search-overlay > p,
.issue-lead p,
.latest-list p,
.newsletter p {
  font-size: 15px;
}

.lead-copy p {
  font-size: 16px;
}

.columnist span {
  font-size: 13px;
}

.columnist strong,
.ranking li a,
.article-ranking li a {
  font-size: 16px;
}

.ranking li::before,
.article-ranking li::before {
  font-size: 16px;
}

.newsletter form button {
  font-size: 13px;
}

.breadcrumb {
  font-size: 14px;
}

.reporter strong {
  font-size: 14px;
}

.reporter small,
.date time {
  font-size: 12px;
}

.article-tool-inner button,
.article-tool-inner > a,
.article-tool-inner output {
  font-size: 12px;
}

.article-summary strong {
  font-size: 14px;
}

.article-summary li {
  font-size: 17px;
  line-height: 1.82;
}

.article-hero figcaption {
  font-size: 12px;
}

.article-toc > strong {
  min-height: 58px;
  font-size: 18px;
}

.article-toc a {
  min-height: 58px;
  grid-template-columns: 38px minmax(0, 1fr);
  font-size: 16px;
  line-height: 1.5;
}

.article-toc span {
  font-size: 13px;
}

.related-inline span {
  margin-bottom: 10px;
  font-size: 14px;
}

.related-inline a {
  min-height: 46px;
  padding-left: 19px;
  font-size: 16px;
  line-height: 1.55;
}

.related-inline a::before {
  font-size: 22px;
}

.model-box header span {
  font-size: 16px;
}

.model-box header small,
.model-box article small {
  font-size: 12px;
}

.model-box article span {
  font-size: 13px;
}

.article-note strong {
  font-size: 14px;
}

.article-note p {
  font-size: 14px;
  line-height: 1.8;
}

.article-tags a {
  min-height: 36px;
  font-size: 12px;
}

.reporter-card small,
.reporter-card a {
  font-size: 13px;
}

.reporter-card h2 {
  font-size: 19px;
}

.selected-news h3 {
  font-size: 16px;
}

.comments label,
.comments textarea {
  font-size: 14px;
}

.comments form small {
  font-size: 12px;
}

.comments form button {
  font-size: 13px;
}

@media (max-width: 620px) {
  .category-inner nav a {
    font-size: 14px;
  }

  .plus-link {
    font-size: 12px;
  }

  .promo strong,
  .lead-copy p {
    font-size: 15px;
  }

  .headline-grid h2 {
    font-size: 16px;
  }

  .article-tool-inner button,
  .article-tool-inner > a {
    font-size: 11px;
  }

  .article-summary li {
    font-size: 16px;
  }

  .reporter-card h2 {
    font-size: 17px;
  }

  .selected-news h3 {
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .headline-grid h2 {
    font-size: 15px;
  }

  .article-body {
    --article-font: 18px;
  }
}

/* WordPress integration */
.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 2000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: #fff;
  background: var(--ink);
}

.wordmark.has-custom-logo {
  width: min(260px, 100%);
  height: 54px;
  display: flex;
  justify-content: center;
}

.ttn-custom-logo {
  width: auto;
  height: auto;
  max-width: 260px;
  max-height: 48px;
  object-fit: contain;
}

.ttn-media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 90px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: #8a8f93;
  background: #eef0f1;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.ttn-ad-slot {
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

.ttn-ad-slot img,
.ttn-ad-slot iframe,
.ttn-ad-slot ins {
  max-width: 100%;
}

.ttn-ad-slot:empty,
.ttn-ad-slot[hidden],
.ttn-ad-slot:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.ttn-ad-slot > .widget:empty,
ins.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}

.ttn-head-ad,
.footer-ad-slot {
  margin-top: 20px;
  margin-bottom: 20px;
}

.ad-band > .ttn-ad-slot {
  min-width: 0;
}

.newsletter form > .newsletter-consent {
  position: static;
  width: auto;
  height: auto;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 10px;
  overflow: visible;
  clip: auto;
  color: #666c70;
  font-size: 12px;
  line-height: 1.5;
}

.newsletter-consent input {
  width: 15px;
  min-width: 15px;
  height: 15px;
  margin: 2px 0 0;
  padding: 0;
}

.newsletter-consent a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.newsletter button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.article-content > p,
.article-content > ul,
.article-content > ol,
.article-content .wp-block-group > p {
  margin: 0 0 35px;
  color: #2a2e31;
  font-size: var(--article-font);
  font-weight: 480;
  line-height: 1.82;
  word-break: keep-all;
}

.article-content > ul,
.article-content > ol {
  padding-left: 1.4em;
}

.article-content li + li {
  margin-top: 0.55em;
}

.article-content h2,
.article-content h3 {
  scroll-margin-top: 80px;
  word-break: keep-all;
}

.article-content h3 {
  margin: 45px 0 16px;
  font-size: 23px;
  line-height: 1.45;
}

.article-content figure,
.article-content .wp-block-image,
.article-content .wp-block-embed {
  margin: 36px 0;
}

.article-content img {
  width: auto;
  height: auto;
  max-width: 100%;
  margin-inline: auto;
  object-fit: contain;
}

.article-content figcaption {
  margin-top: 9px;
  color: #85898d;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

.article-content blockquote {
  margin: 48px 0;
  padding: 3px 0 3px 24px;
  border-left: 5px solid var(--warm);
}

.article-content blockquote p {
  margin: 0;
  font-size: 23px;
  font-weight: 750;
  line-height: 1.58;
}

.article-content a:not(.wp-element-button) {
  color: #135aa2;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content .wp-element-button,
.article-content .wp-block-button__link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 3px;
  color: #fff;
  background: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.article-content .wp-block-button.is-style-article-cta .wp-block-button__link {
  min-height: 50px;
  justify-content: center;
  padding-inline: 20px;
  color: #fff;
  background: var(--warm);
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
}

.article-toc .toc-h3 a {
  padding-left: 18px;
  color: #555b60;
}

.article-inline-ad,
.article-side-ad {
  margin-bottom: 32px;
}

.article-side-widgets {
  margin-top: 38px;
  border-top: 3px solid var(--ink);
}

.article-side-widgets .widget {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.article-side-widgets h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.article-side-widgets ul {
  margin: 0;
  padding-left: 18px;
}

.comment-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.comment-list .comment-body {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
}

.comment-list .children {
  margin-left: 28px;
  list-style: none;
}

.comments .comment-reply-title {
  margin: 0 0 12px;
  font-size: 18px;
}

.comments .comment-notes,
.comments .logged-in-as {
  color: #6d7276;
  font-size: 13px;
}

.comments .comment-form p {
  margin: 10px 0 0;
}

.comments .comment-form input[type="text"],
.comments .comment-form input[type="email"],
.comments .comment-form input[type="url"] {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #cfd2d4;
  background: #fff;
}

.comments .form-submit {
  display: flex;
  justify-content: flex-end;
}

.comments .submit {
  min-width: 78px;
  min-height: 40px;
  border: 0;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.ttn-archive,
.ttn-page,
.ttn-empty {
  padding: 70px 0 90px;
}

.ttn-archive-head {
  padding-bottom: 24px;
  border-bottom: 3px solid var(--ink);
}

.ttn-archive-head h1,
.ttn-page > article > h1,
.ttn-empty h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.35;
  word-break: keep-all;
}

.ttn-archive-head > div {
  margin-top: 10px;
  color: #686d71;
  font-size: 15px;
  line-height: 1.7;
}

.ttn-filter-nav {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.ttn-filter-nav a {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 800;
}

.ttn-filter-nav .is-active {
  color: var(--warm);
}

.ttn-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 52px;
  margin-top: 34px;
}

.ttn-list-item {
  min-height: 190px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.ttn-list-item:first-child {
  padding-top: 0;
}

.ttn-list-item-media {
  min-height: 150px;
  display: block;
  overflow: hidden;
  background: #eef0f1;
}

.ttn-list-item-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ttn-list-item .category,
.ttn-empty .category {
  color: var(--warm);
  font-size: 12px;
  font-weight: 900;
}

.ttn-list-item h2 {
  margin: 8px 0 10px;
  font-size: 22px;
  line-height: 1.45;
  word-break: keep-all;
}

.ttn-list-item p {
  margin: 0 0 14px;
  color: #666c70;
  font-size: 15px;
  line-height: 1.65;
}

.ttn-list-item .meta {
  color: #858a8e;
  font-size: 12px;
}

.ttn-archive-sidebar {
  position: sticky;
  top: 76px;
  align-self: start;
}

.ttn-widget {
  padding: 18px 0 22px;
  border-top: 3px solid var(--ink);
}

.ttn-widget + .ttn-widget {
  margin-top: 34px;
}

.ttn-widget-title {
  margin: 0 0 14px;
  font-size: 20px;
}

.ttn-widget ol,
.ttn-widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ttn-widget li {
  min-height: 48px;
  padding: 11px 0;
  border-bottom: 1px solid #e0e2e4;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
}

.ttn-widget .nf-rank-list {
  counter-reset: archive-rank;
}

.ttn-widget .nf-rank-list li {
  counter-increment: archive-rank;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
}

.ttn-widget .nf-rank-list li::before {
  content: counter(archive-rank, decimal-leading-zero);
  color: var(--warm);
  font-weight: 900;
}

.ttn-pagination {
  margin-top: 36px;
}

.ttn-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.ttn-pagination .page-numbers {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.ttn-pagination .current {
  color: #fff;
  background: var(--ink);
}

.ttn-page > article,
.ttn-empty {
  width: min(760px, calc(100% - 32px));
  margin-inline: auto;
}

.ttn-page .na-body,
.ttn-page .page-content {
  margin-top: 35px;
  color: #2a2e31;
  font-size: 18px;
  line-height: 1.85;
}

.ttn-page .na-body h2 {
  margin: 52px 0 16px;
  font-size: 27px;
}

.ttn-page .na-body h3 {
  margin: 38px 0 14px;
  font-size: 21px;
}

.ttn-page .na-body img {
  width: auto;
  height: auto;
  max-width: 100%;
}

.ttn-command-link,
.ttn-empty-state a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 0 16px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.ttn-empty-state {
  padding: 70px 0;
  text-align: center;
}

.alignwide {
  width: min(760px, calc(100vw - 32px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

body.has-admin-bar .article-tools,
body.has-admin-bar .article-sidebar,
body.has-admin-bar .ttn-archive-sidebar {
  top: 32px;
}

@media (max-width: 990px) {
  .ttn-archive-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .ttn-archive-sidebar {
    display: none;
  }
}

@media (max-width: 782px) {
  body.has-admin-bar .article-tools {
    top: 46px;
  }
}

@media (max-width: 620px) {
  body.has-admin-bar .article-tools {
    top: auto;
  }

  .wordmark.has-custom-logo {
    width: min(190px, 100%);
    height: 42px;
  }

  .ttn-custom-logo {
    max-width: 190px;
    max-height: 36px;
  }

  .article-content > p,
  .article-content > ul,
  .article-content > ol,
  .article-content .wp-block-group > p {
    margin-bottom: 1.75em;
    line-height: 1.86;
  }

  .article-content h3 {
    margin: 2em 0 0.7em;
    font-size: 21px;
  }

  .article-content blockquote {
    margin: 40px 0;
    padding-left: 18px;
  }

  .article-content blockquote p {
    font-size: 21px;
  }

  .ttn-archive,
  .ttn-page,
  .ttn-empty {
    padding: 42px 0 70px;
  }

  .ttn-archive-head h1,
  .ttn-page > article > h1,
  .ttn-empty h1 {
    font-size: 30px;
  }

  .ttn-list-item {
    min-height: 126px;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
  }

  .ttn-list-item-media {
    min-height: 92px;
  }

  .ttn-list-item h2 {
    margin: 5px 0 8px;
    font-size: 17px;
  }

  .ttn-list-item p {
    display: none;
  }

  .ttn-page > article,
  .ttn-empty {
    width: calc(100% - 28px);
  }

  .ttn-page .na-body {
    font-size: 17px;
  }
}
