/* ==========================================================================
   SAMUNAH — EDITORIAL & ARTICLE READER STYLES
   Adhering to Modern Web Guidance on Typography, Contrast & Responsiveness
   ========================================================================== */

/* Page Background & Atmosphere */
.article-page-body {
  background-color: var(--shell);
  color: #1a2a34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header-solid {
  background: rgba(7, 24, 34, 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(99, 174, 195, 0.18);
}

.nav-link-active {
  color: var(--gold) !important;
  position: relative;
}

.nav-link-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: var(--radius-full);
}

/* ==========================================================================
   ARTICLE HERO HEADER (DEEP OCEAN ABYSS)
   ========================================================================== */

.article-hero-header {
  background: linear-gradient(180deg, var(--abyss) 0%, #0d2737 100%);
  color: var(--shell);
  padding-top: clamp(6.5rem, 10vw, 8.5rem);
  padding-bottom: clamp(5.5rem, 9vw, 8rem);
  position: relative;
  overflow: visible;
  z-index: 1;
}

.article-hero-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(99, 174, 195, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.article-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

/* Breadcrumbs */
.article-breadcrumbs {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--mist);
  letter-spacing: 0.05em;
}

.article-breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
}

.article-breadcrumbs li {
  flex-shrink: 0;
}

.article-breadcrumbs li[aria-current="page"] {
  color: var(--shell);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.article-breadcrumbs a {
  color: var(--mist);
  text-decoration: none;
  transition: color var(--trans-fast);
}

.article-breadcrumbs a:hover {
  color: var(--aqua);
  text-decoration: underline;
}

.breadcrumb-sep {
  opacity: 0.45;
  color: var(--mist);
}

@media (max-width: 580px) {
  .article-breadcrumbs .breadcrumb-home,
  .article-breadcrumbs .breadcrumb-home-sep {
    display: none;
  }
}

/* Kicker Badge */
.article-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 174, 195, 0.15);
  border: 1px solid rgba(99, 174, 195, 0.32);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.article-kicker-pill .kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold);
}

.article-kicker-pill .kicker-text {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--shell);
}

/* Headline */
.article-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.4rem + 2.3vw, 3.125rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--shell);
  margin-bottom: 20px;
  text-wrap: balance;
}

/* Subhead / Lead */
.article-lead {
  font-size: clamp(1.05rem, 0.98rem + 0.25vw, 1.1875rem);
  line-height: 1.7;
  color: #ccdbe2;
  margin-bottom: 28px;
  text-wrap: pretty;
}

/* Metadata Strip */
.article-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(202, 221, 229, 0.16);
}

.meta-author-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meta-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--abyss-deep);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.meta-author-text {
  display: flex;
  flex-direction: column;
}

.meta-author-name {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--shell);
}

.meta-role {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--mist);
  opacity: 0.8;
}

.meta-date-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--mist);
  font-family: var(--font-mono);
}

.meta-label {
  opacity: 0.7;
}

.meta-bullet {
  opacity: 0.5;
}

.meta-reading-time {
  background: rgba(215, 164, 81, 0.15);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(215, 164, 81, 0.3);
}

/* ==========================================================================
   ARTICLE BODY SECTION WITH ORGANIC WAVE CREST TRANSITION
   ========================================================================== */

.article-body-section {
  position: relative;
  background: transparent;
  padding: 0;
  margin-top: calc(clamp(-72px, -6.5vw, -52px) + var(--wave-lap, 0px));
  z-index: 2;
}

.article-body-section .section-content-wrap {
  position: relative;
  width: 100%;
  margin-top: -2px;
  background-color: var(--shell);
  padding-top: clamp(2rem, 4vw, 3.25rem);
  padding-bottom: clamp(6rem, 10vw, 8.5rem);
}

/* Featured Cover Artwork */
.article-cover-wrap {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
}

.article-cover-figure {
  margin: 0;
  max-width: 960px;
  margin-inline: auto;
}

.cover-image-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(99, 174, 195, 0.28);
  box-shadow: 0 16px 45px rgba(7, 24, 34, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-image-container picture,
.cover-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-cover-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #556c7a;
  margin-top: 10px;
  text-align: center;
  line-height: 1.5;
  padding-inline: 12px;
}

