:root {
  color-scheme: light;
  --article-ink: #172033;
  --article-muted: #5b6678;
  --article-line: #dce4ee;
  --article-soft: #f5f8fb;
  --article-soft-blue: #edf6ff;
  --article-soft-indigo: #f0f4ff;
  --article-soft-amber: #fff8e8;
  --article-soft-green: #edf9f3;
  --article-blue: #0d4f8b;
  --article-blue-dark: #12385f;
  --article-indigo: #3445a4;
  --article-orange: #9a5d0d;
  --article-red: #b42318;
  --article-gold: #8a5c1e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--article-ink);
  background: #fff;
  font-family: Inter, "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container,
.max-w-7xl,
.max-w-6xl,
.max-w-5xl,
.max-w-4xl,
.max-w-3xl {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.max-w-4xl,
.max-w-3xl {
  max-width: 900px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.flex-1 {
  flex: 1 1 0%;
  min-width: 0;
}

.flex-none {
  flex: none;
}

.flex-grow {
  flex-grow: 1;
}

.shrink-0,
.flex-shrink-0 {
  flex-shrink: 0;
}

.min-w-0 {
  min-width: 0;
}

.hidden {
  display: none;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.rounded,
.rounded-lg,
.rounded-xl,
.rounded-2xl,
.rounded-3xl {
  border-radius: 8px;
}

.rounded-full {
  border-radius: 999px;
}

.border {
  border: 1px solid var(--article-line);
}

.border-l-2 {
  border-left: 2px solid var(--article-line);
}

.border-l-4 {
  border-left: 4px solid var(--article-line);
}

.border-l-8 {
  border-left: 8px solid var(--article-line);
}

.border-blue-100 {
  border-color: #dbeafe;
}

.border-primary\/30 {
  border-color: rgba(13, 79, 139, .3);
}

.border-secondary {
  border-color: var(--article-blue-dark);
}

.shadow,
.shadow-lg,
.shadow-xl,
.shadow-2xl {
  box-shadow: 0 16px 40px rgba(23, 32, 51, .10);
}

.bg-white {
  background: #fff;
}

.bg-gray-50,
.bg-slate-50 {
  background: var(--article-soft);
}

.bg-blue-50 {
  background: var(--article-soft-blue);
}

.bg-red-50 {
  background: #fff1f1;
}

.bg-yellow-50 {
  background: #fff8e8;
}

.bg-green-50 {
  background: var(--article-soft-green);
}

.bg-indigo-50,
.bg-indigo-100,
.bg-purple-100,
.bg-blue-100,
.bg-orange-50,
.bg-orange-100,
.bg-amber-50,
.bg-yellow-100,
.bg-primary\/10,
.bg-primary\/20,
.bg-secondary\/10,
.bg-blue-50\/30,
.bg-blue-50\/50,
.bg-indigo-50\/30,
.bg-indigo-50\/50,
.bg-white\/50,
.bg-white\/80 {
  background: var(--article-soft-blue);
  color: var(--article-ink);
}

.yj-readable-article [class*="bg-[#007aff]/"],
.yj-readable-article [class*="bg-[#0d4f8b]/"],
.yj-readable-article [class*="bg-[#0D4F8B]/"] {
  background: var(--article-soft-blue);
  color: var(--article-ink);
}

.yj-readable-article [class*="bg-[#FFA500]/"],
.yj-readable-article [class*="bg-[#ffa500]/"] {
  background: var(--article-soft-amber);
  color: var(--article-ink);
}

.yj-readable-article [class*="bg-[#007aff]/"] :is(p, li, span, div, strong, em, small, .text-gray-900, .text-gray-700, .text-gray-600, .text-gray-500, .text-slate-700, .text-slate-600, .text-slate-500),
.yj-readable-article [class*="bg-[#0d4f8b]/"] :is(p, li, span, div, strong, em, small, .text-gray-900, .text-gray-700, .text-gray-600, .text-gray-500, .text-slate-700, .text-slate-600, .text-slate-500),
.yj-readable-article [class*="bg-[#0D4F8B]/"] :is(p, li, span, div, strong, em, small, .text-gray-900, .text-gray-700, .text-gray-600, .text-gray-500, .text-slate-700, .text-slate-600, .text-slate-500),
.yj-readable-article [class*="bg-[#FFA500]/"] :is(p, li, span, div, strong, em, small, .text-gray-900, .text-gray-700, .text-gray-600, .text-gray-500, .text-slate-700, .text-slate-600, .text-slate-500),
.yj-readable-article [class*="bg-[#ffa500]/"] :is(p, li, span, div, strong, em, small, .text-gray-900, .text-gray-700, .text-gray-600, .text-gray-500, .text-slate-700, .text-slate-600, .text-slate-500) {
  color: var(--article-muted) !important;
}

.yj-readable-article [class~="bg-[#007aff]"],
.yj-readable-article [class~="bg-[#0d4f8b]"],
.yj-readable-article [class~="bg-[#0D4F8B]"] {
  background: var(--article-blue);
  color: #fff;
}

.yj-readable-article [class~="bg-[#FFA500]"],
.yj-readable-article [class~="bg-[#ffa500]"] {
  background: #9a5d0d;
  color: #fff;
}

.text-white {
  color: #fff;
}

.text-gray-500,
.text-gray-600,
.text-slate-500,
.text-slate-600 {
  color: var(--article-muted);
}

.text-gray-700,
.text-slate-700 {
  color: #354154;
}

.text-gray-900,
.text-slate-900 {
  color: var(--article-ink);
}

.text-blue-600,
.text-blue-700,
.text-blue-800 {
  color: var(--article-blue);
}

.text-indigo-100 {
  color: #e8edff;
}

.text-indigo-400,
.text-indigo-500,
.text-indigo-600,
.text-indigo-700,
.text-purple-600,
.text-secondary {
  color: var(--article-indigo);
}

.text-orange-400,
.text-orange-500,
.text-orange-600,
.text-amber-600,
.text-primary {
  color: var(--article-orange);
}

.text-red-600,
.text-red-700,
.text-red-800 {
  color: var(--article-red);
}

.text-amber-700,
.text-yellow-700 {
  color: var(--article-gold);
}

.font-medium {
  font-weight: 600;
}

.font-semibold {
  font-weight: 700;
}

.font-bold,
.font-extrabold,
.font-black {
  font-weight: 800;
}

.leading-tight {
  line-height: 1.15;
}

.leading-relaxed,
.leading-loose {
  line-height: 1.75;
}

.text-sm {
  font-size: .875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: clamp(1.35rem, 2vw, 1.55rem);
}

.text-3xl {
  font-size: clamp(1.7rem, 3vw, 2rem);
}

.text-4xl {
  font-size: clamp(2rem, 4vw, 2.55rem);
}

.text-5xl,
.text-6xl {
  font-size: clamp(2.35rem, 5vw, 4rem);
}

.p-2 { padding: .5rem; }
.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }

.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.px-14 { padding-left: 3.5rem; padding-right: 3.5rem; }

.pl-4 { padding-left: 1rem; }
.pl-6 { padding-left: 1.5rem; }
.pl-8 { padding-left: 2rem; }
.pl-10 { padding-left: 2.5rem; }
.pl-12 { padding-left: 3rem; }
.pl-16 { padding-left: 4rem; }
.pr-4 { padding-right: 1rem; }
.pr-6 { padding-right: 1.5rem; }
.pr-8 { padding-right: 2rem; }
.pr-10 { padding-right: 2.5rem; }
.pr-12 { padding-right: 3rem; }
.pr-16 { padding-right: 4rem; }

.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }

.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

.space-y-2 > * + * { margin-top: .5rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.grid-cols-1 {
  grid-template-columns: 1fr;
}

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

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  inset: 0;
}

.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.left-1\/2 { left: 50%; }
.left-1\/4 { left: 25%; }
.right-1\/4 { right: 25%; }
.top-4 { top: 1rem; }
.right-4 { right: 1rem; }
.bottom-4 { bottom: 1rem; }
.left-4 { left: 1rem; }
.top-8 { top: 2rem; }
.right-8 { right: 2rem; }
.bottom-8 { bottom: 2rem; }
.left-8 { left: 2rem; }
.-left-4 { left: -1rem; }
.-left-6 { left: -1.5rem; }
.-left-8 { left: -2rem; }
.-bottom-6 { bottom: -1.5rem; }
.-bottom-8 { bottom: -2rem; }
.left-\[-22px\] { left: -22px; }
.-left-\[22px\] { left: -22px; }
.-left-\[53px\] { left: -53px; }
.-left-\[60px\] { left: -60px; }
.-left-\[1\.15rem\] { left: -1.15rem; }
.-left-\[1\.35rem\] { left: -1.35rem; }
.-left-\[1\.4rem\] { left: -1.4rem; }

.-inset-4 {
  inset: -1rem;
}

.-z-10 {
  z-index: -10;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.-translate-x-1\/2 {
  transform: translateX(-50%);
}

.opacity-20 {
  opacity: .2;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.w-2 { width: .5rem; }
.h-2 { height: .5rem; }
.w-3 { width: .75rem; }
.h-3 { height: .75rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.w-20 { width: 5rem; }
.h-20 { height: 5rem; }
.w-24 { width: 6rem; }
.h-24 { height: 6rem; }
.w-32 { width: 8rem; }
.h-32 { height: 8rem; }
.w-48 { width: 12rem; }
.h-48 { height: 12rem; }
.w-64 { width: 16rem; }
.h-64 { height: 16rem; }
.w-72 { width: 18rem; }
.h-72 { height: 18rem; }
.w-80 { width: 20rem; }
.h-80 { height: 20rem; }
.w-96 { width: 24rem; }
.h-96 { height: 24rem; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }

.min-h-screen {
  min-height: 100vh;
}

.object-cover {
  object-fit: cover;
}

.yj-readable-article img {
  display: block;
  max-width: 100%;
  height: auto;
}

.yj-readable-article :is(.flex, .inline-flex) > :is(div, section, article, aside, figure, picture) {
  min-width: 0;
}

.yj-readable-article :is(.flex, .inline-flex) > img,
.yj-readable-article :is(.flex, .inline-flex) > picture,
.yj-readable-article :is(.flex, .inline-flex) > figure {
  min-width: 0;
  max-width: 100%;
  flex-shrink: 1;
}

.yj-readable-article > div[style*="background-color:#333"],
.yj-readable-article > div[style*="background-color: #333"] {
  overflow-x: hidden;
}

.yj-readable-article > div[style*="background-color:#333"] .pb-20,
.yj-readable-article > div[style*="background-color: #333"] .pb-20 {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)) !important;
  gap: .75rem !important;
  justify-content: stretch !important;
}

.yj-readable-article > div[style*="background-color:#333"] a,
.yj-readable-article > div[style*="background-color: #333"] a {
  width: auto !important;
  min-width: 0 !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wide,
.tracking-wider {
  letter-spacing: 0;
}

.prose {
  max-width: 900px;
  color: var(--article-ink);
}

.prose p,
article p {
  margin: 0 0 1rem;
}

.prose h1,
.prose h2,
.prose h3,
article h1,
article h2,
article h3 {
  color: var(--article-ink);
  line-height: 1.2;
}

.prose ul,
article ul {
  padding-left: 1.2rem;
}

button,
.btn,
a[class*="btn"],
a[class*="button"],
a[class*="cta"] {
  text-decoration: none;
}

.bg-blue-600,
.bg-blue-700,
.bg-blue-800,
.bg-slate-900,
.bg-gray-900,
.bg-indigo-600,
.bg-indigo-700,
.bg-primary,
.bg-secondary,
.bg-red-600,
.bg-red-700 {
  background: var(--article-blue-dark);
  color: #fff;
}

.bg-gradient-to-r,
.bg-gradient-to-br {
  background: linear-gradient(135deg, #f9fbff, #edf6ff);
  color: var(--article-ink);
}

.primary-gradient {
  background: linear-gradient(135deg, var(--article-blue-dark), #0f766e);
  color: #fff;
}

.yj-readable-article :is(
  .bg-gray-900,
  .bg-slate-900,
  .bg-blue-600,
  .bg-blue-700,
  .bg-blue-800,
  .bg-indigo-600,
  .bg-indigo-700,
  .bg-primary,
  .bg-secondary,
  .primary-gradient,
  [class*="bg-[#005"],
  [class*="bg-[#064"],
  [class*="bg-[#0D4"],
  [class*="bg-[#0d4"],
  [class*="bg-[#0F"],
  [class*="bg-[#0f"],
  [class*="bg-[#111827"],
  [class*="bg-[#1"]
) {
  color: #fff;
}

.yj-readable-article :is(
  .bg-gray-900,
  .bg-slate-900,
  .bg-blue-600,
  .bg-blue-700,
  .bg-blue-800,
  .bg-indigo-600,
  .bg-indigo-700,
  .bg-primary,
  .bg-secondary,
  .primary-gradient,
  [class*="bg-[#005"],
  [class*="bg-[#064"],
  [class*="bg-[#0D4"],
  [class*="bg-[#0d4"],
  [class*="bg-[#0F"],
  [class*="bg-[#0f"],
  [class*="bg-[#111827"],
  [class*="bg-[#1"]
) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  td,
  th,
  strong,
  em,
  a,
  .text-gray-900,
  .text-gray-700,
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-slate-900,
  .text-slate-700,
  .text-slate-600,
  .text-slate-500,
  [class*="text-[#475569]"],
  [class*="text-[#64748b]"],
  [class*="text-[#6B7280]"],
  [class*="text-[#334155]"],
  [class*="text-[#111827]"]
) {
  color: #f8fafc !important;
}

.yj-readable-article :is(
  .bg-gray-900,
  .bg-slate-900,
  .bg-blue-600,
  .bg-blue-700,
  .bg-blue-800,
  .bg-indigo-600,
  .bg-indigo-700,
  .bg-primary,
  .bg-secondary,
  .primary-gradient,
  [class*="bg-[#005"],
  [class*="bg-[#064"],
  [class*="bg-[#0D4"],
  [class*="bg-[#0d4"],
  [class*="bg-[#0F"],
  [class*="bg-[#0f"],
  [class*="bg-[#111827"],
  [class*="bg-[#1"]
) :is(.text-indigo-100, .text-gray-400, .text-gray-500, small) {
  color: #dbeafe !important;
}

.yj-readable-article .text-white {
  color: #fff;
}

.yj-readable-article :is(
  .bg-white,
  .bg-white\/50,
  .bg-white\/80,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-blue-50\/30,
  .bg-blue-50\/50,
  .bg-blue-100,
  .bg-indigo-50,
  .bg-indigo-50\/30,
  .bg-indigo-50\/50,
  .bg-indigo-100,
  .bg-orange-50,
  .bg-orange-100,
  .bg-amber-50,
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-green-50
) {
  background-color: var(--article-soft-blue);
  color: var(--article-ink) !important;
}

.yj-readable-article :is(
  .bg-white,
  .bg-white\/50,
  .bg-white\/80,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-blue-50\/30,
  .bg-blue-50\/50,
  .bg-blue-100,
  .bg-indigo-50,
  .bg-indigo-50\/30,
  .bg-indigo-50\/50,
  .bg-indigo-100,
  .bg-orange-50,
  .bg-orange-100,
  .bg-amber-50,
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-green-50
) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  td,
  th,
  strong,
  em,
  a,
  .text-gray-900,
  .text-gray-700,
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-slate-900,
  .text-slate-700,
  .text-slate-600,
  .text-slate-500,
  [class*="text-[#475569]"],
  [class*="text-[#64748b]"],
  [class*="text-[#6B7280]"],
  [class*="text-[#334155]"],
  [class*="text-[#111827]"]
) {
  color: var(--article-ink) !important;
}

.yj-readable-article :is(
  .bg-white,
  .bg-white\/50,
  .bg-white\/80,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-blue-50\/30,
  .bg-blue-50\/50,
  .bg-blue-100,
  .bg-indigo-50,
  .bg-indigo-50\/30,
  .bg-indigo-50\/50,
  .bg-indigo-100,
  .bg-orange-50,
  .bg-orange-100,
  .bg-amber-50,
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-green-50
) :is(.text-gray-500, .text-gray-600, .text-slate-500, .text-slate-600, small) {
  color: var(--article-muted) !important;
}

.yj-readable-article :is(
  .bg-white,
  .bg-white\/50,
  .bg-white\/80,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-blue-50\/30,
  .bg-blue-50\/50,
  .bg-blue-100,
  .bg-indigo-50,
  .bg-indigo-50\/30,
  .bg-indigo-50\/50,
  .bg-indigo-100,
  .bg-orange-50,
  .bg-orange-100,
  .bg-amber-50,
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-green-50
) :is(.text-white) {
  color: var(--article-ink) !important;
}

.yj-readable-article :is(a[class*="bg-[#]"], button[class*="bg-[#]"], .bg-primary, .bg-secondary, .bg-blue-600, .bg-indigo-600) {
  color: #fff !important;
}

.yj-readable-article :is(
  .bg-gray-900,
  .bg-slate-900,
  .bg-blue-600,
  .bg-blue-700,
  .bg-blue-800,
  .bg-indigo-600,
  .bg-indigo-700,
  .bg-primary,
  .bg-secondary,
  .primary-gradient,
  [class*="bg-[#005"],
  [class*="bg-[#064"],
  [class*="bg-[#0D4"],
  [class*="bg-[#0d4"],
  [class*="bg-[#0F"],
  [class*="bg-[#0f"],
  [class*="bg-[#111827"],
  [class*="bg-[#1"]
) {
  background-color: var(--article-blue-dark);
  color: #fff !important;
}

.yj-readable-article :is(
  .bg-gray-900,
  .bg-slate-900,
  .bg-blue-600,
  .bg-blue-700,
  .bg-blue-800,
  .bg-indigo-600,
  .bg-indigo-700,
  .bg-primary,
  .bg-secondary,
  .primary-gradient,
  [class*="bg-[#005"],
  [class*="bg-[#064"],
  [class*="bg-[#0D4"],
  [class*="bg-[#0d4"],
  [class*="bg-[#0F"],
  [class*="bg-[#0f"],
  [class*="bg-[#111827"],
  [class*="bg-[#1"]
) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  td,
  th,
  strong,
  em,
  a,
  .text-gray-900,
  .text-gray-700,
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-slate-900,
  .text-slate-700,
  .text-slate-600,
  .text-slate-500,
  .text-indigo-100,
  [class*="text-[#475569]"],
  [class*="text-[#64748b]"],
  [class*="text-[#6B7280]"],
  [class*="text-[#334155]"],
  [class*="text-[#111827]"]
) {
  color: #f8fafc !important;
}

.yj-readable-article :is(.bg-white, .bg-white\/50, .bg-white\/80) {
  background-color: #fff;
  color: var(--article-ink) !important;
}

.yj-readable-article :is(.bg-white, .bg-white\/50, .bg-white\/80) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  td,
  th,
  strong,
  em,
  a,
  .text-gray-900,
  .text-gray-700,
  .text-slate-900,
  .text-slate-700,
  [class*="text-[#334155]"],
  [class*="text-[#111827]"]
) {
  color: var(--article-ink) !important;
}

.yj-readable-article :is(.bg-white, .bg-white\/50, .bg-white\/80) :is(
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-slate-600,
  .text-slate-500,
  small,
  [class*="text-[#475569]"],
  [class*="text-[#64748b]"],
  [class*="text-[#6B7280]"]
) {
  color: var(--article-muted) !important;
}

.yj-readable-article :is(.bg-white, .bg-white\/50, .bg-white\/80) :is(
  a[class*="bg-[#]"],
  button[class*="bg-[#]"],
  a.bg-primary,
  button.bg-primary,
  a.bg-secondary,
  button.bg-secondary,
  a.bg-blue-600,
  button.bg-blue-600,
  a.bg-indigo-600,
  button.bg-indigo-600
) {
  background-color: var(--article-blue-dark);
  color: #fff !important;
}

.yj-readable-article :is(
  .bg-white,
  .bg-white\/50,
  .bg-white\/80,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-blue-50\/30,
  .bg-blue-50\/50,
  .bg-blue-100,
  .bg-indigo-50,
  .bg-indigo-50\/30,
  .bg-indigo-50\/50,
  .bg-indigo-100,
  .bg-orange-50,
  .bg-orange-100,
  .bg-amber-50,
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-green-50
) :is(
  .bg-gray-900,
  .bg-slate-900,
  .bg-blue-600,
  .bg-blue-700,
  .bg-blue-800,
  .bg-indigo-600,
  .bg-indigo-700,
  .bg-primary,
  .bg-secondary,
  .primary-gradient,
  [class*="bg-[#005"],
  [class*="bg-[#064"],
  [class*="bg-[#0D4"],
  [class*="bg-[#0d4"],
  [class*="bg-[#0F"],
  [class*="bg-[#0f"],
  [class*="bg-[#111827"],
  [class*="bg-[#1"]
) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  td,
  th,
  strong,
  em,
  a,
  .text-gray-900,
  .text-gray-700,
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-slate-900,
  .text-slate-700,
  .text-slate-600,
  .text-slate-500,
  .text-indigo-100,
  [class*="text-[#475569]"],
  [class*="text-[#64748b]"],
  [class*="text-[#6B7280]"],
  [class*="text-[#334155]"],
  [class*="text-[#111827]"]
) {
  color: #f8fafc !important;
}

.yj-readable-article :is(.bg-white, .bg-white\/50, .bg-white\/80) {
  background-color: #fff !important;
  color: var(--article-ink) !important;
}

.yj-readable-article :is(.bg-white, .bg-white\/50, .bg-white\/80) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  td,
  th,
  strong,
  em,
  a,
  .text-gray-900,
  .text-gray-700,
  .text-slate-900,
  .text-slate-700,
  [class*="text-[#334155]"],
  [class*="text-[#111827]"]
) {
  color: var(--article-ink) !important;
}

