﻿:root {
  --ink: #1a1a1a;
  --muted: #777878;
  --blue: #2f80ed;
  --lime: #52f731;
  --yellow: #f9cc49;
  --surface: #f5f5f5;
  --line: #d8d8d8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Helvetica, Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-progress {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
}

.page-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--blue);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 28px clamp(20px, 4vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

/* .logo {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
} */

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 54px);
  color: var(--muted);
  font-size: 16px;
}

.site-nav a,
.phone {
  transition: color 0.2s ease;
}

.site-nav a:hover,
.phone:hover,
.toc a:hover,
.toc a.is-active {
  color: var(--blue);
}

.phone {
  color: var(--ink);
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(32px, 5vw, 96px);
  min-height: 640px;
  padding: 72px clamp(20px, 4vw, 72px) 58px;
  background: var(--ink);
  color: var(--white);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.3;
}

.hero h1 {
  max-width: 1060px;
  margin: 0;
  font-size: clamp(42px, 4.6vw, 70px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1.18;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 54px;
}

.hero__meta span {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.hero-author {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: 100%;
  margin-top: 22px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-author__avatar {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  line-height: 1;
}

.hero-author__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.hero-author__text span,
.hero-author__text small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.2;
}

.hero-author__text strong {
  color: var(--white);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.15;
}

.hero-card {
  align-self: end;
  min-height: 460px;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: #101010;
}

.hero-card__visual {
  overflow: hidden;
  height: 260px;
  margin-bottom: 28px;
  border-radius: 6px;
  background: #000;
}

.hero-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card__label {
  color: var(--lime);
  font-size: 14px;
  text-transform: uppercase;
}

.hero-card p:last-child {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

.ticker {
  display: flex;
  gap: 28px;
  overflow: hidden;
  padding: 24px clamp(20px, 4vw, 72px);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 17px;
  white-space: nowrap;
}


@media (max-width: 640px) {
  .ticker {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ticker::-webkit-scrollbar {
    display: none;
  }

  .ticker span {
    flex: 0 0 auto;
  }
}
.ticker span::after {
  content: "/";
  margin-left: 28px;
  color: var(--blue);
}

.article-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 920px);
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 78px clamp(20px, 4vw, 72px) 120px;
}

.toc {
  position: sticky;
  top: 104px;
  min-width: 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.toc__links {
  min-width: 0;
  max-width: 100%;
}

.toc p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 18px;
}

.toc__links a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.25;
}

.toc-banner {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: clamp(128px, 10vw, 156px);
  margin: 0 0 18px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}

.toc-banner img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.toc-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.48) 58%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(47, 128, 237, 0.18), rgba(0, 0, 0, 0));
}

.toc-banner__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(128px, 10vw, 156px);
  gap: 8px;
  max-width: 72%;
  padding: 14px;
}

.toc-banner__eyebrow {
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--lime);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}

.toc-banner strong {
  font-size: clamp(18px, 1.45vw, 23px);
  font-weight: 400;
  line-height: 1.02;
}

.toc-banner span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.25;
}

.toc-banner__cta {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 32px;
  margin-top: 2px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white) !important;
}

.article {
  grid-column: 2;
  min-width: 0;
}

.article > * {
  min-width: 0;
}

.article section,
.article aside {
  margin-bottom: 82px;
}

.article h2 {
  margin: 0 0 28px;
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 400;
  line-height: 1;
}

.article h3 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.12;
}

.article p,
.article li,
td,
th {
  font-size: 20px;
  line-height: 1.55;
}

.article p {
  margin: 0 0 20px;
}

.intro-panel,
.feature-callout,
.service-banner {
  border-radius: 8px;
}

.intro-panel {
  padding: clamp(24px, 4vw, 46px);
  background: var(--surface);
}

.intro-panel ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intro-panel li {
  position: relative;
  padding-left: 28px;
}

.intro-panel li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blue);
}

.feature-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  padding: clamp(26px, 4vw, 46px);
  background: var(--ink);
  color: var(--white);
}

.feature-callout p:not(.section-kicker) {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
}

.feature-callout h2 {
  font-size: clamp(34px, 3.6vw, 52px);
}

.document-card {
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 220px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(82, 247, 49, 0.18), rgba(47, 128, 237, 0.16)),
    #111;
}

