/* Substack-Inspired Editorial Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&display=swap');

:root {
  --bg-paper: #ffffff;
  --bg-warm: #faf8f5;
  --bg-card: #f7f4ef;
  --ink-primary: #1a1a1a;
  --ink-secondary: #555555;
  --ink-muted: #777777;
  --terracotta: #ff6719;
  --terracotta-hover: #e5560e;
  --border-subtle: #e6e4e0;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --reading-width: 680px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-paper);
  color: var(--ink-primary);
  font-family: var(--font-serif);
  font-size: 19.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

/* Sticky Substack Topbar */
.substack-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
}

.topbar-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pub-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink-primary);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.pub-logo {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--terracotta);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--ink-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-link:hover {
  color: var(--ink-primary);
}

/* Cross-Platform Language Dropdown with SVG Flags */
.lang-selector-dropdown {
  position: relative;
  display: inline-block;
  font-family: var(--font-sans);
}

.lang-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-warm);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-primary);
  cursor: pointer;
  line-height: 1;
  transition: all 0.15s ease;
  user-select: none;
}

.lang-selector-btn:hover,
.lang-selector-dropdown.is-active .lang-selector-btn {
  background: #ffffff;
  border-color: #c4c2be;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.flag-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 13.5px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
  flex-shrink: 0;
}

.flag-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.chevron-icon {
  width: 9px;
  height: 5px;
  stroke: var(--ink-muted);
  transition: transform 0.2s ease;
}

.lang-selector-dropdown.is-active .chevron-icon,
.lang-selector-dropdown:hover .chevron-icon {
  transform: rotate(180deg);
}

.lang-dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 215px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.04);
  padding: 6px;
  z-index: 250;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.lang-selector-dropdown:hover .lang-dropdown-panel,
.lang-selector-dropdown.is-active .lang-dropdown-panel,
.lang-selector-dropdown:focus-within .lang-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown-header {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 6px 10px 4px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 4px;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  text-decoration: none;
  color: var(--ink-primary);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.1s ease;
}

.lang-option:hover {
  background: var(--bg-warm);
}

.lang-option.active {
  background: #f4f1ea;
  font-weight: 600;
  color: var(--terracotta);
}

.lang-native-name {
  flex-grow: 1;
}

.lang-code-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.lang-check {
  color: var(--terracotta);
  flex-shrink: 0;
}

/* Buttons */
.btn-terracotta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta);
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.btn-terracotta:hover {
  background: var(--terracotta-hover);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--ink-primary) !important;
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #d0cdc7;
  transition: background 0.15s, border-color 0.15s;
}

.btn-outline:hover {
  background: var(--bg-warm);
  border-color: var(--ink-secondary);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 15px;
}

/* Publication Hero on Home Page */
.pub-hero {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border-subtle);
  padding: 56px 24px 48px;
}

.pub-hero-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.pub-hero-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: start;
}

.pub-hero-copy {
  flex: 1;
  min-width: 0;
}

.pub-hero-cover {
  flex: 0 0 auto;
}

.pub-hero-cover img {
  display: block;
  width: 220px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  border: 1px solid var(--border-subtle);
}

.chapter-figure {
  margin: 28px auto;
  text-align: center;
}

