/* =========================================================
   ARTICLE / SERVICE / LEGAL PAGES — built on blog.css tokens
   ========================================================= */
.articleHero {
  padding: 150px 0 56px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f7f9fb 100%);
}
.articleHero:before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(8, 41, 78, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 41, 78, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(#000, transparent 88%);
}
.articleHero:after {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  right: -220px;
  top: -260px;
  background: radial-gradient(circle, rgba(8, 41, 78, 0.1), transparent 66%);
}
.articleHero .container {
  position: relative;
  z-index: 2;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font:
    700 10px/1.4 ui-monospace,
    monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8996a6;
  margin-bottom: 26px;
}
.crumbs a:hover {
  color: var(--gold);
}
.crumbs span[aria-current] {
  color: var(--navy);
  max-width: 46ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.articleHero h1 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 18px 0 22px;
  max-width: 18ch;
  overflow-wrap: break-word;
}
.articleHero.wide h1 {
  max-width: 22ch;
}
.articleLead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 720px;
  margin: 0;
}
.articleMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  font:
    750 10px/1.3 ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8996a6;
}
.articleMeta b {
  color: var(--gold);
}
.articleCover {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.articleCover img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(8, 41, 78, 0.14);
  background: var(--soft);
}
/* Infographic covers: shown whole, not cropped */
.articleCover.full {
  max-width: 820px;
}
.articleCover.full img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(1000px, 88vh);
  margin: 0 auto;
  object-fit: contain;
}
/* Screenshot gallery: two columns, one on phones */
.prose .gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0 0 22px;
}
.prose .gallery figure {
  margin: 0;
}
@media (max-width: 680px) {
  .prose .gallery {
    grid-template-columns: 1fr;
  }
}
.articleLayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 70px;
  padding: 64px 0 96px;
  align-items: start;
}
.articleLayout.single {
  grid-template-columns: minmax(0, 820px);
}

/* Long-form text */
.prose {
  font-size: 17px;
  line-height: 1.8;
  color: #33475e;
  min-width: 0;
}
.prose > :first-child {
  margin-top: 0;
}
.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose figure,
.prose table {
  margin: 0 0 22px;
}
.prose h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 52px 0 18px;
}
.prose h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 38px 0 14px;
}
.prose h4 {
  font-size: 18px;
  color: var(--ink);
  margin: 30px 0 10px;
}
.prose strong {
  color: var(--ink);
  font-weight: 750;
}
.prose a {
  color: var(--navy);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--gold2);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.prose a:hover {
  color: var(--gold);
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li {
  margin: 0 0 8px;
}
.prose li::marker {
  color: var(--gold);
}
.prose blockquote {
  border-left: 3px solid var(--gold2);
  padding: 4px 0 4px 22px;
  color: var(--ink);
  font-style: italic;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}
.prose figure img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
}
.prose figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

/* Sidebar */
.articleAside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}
.asideCard {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  background: #fff;
}
.asideCard.dark {
  background: linear-gradient(135deg, #0a3158, #06182f);
  border-color: transparent;
  color: #fff;
}
.asideCard h2 {
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 10px;
}
.asideCard p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 18px;
}
.asideCard.dark p {
  color: #aebdca;
}
.asideCard .btn {
  width: 100%;
  justify-content: center;
}
.asideLinks {
  display: grid;
  margin-top: 6px;
}
.asideLinks a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  padding: 12px 0;
  border-top: 1px solid #eef1f4;
  transition: color 0.2s;
}
.asideLinks a:hover {
  color: var(--gold);
}

/* Related articles */
.relatedPosts {
  padding: 90px 0;
  background: var(--soft);
}
.relatedPosts h2 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 16px 0 34px;
}
.relatedPosts .post {
  min-height: 360px;
}

/* Blog archive: "show more" */
.loadMore[hidden] {
  display: none;
}

@media (max-width: 1000px) {
  .articleLayout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .articleAside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .articleHero {
    padding: 112px 0 40px;
  }
  .articleLead {
    font-size: 16px;
  }
  .articleCover img {
    border-radius: 18px;
  }
  .articleLayout {
    padding: 42px 0 70px;
  }
  .prose {
    font-size: 16px;
  }
  .prose h2 {
    margin-top: 40px;
  }
  .articleAside {
    grid-template-columns: 1fr;
  }
  .relatedPosts {
    padding: 70px 0;
  }
  .crumbs span[aria-current] {
    max-width: 100%;
  }
}

/* Hero: same space under the menu as the home page (58px, 54px on phones). */
.articleHero {
  padding-top: 144px;
}
@media (max-width: 680px) {
  .articleHero {
    padding-top: 126px;
  }
}
