/* ALG editorial article template. Shared navigation, footer and tokens come from homepage-v2.css. */
.post-page {
  background: #fff;
}
.post-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 4px;
  width: 100%;
  background: var(--yellow);
  z-index: 60;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.post-hero {
  position: relative;
  min-height: 630px;
  display: flex;
  align-items: end;
  isolation: isolate;
  color: #fff;
  background: #142438;
  overflow: hidden;
}
.post-hero__image,
.post-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.post-hero__image {
  object-fit: cover;
  object-position: center 42%;
  z-index: -2;
}
.post-hero__shade {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(8, 19, 29, 0.9) 0%,
      rgba(8, 19, 29, 0.7) 42%,
      rgba(8, 19, 29, 0.16) 90%
    ),
    linear-gradient(0deg, rgba(8, 19, 29, 0.48), transparent 60%);
}
.post-hero__inner {
  padding-top: 90px;
  padding-bottom: 68px;
}
.post-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.77);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 48px;
}
.post-breadcrumbs a:hover {
  color: var(--yellow);
}
.post-breadcrumbs i {
  font-size: 10px;
  color: var(--yellow);
}
.post-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--yellow);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 800;
}
.post-kicker:before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}
.post-hero h1 {
  max-width: 880px;
  font: 800 clamp(43px, 5.2vw, 76px) / 1.07 var(--font-heading);
  letter-spacing: -0.06em;
  margin: 20px 0 20px;
  text-wrap: balance;
}
.post-dek {
  max-width: 750px;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.87);
  margin: 0 0 30px;
}
.post-byline {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}
.post-byline img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border: 2px solid #fff;
  border-radius: 50%;
}
.post-byline strong {
  color: #fff;
  font-size: 14px;
}
.post-byline__dot {
  color: var(--yellow);
}
.post-introbar {
  background: var(--color-background-warm);
  border-bottom: 1px solid var(--line);
}
.post-introbar__inner {
  min-height: 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.post-introbar__note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.post-introbar__note strong {
  color: var(--ink);
}
.post-share {
  display: flex;
  align-items: center;
  gap: 10px;
}
.post-share span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
  margin-right: 3px;
}
.post-share a,
.post-share button {
  height: 36px;
  min-width: 36px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.post-share a:hover,
.post-share button:hover {
  background: var(--yellow);
  transform: translateY(-2px);
}
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(0, 265px);
  gap: clamp(48px, 6vw, 105px);
  padding-top: 80px;
  padding-bottom: 100px;
  align-items: start;
}
.post-article {
  min-width: 0;
}
.post-sidebar {
  position: sticky;
  top: 28px;
  min-width: 0;
}
.post-sidebar__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--coral);
  font-weight: 800;
  margin: 0 0 14px;
}
.post-toc {
  border-left: 1px solid var(--line);
  padding-left: 18px;
  max-height: 48vh;
  overflow: auto;
  scrollbar-width: thin;
}
.post-toc a {
  display: block;
  padding: 7px 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  font-weight: 700;
}
.post-toc a:hover,
.post-toc a.is-current {
  color: var(--ink);
}
.post-toc a.is-current {
  box-shadow: -2px 0 0 var(--coral);
  padding-left: 10px;
  margin-left: -19px;
}
.post-sidecard {
  background: var(--color-background-warm);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 22px;
  margin-top: 30px;
}
.post-sidecard__icon {
  font-size: 25px;
  color: var(--coral);
}
.post-sidecard h3 {
  font: 800 21px/1.2 var(--font-heading);
  letter-spacing: -0.035em;
  margin: 11px 0 9px;
}
.post-sidecard p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 16px;
}
.post-sidecard a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 5px;
}
.post-prose {
  font-size: 17px;
  line-height: 1.85;
  color: #344155;
  overflow-wrap: anywhere;
}
.post-prose .lead {
  font-size: 21px;
  line-height: 1.72;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 43px;
}
.post-prose p {
  margin: 0 0 24px;
}
.post-prose h2,
.post-prose h3,
.post-prose h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.045em;
  line-height: 1.2;
  color: var(--ink);
  scroll-margin-top: 24px;
  text-wrap: balance;
}
.post-prose h2 {
  font-size: clamp(29px, 3vw, 39px);
  margin: 58px 0 19px;
}
.post-prose h3 {
  font-size: 24px;
  margin: 34px 0 14px;
}
.post-prose h4 {
  font-size: 20px;
  margin: 26px 0 12px;
}
.post-prose strong {
  font-weight: 800;
  color: var(--ink);
}
.post-prose a {
  color: #ad492f;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-weight: 700;
}
.post-prose a:hover {
  color: var(--ink);
}
.post-prose ul,
.post-prose ol {
  padding-left: 23px;
  margin: 0 0 26px;
}
.post-prose li {
  padding-left: 5px;
  margin: 7px 0;
}
.post-prose li::marker {
  color: var(--coral);
}
.post-prose table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  display: block;
  overflow-x: auto;
  margin: 26px 0 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.post-prose th,