.yj-readable-article :is(.bg-white, .bg-white\/50, .bg-white\/80) :is(
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-slate-600,
  .text-slate-500,
  small,
  [class*="text-[#475569]"],
  [class*="text-[#64748b]"],
  [class*="text-[#6B7280]"]
) {
  color: var(--article-muted) !important;
}

.yj-readable-article :is(.bg-white, .bg-white\/50, .bg-white\/80) :is(
  a[class*="bg-[#]"],
  button[class*="bg-[#]"],
  a.bg-primary,
  button.bg-primary,
  a.bg-secondary,
  button.bg-secondary,
  a.bg-blue-600,
  button.bg-blue-600,
  a.bg-indigo-600,
  button.bg-indigo-600
) {
  background-color: var(--article-blue-dark) !important;
  color: #fff !important;
}

.yj-readable-article :is(
  .bg-gray-900,
  .bg-slate-900,
  .bg-blue-600,
  .bg-blue-700,
  .bg-blue-800,
  .bg-indigo-600,
  .bg-indigo-700,
  .bg-primary,
  .bg-secondary,
  .primary-gradient,
  [class*="bg-[#005"],
  [class*="bg-[#064"],
  [class*="bg-[#0D4"],
  [class*="bg-[#0d4"],
  [class*="bg-[#0F"],
  [class*="bg-[#0f"],
  [class*="bg-[#111827"],
  [class*="bg-[#1"]
) :is(.bg-white, .bg-white\/50, .bg-white\/80) {
  background-color: #fff !important;
  color: var(--article-ink) !important;
}