/* ==========================================================================
   EDITORIAL TWO-COLUMN LAYOUT
   ========================================================================== */

.article-content-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
  max-width: 1120px;
  margin-inline: auto;
}

/* Sticky Sidebar */
.article-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-sticky-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Table of Contents Card */
.toc-card {
  background: #ffffff;
  border: 1px solid rgba(99, 174, 195, 0.22);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 4px 16px rgba(7, 24, 34, 0.04);
}

.toc-header {
  list-style: none;
  cursor: default;
}

.toc-header::-webkit-details-marker {
  display: none;
}

.toc-toggle-pill {
  display: none;
}

.toc-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-item {
  font-size: 12.5px;
  line-height: 1.4;
}

.toc-subitem {
  padding-left: 14px;
  font-size: 12px;
  opacity: 0.88;
}

.toc-link {
  color: #3f5564;
  text-decoration: none;
  transition: all var(--trans-fast);
  display: block;
  border-left: 2px solid transparent;
  padding-left: 6px;
}

.toc-link:hover {
  color: var(--aqua-dark);
  border-left-color: var(--aqua-dark);
}

.toc-link.active {
  color: var(--abyss);
  font-weight: 600;
  border-left-color: var(--gold);
}

/* Sourcing Callout Card (Sidebar CTA) */
.sidebar-cta-card {
  background: var(--abyss-deep);
  color: var(--shell);
  border: 1px solid rgba(202, 221, 229, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.sidebar-cta-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.sidebar-cta-card h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--shell);
  margin-bottom: 8px;
}

.sidebar-cta-card p {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--mist);
  margin-bottom: 16px;
  opacity: 0.92;
}

/* Start an Enquiry Button on Dark Card: High contrast warm gold */
.sidebar-cta-card .btn-sidebar-enquiry {
  background: var(--gold);
  color: var(--abyss-deep);
  border: 1px solid var(--gold);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12.5px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(215, 164, 81, 0.25);
  width: 100%;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--trans-fast);
}

.sidebar-cta-card .btn-sidebar-enquiry:hover {
  background: #e2b363;
  border-color: #e2b363;
  color: var(--abyss-deep);
  box-shadow: 0 4px 16px var(--gold-glow);
  transform: translateY(-1px);
}

/* ==========================================================================
   PROSE & EDITORIAL TYPOGRAPHY
   ========================================================================== */

.article-reading-column {
  width: 100%;
  min-width: 0; /* Critical: prevents grid track overflow on narrow screens */
  max-width: 74ch; /* Optimum typographical measure */
}

.article-prose {
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.76;
  color: #213340;
  overflow-wrap: break-word;
  word-break: break-word;
}

.article-prose h2,
.article-prose h3,
.article-prose h4 {
  font-family: var(--font-heading);
  color: var(--abyss);
  letter-spacing: -0.02em;
  position: relative;
  scroll-margin-top: 100px;
}

.article-prose h2 {
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.85rem);
  font-weight: 700;
  line-height: 1.28;
  margin-top: 2.8rem;
  margin-bottom: 1rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(99, 174, 195, 0.24);
  text-wrap: balance;
}

.article-prose h3 {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  margin-top: 2.2rem;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

.heading-anchor {
  opacity: 0;
  color: var(--aqua-dark);
  text-decoration: none;
  font-weight: 400;
  margin-left: 6px;
  transition: opacity var(--trans-fast);
}

.article-prose h2:hover .heading-anchor,
.article-prose h3:hover .heading-anchor {
  opacity: 0.65;
}

.article-paragraph {
  margin-bottom: 1.5rem;
  text-wrap: pretty;
}

.article-strong {
  font-weight: 600;
  color: #0d1e28;
}

.article-em {
  font-style: italic;
}

.article-link {
  color: var(--aqua-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color var(--trans-fast);
}

.article-link:hover {
  color: var(--gold-deep);
}

/* Pullquote */
.article-pullquote {
  margin: 2.25rem 0;
  padding: 1.25rem 1.75rem;
  background: #f1f4f6;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--abyss);
  font-style: italic;
}

.article-pullquote p {
  margin: 0;
}

/* Divider */
.article-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 174, 195, 0.35), transparent);
  margin: 3rem 0;
}

