:root {
  --article-shell: min(1180px, calc(100vw - 32px));
  --article-wrap: min(820px, calc(100vw - 32px));
  --article-hero-top: 108px;
  --article-shadow: 0 24px 80px rgba(7, 36, 23, 0.12);
  --article-border: rgba(8, 26, 18, 0.08);
}

body.article-page {
  background:
    linear-gradient(180deg, #f7f5f1 0%, #fcfbf8 14%, #ffffff 34%, #ffffff 100%);
  color: var(--t600);
}

.article-page main {
  padding-bottom: 48px;
}

.article-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(8, 26, 18, 0.05);
}

.article-nav-inner {
  width: var(--article-shell);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}

.article-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.article-brand .logo-m {
  position: relative;
  width: 42px;
  height: 42px;
}

.article-brand .logo-m img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.article-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.article-nav-links a {
  color: var(--t500);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 9999px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.article-nav-links a:hover,
.article-nav-links a:focus-visible {
  color: var(--t800);
  background: rgba(8, 26, 18, 0.05);
  outline: none;
}

.article-nav-links a[aria-current="page"] {
  background: var(--g50);
  color: var(--g700);
}

.article-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  text-decoration: none;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--g600), var(--g700));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(18, 168, 106, 0.22);
  white-space: nowrap;
}

.article-hero {
  padding: var(--article-hero-top) 0 34px;
}

.article-hero-shell {
  width: var(--article-shell);
  margin: 0 auto;
  display: block;
  align-items: stretch;
}

.article-hero-copy,
.article-hero-visual {
  position: relative;
}

.article-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.article-hero-copy.article-panel {
  padding: 0;
}

.article-kicker {
  display: none;
}

.article-kicker::before {
  display: none;
}

.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.84rem;
  color: var(--t400);
}

.article-breadcrumbs a {
  color: var(--g700);
  text-decoration: none;
}

.article-breadcrumbs a:hover,
.article-breadcrumbs a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.article-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--t800);
  margin: 0 0 12px;
  max-width: 14ch;
}

.article-title span {
  color: inherit;
}

.article-lede {
  font-size: 0.94rem;
  line-height: 1.72;
  max-width: 64ch;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 0 24px;
}

.article-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--t600);
  font-size: 0.8rem;
  font-weight: 500;
}

.article-meta-chip svg {
  width: 13px;
  height: 13px;
  color: var(--t500);
  flex-shrink: 0;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.article-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.article-btn:hover,
.article-btn:focus-visible {
  outline: none;
}

.article-btn-primary {
  color: #fff;
  background: var(--g700);
  box-shadow: none;
}

.article-btn-secondary {
  color: var(--t800);
  background: transparent;
  border: 0;
  padding-left: 0;
  padding-right: 0;
  min-height: auto;
}

.article-hero-visual.article-panel {
  display: none;
}

.article-visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.article-visual-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 9999px;
  background: rgba(8, 26, 18, 0.04);
  border: 1px solid rgba(8, 26, 18, 0.06);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--t800);
}

.article-visual-chip strong {
  color: inherit;
}