.yj-readable-article :is(
  .bg-gray-900,
  .bg-slate-900,
  .bg-blue-600,
  .bg-blue-700,
  .bg-blue-800,
  .bg-indigo-600,
  .bg-indigo-700,
  .bg-primary,
  .bg-secondary,
  .primary-gradient,
  [class*="bg-[#005"],
  [class*="bg-[#064"],
  [class*="bg-[#0D4"],
  [class*="bg-[#0d4"],
  [class*="bg-[#0F"],
  [class*="bg-[#0f"],
  [class*="bg-[#111827"],
  [class*="bg-[#1"]
) :is(.bg-white, .bg-white\/50, .bg-white\/80) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  td,
  th,
  strong,
  em,
  a,
  .text-gray-900,
  .text-gray-700,
  .text-slate-900,
  .text-slate-700,
  [class*="text-[#334155]"],
  [class*="text-[#111827]"]
) {
  color: var(--article-ink) !important;
}

.yj-readable-article :is(
  .bg-gray-900,
  .bg-slate-900,
  .bg-blue-600,
  .bg-blue-700,
  .bg-blue-800,
  .bg-indigo-600,
  .bg-indigo-700,
  .bg-primary,
  .bg-secondary,
  .primary-gradient,
  [class*="bg-[#005"],
  [class*="bg-[#064"],
  [class*="bg-[#0D4"],
  [class*="bg-[#0d4"],
  [class*="bg-[#0F"],
  [class*="bg-[#0f"],
  [class*="bg-[#111827"],
  [class*="bg-[#1"]
) :is(.bg-white, .bg-white\/50, .bg-white\/80) :is(
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-slate-600,
  .text-slate-500,
  small,
  [class*="text-[#475569]"],
  [class*="text-[#64748b]"],
  [class*="text-[#6B7280]"]
) {
  color: var(--article-muted) !important;
}

.yj-readable-article :is(
  .bg-gray-900,
  .bg-slate-900,
  .bg-blue-600,
  .bg-blue-700,
  .bg-blue-800,
  .bg-indigo-600,
  .bg-indigo-700,
  .bg-primary,
  .bg-secondary,
  .primary-gradient,
  [class*="bg-[#005"],
  [class*="bg-[#064"],
  [class*="bg-[#0D4"],
  [class*="bg-[#0d4"],
  [class*="bg-[#0F"],
  [class*="bg-[#0f"],
  [class*="bg-[#111827"],
  [class*="bg-[#1"]
) :is(.bg-white, .bg-white\/50, .bg-white\/80) :is(
  a[class*="bg-[#]"],
  button[class*="bg-[#]"],
  a.bg-primary,
  button.bg-primary,
  a.bg-secondary,
  button.bg-secondary,
  a.bg-blue-600,
  button.bg-blue-600,
  a.bg-indigo-600,
  button.bg-indigo-600
) {
  background-color: var(--article-blue-dark) !important;
  color: #fff !important;
}

.yj-readable-article :is(.text-8xl, .text-7xl, .text-6xl) {
  color: inherit;
}

.yj-readable-article :is(.rounded-\[4rem\], .rounded-\[3rem\], .rounded-\[2rem\]) {
  border-radius: 8px;
}

.yj-readable-article :is(section, article, main) {
  overflow-wrap: anywhere;
}

.yj-readable-article :is(h1, h2, h3, h4, h5, h6, p, li, a, span, div, td, th) {
  overflow-wrap: anywhere;
}

.yj-readable-article :is(.backdrop-blur-sm, .backdrop-blur-md) {
  backdrop-filter: none;
}

/* Final readability guardrails for old Tailwind-authored article pages. */
.yj-readable-article :is(
  .bg-orange-500,
  .bg-orange-600,
  .bg-amber-500,
  .bg-amber-600,
  .bg-yellow-500,
  .bg-blue-500,
  .bg-indigo-500
) {
  background-color: var(--article-blue-dark) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.yj-readable-article :is(
  .bg-orange-500\/10,
  .bg-orange-500\/20,
  .bg-amber-500\/10,
  .bg-amber-500\/20,
  .bg-yellow-500\/10,
  .bg-yellow-500\/20
) {
  background-color: var(--article-soft-amber) !important;
  color: var(--article-ink) !important;
}

.yj-readable-article :is(
  .bg-blue-500\/10,
  .bg-blue-500\/20,
  .bg-indigo-500\/10,
  .bg-indigo-500\/20,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/20,
  .bg-white\/30,
  .bg-white\/40,
  .bg-white\/50,
  .bg-white\/60,
  .bg-white\/80
) {
  background-color: var(--article-soft-blue) !important;
  color: var(--article-ink) !important;
}

.yj-readable-article :is(
  .text-white,
  .text-white\/50,
  .text-white\/60,
  .text-white\/70,
  .text-white\/80,
  .text-white\/90,
  .text-gray-300,
  .text-gray-400,
  .text-blue-100,
  .text-indigo-50,
  .text-indigo-100,
  .text-transparent
) {
  color: var(--article-ink) !important;
}

.yj-readable-article :is(
  .text-white\/50,
  .text-white\/60,
  .text-white\/70,
  .text-white\/80,
  .text-white\/90,
  .text-gray-300,
  .text-gray-400,
  .text-blue-100,
  .text-indigo-50,
  .text-indigo-100
) {
  color: var(--article-muted) !important;
}

.yj-readable-article :is(
  .bg-gradient-to-r,
  .bg-gradient-to-br,
  .bg-white,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/20,
  .bg-white\/30,
  .bg-white\/40,
  .bg-white\/50,
  .bg-white\/60,
  .bg-white\/80,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-blue-50\/30,
  .bg-blue-50\/50,
  .bg-blue-100,
  .bg-indigo-50,
  .bg-indigo-50\/30,
  .bg-indigo-50\/50,
  .bg-indigo-100,
  .bg-orange-50,
  .bg-orange-100,
  .bg-amber-50,
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-green-50
) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  td,
  th,
  strong,
  em,
  a,
  small,
  .text-white,
  .text-white\/50,
  .text-white\/60,
  .text-white\/70,
  .text-white\/80,
  .text-white\/90,
  .text-gray-900,
  .text-gray-800,
  .text-gray-700,
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-gray-300,
  .text-slate-900,
  .text-slate-700,
  .text-slate-600,
  .text-slate-500,
  .text-blue-100,
  .text-indigo-50,
  .text-indigo-100,
  .text-transparent
) {
  color: var(--article-ink) !important;
}

.yj-readable-article :is(
  .bg-gradient-to-r,
  .bg-gradient-to-br,
  .bg-white,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/20,
  .bg-white\/30,
  .bg-white\/40,
  .bg-white\/50,
  .bg-white\/60,
  .bg-white\/80,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-blue-50\/30,
  .bg-blue-50\/50,
  .bg-blue-100,
  .bg-indigo-50,
  .bg-indigo-50\/30,
  .bg-indigo-50\/50,
  .bg-indigo-100,
  .bg-orange-50,
  .bg-orange-100,
  .bg-amber-50,
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-green-50
) :is(
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-gray-300,
  .text-slate-600,
  .text-slate-500,
  .text-white\/50,
  .text-white\/60,
  .text-white\/70,
  .text-white\/80,
  .text-white\/90,
  small
) {
  color: var(--article-muted) !important;
}

.yj-readable-article :is(
  .bg-gray-800,
  .bg-gray-900,
  .bg-slate-800,
  .bg-slate-900,
  .bg-blue-500,
  .bg-blue-600,
  .bg-blue-700,
  .bg-blue-800,
  .bg-indigo-500,
  .bg-indigo-600,
  .bg-indigo-700,
  .bg-orange-500,
  .bg-orange-600,
  .bg-amber-500,
  .bg-amber-600,
  .bg-primary,
  .bg-secondary,
  .primary-gradient,
  [class~="bg-[#007aff]"],
  [class~="bg-[#0d4f8b]"],
  [class~="bg-[#0D4F8B]"],
  [class~="bg-[#FFA500]"],
  [class~="bg-[#ffa500]"]
) {
  background-color: var(--article-blue-dark) !important;
  color: #fff !important;
}

.yj-readable-article :is(
  .bg-gray-800,
  .bg-gray-900,
  .bg-slate-800,
  .bg-slate-900,
  .bg-blue-500,
  .bg-blue-600,
  .bg-blue-700,
  .bg-blue-800,
  .bg-indigo-500,
  .bg-indigo-600,
  .bg-indigo-700,
  .bg-orange-500,
  .bg-orange-600,
  .bg-amber-500,
  .bg-amber-600,
  .bg-primary,
  .bg-secondary,
  .primary-gradient,
  [class~="bg-[#007aff]"],
  [class~="bg-[#0d4f8b]"],
  [class~="bg-[#0D4F8B]"],
  [class~="bg-[#FFA500]"],
  [class~="bg-[#ffa500]"]
) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  td,
  th,
  strong,
  em,
  a,
  small,
  .text-white,
  .text-white\/50,
  .text-white\/60,
  .text-white\/70,
  .text-white\/80,
  .text-white\/90,
  .text-gray-900,
  .text-gray-800,
  .text-gray-700,
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-gray-300,
  .text-slate-900,
  .text-slate-700,
  .text-slate-600,
  .text-slate-500,
  .text-blue-100,
  .text-indigo-50,
  .text-indigo-100,
  .text-transparent
) {
  color: #f8fafc !important;
}

.yj-readable-article :is(
  .bg-gray-800,
  .bg-gray-900,
  .bg-slate-800,
  .bg-slate-900,
  .bg-blue-500,
  .bg-blue-600,
  .bg-blue-700,
  .bg-blue-800,
  .bg-indigo-500,
  .bg-indigo-600,
  .bg-indigo-700,
  .bg-orange-500,
  .bg-orange-600,
  .bg-amber-500,
  .bg-amber-600,
  .bg-primary,
  .bg-secondary,
  .primary-gradient
) :is(
  .bg-gradient-to-r,
  .bg-gradient-to-br,
  .bg-white,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/20,
  .bg-white\/30,
  .bg-white\/40,
  .bg-white\/50,
  .bg-white\/60,
  .bg-white\/80,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-blue-50\/30,
  .bg-blue-50\/50,
  .bg-blue-100,
  .bg-blue-500\/10,
  .bg-blue-500\/20,
  .bg-indigo-50,
  .bg-indigo-50\/30,
  .bg-indigo-50\/50,
  .bg-indigo-100,
  .bg-indigo-500\/10,
  .bg-indigo-500\/20,
  .bg-orange-50,
  .bg-orange-100,
  .bg-orange-500\/10,
  .bg-orange-500\/20,
  .bg-amber-50,
  .bg-amber-500\/10,
  .bg-amber-500\/20,
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-green-50
) {
  background-color: var(--article-soft-blue) !important;
  color: var(--article-ink) !important;
}