/* Lists (Explicitly restoring bullet and number markers over global reset) */
.article-list,
.article-prose ul,
.article-prose ol {
  margin: 1.25rem 0 1.75rem 0;
  padding-left: 1.65rem !important;
}

.article-prose ul ul,
.article-prose ol ol,
.article-prose ul ol,
.article-prose ol ul {
  margin: 0.45rem 0 0.45rem 0;
  padding-left: 1.35rem !important;
}

.article-ul,
.article-prose ul {
  list-style: disc outside !important;
}

.article-ol,
.article-prose ol {
  list-style: decimal outside !important;
}

.article-list li,
.article-prose li {
  display: list-item !important;
  list-style: inherit !important;
  margin-bottom: 0.625rem;
  line-height: 1.68;
  padding-left: 0.25rem;
}

.article-ul li::marker,
.article-prose ul li::marker {
  color: var(--gold-deep);
  font-size: 1.1em;
}

.article-ol li::marker,
.article-prose ol li::marker {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--aqua-dark);
}

/* Markdown Tables */
.article-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2.25rem 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(99, 174, 195, 0.28);
  box-shadow: 0 4px 18px rgba(7, 24, 34, 0.04);
  background: #ffffff;
}

.article-table {
  width: 100%;
  min-width: 540px; /* Crucial: Ensures table columns remain legible and scroll horizontally */
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.article-table th {
  background: #f2f5f7;
  color: var(--abyss);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 2px solid rgba(99, 174, 195, 0.35);
  text-wrap: balance;
}

.article-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(99, 174, 195, 0.16);
  color: #273b47;
}

.article-table tr:last-child td {
  border-bottom: none;
}

.article-table tr:hover td {
  background: #fafbfc;
}

/* Code Blocks & Inline Code */
.article-inline-code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: #eef2f5;
  color: #b05c1d;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(99, 174, 195, 0.2);
}

.article-code-pre {
  background: var(--abyss-deep);
  color: #e2edf3;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 2rem 0;
  border: 1px solid rgba(99, 174, 195, 0.25);
}

.article-code-pre code {
  font-family: inherit;
}

/* ==========================================================================
   REFERENCES / FOOTNOTES & INTERNAL LINKS
   ========================================================================== */

.article-references-section {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(99, 174, 195, 0.25);
}

.references-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ref-icon {
  color: var(--gold-deep);
  font-size: 16px;
}

.references-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--abyss);
  margin: 0;
}

.references-list {
  padding-left: 20px;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.reference-item {
  margin-bottom: 10px;
  color: #4b616f;
}

.reference-link {
  color: var(--abyss);
  text-decoration: underline;
}

.reference-link:hover {
  color: var(--aqua-dark);
}

.reference-note {
  font-size: 0.875rem;
  color: #6a808e;
}

/* Internal Links Box */
.article-internal-links-box {
  margin-top: 2.75rem;
  background: #ffffff;
  border: 1px solid rgba(99, 174, 195, 0.25);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: 0 4px 20px rgba(7, 24, 34, 0.05);
}

.internal-links-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 12px;
}

.internal-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.internal-action-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f7f9fa;
  border-radius: var(--radius-sm);
  color: var(--abyss);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all var(--trans-fast);
  border: 1px solid transparent;
}

.internal-action-link:hover {
  background: #ffffff;
  border-color: var(--aqua-dark);
  color: var(--aqua-dark);
  transform: translateX(3px);
}

.link-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* End Share Bar */
.article-end-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(99, 174, 195, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.article-share-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #556c7a;
}

.btn-share-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid rgba(99, 174, 195, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--abyss);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-share-action:hover {
  border-color: var(--aqua-dark);
  color: var(--aqua-dark);
}

.btn-share-action.copied {
  background: var(--abyss);
  color: var(--shell);
  border-color: var(--abyss);
}

.article-back-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #556c7a;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  transition: color var(--trans-fast);
}

.article-back-top-link:hover {
  color: var(--abyss);
}

/* ==========================================================================
   404 NOT FOUND STATE
   ========================================================================== */

.article-not-found {
  padding: 8rem 0;
  display: flex;
  justify-content: center;
}

.not-found-card {
  background: #ffffff;
  border: 1px solid rgba(99, 174, 195, 0.25);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  max-width: 600px;
  box-shadow: 0 16px 40px rgba(7, 24, 34, 0.06);
}