.article-visual-card {
  position: relative;
  border-radius: 28px;
  min-height: 250px;
  overflow: hidden;
  padding: 24px;
  color: var(--t800);
  display: flex;
  align-items: flex-end;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.article-visual-card::before,
.article-visual-card::after {
  content: '';
  position: absolute;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
}

.article-visual-card::before {
  width: 180px;
  height: 180px;
  top: -36px;
  right: -24px;
}

.article-visual-card::after {
  width: 110px;
  height: 110px;
  bottom: 26px;
  left: -24px;
}

.article-visual-card svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.article-visual-copy {
  position: relative;
  z-index: 1;
  max-width: 240px;
}

.article-visual-copy strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.article-visual-copy p {
  color: var(--t600);
  line-height: 1.55;
  font-size: 0.92rem;
}

.article-content-shell {
  width: var(--article-shell);
  margin: 0 auto;
  display: block;
  align-items: start;
}

.article-content {
  min-width: 0;
}

.article-body.article-panel {
  padding: 0;
}

.article-body h2 {
  font-family: var(--serif);
  font-size: clamp(1.28rem, 1.9vw, 1.72rem);
  line-height: 1.12;
  color: var(--t800);
  margin: 24px 0 10px;
  letter-spacing: -0.03em;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p,
.article-body li {
  font-size: 0.93rem;
  line-height: 1.72;
}

.article-body p + p {
  margin-top: 18px;
}

.article-body ul {
  padding-left: 22px;
  margin: 18px 0 8px;
}

.article-body li + li {
  margin-top: 10px;
}

.article-body a {
  color: #4c3db8;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.article-emphasis {
  color: var(--t800);
  font-weight: 700;
}

.article-note {
  margin: 28px 0;
  padding: 16px 0 16px 16px;
  border-radius: 0;
  border: 0;
  border-left: 2px solid rgba(8, 26, 18, 0.14);
  background: transparent;
  box-shadow: none;
}

.article-note strong {
  display: block;
  color: var(--t800);
  margin-bottom: 8px;
}

.article-note-warm {
  border-left-color: rgba(8, 26, 18, 0.14);
  background: transparent;
}

.article-note-cool {
  border-left-color: rgba(8, 26, 18, 0.14);
  background: transparent;
}

.article-cta-band.article-panel {
  margin-top: 22px;
  padding: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: transparent;
  border-top: 1px solid rgba(8, 26, 18, 0.08);
}

.article-cta-band h3 {
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  color: var(--t800);
  margin-bottom: 6px;
}

.article-cta-band p {
  max-width: 54ch;
  font-size: 0.91rem;
}

.article-aside {
  display: none;
}

.article-side-card.article-panel {
  padding: 22px;
}

.article-side-card h3 {
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--t800);
  margin-bottom: 10px;
}

.article-side-card p {
  line-height: 1.7;
  font-size: 0.92rem;
}

.article-side-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.article-side-link {
  display: flex;
  gap: 12px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  background: rgba(8, 26, 18, 0.03);
  border: 1px solid rgba(8, 26, 18, 0.06);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.article-side-link:hover,
.article-side-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(8, 26, 18, 0.045);
  border-color: rgba(8, 26, 18, 0.1);
  outline: none;
}

.article-side-index {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--t800);
  font-weight: 800;
  flex-shrink: 0;
}

.article-side-link strong {
  display: block;
  color: var(--t800);
  margin-bottom: 4px;
}

.article-side-link span {
  font-size: 0.86rem;
  line-height: 1.5;
}

.article-related-wrap {
  width: var(--article-shell);
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(8, 26, 18, 0.08);
}

.article-related-minimal {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(8, 26, 18, 0.08);
}

.article-related-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(8, 26, 18, 0.08);
  text-decoration: none;
  color: inherit;
}

.article-related-item:hover,
.article-related-item:focus-visible {
  background: rgba(8, 26, 18, 0.018);
  outline: none;
}

.article-related-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t400);
  padding-top: 3px;
}

.article-related-copy strong {
  display: block;
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.2;
  color: var(--t800);
  margin-bottom: 4px;
}

.article-related-copy span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.58;
  color: var(--t500);
}

.article-footer {
  margin-top: 34px;
  background: var(--d950);
  color: rgba(255, 255, 255, 0.74);
}

.article-page footer {
  margin-top: 34px;
}

.article-page .fg-grid {
  max-width: 1320px;
  margin: 0 auto;
}

.article-page .fbot {
  max-width: 1320px;
  margin: 0 auto;
}

.article-footer-wrap {
  width: var(--article-shell);
  margin: 0 auto;
  padding: 34px 0 20px;
}