.chapter-figure img {
  max-width: 100%;
  width: 520px;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

@media (max-width: 760px) {
  .pub-hero-grid {
    flex-direction: column-reverse;
    text-align: center;
    gap: 24px;
  }
  .pub-hero-cover img {
    width: 175px;
  }
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-secondary);
  max-width: 640px;
  margin: 0 auto 28px;
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-sample-note {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.hero-sample-note a {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: none;
}

.hero-trust-strip {
  margin: 20px auto 0;
  padding-top: 14px;
  max-width: 660px;
  border-top: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.hero-trust-strip strong {
  color: var(--ink-secondary);
  font-weight: 600;
}

.hero-sample-note a:hover {
  text-decoration: underline;
}

/* Home Feed Container */
.feed-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}

.section-header {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
  margin: 36px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-card {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.post-card-kicker {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-free {
  background: #e7f6ec;
  color: #156f3b;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10.5px;
}

.badge-preview {
  background: var(--bg-card);
  color: var(--ink-secondary);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10.5px;
}

.post-card-title {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.28;
  font-weight: 600;
}

.post-card-title a {
  color: var(--ink-primary);
  text-decoration: none;
}

.post-card-title a:hover {
  color: var(--terracotta);
}

.post-card-deck {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.post-card-meta {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-muted);
  display: flex;
  gap: 14px;
  align-items: center;
}

/* Article / Chapter Page */
.article-wrapper {
  max-width: var(--reading-width);
  margin: 0 auto;
  padding: 44px 24px 80px;
}

.article-kicker {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.article-title {
  font-size: clamp(30px, 4.5vw, 40px);
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.article-deck {
  font-size: 21px;
  line-height: 1.48;
  color: var(--ink-secondary);
  margin: 0 0 22px;
  font-weight: 400;
}

.article-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 34px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.byline-author strong {
  color: var(--ink-primary);
}

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

.article-body h2 {
  font-size: 26px;
  line-height: 1.28;
  margin: 1.9em 0 0.65em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-size: 21px;
  line-height: 1.35;
  margin: 1.5em 0 0.5em;
  font-weight: 600;
}

.article-body ul {
  margin: 0 0 1.4em;
  padding-inline-start: 1.4em;
}

.article-body li {
  margin-bottom: 0.5em;
}

.article-body blockquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 20px;
  border-inline-start: 3px solid var(--terracotta);
  color: var(--ink-secondary);
  font-style: italic;
}

.article-body blockquote.key-insight-callout {
  background: #fdf6f2;
  border: 1px solid rgba(255, 103, 25, 0.28);
  border-inline-start: 4px solid var(--terracotta);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 1.8em 0;
  font-size: 19.5px;
  line-height: 1.6;
  color: var(--ink-primary);
  font-style: normal;
  font-weight: 400;
}

.article-body blockquote.key-insight-callout p:last-child {
  margin-bottom: 0;
}

.article-body blockquote.evidence-callout {
  background: var(--bg-warm);
  border: 1px solid var(--border-subtle);
  border-inline-start: 4px solid var(--terracotta);
  border-radius: 8px;
  padding: 22px 24px;
  font-style: normal;
  font-size: 18px;
}

.article-body blockquote.evidence-callout h3 {
  margin-top: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink-primary);
}

/* Fade-out & Paywall Card */
.excerpt-fade-container {
  position: relative;
}

.excerpt-fade-overlay {
  height: 90px;
  margin-top: -90px;
  position: relative;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 70%, #ffffff 100%);
  pointer-events: none;
}

.substack-paywall-card {
  background: var(--bg-warm);
  border: 1px solid #dfdbd2;
  border-radius: 12px;
  padding: 34px 30px;
  margin: 12px 0 40px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.paywall-badge {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.paywall-headline {
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 12px;
  font-weight: 600;
}

.paywall-subtext {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-secondary);
  max-width: 540px;
  margin: 0 auto 20px;
}

.paywall-whats-left {
  text-align: left;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 14px 18px;
  max-width: 500px;
  margin: 0 auto 22px;
  font-family: var(--font-sans);
  font-size: 13.5px;
}

.whats-left-label {
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 6px;
}

.whats-left-list {
  margin: 0;
  padding-inline-start: 18px;
  color: var(--ink-secondary);
}

.whats-left-list li {
  margin-bottom: 3px;
}

.paywall-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.paywall-free-sample {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin-bottom: 12px;
}

.free-sample-link {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: none;
  margin-inline-start: 4px;
}

.free-sample-link:hover {
  text-decoration: underline;
}

.paywall-guarantee {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink-muted);
}

/* Chapter Prev/Next Nav */
.chapter-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
  font-size: 14px;
}

.chapter-pager a {
  color: var(--ink-primary);
  text-decoration: none;
  font-weight: 600;
}

.chapter-pager a:hover {
  color: var(--terracotta);
}

/* 24 Levers Cards */
.lever-card {
  background: var(--bg-warm);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 24px 26px;
  margin-bottom: 24px;
}

.lever-card h3 {
  margin-top: 0;
  font-size: 22px;
}

/* Footer */
.substack-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-warm);
  padding: 40px 24px 80px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink-secondary);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink-primary);
}