.yj-readable-article :is(
  .bg-gray-800,
  .bg-gray-900,
  .bg-slate-800,
  .bg-slate-900,
  .bg-blue-500,
  .bg-blue-600,
  .bg-blue-700,
  .bg-blue-800,
  .bg-indigo-500,
  .bg-indigo-600,
  .bg-indigo-700,
  .bg-orange-500,
  .bg-orange-600,
  .bg-amber-500,
  .bg-amber-600,
  .bg-primary,
  .bg-secondary,
  .primary-gradient
) :is(
  .bg-gradient-to-r,
  .bg-gradient-to-br,
  .bg-white,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/20,
  .bg-white\/30,
  .bg-white\/40,
  .bg-white\/50,
  .bg-white\/60,
  .bg-white\/80,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-blue-50\/30,
  .bg-blue-50\/50,
  .bg-blue-100,
  .bg-blue-500\/10,
  .bg-blue-500\/20,
  .bg-indigo-50,
  .bg-indigo-50\/30,
  .bg-indigo-50\/50,
  .bg-indigo-100,
  .bg-indigo-500\/10,
  .bg-indigo-500\/20,
  .bg-orange-50,
  .bg-orange-100,
  .bg-orange-500\/10,
  .bg-orange-500\/20,
  .bg-amber-50,
  .bg-amber-500\/10,
  .bg-amber-500\/20,
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-green-50
) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  td,
  th,
  strong,
  em,
  a,
  small,
  .text-white,
  .text-white\/50,
  .text-white\/60,
  .text-white\/70,
  .text-white\/80,
  .text-white\/90,
  .text-gray-900,
  .text-gray-800,
  .text-gray-700,
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-gray-300,
  .text-slate-900,
  .text-slate-700,
  .text-slate-600,
  .text-slate-500,
  .text-blue-100,
  .text-indigo-50,
  .text-indigo-100,
  .text-primary,
  .text-transparent
) {
  color: var(--article-ink) !important;
}

.yj-readable-article :is(
  .bg-gray-800,
  .bg-gray-900,
  .bg-slate-800,
  .bg-slate-900,
  .bg-blue-500,
  .bg-blue-600,
  .bg-blue-700,
  .bg-blue-800,
  .bg-indigo-500,
  .bg-indigo-600,
  .bg-indigo-700,
  .bg-orange-500,
  .bg-orange-600,
  .bg-amber-500,
  .bg-amber-600,
  .bg-primary,
  .bg-secondary,
  .primary-gradient
) :is(
  .bg-gradient-to-r,
  .bg-gradient-to-br,
  .bg-white,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/20,
  .bg-white\/30,
  .bg-white\/40,
  .bg-white\/50,
  .bg-white\/60,
  .bg-white\/80,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-blue-50\/30,
  .bg-blue-50\/50,
  .bg-blue-100,
  .bg-blue-500\/10,
  .bg-blue-500\/20,
  .bg-indigo-50,
  .bg-indigo-50\/30,
  .bg-indigo-50\/50,
  .bg-indigo-100,
  .bg-indigo-500\/10,
  .bg-indigo-500\/20,
  .bg-orange-50,
  .bg-orange-100,
  .bg-orange-500\/10,
  .bg-orange-500\/20,
  .bg-amber-50,
  .bg-amber-500\/10,
  .bg-amber-500\/20,
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-green-50
) :is(
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-gray-300,
  .text-slate-600,
  .text-slate-500,
  .text-white\/50,
  .text-white\/60,
  .text-white\/70,
  .text-white\/80,
  .text-white\/90,
  small
) {
  color: var(--article-muted) !important;
}

.yj-readable-article :is(
  a.bg-blue-500,
  a.bg-blue-600,
  a.bg-blue-700,
  a.bg-indigo-500,
  a.bg-indigo-600,
  a.bg-orange-500,
  a.bg-orange-600,
  a.bg-amber-500,
  button.bg-blue-500,
  button.bg-blue-600,
  button.bg-blue-700,
  button.bg-indigo-500,
  button.bg-indigo-600,
  button.bg-orange-500,
  button.bg-orange-600,
  button.bg-amber-500,
  a[class~="bg-[#007aff]"],
  button[class~="bg-[#007aff]"],
  a[class~="bg-[#0d4f8b]"],
  button[class~="bg-[#0d4f8b]"],
  a[class~="bg-[#0D4F8B]"],
  button[class~="bg-[#0D4F8B]"]
) {
  background-color: var(--article-blue-dark) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.yj-readable-article :is(
  .bg-gradient-to-r,
  .bg-gradient-to-br,
  .bg-white,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/20,
  .bg-white\/30,
  .bg-white\/40,
  .bg-white\/50,
  .bg-white\/60,
  .bg-white\/80,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-blue-100,
  .bg-indigo-50,
  .bg-indigo-100,
  .bg-orange-50,
  .bg-orange-100,
  .bg-amber-50,
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-green-50
) :is(
  .bg-gray-800,
  .bg-gray-900,
  .bg-slate-800,
  .bg-slate-900,
  .bg-blue-500,
  .bg-blue-600,
  .bg-blue-700,
  .bg-blue-800,
  .bg-indigo-500,
  .bg-indigo-600,
  .bg-indigo-700,
  .bg-orange-500,
  .bg-orange-600,
  .bg-amber-500,
  .bg-amber-600,
  .bg-primary,
  .bg-secondary,
  [class~="bg-[#007aff]"],
  [class~="bg-[#0d4f8b]"],
  [class~="bg-[#0D4F8B]"]
) {
  background-color: var(--article-blue-dark) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.yj-readable-article :is(
  .bg-gradient-to-r,
  .bg-gradient-to-br,
  .bg-white,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/20,
  .bg-white\/30,
  .bg-white\/40,
  .bg-white\/50,
  .bg-white\/60,
  .bg-white\/80,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-blue-100,
  .bg-indigo-50,
  .bg-indigo-100,
  .bg-orange-50,
  .bg-orange-100,
  .bg-amber-50,
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-green-50
) :is(
  .bg-gray-800,
  .bg-gray-900,
  .bg-slate-800,
  .bg-slate-900,
  .bg-blue-500,
  .bg-blue-600,
  .bg-blue-700,
  .bg-blue-800,
  .bg-indigo-500,
  .bg-indigo-600,
  .bg-indigo-700,
  .bg-orange-500,
  .bg-orange-600,
  .bg-amber-500,
  .bg-amber-600,
  .bg-primary,
  .bg-secondary,
  [class~="bg-[#007aff]"],
  [class~="bg-[#0d4f8b]"],
  [class~="bg-[#0D4F8B]"]
) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  td,
  th,
  strong,
  em,
  a,
  small,
  .text-white,
  .text-gray-900,
  .text-gray-800,
  .text-gray-700,
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-gray-300,
  .text-slate-900,
  .text-slate-700,
  .text-slate-600,
  .text-slate-500,
  .text-blue-100,
  .text-indigo-50,
  .text-indigo-100,
  .text-transparent
) {
  color: #f8fafc !important;
}

.yj-readable-article :is(
  a.bg-transparent,
  button.bg-transparent
) {
  color: var(--article-blue-dark) !important;
  border-color: var(--article-blue-dark) !important;
}

.yj-readable-article :is(
  .bg-white,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/20,
  .bg-white\/30,
  .bg-white\/40,
  .bg-white\/50,
  .bg-white\/60,
  .bg-white\/80,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-blue-50\/30,
  .bg-blue-50\/50,
  .bg-blue-100,
  .bg-blue-500\/10,
  .bg-blue-500\/20,
  .bg-indigo-50,
  .bg-indigo-50\/30,
  .bg-indigo-50\/50,
  .bg-indigo-100,
  .bg-indigo-500\/10,
  .bg-indigo-500\/20,
  .bg-orange-50,
  .bg-orange-100,
  .bg-orange-500\/10,
  .bg-orange-500\/20,
  .bg-amber-50,
  .bg-amber-500\/10,
  .bg-amber-500\/20,
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-green-50,
  [class*="bg-[#007aff]\/"],
  [class*="bg-[#0d4f8b]\/"],
  [class*="bg-[#0D4F8B]\/"],
  [class*="bg-[#FFA500]\/"],
  [class*="bg-[#ffa500]\/"]
) {
  background-color: var(--article-soft-blue) !important;
  color: var(--article-ink) !important;
}

.yj-readable-article :is(
  .bg-orange-50,
  .bg-orange-100,
  .bg-orange-500\/10,
  .bg-orange-500\/20,
  .bg-amber-50,
  .bg-amber-500\/10,
  .bg-amber-500\/20,
  .bg-yellow-50,
  .bg-yellow-100,
  [class*="bg-[#FFA500]\/"],
  [class*="bg-[#ffa500]\/"]
) {
  background-color: var(--article-soft-amber) !important;
}

.yj-readable-article :is(
  .bg-white,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/20,
  .bg-white\/30,
  .bg-white\/40,
  .bg-white\/50,
  .bg-white\/60,
  .bg-white\/80,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-blue-50\/30,
  .bg-blue-50\/50,
  .bg-blue-100,
  .bg-blue-500\/10,
  .bg-blue-500\/20,
  .bg-indigo-50,
  .bg-indigo-50\/30,
  .bg-indigo-50\/50,
  .bg-indigo-100,
  .bg-indigo-500\/10,
  .bg-indigo-500\/20,
  .bg-orange-50,
  .bg-orange-100,
  .bg-orange-500\/10,
  .bg-orange-500\/20,
  .bg-amber-50,
  .bg-amber-500\/10,
  .bg-amber-500\/20,
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-green-50,
  [class*="bg-[#007aff]\/"],
  [class*="bg-[#0d4f8b]\/"],
  [class*="bg-[#0D4F8B]\/"],
  [class*="bg-[#FFA500]\/"],
  [class*="bg-[#ffa500]\/"]
) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  td,
  th,
  strong,
  em,
  a,
  small,
  .text-white,
  .text-white\/50,
  .text-white\/60,
  .text-white\/70,
  .text-white\/80,
  .text-white\/90,
  .text-gray-900,
  .text-gray-800,
  .text-gray-700,
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-gray-300,
  .text-slate-900,
  .text-slate-700,
  .text-slate-600,
  .text-slate-500,
  .text-blue-100,
  .text-indigo-50,
  .text-indigo-100,
  .text-primary,
  .text-transparent
) {
  color: var(--article-ink) !important;
}

.yj-readable-article :is(
  .bg-white,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/20,
  .bg-white\/30,
  .bg-white\/40,
  .bg-white\/50,
  .bg-white\/60,
  .bg-white\/80,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-blue-50\/30,
  .bg-blue-50\/50,
  .bg-blue-100,
  .bg-blue-500\/10,
  .bg-blue-500\/20,
  .bg-indigo-50,
  .bg-indigo-50\/30,
  .bg-indigo-50\/50,
  .bg-indigo-100,
  .bg-indigo-500\/10,
  .bg-indigo-500\/20,
  .bg-orange-50,
  .bg-orange-100,
  .bg-orange-500\/10,
  .bg-orange-500\/20,
  .bg-amber-50,
  .bg-amber-500\/10,
  .bg-amber-500\/20,
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-green-50,
  [class*="bg-[#007aff]\/"],
  [class*="bg-[#0d4f8b]\/"],
  [class*="bg-[#0D4F8B]\/"],
  [class*="bg-[#FFA500]\/"],
  [class*="bg-[#ffa500]\/"]
) :is(
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-gray-300,
  .text-slate-600,
  .text-slate-500,
  .text-white\/50,
  .text-white\/60,
  .text-white\/70,
  .text-white\/80,
  .text-white\/90,
  small
) {
  color: var(--article-muted) !important;
}

