/* Base */
:root {
  --background: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3f8;
  --text: #17202a;
  --muted: #667085;
  --line: #d9e2ec;
  --navy: #102a43;
  --blue: #1f6feb;
  --blue-dark: #174ea6;
  --gold: #c9972b;
  --green: #16794c;
  --shadow: 0 18px 45px rgba(16, 42, 67, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: auto;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}

.language-switcher {
  position: relative;
  display: inline-flex;
  justify-content: flex-end;
  padding-bottom: 0;
}

.language-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--navy);
  background: #fff8e8;
  border: 1px solid var(--gold);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(201, 151, 43, 0.18);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
}

.language-current::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 210px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.language-switcher:hover .language-menu,
.language-switcher:focus-within .language-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 10px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.language-flag-icon {
  display: inline-block;
  width: 24px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(16, 42, 67, 0.14);
}

.language-short,
.language-label {
  white-space: nowrap;
}

.language-option:hover,
.language-option:focus {
  color: var(--blue-dark);
  background: var(--surface-soft);
}

.language-option.is-active {
  color: var(--navy);
  background: #fff8e8;
}

/* Hero */
.hero-section {
  padding: 72px 0 48px;
  background:
    linear-gradient(120deg, rgba(16, 42, 67, 0.96), rgba(31, 111, 235, 0.82)),
    linear-gradient(90deg, #102a43, #1f6feb);
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 40px;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.55rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.hero-section .eyebrow {
  color: #f7d67a;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button-primary {
  color: var(--navy);
  background: #fff;
}

.button-primary:hover,
.button-primary:focus {
  background: #f7d67a;
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.button-secondary:hover,
.button-secondary:focus {
  background: rgba(255, 255, 255, 0.12);
}

.market-panel {
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.market-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.market-panel-header span,
.market-list span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.market-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.market-list div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.market-list strong {
  display: block;
  margin-top: 4px;
}

/* Categories */
.category-section {
  padding: 42px 0 28px;
  background: var(--surface);
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-note {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  min-height: 132px;
  padding: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.category-card span {
  display: block;
  color: var(--blue-dark);
  font-weight: 800;
}

.category-card strong {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.category-card:hover,
.category-card:focus {
  background: #fff;
  border-color: rgba(31, 111, 235, 0.42);
  box-shadow: var(--shadow);
}

/* Article Sections */
.articles-section {
  padding: 54px 0;
}

.latest-section {
  padding-top: 20px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: 18px;
}

.article-card {
  height: auto;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(16, 42, 67, 0.06);
}

.featured-card-large {
  grid-row: span 2;
  align-self: start;
}

.article-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-soft);
}

.article-media[hidden] {
  display: none;
}

.article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.article-content {
  padding: 22px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.article-meta span {
  color: var(--green);
  font-weight: 800;
}

.article-content h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.24;
  letter-spacing: 0;
}

.featured-card-large .article-content h3 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.article-content h3 a:hover,
.article-content h3 a:focus {
  color: var(--blue-dark);
}

.article-content p {
  margin: 12px 0 0;
  color: var(--muted);
}

.read-more {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue-dark);
  font-weight: 800;
}

.read-more:hover,
.read-more:focus {
  color: var(--navy);
  text-decoration: underline;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.latest-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.compact-media {
  aspect-ratio: 16 / 9;
}

.empty-state {
  padding: 28px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}


/* Start Here Bento Grid */
.start-here-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.start-here-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.start-here-card {
  display: grid;
  grid-column: span 4;
  grid-template-rows: auto 1fr;
  align-self: start;
}

.start-here-card-large {
  grid-column: span 8;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
  grid-template-rows: auto;
}

.start-here-card-large .article-media {
  height: 100%;
  min-height: 260px;
  aspect-ratio: auto;
}

.start-here-card-large .article-content {
  align-self: center;
  padding: 28px;
}

.start-here-card-large .article-content h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
}

/* Featured Articles Bento Grid */
.featured-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.featured-bento-card {
  display: block;
  grid-column: span 4;
  align-self: start;
}

.featured-bento-card:nth-child(1),
.featured-bento-card:nth-child(4),
.featured-bento-card:nth-child(5) {
  grid-column: span 6;
}

.featured-bento-card:nth-child(2),
.featured-bento-card:nth-child(3) {
  grid-column: span 3;
}

.featured-bento-card .article-media {
  aspect-ratio: 16 / 10;
}

.featured-bento-card:nth-child(1) .article-media,
.featured-bento-card:nth-child(5) .article-media {
  aspect-ratio: 16 / 9;
}

/* Latest Articles Grid */
.latest-grid {
  align-items: start;
}

.latest-grid .latest-card {
  align-self: start;
}

@media (max-width: 1040px) {
  .start-here-card,
  .start-here-card-large {
    grid-column: span 6;
  }

  .start-here-card-large {
    grid-template-columns: 1fr;
  }

  .start-here-card-large .article-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .featured-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-bento-card,
  .featured-bento-card:nth-child(1),
  .featured-bento-card:nth-child(2),
  .featured-bento-card:nth-child(3),
  .featured-bento-card:nth-child(4),
  .featured-bento-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  .start-here-bento-grid,
  .featured-bento-grid {
    grid-template-columns: 1fr;
  }

  .start-here-card,
  .start-here-card-large {
    grid-column: auto;
  }

  .start-here-card-large .article-content {
    padding: 18px;
  }
}


/* Risk Disclaimer */
.risk-section {
  padding: 24px 0 60px;
}

.risk-box {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  padding: 28px;
  background: #fff8e8;
  border: 1px solid #efd28a;
  border-radius: 8px;
}

.risk-box h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.risk-box p:last-child {
  margin: 0;
  color: #5f4b1f;
}

/* Footer */
.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner strong {
  color: #fff;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .featured-grid,
  .risk-box {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-card-large {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .section-heading-row,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    position: static;
  }

  .language-switcher {
    align-self: flex-start;
  }

  .language-menu {
    right: auto;
    left: 0;
  }

  .hero-section {
    padding: 48px 0 36px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .category-grid,
  .latest-grid {
    grid-template-columns: 1fr;
  }

  .featured-card-large .article-media,
  .article-media,
  .compact-media {
    min-height: 0;
  }

  .article-content {
    padding: 18px;
  }
}

@media (max-width: 420px) {
  .language-flag-icon {
    display: inline-block;
    width: 24px;
    height: 16px;
    flex: 0 0 auto;
    border-radius: 2px;
    overflow: hidden;
  }

  .language-current {
    min-height: 38px;
    padding: 8px 10px;
  }

  .language-menu {
    left: 0;
    right: auto;
    width: min(240px, calc(100vw - 24px));
    min-width: 0;
  }

  .language-option {
    min-height: 38px;
    padding: 8px 9px;
  }

  .language-label {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .container {
    width: min(100% - 24px, 1140px);
  }

  .market-panel,
  .risk-box {
    padding: 20px;
  }
}


/* RTL */
html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .header-inner,
html[dir="rtl"] .hero-grid,
html[dir="rtl"] .section-heading-row,
html[dir="rtl"] .risk-box,
html[dir="rtl"] .footer-inner {
  direction: rtl;
}

html[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .article-card,
html[dir="rtl"] .category-card,
html[dir="rtl"] .market-panel {
  direction: rtl;
}


/* Article Detail Page */
.article-detail-page {
  background: #f6f8fb;
}

.article-site-header {
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.06);
}

.article-header-inner {
  min-height: 72px;
}

.article-top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.article-home-link,
.article-back-link {
  color: var(--blue-dark);
  font-weight: 800;
}

.article-home-link:hover,
.article-home-link:focus,
.article-back-link:hover,
.article-back-link:focus {
  color: var(--navy);
  text-decoration: underline;
}

.language-code-badge {
  display: inline-grid;
  place-items: center;
  color: var(--navy);
  background: var(--surface-soft);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
}

.article-language-switcher .language-current {
  min-width: 124px;
  justify-content: center;
}

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

/* Article Detail Hero */
.article-hero-section {
  padding: 46px 0 36px;
  background:
    linear-gradient(135deg, rgba(16, 42, 67, 0.98), rgba(31, 111, 235, 0.84)),
    #102a43;
  color: #fff;
}

.article-hero-inner {
  max-width: 920px;
}

.article-back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: #f7d67a;
}

.article-category {
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 7px 10px;
  color: #102a43;
  background: #f7d67a;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
}

.article-hero-inner h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 700;
}

.article-byline span + span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 12px;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

/* Article Detail Layout */
.article-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.62fr) minmax(0, 760px) minmax(230px, 0.72fr);
  align-items: start;
  gap: 28px;
  padding-top: 34px;
}

.article-sticky-box {
  position: sticky;
  top: 96px;
}

.article-shell {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(16, 42, 67, 0.08);
}

/* Article Detail TOC */
.article-toc-panel[hidden] {
  display: none;
}

.article-toc-details,
.article-widget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(16, 42, 67, 0.06);
}

.article-toc-details summary {
  padding: 16px 16px 12px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
  list-style-position: inside;
}

.article-toc {
  padding: 0 16px 16px;
}

.article-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc a {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.article-toc a:hover,
.article-toc a:focus {
  color: var(--blue-dark);
}

.article-toc .is-subitem {
  padding-left: 14px;
}

.article-toc .is-subitem a {
  font-size: 0.84rem;
  font-weight: 600;
}

/* Article Detail Body */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 42px 46px 24px;
  color: #243447;
  font-size: 1.08rem;
  line-height: 1.82;
}

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

.article-body p {
  margin: 0 0 1.35em;
}

.article-body h2,
.article-body h3 {
  color: var(--navy);
  line-height: 1.22;
  letter-spacing: 0;
  scroll-margin-top: 110px;
}

.article-body h2 {
  margin: 2.1em 0 0.75em;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.article-body h3 {
  margin: 1.7em 0 0.65em;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}

.article-body a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body img,
.article-body video,
.article-body iframe {
  max-width: 100%;
}

.article-body img {
  width: auto;
  height: auto;
  margin: 24px auto;
  border-radius: 8px;
}

.article-body iframe {
  width: 100%;
  border: 0;
  border-radius: 8px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.4em;
  padding-left: 1.4em;
}

.article-body li + li {
  margin-top: 0.45em;
}

.article-body blockquote {
  margin: 2em 0;
  padding: 18px 22px;
  color: #405064;
  background: #f7fbff;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
}

.article-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.article-body th,
.article-body td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.article-body th {
  color: var(--navy);
  background: var(--surface-soft);
}

/* Article Detail CTA and Risk */
.article-cta,
.article-risk-note {
  max-width: 720px;
  margin: 0 auto 34px;
  padding: 28px;
  border-radius: 8px;
}

.article-cta {
  background: linear-gradient(135deg, #102a43, #1f6feb);
  color: #fff;
}

.article-cta .eyebrow {
  color: #f7d67a;
}

.article-cta h2,
.article-risk-note h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.article-cta p:not(.eyebrow) {
  margin: 12px 0 20px;
  color: rgba(255, 255, 255, 0.82);
}

.article-risk-note {
  color: #5f4b1f;
  background: #fff8e8;
  border: 1px solid #efd28a;
}

.article-risk-note p {
  margin: 12px 0 0;
}

/* Article Detail Sidebar */
.article-sidebar-stack {
  display: grid;
  gap: 16px;
}

.article-widget {
  padding: 20px;
}

.article-widget h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.article-widget p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.article-sponsored-box {
  background: #fbfcfe;
}

/* Article Detail Responsive */
@media (max-width: 1120px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.35fr);
  }

  .article-toc-panel {
    grid-column: 1 / -1;
    order: -1;
  }

  .article-toc-panel .article-sticky-box {
    position: static;
  }

  .article-toc-details[open] .article-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .article-header-inner,
  .article-top-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-top-nav {
    width: 100%;
    gap: 12px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 22px;
  }

  .article-sticky-box {
    position: static;
  }

  .article-toc-details[open] .article-toc ol {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    order: 2;
  }

  .article-body {
    padding: 30px 22px 18px;
    font-size: 1rem;
    line-height: 1.76;
  }

  .article-cta,
  .article-risk-note {
    margin-right: 18px;
    margin-left: 18px;
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .article-hero-section {
    padding: 34px 0 28px;
  }

  .article-hero-inner h1 {
    font-size: 2rem;
  }

  .article-byline {
    display: grid;
  }

  .article-byline span + span::before {
    display: none;
  }

  .article-language-switcher .language-current {
    min-width: 0;
  }
}

html[dir="rtl"] .article-layout,
html[dir="rtl"] .article-body,
html[dir="rtl"] .article-widget,
html[dir="rtl"] .article-toc-details {
  direction: rtl;
}

html[dir="rtl"] .article-body blockquote {
  border-right: 4px solid var(--blue);
  border-left: 0;
}

html[dir="rtl"] .article-toc .is-subitem {
  padding-right: 14px;
  padding-left: 0;
}
/* Article Detail Refinements */
.article-page-main {
  padding-bottom: 0;
}

.article-body {
  max-width: none;
  padding: 42px 28px 24px;
}

.article-home-link {
  color: var(--blue-dark);
  font-weight: 800;
}

.article-home-link:hover,
.article-home-link:focus {
  color: var(--navy);
  text-decoration: underline;
}

.article-language-switcher .language-current {
  min-width: 0;
  justify-content: center;
}

.article-language-switcher .language-menu {
  right: 0;
}

@media (max-width: 820px) {
  .article-body {
    padding: 30px 16px 18px;
  }

  .article-toc-details:not([open]) .article-toc {
    display: none;
  }
}
/* Article Sidebar Ads */
.article-ad-widget {
  display: flex;
  justify-content: center;
  padding: 18px;
}

.article-ad-banner {
  display: block;
  width: 120px;
  max-width: 100%;
}

.article-ad-banner img {
  width: 120px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
@media (max-width: 420px) {
  .brand-logo {
    height: 32px;
  }
}