.post-prose td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  min-width: 125px;
  vertical-align: top;
}
.post-prose th {
  font-weight: 800;
  background: #f4eee5;
  color: var(--ink);
  white-space: nowrap;
}
.post-prose tr:last-child td {
  border-bottom: 0;
}
.post-prose tbody tr:nth-child(even) {
  background: #faf9f6;
}
.post-prose .info-callout,
.post-prose blockquote {
  display: flex;
  gap: 17px;
  padding: 23px 25px;
  background: var(--color-background-warm);
  border-left: 4px solid var(--coral);
  border-radius: 0 11px 11px 0;
  margin: 30px 0 34px;
}
.post-prose .info-callout .callout-icon {
  font-size: 23px;
  line-height: 1.5;
  flex: none;
}
.post-prose .info-callout h3 {
  font-size: 19px;
  margin: 0 0 6px;
}
.post-prose .info-callout p,
.post-prose blockquote p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.post-prose figure {
  margin: 34px 0;
}
.post-prose figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.post-prose figcaption {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  margin-top: 10px;
}
.post-prose .faq-section {
  margin-top: 64px;
}
.post-prose .faq-section h2 {
  margin-bottom: 18px;
}
.post-prose .faq-accordion__item {
  border-top: 1px solid var(--line);
}
.post-prose .faq-accordion__item:last-child {
  border-bottom: 1px solid var(--line);
}
.post-prose .faq-accordion__summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 17px 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--ink);
}
.post-prose .faq-accordion__summary::-webkit-details-marker {
  display: none;
}
.post-prose .faq-accordion__summary:after {
  content: "+";
  color: var(--coral);
  font: 700 23px/1 var(--font-body);
}
.post-prose .faq-accordion__item[open] .faq-accordion__summary:after {
  content: "−";
}
.post-prose .faq-accordion__body {
  padding: 0 28px 16px 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.post-prose .faq-accordion__body p {
  margin-bottom: 12px;
}
.post-prose .faq-item {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.post-prose .faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.post-prose .faq-item h3 {
  font-size: 19px;
  margin: 0 0 8px;
}
.post-prose .faq-item p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}
.post-prose .btn-primary,
.post-prose .btn-secondary {
  display: inline-flex;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  text-decoration: none;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 800;
}
.post-author {
  display: flex;
  gap: 23px;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  margin-top: 65px;
  padding-top: 31px;
}
.post-author img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.post-author__eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--coral);
  font-weight: 800;
}
.post-author h2 {
  font: 800 24px/1.2 var(--font-heading);
  letter-spacing: -0.04em;
  margin: 5px 0 8px;
}
.post-author p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 12px;
}
.post-author a {
  font-size: 13px;
  font-weight: 800;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 3px;
}
.post-cta {
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 38px;
  margin-top: 49px;
  position: relative;
  overflow: hidden;
}
.post-cta:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  right: -70px;
  top: -90px;
  pointer-events: none;
}
.post-cta__eyebrow {
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  font-weight: 800;
}
.post-cta h2 {
  font: 800 clamp(28px, 3vw, 38px) / 1.13 var(--font-heading);
  letter-spacing: -0.045em;
  margin: 12px 0 11px;
  max-width: 570px;
}
.post-cta p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 0 23px;
  font-size: 15px;
}
.post-related {
  background: var(--color-background-warm);
  padding: 75px 0 88px;
}
.post-related__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.post-related h2 {
  font: 800 clamp(31px, 3.3vw, 44px) / 1.1 var(--font-heading);
  letter-spacing: -0.05em;
  margin: 7px 0 0;
}
.post-related__all {
  font-size: 14px;
  font-weight: 800;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 5px;
  white-space: nowrap;
}
.post-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}
.post-related__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.post-related__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(23, 36, 56, 0.11);
}
.post-related__card img {
  aspect-ratio: 1.55;
  width: 100%;
  object-fit: cover;
}
.post-related__card div {
  padding: 20px;
}
.post-related__card small {
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  font-weight: 800;
}
.post-related__card h3 {
  font: 800 20px/1.27 var(--font-heading);
  letter-spacing: -0.035em;
  margin: 10px 0 16px;
}
.post-related__card span {
  font-size: 13px;
  font-weight: 800;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 4px;
}
@media (max-width: 960px) {
  .post-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 35px;
  }
}
@media (max-width: 760px) {
  .post-hero {
    min-height: 640px;
  }
  .post-hero__image {
    object-position: 61% center;
  }
  .post-hero__shade {
    background: linear-gradient(
      0deg,
      rgba(8, 19, 29, 0.91),
      rgba(8, 19, 29, 0.56) 72%,
      rgba(8, 19, 29, 0.28)
    );
  }
  .post-hero__inner {
    padding-top: 120px;
    padding-bottom: 45px;
  }
  .post-breadcrumbs {
    margin-bottom: 45px;
  }
  .post-hero h1 {
    font-size: clamp(38px, 9vw, 59px);
  }
  .post-dek {
    font-size: 16px;
  }
  .post-introbar__inner {
    flex-wrap: wrap;
    padding-block: 17px;
  }
  .post-layout {
    display: block;
    padding-top: 48px;
    padding-bottom: 65px;
  }
  .post-sidebar {
    position: static;
    display: none;
  }
  .post-prose {
    font-size: 16px;
    line-height: 1.75;
  }
  .post-prose .lead {
    font-size: 19px;
  }
  .post-prose h2 {
    font-size: 30px;
    margin-top: 45px;
  }
  .post-related {
    padding: 57px 0;
  }
  .post-related__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .post-byline {
    gap: 9px;
  }
  .post-byline__dot:nth-of-type(2) {
    display: none;
  }
  .post-introbar__note {
    font-size: 12px;
  }
  .post-prose table {
    font-size: 12px;
  }
  .post-prose th,
  .post-prose td {
    padding: 11px;
    min-width: 110px;
  }
  .post-prose .info-callout {
    padding: 19px;
    gap: 11px;
  }
  .post-author {
    gap: 15px;
  }
  .post-author img {
    width: 60px;
    height: 60px;
  }
  .post-cta {
    padding: 28px;
  }
  .post-related__head {
    align-items: start;
    display: block;
  }
  .post-related__all {
    display: inline-block;
    margin-top: 16px;
  }
  .post-related__grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .post-progress,
  .post-related__card,
  .post-share a,
  .post-share button {
    transition: none;
  }
}