.yj-readable-article :is(
  a.bg-blue-500,
  a.bg-blue-600,
  a.bg-blue-700,
  a.bg-indigo-500,
  a.bg-indigo-600,
  a.bg-indigo-700,
  a.bg-orange-500,
  a.bg-orange-600,
  a.bg-amber-500,
  a.bg-amber-600,
  button.bg-blue-500,
  button.bg-blue-600,
  button.bg-blue-700,
  button.bg-indigo-500,
  button.bg-indigo-600,
  button.bg-indigo-700,
  button.bg-orange-500,
  button.bg-orange-600,
  button.bg-amber-500,
  button.bg-amber-600,
  .absolute.bg-blue-500,
  .absolute.bg-blue-600,
  .absolute.bg-indigo-500,
  .absolute.bg-indigo-600,
  .absolute.bg-orange-500,
  .absolute.bg-orange-600,
  a[class~="bg-[#007aff]"],
  button[class~="bg-[#007aff]"],
  a[class~="bg-[#0d4f8b]"],
  button[class~="bg-[#0d4f8b]"],
  a[class~="bg-[#0D4F8B]"],
  button[class~="bg-[#0D4F8B]"]
) {
  background-color: var(--article-blue-dark) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.yj-readable-article :is(
  a.bg-blue-500,
  a.bg-blue-600,
  a.bg-blue-700,
  a.bg-indigo-500,
  a.bg-indigo-600,
  a.bg-indigo-700,
  a.bg-orange-500,
  a.bg-orange-600,
  a.bg-amber-500,
  a.bg-amber-600,
  button.bg-blue-500,
  button.bg-blue-600,
  button.bg-blue-700,
  button.bg-indigo-500,
  button.bg-indigo-600,
  button.bg-indigo-700,
  button.bg-orange-500,
  button.bg-orange-600,
  button.bg-amber-500,
  button.bg-amber-600,
  .absolute.bg-blue-500,
  .absolute.bg-blue-600,
  .absolute.bg-indigo-500,
  .absolute.bg-indigo-600,
  .absolute.bg-orange-500,
  .absolute.bg-orange-600,
  a[class~="bg-[#007aff]"],
  button[class~="bg-[#007aff]"],
  a[class~="bg-[#0d4f8b]"],
  button[class~="bg-[#0d4f8b]"],
  a[class~="bg-[#0D4F8B]"],
  button[class~="bg-[#0D4F8B]"]
) :is(span, strong, em, small, div) {
  color: #fff !important;
}

.yj-readable-article.yj-readable-article :is(
  .bg-white,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/20,
  .bg-white\/30,
  .bg-white\/40,
  .bg-white\/50,
  .bg-white\/60,
  .bg-white\/80,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-blue-50\/30,
  .bg-blue-50\/50,
  .bg-blue-100,
  .bg-blue-500\/10,
  .bg-blue-500\/20,
  .bg-indigo-50,
  .bg-indigo-50\/30,
  .bg-indigo-50\/50,
  .bg-indigo-100,
  .bg-indigo-500\/10,
  .bg-indigo-500\/20,
  .bg-orange-50,
  .bg-orange-100,
  .bg-orange-500\/10,
  .bg-orange-500\/20,
  .bg-amber-50,
  .bg-amber-500\/10,
  .bg-amber-500\/20,
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-green-50,
  [class*="bg-[#007aff]\/"],
  [class*="bg-[#0d4f8b]\/"],
  [class*="bg-[#0D4F8B]\/"],
  [class*="bg-[#FFA500]\/"],
  [class*="bg-[#ffa500]\/"]
) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  td,
  th,
  strong,
  em,
  a,
  small,
  .text-white,
  .text-white\/50,
  .text-white\/60,
  .text-white\/70,
  .text-white\/80,
  .text-white\/90,
  .text-gray-900,
  .text-gray-800,
  .text-gray-700,
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-gray-300,
  .text-slate-900,
  .text-slate-700,
  .text-slate-600,
  .text-slate-500,
  .text-blue-100,
  .text-indigo-50,
  .text-indigo-100,
  .text-primary,
  .text-transparent
) {
  color: var(--article-ink) !important;
}

.yj-readable-article.yj-readable-article :is(
  .bg-white,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/20,
  .bg-white\/30,
  .bg-white\/40,
  .bg-white\/50,
  .bg-white\/60,
  .bg-white\/80,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-blue-50\/30,
  .bg-blue-50\/50,
  .bg-blue-100,
  .bg-blue-500\/10,
  .bg-blue-500\/20,
  .bg-indigo-50,
  .bg-indigo-50\/30,
  .bg-indigo-50\/50,
  .bg-indigo-100,
  .bg-indigo-500\/10,
  .bg-indigo-500\/20,
  .bg-orange-50,
  .bg-orange-100,
  .bg-orange-500\/10,
  .bg-orange-500\/20,
  .bg-amber-50,
  .bg-amber-500\/10,
  .bg-amber-500\/20,
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-green-50,
  [class*="bg-[#007aff]\/"],
  [class*="bg-[#0d4f8b]\/"],
  [class*="bg-[#0D4F8B]\/"],
  [class*="bg-[#FFA500]\/"],
  [class*="bg-[#ffa500]\/"]
) :is(
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-gray-300,
  .text-slate-600,
  .text-slate-500,
  .text-white\/50,
  .text-white\/60,
  .text-white\/70,
  .text-white\/80,
  .text-white\/90,
  small
) {
  color: var(--article-muted) !important;
}

.yj-readable-article.yj-readable-article :is(
  a.bg-blue-500,
  a.bg-blue-600,
  a.bg-blue-700,
  a.bg-indigo-500,
  a.bg-indigo-600,
  a.bg-indigo-700,
  a.bg-orange-500,
  a.bg-orange-600,
  a.bg-amber-500,
  a.bg-amber-600,
  button.bg-blue-500,
  button.bg-blue-600,
  button.bg-blue-700,
  button.bg-indigo-500,
  button.bg-indigo-600,
  button.bg-indigo-700,
  button.bg-orange-500,
  button.bg-orange-600,
  button.bg-amber-500,
  button.bg-amber-600,
  .absolute.bg-blue-500,
  .absolute.bg-blue-600,
  .absolute.bg-indigo-500,
  .absolute.bg-indigo-600,
  .absolute.bg-orange-500,
  .absolute.bg-orange-600,
  a[class~="bg-[#007aff]"],
  button[class~="bg-[#007aff]"],
  a[class~="bg-[#0d4f8b]"],
  button[class~="bg-[#0d4f8b]"],
  a[class~="bg-[#0D4F8B]"],
  button[class~="bg-[#0D4F8B]"]
) {
  background-color: var(--article-blue-dark) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.yj-readable-article.yj-readable-article :is(
  div.bg-gray-800,
  div.bg-gray-900,
  div.bg-slate-800,
  div.bg-slate-900,
  div.bg-blue-500,
  div.bg-blue-600,
  div.bg-blue-700,
  div.bg-blue-800,
  div.bg-indigo-500,
  div.bg-indigo-600,
  div.bg-indigo-700,
  div.bg-orange-500,
  div.bg-orange-600,
  div.bg-amber-500,
  div.bg-amber-600,
  div.bg-primary,
  div.bg-secondary,
  div.primary-gradient,
  section.bg-gray-800,
  section.bg-gray-900,
  section.bg-slate-800,
  section.bg-slate-900,
  section.bg-blue-500,
  section.bg-blue-600,
  section.bg-blue-700,
  section.bg-blue-800,
  section.bg-indigo-500,
  section.bg-indigo-600,
  section.bg-indigo-700,
  section.bg-orange-500,
  section.bg-orange-600,
  section.bg-amber-500,
  section.bg-amber-600,
  section.bg-primary,
  section.bg-secondary,
  section.primary-gradient,
  main.bg-gray-800,
  main.bg-gray-900,
  main.bg-slate-800,
  main.bg-slate-900,
  main.bg-blue-500,
  main.bg-blue-600,
  main.bg-blue-700,
  main.bg-blue-800,
  main.bg-indigo-500,
  main.bg-indigo-600,
  main.bg-indigo-700,
  main.bg-orange-500,
  main.bg-orange-600,
  main.bg-amber-500,
  main.bg-amber-600,
  main.bg-primary,
  main.bg-secondary,
  main.primary-gradient,
  article.bg-gray-800,
  article.bg-gray-900,
  article.bg-slate-800,
  article.bg-slate-900,
  article.bg-blue-500,
  article.bg-blue-600,
  article.bg-blue-700,
  article.bg-blue-800,
  article.bg-indigo-500,
  article.bg-indigo-600,
  article.bg-indigo-700,
  article.bg-orange-500,
  article.bg-orange-600,
  article.bg-amber-500,
  article.bg-amber-600,
  article.bg-primary,
  article.bg-secondary,
  article.primary-gradient
) {
  background-color: var(--article-soft-blue) !important;
  color: var(--article-ink) !important;
}

.yj-readable-article.yj-readable-article :is(
  div.bg-gray-800,
  div.bg-gray-900,
  div.bg-slate-800,
  div.bg-slate-900,
  div.bg-blue-500,
  div.bg-blue-600,
  div.bg-blue-700,
  div.bg-blue-800,
  div.bg-indigo-500,
  div.bg-indigo-600,
  div.bg-indigo-700,
  div.bg-orange-500,
  div.bg-orange-600,
  div.bg-amber-500,
  div.bg-amber-600,
  div.bg-primary,
  div.bg-secondary,
  div.primary-gradient,
  section.bg-gray-800,
  section.bg-gray-900,
  section.bg-slate-800,
  section.bg-slate-900,
  section.bg-blue-500,
  section.bg-blue-600,
  section.bg-blue-700,
  section.bg-blue-800,
  section.bg-indigo-500,
  section.bg-indigo-600,
  section.bg-indigo-700,
  section.bg-orange-500,
  section.bg-orange-600,
  section.bg-amber-500,
  section.bg-amber-600,
  section.bg-primary,
  section.bg-secondary,
  section.primary-gradient,
  main.bg-gray-800,
  main.bg-gray-900,
  main.bg-slate-800,
  main.bg-slate-900,
  main.bg-blue-500,
  main.bg-blue-600,
  main.bg-blue-700,
  main.bg-blue-800,
  main.bg-indigo-500,
  main.bg-indigo-600,
  main.bg-indigo-700,
  main.bg-orange-500,
  main.bg-orange-600,
  main.bg-amber-500,
  main.bg-amber-600,
  main.bg-primary,
  main.bg-secondary,
  main.primary-gradient,
  article.bg-gray-800,
  article.bg-gray-900,
  article.bg-slate-800,
  article.bg-slate-900,
  article.bg-blue-500,
  article.bg-blue-600,
  article.bg-blue-700,
  article.bg-blue-800,
  article.bg-indigo-500,
  article.bg-indigo-600,
  article.bg-indigo-700,
  article.bg-orange-500,
  article.bg-orange-600,
  article.bg-amber-500,
  article.bg-amber-600,
  article.bg-primary,
  article.bg-secondary,
  article.primary-gradient
) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  td,
  th,
  strong,
  em,
  a,
  small,
  .text-white,
  .text-white\/50,
  .text-white\/60,
  .text-white\/70,
  .text-white\/80,
  .text-white\/90,
  .text-gray-900,
  .text-gray-800,
  .text-gray-700,
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-gray-300,
  .text-slate-900,
  .text-slate-700,
  .text-slate-600,
  .text-slate-500,
  .text-blue-100,
  .text-indigo-50,
  .text-indigo-100,
  .text-primary,
  .text-transparent
) {
  color: var(--article-ink) !important;
}