.document-card span,
.document-card small {
  color: rgba(255, 255, 255, 0.7);
}

.document-card strong {
  color: var(--lime);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.info-grid,
.signature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-grid div,
.signature-grid div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-grid p {
  color: var(--muted);
  font-size: 18px;
}

.service-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  padding: clamp(28px, 5vw, 60px);
  background: var(--blue);
  color: var(--white);
}

.service-banner .section-kicker,
.service-banner p {
  color: rgba(255, 255, 255, 0.82);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  color: var(--white) !important;
  font-size: 18px;
}

.arrow-link span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 400;
}

tr:last-child td {
  border-bottom: 0;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 18px;
}

.signature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article p code,
.article li code {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--blue);
  font-family: "Courier New", monospace;
  font-size: 0.9em;
}

.signature-grid code {
  display: block;
  padding: 18px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-family: "Courier New", monospace;
  font-size: 17px;
  line-height: 1.5;
  white-space: normal;
  word-break: break-all;
}

.copy-card {
  min-width: 0;
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 8px;
  background: var(--surface);
}

.copy-card p {
  max-width: 760px;
  margin: 0;
}

.copy-card__top {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.copy-card__top h3 {
  margin: 0;
}

.message-box {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.message-box p {
  max-width: none;
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.copy-button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.copy-button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: 24px;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--blue);
  font-size: 28px;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--muted);
}

.stream-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(32px, 5vw, 84px);
  align-items: stretch;
  padding: 72px clamp(20px, 4vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.stream-hero h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(40px, 4.5vw, 70px);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.stream-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
}

.stream-hero__media {
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: #000;
}