/* Prevent horizontal overflow on all devices */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.article-body, .lever-card, .substack-paywall-card, .post-card {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* =========================================================
   Mobile & Tablet Responsive Adjustments
   ========================================================= */
@media (max-width: 768px) {
  body {
    font-size: 18px;
    line-height: 1.62;
  }

  .topbar-inner {
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .pub-brand {
    font-size: 15.5px;
    gap: 8px;
  }

  .pub-logo {
    width: 26px;
    height: 26px;
    font-size: 15px;
  }

  .topbar-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    padding-top: 6px;
    border-top: 1px solid var(--border-subtle);
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .topbar-nav::-webkit-scrollbar {
    display: none;
  }

  .lang-upcoming {
    display: none;
  }

  .btn-sm {
    padding: 6px 11px;
    font-size: 12.5px;
    flex-shrink: 0;
  }

  .pub-hero {
    padding: 36px 18px 32px;
  }

  .hero-title {
    font-size: 30px;
    line-height: 1.18;
  }

  .hero-subtitle {
    font-size: 17.5px;
    line-height: 1.48;
    margin-bottom: 22px;
  }

  .hero-cta-row,
  .paywall-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-cta-row .btn-lg,
  .paywall-actions .btn-lg {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    text-align: center;
  }

  .feed-container {
    padding: 24px 18px 56px;
  }

  .section-header {
    font-size: 11px;
    margin: 28px 0 14px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .post-card {
    padding: 20px 0;
  }

  .post-card-kicker {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .post-card-title {
    font-size: 21px;
    line-height: 1.3;
  }

  .post-card-deck {
    font-size: 16px;
  }

  .article-wrapper {
    padding: 28px 18px 64px;
  }

  .article-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .article-deck {
    font-size: 18px;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  .article-byline {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 0;
    margin-bottom: 24px;
    font-size: 13px;
  }

  .article-body h2 {
    font-size: 22px;
    margin: 1.6em 0 0.55em;
  }

  .article-body h3 {
    font-size: 19px;
  }

  .article-body blockquote {
    margin: 1.4em 0;
    padding-inline-start: 14px;
  }

  .article-body blockquote.key-insight-callout {
  background: #fdf6f2;
  border: 1px solid rgba(255, 103, 25, 0.28);
  border-inline-start: 4px solid var(--terracotta);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 1.8em 0;
  font-size: 19.5px;
  line-height: 1.6;
  color: var(--ink-primary);
  font-style: normal;
  font-weight: 400;
}

.article-body blockquote.key-insight-callout p:last-child {
  margin-bottom: 0;
}

.article-body blockquote.evidence-callout {
    padding: 16px 16px;
    font-size: 16.5px;
  }

  .substack-paywall-card {
    padding: 24px 18px;
    margin: 8px 0 32px;
    border-radius: 10px;
  }

  .paywall-headline {
    font-size: 22px;
  }

  .paywall-subtext {
    font-size: 15.5px;
  }

  .paywall-whats-left {
    padding: 12px 14px;
    font-size: 13px;
  }

  .lever-card {
    padding: 18px 16px;
    margin-bottom: 18px;
  }

  .lever-card h3 {
    font-size: 19.5px;
  }

  .chapter-pager {
    flex-direction: column;
    gap: 12px;
  }

  .chapter-pager a {
    display: block;
    padding: 12px 14px;
    background: var(--bg-warm);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Staging Notice Banner */
.staging-notice-banner {
  background: #fff8f0;
  border: 1px solid #ffe3c7;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 22px 0 28px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-family: var(--font-sans);
}

.staging-notice-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.staging-notice-content h4 {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 700;
  color: #a43a05;
}

.staging-notice-content p {
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1.55;
  color: #633310;
  font-family: var(--font-serif);
}

.staging-notice-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.staging-notice-action {
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: none;
}

.staging-notice-action:hover {
  text-decoration: underline;
}

/* Footer languages row */
.footer-bottom-row {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12.5px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
}

.footer-lang-blocks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.footer-lang-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 6px 14px;
}

.footer-lang-label {
  font-weight: 600;
  color: var(--ink-secondary);
}

.footer-lang-grid a {
  color: var(--ink-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-lang-grid a:hover {
  color: var(--terracotta);
}

/* RTL layout adjustments for Arabic */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .topbar-inner {
  flex-direction: row-reverse;
}

[dir="rtl"] .lang-dropdown-panel {
  right: auto;
  left: 0;
}

[dir="rtl"] .article-deck,
[dir="rtl"] .article-byline,
[dir="rtl"] .article-kicker,
[dir="rtl"] .hero-subtitle,
[dir="rtl"] .hero-eyebrow,
[dir="rtl"] .post-card-kicker,
[dir="rtl"] .post-card-title,
[dir="rtl"] .post-card-deck,
[dir="rtl"] .post-card-meta {
  text-align: right;
}

[dir="rtl"] .pub-brand {
  flex-direction: row-reverse;
}

[dir="rtl"] .evidence-callout,
[dir="rtl"] .key-insight-callout {
  border-left: none;
  border-right: 4px solid var(--terracotta);
}

[dir="rtl"] .staging-notice-banner {
  flex-direction: row-reverse;
}