.article-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.8fr));
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-footer .article-brand {
  margin-bottom: 12px;
}

.article-footer .article-brand .logo-t {
  color: #fff;
}

.article-footer .article-brand .logo-sub {
  color: rgba(255, 255, 255, 0.56);
}

.article-footer p {
  max-width: 48ch;
}

.article-footer h4 {
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.article-footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.article-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.article-footer a:hover,
.article-footer a:focus-visible {
  color: #fff;
  outline: none;
}

.article-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  font-size: 0.88rem;
}

.article-theme-amber .article-kicker {
  background: rgba(132, 94, 42, 0.08);
}

.article-theme-amber .article-visual-card {
  background: linear-gradient(140deg, #f4ece1 0%, #efe5d6 55%, #e7ddce 100%);
}

.article-theme-blue .article-kicker {
  background: rgba(76, 61, 184, 0.08);
}

.article-theme-blue .article-visual-card {
  background: linear-gradient(145deg, #eef0fa 0%, #e7eaf9 56%, #dde2f0 100%);
}

.article-theme-green .article-visual-card {
  background: linear-gradient(145deg, #edf4ee 0%, #e6efe8 48%, #dde8e0 100%);
}

@media (max-width: 1120px) {
  .article-footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .article-nav-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .article-nav-links {
    order: 3;
  }

  .article-nav-cta {
    order: 2;
  }

  .article-hero {
    padding-top: 92px;
  }
}

@media (max-width: 640px) {
  :root {
    --article-shell: calc(100vw - 20px);
    --article-wrap: calc(100vw - 20px);
    --article-hero-top: 84px;
  }

  .article-nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .article-nav-links a {
    white-space: nowrap;
  }

  .article-title {
    font-size: clamp(1.48rem, 9vw, 2.08rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    max-width: none;
  }

  .article-hero {
    padding-bottom: 22px;
  }

  .article-breadcrumbs {
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.78rem;
  }

  .article-lede,
  .article-body p,
  .article-body li,
  .article-related-copy span {
    font-size: 0.89rem;
    line-height: 1.62;
  }

  .article-meta-row {
    gap: 8px 14px;
    margin: 14px 0 18px;
  }

  .article-meta-chip {
    font-size: 0.76rem;
  }

  .article-related-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 0;
  }

  .article-cta-band.article-panel,
  .article-footer-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .article-actions,
  .article-cta-band {
    align-items: stretch;
    gap: 8px 10px;
  }

  .article-btn,
  .article-nav-cta {
    width: 100%;
    min-height: 44px;
    padding: 11px 14px;
    font-size: 0.9rem;
    border-radius: 12px;
  }

  .article-btn-secondary {
    justify-content: flex-start;
  }

  .article-body h2 {
    font-size: 1.18rem;
    margin: 20px 0 8px;
  }

  .article-note {
    margin: 20px 0;
    padding: 12px 0 12px 12px;
  }

  .article-related-wrap {
    margin-top: 18px;
    padding-top: 14px;
  }

  .article-related-label {
    font-size: 0.68rem;
    padding-top: 0;
  }

  .article-related-copy strong {
    font-size: 0.92rem;
  }

  .article-cta-band.article-panel {
    margin-top: 18px;
    padding-top: 18px;
    gap: 14px;
  }

  .article-page footer {
    margin-top: 24px;
  }
}

@media (max-width: 420px) {
  :root {
    --article-shell: calc(100vw - 16px);
    --article-wrap: calc(100vw - 16px);
    --article-hero-top: 78px;
  }

  .article-hero {
    padding-bottom: 18px;
  }

  .article-title {
    font-size: clamp(1.4rem, 10vw, 1.9rem);
  }

  .article-lede,
  .article-body p,
  .article-body li,
  .article-related-copy span {
    font-size: 0.87rem;
  }

  .article-btn,
  .article-nav-cta {
    padding: 10px 13px;
  }
}