.yj-readable-article.yj-readable-article :is(
  div.bg-gray-800,
  div.bg-gray-900,
  div.bg-slate-800,
  div.bg-slate-900,
  div.bg-blue-500,
  div.bg-blue-600,
  div.bg-blue-700,
  div.bg-blue-800,
  div.bg-indigo-500,
  div.bg-indigo-600,
  div.bg-indigo-700,
  div.bg-orange-500,
  div.bg-orange-600,
  div.bg-amber-500,
  div.bg-amber-600,
  div.bg-primary,
  div.bg-secondary,
  div.primary-gradient,
  section.bg-gray-800,
  section.bg-gray-900,
  section.bg-slate-800,
  section.bg-slate-900,
  section.bg-blue-500,
  section.bg-blue-600,
  section.bg-blue-700,
  section.bg-blue-800,
  section.bg-indigo-500,
  section.bg-indigo-600,
  section.bg-indigo-700,
  section.bg-orange-500,
  section.bg-orange-600,
  section.bg-amber-500,
  section.bg-amber-600,
  section.bg-primary,
  section.bg-secondary,
  section.primary-gradient,
  main.bg-gray-800,
  main.bg-gray-900,
  main.bg-slate-800,
  main.bg-slate-900,
  main.bg-blue-500,
  main.bg-blue-600,
  main.bg-blue-700,
  main.bg-blue-800,
  main.bg-indigo-500,
  main.bg-indigo-600,
  main.bg-indigo-700,
  main.bg-orange-500,
  main.bg-orange-600,
  main.bg-amber-500,
  main.bg-amber-600,
  main.bg-primary,
  main.bg-secondary,
  main.primary-gradient,
  article.bg-gray-800,
  article.bg-gray-900,
  article.bg-slate-800,
  article.bg-slate-900,
  article.bg-blue-500,
  article.bg-blue-600,
  article.bg-blue-700,
  article.bg-blue-800,
  article.bg-indigo-500,
  article.bg-indigo-600,
  article.bg-indigo-700,
  article.bg-orange-500,
  article.bg-orange-600,
  article.bg-amber-500,
  article.bg-amber-600,
  article.bg-primary,
  article.bg-secondary,
  article.primary-gradient
) :is(
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-gray-300,
  .text-slate-600,
  .text-slate-500,
  .text-white\/50,
  .text-white\/60,
  .text-white\/70,
  .text-white\/80,
  .text-white\/90,
  small
) {
  color: var(--article-muted) !important;
}