.not-found-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold-deep);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 12px;
}

.not-found-card h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--abyss);
  margin-bottom: 14px;
}

.not-found-card p {
  color: #4f6472;
  line-height: 1.6;
  margin-bottom: 24px;
}

.not-found-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 900px) {
  .article-content-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .article-sidebar {
    display: contents; /* Unwraps children so they flow cleanly around the reading content */
    position: static;
  }

  .sidebar-sticky-panel {
    display: contents;
  }

  /* Table of Contents: Sits compactly at top of article reading section */
  .toc-card {
    order: 1;
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 14px 18px;
  }

  /* Primary Article Content: Front and center */
  .article-reading-column {
    order: 2;
    width: 100%;
    min-width: 0;
  }

  /* Commercial Sourcing Callout: Placed at the end of the article as conversion action */
  .sidebar-cta-card {
    order: 3;
    width: 100%;
    margin-top: 1.5rem;
  }

  /* Accordion Header on Smaller Screens */
  .toc-header {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 0;
  }

  .toc-title {
    margin-bottom: 0;
  }

  .toc-toggle-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--aqua-dark);
    font-weight: 500;
  }

  .toc-chevron {
    width: 14px;
    height: 14px;
    transition: transform var(--trans-fast);
  }

  details[open] .toc-chevron {
    transform: rotate(180deg);
  }

  details[open] .toc-nav {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(99, 174, 195, 0.2);
  }
}

@media (max-width: 880px) {
  .article-body-section {
    margin-top: calc(clamp(-56px, -8vw, -44px) + var(--wave-lap, 0px));
  }
  .article-body-section .section-content-wrap {
    padding-top: clamp(1.75rem, 4vw, 2.5rem);
  }
}

@media (max-width: 580px) {
  .article-body-section {
    margin-top: calc(clamp(-48px, -9.5vw, -38px) + var(--wave-lap, 0px));
  }

  .article-body-section .section-content-wrap {
    padding-top: 1.25rem;
    padding-bottom: 4rem;
  }

  .article-cover-wrap {
    margin-bottom: 1.5rem;
  }

  .cover-image-container {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-sm);
  }

  .article-meta-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-prose {
    font-size: 1rem;
    line-height: 1.7;
  }

  .article-prose h2 {
    font-size: 1.32rem;
    line-height: 1.32;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
  }

  .article-prose h3 {
    font-size: 1.125rem;
    line-height: 1.35;
    margin-top: 1.6rem;
    margin-bottom: 0.5rem;
  }

  .article-paragraph {
    margin-bottom: 1.25rem;
  }

  .article-list,
  .article-prose ul,
  .article-prose ol {
    margin: 1rem 0 1.25rem 0;
    padding-left: 1.35rem !important;
  }

  .article-prose ul ul,
  .article-prose ol ol,
  .article-prose ul ol,
  .article-prose ol ul {
    margin: 0.35rem 0 0.35rem 0;
    padding-left: 1.15rem !important;
  }

  .article-pullquote {
    padding: 0.875rem 1.15rem;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 1.5rem 0;
  }

  .article-code-pre {
    padding: 12px 14px;
    font-size: 0.8rem;
    margin: 1.5rem 0;
    border-radius: var(--radius-sm);
  }

  .article-table-wrap {
    margin: 1.5rem 0;
    border-radius: var(--radius-sm);
  }

  .article-table th,
  .article-table td {
    padding: 9px 12px;
    font-size: 0.85rem;
  }

  .article-references-section {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
  }

  .article-internal-links-box {
    margin-top: 2rem;
    padding: 16px 14px;
    border-radius: var(--radius-sm);
  }

  .internal-action-link {
    padding: 8px 10px;
    font-size: 0.875rem;
    gap: 10px;
  }

  .article-end-footer {
    margin-top: 2rem;
    padding-top: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .article-share-group {
    justify-content: space-between;
    width: 100%;
  }

  .article-back-top-link {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .article-kicker-pill .kicker-text {
    font-size: 9.5px;
    letter-spacing: 0.10em;
  }

  .article-body-section {
    margin-top: calc(clamp(-44px, -10vw, -34px) + var(--wave-lap, 0px));
  }
}