.stream-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.stream-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.stream-stats span {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.stream-stats strong {
  color: var(--lime);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.stream-map,
.publishing-plan {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  padding: 70px clamp(20px, 4vw, 72px);
  border-bottom: 1px solid var(--line);
}

.stream-map h2,
.publishing-plan h2,
.stream-section h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  line-height: 1;
}

.stream-map__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stream-map__grid a {
  min-height: 128px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 20px;
  line-height: 1.15;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.stream-map__grid a:hover {
  background: var(--blue);
  color: var(--white);
}

.stream-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 78px clamp(20px, 4vw, 72px) 110px;
}

.stream-sidebar {
  position: sticky;
  top: 104px;
  min-width: 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stream-sidebar p {
  margin: 0 0 14px;
  font-size: 18px;
}

.stream-sidebar .toc-banner {
  margin-top: 20px;
}

.stream-sections {
  display: grid;
  gap: 88px;
  min-width: 0;
}

.stream-section {
  min-width: 0;
  padding-bottom: 74px;
  border-bottom: 1px solid var(--line);
}

.stream-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stream-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.stream-section__head p {
  max-width: 820px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.author-slot {
  display: grid;
  gap: 8px;
  min-height: 156px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.author-slot span,
.author-slot small,
.topic-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.author-slot strong {
  align-self: center;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
}

.article-cluster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.topic-card {
  min-width: 0;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.topic-card--pillar {
  background: var(--ink);
  color: var(--white);
}

.topic-card span {
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--blue);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
}

.topic-card--pillar span {
  background: var(--blue);
  color: var(--white);
}

.topic-card h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.08;
}

.topic-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.35;
}

.topic-card b {
  color: var(--ink);
  font-weight: 400;
}

.topic-card--pillar p,
.topic-card--pillar small {
  color: rgba(255, 255, 255, 0.7);
}

.topic-card--pillar b {
  color: var(--lime);
}

.publishing-plan__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.publishing-plan__list li {
  display: grid;
  gap: 18px;
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}

.publishing-plan__list span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}

@media (max-width: 1100px) {
  .article {
    grid-column: auto;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .article-shell,
  .stream-hero,
  .stream-map,
  .stream-layout,
  .publishing-plan {
    grid-template-columns: 1fr;
  }

  .hero__content {
    min-height: 0;
  }

  .hero-card {
    align-self: stretch;
    min-height: 0;
  }

  .toc {
    position: relative;
    top: auto;
    padding: 18px 0;
  }

  .stream-sidebar {
    position: relative;
    top: auto;
    padding: 18px 0;
  }

  .toc p {
    margin: 9px 16px 12px 0;
  }

  .toc__links {
    display: flex;
    gap: 14px;
    max-width: 100%;
    overflow-x: auto;
  }

  .toc__links a {
    flex: 0 0 auto;
  }

  .toc-banner {
    min-height: 170px;
    margin-bottom: 16px;
  }

  .toc-banner__content {
    min-height: 170px;
    max-width: 58%;
  }

  .stream-hero__copy,
  .stream-hero__media {
    min-height: 0;
  }

  .stream-hero__media {
    height: 340px;
  }

  .stream-map__grid,
  .publishing-plan__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stream-section__head,
  .article-cluster {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 18px;
    padding: 20px;
  }

  .phone {
    font-size: 14px;
  }

    .toc {
    border: none;
  }

  .hero {
    min-height: 0;
    padding: 38px 20px 34px;
  }

  .stream-hero {
    padding: 38px 20px 34px;
  }

  .hero h1,
  .stream-hero h1 {
    font-size: clamp(26px, 7.4vw, 40px);
  }

  .lead,
  .hero-card p:last-child {
    font-size: 18px;
  }

  .lead {
    margin-top: 24px;
  }

  .hero__meta {
    gap: 8px;
    margin-top: 28px;
  }

  .hero__meta span {
    padding: 9px 12px;
    font-size: 13px;
  }

  .hero-author {
    width: 100%;
    margin-top: 16px;
  }

  .hero-author__avatar {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    font-size: 15px;
  }

  .related-articles {
    margin: -72px auto 0 !important;
}

  .hero-card {
    padding: 16px;
  }

  .hero-card__visual {
    height: 150px;
    margin-bottom: 18px;
  }

  .article-shell {
    padding: 48px 20px 0px;
  }

  .stream-layout {
    padding: 48px 20px 76px;
  }

  .stream-map,
  .publishing-plan {
    padding: 48px 20px;
  }

  .article section,
  .article aside {
    margin-bottom: 58px;
  }

  .article p,
  .article li,
  td,
  th {
    font-size: 18px;
  }

  .feature-callout,
  .service-banner,
  .info-grid,
  .signature-grid,
  .stream-stats,
  .stream-map__grid,
  .publishing-plan__list {
    grid-template-columns: 1fr;
  }

  .stream-hero__media {
    height: 240px;
  }

  .stream-map__grid a {
    min-height: 84px;
    font-size: 18px;
  }

  .stream-sections {
    gap: 58px;
  }

  .stream-section {
    padding-bottom: 54px;
  }

  .stream-section__head p {
    font-size: 18px;
  }

  .topic-card {
    min-height: 240px;
    padding: 18px;
  }

  .topic-card h3 {
    font-size: 22px;
  }

  .document-card {
    min-height: 180px;
  }

  .copy-card {
    gap: 18px;
  }

  .copy-card__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .message-box {
    padding: 18px;
  }

  .message-box p {
    font-size: 17px;
  }
.toc-banner strong {
    max-width: 220px;
    font-size: 22px;
  }

  .toc-banner {
    min-height: 150px;
  }

  .toc-banner__content {
    min-height: 150px;
    max-width: 64%;
  }
}




/* Potok template overrides */
.article-shell {
  position: relative !important;
  overflow: visible !important;
  align-items: start !important;
}

.article-shell > .toc,
.article-shell > .toc-placeholder {
  grid-column: 1;
}

.article-shell > .toc {
  position: sticky;
  top: 104px;
  align-self: start !important;
  height: max-content;
  max-height: calc(100vh - 124px);
  overflow-y: auto;
  transform: translateZ(0);
  will-change: transform;
  z-index: 2;
}

.article-shell > .toc.is-fixed {
  position: fixed !important;
  transform: none !important;
  box-sizing: border-box;
}

.article-shell > .toc.is-bottom {
  position: absolute !important;
  transform: none !important;
  box-sizing: border-box;
}

.toc__links a.is-active {
  color: var(--blue) !important;
}

.related-articles {
  margin: 72px auto 0;
}

.related-articles__head {
    max-width: 1180px;
    margin: 72px auto 50px;
}

.related-articles__head h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1;
}

.related-articles__grid {
  margin: 0;
}

@media (max-width: 640px) {
  .related-articles {
    padding-left: 16px;
    padding-right: 16px;
  }
}