.yj-readable-article.yj-readable-article :is(
  a.bg-blue-500,
  a.bg-blue-600,
  a.bg-blue-700,
  a.bg-indigo-500,
  a.bg-indigo-600,
  a.bg-indigo-700,
  a.bg-orange-500,
  a.bg-orange-600,
  a.bg-amber-500,
  a.bg-amber-600,
  button.bg-blue-500,
  button.bg-blue-600,
  button.bg-blue-700,
  button.bg-indigo-500,
  button.bg-indigo-600,
  button.bg-indigo-700,
  button.bg-orange-500,
  button.bg-orange-600,
  button.bg-amber-500,
  button.bg-amber-600,
  .absolute.bg-blue-500,
  .absolute.bg-blue-600,
  .absolute.bg-indigo-500,
  .absolute.bg-indigo-600,
  .absolute.bg-orange-500,
  .absolute.bg-orange-600,
  a[class~="bg-[#007aff]"],
  button[class~="bg-[#007aff]"],
  a[class~="bg-[#0d4f8b]"],
  button[class~="bg-[#0d4f8b]"],
  a[class~="bg-[#0D4F8B]"],
  button[class~="bg-[#0D4F8B]"]
) {
  background-color: var(--article-blue-dark) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.yj-readable-article.yj-readable-article :is(
  [class*="bg-blue-"],
  [class*="bg-indigo-"],
  [class*="bg-orange-"],
  [class*="bg-amber-"],
  [class*="bg-gray-"],
  [class*="bg-slate-"],
  .primary-gradient
) :is(
  a.bg-blue-500,
  a.bg-blue-600,
  a.bg-blue-700,
  a.bg-indigo-500,
  a.bg-indigo-600,
  a.bg-indigo-700,
  a.bg-orange-500,
  a.bg-orange-600,
  a.bg-amber-500,
  a.bg-amber-600,
  button.bg-blue-500,
  button.bg-blue-600,
  button.bg-blue-700,
  button.bg-indigo-500,
  button.bg-indigo-600,
  button.bg-indigo-700,
  button.bg-orange-500,
  button.bg-orange-600,
  button.bg-amber-500,
  button.bg-amber-600,
  a[class~="bg-[#007aff]"],
  button[class~="bg-[#007aff]"],
  a[class~="bg-[#0d4f8b]"],
  button[class~="bg-[#0d4f8b]"],
  a[class~="bg-[#0D4F8B]"],
  button[class~="bg-[#0D4F8B]"]
) {
  background-color: var(--article-blue-dark) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.yj-readable-article.yj-readable-article :is(
  [class*="bg-blue-"],
  [class*="bg-indigo-"],
  [class*="bg-orange-"],
  [class*="bg-amber-"],
  [class*="bg-gray-"],
  [class*="bg-slate-"],
  .primary-gradient
) :is(
  a.bg-blue-500,
  a.bg-blue-600,
  a.bg-blue-700,
  a.bg-indigo-500,
  a.bg-indigo-600,
  a.bg-indigo-700,
  a.bg-orange-500,
  a.bg-orange-600,
  a.bg-amber-500,
  a.bg-amber-600,
  button.bg-blue-500,
  button.bg-blue-600,
  button.bg-blue-700,
  button.bg-indigo-500,
  button.bg-indigo-600,
  button.bg-indigo-700,
  button.bg-orange-500,
  button.bg-orange-600,
  button.bg-amber-500,
  button.bg-amber-600,
  a[class~="bg-[#007aff]"],
  button[class~="bg-[#007aff]"],
  a[class~="bg-[#0d4f8b]"],
  button[class~="bg-[#0d4f8b]"],
  a[class~="bg-[#0D4F8B]"],
  button[class~="bg-[#0D4F8B]"]
) :is(span, strong, em, small, div) {
  color: #fff !important;
}

.yj-readable-article.yj-readable-article :is(
  a.bg-primary,
  a.bg-secondary,
  a.bg-gray-900,
  a.bg-blue-500,
  a.bg-blue-600,
  a.bg-blue-700,
  a.bg-indigo-500,
  a.bg-indigo-600,
  a.bg-indigo-700,
  a.bg-orange-500,
  a.bg-orange-600,
  a.bg-amber-500,
  a.bg-amber-600,
  button.bg-primary,
  button.bg-secondary,
  button.bg-gray-900,
  button.bg-blue-500,
  button.bg-blue-600,
  button.bg-blue-700,
  button.bg-indigo-500,
  button.bg-indigo-600,
  button.bg-indigo-700,
  button.bg-orange-500,
  button.bg-orange-600,
  button.bg-amber-500,
  button.bg-amber-600,
  span.bg-primary,
  span.bg-secondary,
  span.bg-gray-900,
  span.bg-blue-500,
  span.bg-blue-600,
  span.bg-indigo-500,
  span.bg-indigo-600,
  span.bg-orange-500,
  span.bg-orange-600,
  span.bg-amber-500,
  span.bg-amber-600,
  th.bg-primary,
  th.bg-secondary,
  th.bg-gray-900,
  th.bg-blue-600,
  th.bg-indigo-600,
  th.bg-orange-500,
  td.bg-primary,
  td.bg-secondary,
  td.bg-gray-900,
  td.bg-blue-600,
  td.bg-indigo-600,
  td.bg-orange-500,
  a[class~="bg-[#007aff]"],
  button[class~="bg-[#007aff]"],
  span[class~="bg-[#007aff]"],
  th[class~="bg-[#007aff]"],
  td[class~="bg-[#007aff]"],
  a[class~="bg-[#FFA500]"],
  button[class~="bg-[#FFA500]"],
  span[class~="bg-[#FFA500]"],
  th[class~="bg-[#FFA500]"],
  td[class~="bg-[#FFA500]"],
  a[class~="bg-[#ffa500]"],
  button[class~="bg-[#ffa500]"],
  span[class~="bg-[#ffa500]"],
  th[class~="bg-[#ffa500]"],
  td[class~="bg-[#ffa500]"],
  [class*="rounded-full"][class~="bg-[#007aff]"],
  [class*="rounded-full"][class~="bg-[#FFA500]"],
  [class*="rounded-full"][class~="bg-[#ffa500]"],
  [class*="rounded-lg"][class~="bg-[#007aff]"],
  [class*="rounded-lg"][class~="bg-[#FFA500]"],
  [class*="rounded-lg"][class~="bg-[#ffa500]"]
) {
  background-color: var(--article-blue-dark) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.yj-readable-article.yj-readable-article :is(
  tr.bg-primary,
  tr.bg-secondary,
  tr.bg-gray-900,
  tr.bg-blue-500,
  tr.bg-blue-600,
  tr.bg-blue-700,
  tr.bg-indigo-500,
  tr.bg-indigo-600,
  tr.bg-indigo-700,
  tr.bg-orange-500,
  tr.bg-orange-600,
  thead.bg-primary,
  thead.bg-secondary,
  thead.bg-gray-900,
  thead.bg-blue-500,
  thead.bg-blue-600,
  thead.bg-blue-700,
  thead.bg-indigo-500,
  thead.bg-indigo-600,
  thead.bg-indigo-700,
  thead.bg-orange-500,
  thead.bg-orange-600
) {
  background-color: var(--article-blue-dark) !important;
  color: #fff !important;
}

.yj-readable-article.yj-readable-article :is(
  tr.bg-primary,
  tr.bg-secondary,
  tr.bg-gray-900,
  tr.bg-blue-500,
  tr.bg-blue-600,
  tr.bg-blue-700,
  tr.bg-indigo-500,
  tr.bg-indigo-600,
  tr.bg-indigo-700,
  tr.bg-orange-500,
  tr.bg-orange-600,
  thead.bg-primary,
  thead.bg-secondary,
  thead.bg-gray-900,
  thead.bg-blue-500,
  thead.bg-blue-600,
  thead.bg-blue-700,
  thead.bg-indigo-500,
  thead.bg-indigo-600,
  thead.bg-indigo-700,
  thead.bg-orange-500,
  thead.bg-orange-600
) :is(th, td, span, strong, em, small, a) {
  color: #fff !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article :is(
  tr.bg-primary,
  tr.bg-secondary,
  tr.bg-gray-900,
  tr.bg-blue-500,
  tr.bg-blue-600,
  tr.bg-blue-700,
  tr.bg-indigo-500,
  tr.bg-indigo-600,
  tr.bg-indigo-700,
  tr.bg-orange-500,
  tr.bg-orange-600,
  thead.bg-primary,
  thead.bg-secondary,
  thead.bg-gray-900,
  thead.bg-blue-500,
  thead.bg-blue-600,
  thead.bg-blue-700,
  thead.bg-indigo-500,
  thead.bg-indigo-600,
  thead.bg-indigo-700,
  thead.bg-orange-500,
  thead.bg-orange-600
) :is(th, td, span, strong, em, small, a) {
  color: #fff !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article :is(
  a.bg-primary,
  a.bg-secondary,
  a.bg-gray-900,
  a.bg-blue-500,
  a.bg-blue-600,
  a.bg-blue-700,
  a.bg-indigo-500,
  a.bg-indigo-600,
  a.bg-indigo-700,
  a.bg-orange-500,
  a.bg-orange-600,
  a.bg-amber-500,
  a.bg-amber-600,
  button.bg-primary,
  button.bg-secondary,
  button.bg-gray-900,
  button.bg-blue-500,
  button.bg-blue-600,
  button.bg-blue-700,
  button.bg-indigo-500,
  button.bg-indigo-600,
  button.bg-indigo-700,
  button.bg-orange-500,
  button.bg-orange-600,
  button.bg-amber-500,
  button.bg-amber-600,
  span.bg-primary,
  span.bg-secondary,
  span.bg-gray-900,
  span.bg-blue-500,
  span.bg-blue-600,
  span.bg-indigo-500,
  span.bg-indigo-600,
  span.bg-orange-500,
  span.bg-orange-600,
  span.bg-amber-500,
  span.bg-amber-600,
  th.bg-primary,
  th.bg-secondary,
  th.bg-gray-900,
  th.bg-blue-600,
  th.bg-indigo-600,
  th.bg-orange-500,
  td.bg-primary,
  td.bg-secondary,
  td.bg-gray-900,
  td.bg-blue-600,
  td.bg-indigo-600,
  td.bg-orange-500,
  a[class~="bg-[#007aff]"],
  button[class~="bg-[#007aff]"],
  span[class~="bg-[#007aff]"],
  th[class~="bg-[#007aff]"],
  td[class~="bg-[#007aff]"],
  a[class~="bg-[#FFA500]"],
  button[class~="bg-[#FFA500]"],
  span[class~="bg-[#FFA500]"],
  th[class~="bg-[#FFA500]"],
  td[class~="bg-[#FFA500]"],
  a[class~="bg-[#ffa500]"],
  button[class~="bg-[#ffa500]"],
  span[class~="bg-[#ffa500]"],
  th[class~="bg-[#ffa500]"],
  td[class~="bg-[#ffa500]"],
  [class*="rounded-full"][class~="bg-[#007aff]"],
  [class*="rounded-full"][class~="bg-[#FFA500]"],
  [class*="rounded-full"][class~="bg-[#ffa500]"],
  [class*="rounded-lg"][class~="bg-[#007aff]"],
  [class*="rounded-lg"][class~="bg-[#FFA500]"],
  [class*="rounded-lg"][class~="bg-[#ffa500]"]
) {
  background-color: var(--article-blue-dark) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article :is(.hero-gradient, .gradient-bg) {
  background: linear-gradient(135deg, var(--article-blue-dark), #0f766e) !important;
  color: #fff !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article :is(.hero-gradient, .gradient-bg) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  strong,
  em,
  a,
  small,
  .text-white,
  .text-white\/50,
  .text-white\/60,
  .text-white\/70,
  .text-white\/80,
  .text-white\/90,
  .text-blue-50,
  .text-blue-100,
  .text-indigo-50,
  .text-indigo-100,
  .text-gray-300,
  .text-gray-400,
  .text-gray-500,
  .text-gray-600,
  .text-slate-500,
  .text-slate-600,
  .text-transparent
) {
  color: #f8fafc !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article :is(.hero-gradient, .gradient-bg) :is(
  .text-white\/50,
  .text-white\/60,
  .text-white\/70,
  .text-white\/80,
  .text-white\/90,
  .text-blue-50,
  .text-blue-100,
  .text-indigo-50,
  .text-indigo-100,
  .text-gray-300,
  .text-gray-400,
  .text-gray-500,
  .text-gray-600,
  .text-slate-500,
  .text-slate-600,
  small
) {
  color: #dbeafe !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article :is(.hero-gradient, .gradient-bg) :is(
  .glass,
  [class*="glass"],
  .bg-white,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/20,
  .bg-white\/30,
  .bg-white\/40,
  .bg-white\/50,
  .bg-white\/60,
  .bg-white\/80
) {
  background-color: rgba(255, 255, 255, .9) !important;
  color: var(--article-ink) !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article :is(.hero-gradient, .gradient-bg) :is(
  .glass,
  [class*="glass"],
  .bg-white,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/20,
  .bg-white\/30,
  .bg-white\/40,
  .bg-white\/50,
  .bg-white\/60,
  .bg-white\/80
) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  strong,
  em,
  a,
  small,
  .text-white,
  .text-white\/50,
  .text-white\/60,
  .text-white\/70,
  .text-white\/80,
  .text-white\/90,
  .text-black,
  .text-gray-900,
  .text-gray-800,
  .text-gray-700,
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-gray-300,
  .text-slate-900,
  .text-slate-700,
  .text-slate-600,
  .text-slate-500,
  .text-blue-100,
  .text-indigo-50,
  .text-indigo-100,
  .text-transparent
) {
  color: var(--article-ink) !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article :is(.hero-gradient, .gradient-bg) :is(
  .glass,
  [class*="glass"],
  .bg-white,
  .bg-white\/5,
  .bg-white\/10,
  .bg-white\/20,
  .bg-white\/30,
  .bg-white\/40,
  .bg-white\/50,
  .bg-white\/60,
  .bg-white\/80
) :is(
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-gray-300,
  .text-slate-600,
  .text-slate-500,
  .text-white\/50,
  .text-white\/60,
  .text-white\/70,
  .text-white\/80,
  .text-white\/90,
  small
) {
  color: var(--article-muted) !important;
}

[class*="hover:"] {
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

@media (max-width: 900px) {
  .container,
  .max-w-7xl,
  .max-w-6xl,
  .max-w-5xl,
  .max-w-4xl,
  .max-w-3xl {
    width: min(100% - 28px, 1180px);
  }

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }

  .flex {
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:flex {
    display: flex;
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:flex-row-reverse {
    flex-direction: row-reverse;
  }

  .md\:items-center {
    align-items: center;
  }

  .md\:text-left {
    text-align: left;
  }

  .md\:w-1\/2 {
    width: 50%;
  }

  .md\:w-1\/3 {
    width: 33.333333%;
  }

  .md\:w-2\/3 {
    width: 66.666667%;
  }

  .md\:w-72 {
    width: 18rem;
  }

  .md\:w-80 {
    width: 20rem;
  }

  .md\:w-auto {
    width: auto;
  }

  .md\:text-5xl {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  }

  .md\:text-7xl {
    font-size: clamp(3rem, 6vw, 5rem);
  }

  .md\:p-20 {
    padding: 5rem;
  }
}

@media (min-width: 768px) and (max-width: 1179px) {
  .yj-readable-article .md\:grid-cols-3,
  .yj-readable-article .md\:grid-cols-4,
  .yj-readable-article .lg\:grid-cols-3,
  .yj-readable-article .lg\:grid-cols-4,
  .yj-readable-article .lg\:grid-cols-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:flex {
    display: flex;
  }

  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:w-1\/2 {
    width: 50%;
  }

  .lg\:w-1\/3 {
    width: 33.333333%;
  }

  .lg\:w-2\/3 {
    width: 66.666667%;
  }
}

@media (min-width: 1180px) {
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:grid-cols-5 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  }
}

@media (max-width: 767px) {
  .yj-readable-article .left-1\/4 {
    left: 0;
  }

  .yj-readable-article .right-1\/4 {
    right: 0;
  }
}

/* Final readability guardrails for legacy Tailwind-style article pages. */
.yj-readable-article.yj-readable-article :is(
  .primary-gradient,
  .bg-gray-900,
  .bg-gray-800,
  .bg-slate-900,
  .bg-slate-800,
  .bg-blue-900,
  .bg-blue-800,
  .bg-blue-700,
  .bg-indigo-900,
  .bg-indigo-800,
  .bg-indigo-700
) {
  background-color: var(--article-blue-dark) !important;
  color: #ffffff !important;
}

.yj-readable-article.yj-readable-article :is(
  .primary-gradient,
  .bg-gray-900,
  .bg-gray-800,
  .bg-slate-900,
  .bg-slate-800,
  .bg-blue-900,
  .bg-blue-800,
  .bg-blue-700,
  .bg-indigo-900,
  .bg-indigo-800,
  .bg-indigo-700
) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  strong,
  em,
  a,
  small
) {
  color: #ffffff !important;
}

.yj-readable-article.yj-readable-article :is(
  .primary-gradient,
  .bg-gray-900,
  .bg-gray-800,
  .bg-slate-900,
  .bg-slate-800,
  .bg-blue-900,
  .bg-blue-800,
  .bg-blue-700,
  .bg-indigo-900,
  .bg-indigo-800,
  .bg-indigo-700
) :is(
  .text-gray-300,
  .text-gray-400,
  .text-gray-500,
  .text-gray-600,
  .text-slate-300,
  .text-slate-400,
  .text-slate-500,
  .text-slate-600,
  [class~="text-white/60"],
  [class~="text-white/70"],
  [class~="text-white/80"],
  [class~="opacity-70"],
  [class~="opacity-75"],
  [class~="opacity-80"]
) {
  color: #dbeafe !important;
  opacity: 1 !important;
}

.yj-readable-article.yj-readable-article :is(
  .primary-gradient,
  .bg-gray-900,
  .bg-gray-800,
  .bg-slate-900,
  .bg-slate-800,
  .bg-blue-900,
  .bg-blue-800,
  .bg-blue-700,
  .bg-indigo-900,
  .bg-indigo-800,
  .bg-indigo-700
) :is(
  [class~="bg-white/5"],
  [class~="bg-white/10"],
  [class~="bg-white/20"]
) {
  background-color: rgba(255, 255, 255, 0.13) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
}

.yj-readable-article.yj-readable-article :is(
  .primary-gradient,
  .bg-gray-900,
  .bg-gray-800,
  .bg-slate-900,
  .bg-slate-800,
  .bg-blue-900,
  .bg-blue-800,
  .bg-blue-700,
  .bg-indigo-900,
  .bg-indigo-800,
  .bg-indigo-700
) :is(
  .bg-white,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-orange-50,
  .bg-amber-50
) {
  background-color: #ffffff !important;
  color: var(--article-ink) !important;
}

.yj-readable-article.yj-readable-article :is(
  .primary-gradient,
  .bg-gray-900,
  .bg-gray-800,
  .bg-slate-900,
  .bg-slate-800,
  .bg-blue-900,
  .bg-blue-800,
  .bg-blue-700,
  .bg-indigo-900,
  .bg-indigo-800,
  .bg-indigo-700
) :is(
  .bg-white,
  .bg-gray-50,
  .bg-slate-50,
  .bg-blue-50,
  .bg-orange-50,
  .bg-amber-50
) :is(h1, h2, h3, h4, h5, h6, p, li, span, div, strong, em, a, small) {
  color: var(--article-ink) !important;
}

.yj-readable-article.yj-readable-article .glass-card > [class~="-top-6"].primary-gradient {
  position: static !important;
  display: inline-flex !important;
  width: 3rem !important;
  height: 3rem !important;
  margin: 0 0 1rem 0 !important;
  background: linear-gradient(135deg, var(--article-blue-dark), #0f766e) !important;
  background-color: var(--article-blue-dark) !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: 0 12px 28px rgba(18, 56, 95, 0.24) !important;
}

.yj-readable-article.yj-readable-article .glass-card > [class~="-top-6"].primary-gradient + :is(h1, h2, h3, h4) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.yj-readable-article.yj-readable-article :is(a, button, span, div).primary-gradient.text-white,
.yj-readable-article.yj-readable-article :is(a, button, span, div).primary-gradient.text-white :is(span, strong, em, svg, i) {
  color: #ffffff !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(
  div.primary-gradient,
  section.primary-gradient,
  main.primary-gradient,
  article.primary-gradient
) {
  background: linear-gradient(135deg, var(--article-blue-dark), #0f766e) !important;
  background-color: var(--article-blue-dark) !important;
  color: #ffffff !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(
  div.bg-gray-900,
  section.bg-gray-900,
  main.bg-gray-900,
  article.bg-gray-900,
  div.bg-gray-800,
  section.bg-gray-800,
  div.bg-slate-900,
  section.bg-slate-900,
  main.bg-slate-900,
  article.bg-slate-900,
  div.bg-slate-800,
  section.bg-slate-800,
  div.bg-indigo-900,
  section.bg-indigo-900,
  main.bg-indigo-900,
  article.bg-indigo-900,
  div.bg-indigo-800,
  section.bg-indigo-800
) {
  background: var(--article-blue-dark) !important;
  background-color: var(--article-blue-dark) !important;
  color: #ffffff !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(
  div.primary-gradient,
  section.primary-gradient,
  main.primary-gradient,
  article.primary-gradient,
  div.bg-gray-900,
  section.bg-gray-900,
  main.bg-gray-900,
  article.bg-gray-900,
  div.bg-gray-800,
  section.bg-gray-800,
  div.bg-slate-900,
  section.bg-slate-900,
  div.bg-slate-800,
  section.bg-slate-800,
  div.bg-indigo-900,
  section.bg-indigo-900,
  main.bg-indigo-900,
  article.bg-indigo-900,
  div.bg-indigo-800,
  section.bg-indigo-800
) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span,
  div,
  strong,
  em,
  a,
  small,
  .text-white,
  .text-gray-900,
  .text-gray-800,
  .text-gray-700,
  .text-gray-600,
  .text-gray-500,
  .text-gray-400,
  .text-gray-300,
  .text-slate-900,
  .text-slate-700,
  .text-slate-600,
  .text-slate-500,
  .text-primary
) {
  color: #ffffff !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(
  div.primary-gradient,
  section.primary-gradient,
  main.primary-gradient,
  article.primary-gradient,
  div.bg-gray-900,
  section.bg-gray-900,
  div.bg-slate-900,
  section.bg-slate-900,
  div.bg-indigo-900,
  section.bg-indigo-900
) :is(
  [class~="bg-white/5"],
  [class~="bg-white/10"],
  [class~="bg-white/20"],
  .glass
) :is(h1, h2, h3, h4, p, li, span, div, strong, em, a, small) {
  color: #ffffff !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(
  div.bg-gray-900,
  section.bg-gray-900,
  div.bg-gray-800,
  section.bg-gray-800,
  div.bg-slate-900,
  section.bg-slate-900,
  div.bg-slate-800,
  section.bg-slate-800,
  div.bg-indigo-900,
  section.bg-indigo-900,
  div.bg-indigo-800,
  section.bg-indigo-800
) :is(.glass, .glass-card, .glass-effect, [class~="bg-white/5"], [class~="bg-white/10"], [class~="bg-white/20"]) {
  background: rgba(255, 255, 255, 0.12) !important;
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(
  div.bg-gray-900,
  section.bg-gray-900,
  div.bg-gray-800,
  section.bg-gray-800,
  div.bg-slate-900,
  section.bg-slate-900,
  div.bg-slate-800,
  section.bg-slate-800,
  div.bg-indigo-900,
  section.bg-indigo-900,
  div.bg-indigo-800,
  section.bg-indigo-800
) :is(.glass, .glass-card, .glass-effect, [class~="bg-white/5"], [class~="bg-white/10"], [class~="bg-white/20"]) :is(h1, h2, h3, h4, p, li, span, div, strong, em, a, small) {
  color: #ffffff !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(
  div.bg-gray-900,
  section.bg-gray-900,
  div.bg-gray-800,
  section.bg-gray-800,
  div.bg-slate-900,
  section.bg-slate-900,
  div.bg-slate-800,
  section.bg-slate-800,
  div.bg-indigo-900,
  section.bg-indigo-900,
  div.bg-indigo-800,
  section.bg-indigo-800
) :is([class~="bg-orange-500/20"], [class~="bg-blue-500/20"], [class~="bg-indigo-500/20"], [class~="bg-primary/20"], [class~="bg-secondary/20"]) {
  background-color: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(.glass-card, .glass-effect).text-gray-900 {
  background: rgba(255, 255, 255, 0.94) !important;
  background-color: rgba(255, 255, 255, 0.94) !important;
  color: var(--article-ink) !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(.glass-card, .glass-effect).text-gray-900 :is(h1, h2, h3, h4, p, li, span, div, strong, em, a, small) {
  color: var(--article-ink) !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(.glass-card, .glass-effect).text-gray-900 :is(.text-gray-500, .text-gray-600, .text-slate-500, .text-slate-600) {
  color: var(--article-muted) !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(.glass-card, .glass-effect).text-gray-900 [class*="text-[#007aff]"],
.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(.glass-card, .glass-effect).text-gray-900 [class*="text-[#0d4f8b]"],
.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(.glass-card, .glass-effect).text-gray-900 [class*="text-[#0D4F8B]"] {
  color: var(--article-blue-dark) !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(
  div.bg-gray-900,
  section.bg-gray-900,
  div.bg-gray-800,
  section.bg-gray-800,
  div.bg-slate-900,
  section.bg-slate-900,
  div.bg-slate-800,
  section.bg-slate-800,
  div.bg-indigo-900,
  section.bg-indigo-900,
  div.bg-indigo-800,
  section.bg-indigo-800
) :is(.glass-card, .glass-effect).text-gray-900 {
  background: rgba(255, 255, 255, 0.94) !important;
  background-color: rgba(255, 255, 255, 0.94) !important;
  color: var(--article-ink) !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(
  div.bg-gray-900,
  section.bg-gray-900,
  div.bg-gray-800,
  section.bg-gray-800,
  div.bg-slate-900,
  section.bg-slate-900,
  div.bg-slate-800,
  section.bg-slate-800,
  div.bg-indigo-900,
  section.bg-indigo-900,
  div.bg-indigo-800,
  section.bg-indigo-800
) :is(.glass-card, .glass-effect).text-gray-900 :is(h1, h2, h3, h4, p, li, span, div, strong, em, a, small) {
  color: var(--article-ink) !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(
  div.bg-gray-900,
  section.bg-gray-900,
  div.bg-gray-800,
  section.bg-gray-800,
  div.bg-slate-900,
  section.bg-slate-900,
  div.bg-slate-800,
  section.bg-slate-800,
  div.bg-indigo-900,
  section.bg-indigo-900,
  div.bg-indigo-800,
  section.bg-indigo-800
) :is(.glass-card, .glass-effect).text-gray-900 :is(.text-gray-500, .text-gray-600, .text-slate-500, .text-slate-600) {
  color: var(--article-muted) !important;
}

.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(
  div.bg-gray-900,
  section.bg-gray-900,
  div.bg-gray-800,
  section.bg-gray-800,
  div.bg-slate-900,
  section.bg-slate-900,
  div.bg-slate-800,
  section.bg-slate-800,
  div.bg-indigo-900,
  section.bg-indigo-900,
  div.bg-indigo-800,
  section.bg-indigo-800
) :is(.glass-card, .glass-effect).text-gray-900 [class*="text-[#007aff]"],
.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(
  div.bg-gray-900,
  section.bg-gray-900,
  div.bg-gray-800,
  section.bg-gray-800,
  div.bg-slate-900,
  section.bg-slate-900,
  div.bg-slate-800,
  section.bg-slate-800,
  div.bg-indigo-900,
  section.bg-indigo-900,
  div.bg-indigo-800,
  section.bg-indigo-800
) :is(.glass-card, .glass-effect).text-gray-900 [class*="text-[#0d4f8b]"],
.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article.yj-readable-article :is(
  div.bg-gray-900,
  section.bg-gray-900,
  div.bg-gray-800,
  section.bg-gray-800,
  div.bg-slate-900,
  section.bg-slate-900,
  div.bg-slate-800,
  section.bg-slate-800,
  div.bg-indigo-900,
  section.bg-indigo-900,
  div.bg-indigo-800,
  section.bg-indigo-800
) :is(.glass-card, .glass-effect).text-gray-900 [class*="text-[#0D4F8B]"] {
  color: var(--article-blue-dark) !important;
}

/* Timeline, chip, and CTA stability for old Tailwind-authored articles. */
.yj-readable-article.yj-readable-article :is(section, article, main) .relative.pl-12.border-l-2 > .absolute.rounded-full:is(
  .bg-primary,
  .bg-secondary,
  .bg-blue-500,
  .bg-blue-600,
  .bg-blue-700,
  [class~="bg-[#007aff]"],
  [class~="bg-[#0d4f8b]"],
  [class~="bg-[#0D4F8B]"]
) {
  left: -1rem !important;
  top: 0 !important;
  width: 2rem !important;
  height: 2rem !important;
  min-width: 2rem !important;
  min-height: 2rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  line-height: 1 !important;
  z-index: 2 !important;
}

.yj-readable-article.yj-readable-article :is(section, article, main) .relative.pl-12.border-l-2 > :is(h1, h2, h3, h4, h5, h6) {
  padding-left: 0 !important;
  min-width: 0;
}

.yj-readable-article.yj-readable-article :is(.glass, .glass-card) > .flex.justify-between.items-start,
.yj-readable-article.yj-readable-article :is(.glass, .glass-card) .flex.justify-between.items-start {
  gap: 1rem !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
}

.yj-readable-article.yj-readable-article :is(.glass, .glass-card) .flex.justify-between.items-start > :is(h1, h2, h3, h4, h5, h6) {
  flex: 1 1 18rem !important;
  min-width: min(100%, 16rem) !important;
}

.yj-readable-article.yj-readable-article :is(.glass, .glass-card) .flex.justify-between.items-start > span.rounded-full,
.yj-readable-article.yj-readable-article :is(.glass, .glass-card) .flex.justify-between.items-start span.rounded-full {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  max-width: 100% !important;
  width: max-content !important;
  min-width: max-content !important;
  padding: .35rem .85rem !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  text-wrap: nowrap !important;
}

.yj-readable-article.yj-readable-article :is(a, button).rounded-full {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.75rem !important;
  min-width: max-content;
  max-width: 100%;
  padding-inline: max(1.75rem, 2.5rem) !important;
  padding-block: .85rem !important;
  line-height: 1.25 !important;
  text-align: center !important;
  white-space: normal;
}

@media (max-width: 480px) {
  .yj-readable-article.yj-readable-article :is(a, button).rounded-full {
    min-width: 0;
    width: min(100%, max-content);
    padding-inline: 1.5rem !important;
  }

  .yj-readable-article.yj-readable-article :is(.glass, .glass-card) .flex.justify-between.items-start > span.rounded-full,
  .yj-readable-article.yj-readable-article :is(.glass, .glass-card) .flex.justify-between.items-start span.rounded-full {
    width: auto !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}
