/* Cihan Network v55 — blog detail dark-mode readability */
html[data-theme="dark"] body.premiumTheme .postDetail {
  color: #cbd5e5;
}

html[data-theme="dark"] body.premiumTheme .articleInfoBar {
  border-color: #2b3950;
  background: #121c2c;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}

html[data-theme="dark"] body.premiumTheme .articleInfoBar .postMeta span,
html[data-theme="dark"] body.premiumTheme .articleInfoBar .postMeta a {
  color: #b8c4d8;
}

html[data-theme="dark"] body.premiumTheme .articleInfoBar .postMeta a {
  color: #a99cff;
}

html[data-theme="dark"] body.premiumTheme .articleInfoBar .postMeta i {
  background: #53617a;
}

html[data-theme="dark"] body.premiumTheme .articleInfoActions button {
  border-color: #34435b;
  color: #d5ddec;
  background: #182438;
}

html[data-theme="dark"] body.premiumTheme .articleInfoActions button:hover,
html[data-theme="dark"] body.premiumTheme .articleInfoActions button:focus-visible,
html[data-theme="dark"] body.premiumTheme .articleInfoActions button.isSaved {
  border-color: #8f80f8;
  color: #c5bcff;
  background: #211f43;
}

html[data-theme="dark"] body.premiumTheme .articleToc {
  border-color: #2d3b52;
  background: rgba(17, 27, 43, .96);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
}

html[data-theme="dark"] body.premiumTheme .articleToc > div span {
  color: #9d90ff;
}

html[data-theme="dark"] body.premiumTheme .articleToc > div strong {
  color: #f2f5fb;
}

html[data-theme="dark"] body.premiumTheme .articleToc nav {
  border-left-color: #35445c;
}

html[data-theme="dark"] body.premiumTheme .articleToc nav a,
html[data-theme="dark"] body.premiumTheme .articleToc nav a.isSubheading,
html[data-theme="dark"] body.premiumTheme .articleToc > a {
  color: #aab5c8;
}

html[data-theme="dark"] body.premiumTheme .articleToc nav a:hover,
html[data-theme="dark"] body.premiumTheme .articleToc nav a.isActive {
  border-left-color: #9d90ff;
  color: #c6beff;
}

html[data-theme="dark"] body.premiumTheme .postDetailTitle {
  color: #f3f6fc;
  text-wrap: balance;
}

html[data-theme="dark"] body.premiumTheme .postDetailExcerpt {
  border-left-color: #8f80f8;
  color: #bdc8da;
}

html[data-theme="dark"] body.premiumTheme .postDetailBody {
  color: #c4cede;
}

html[data-theme="dark"] body.premiumTheme .postDetailBody h2,
html[data-theme="dark"] body.premiumTheme .postDetailBody h3,
html[data-theme="dark"] body.premiumTheme .postDetailBody h4 {
  color: #f1f4fa;
}

html[data-theme="dark"] body.premiumTheme .postDetailBody strong,
html[data-theme="dark"] body.premiumTheme .postDetailBody b {
  color: #ffffff;
}

html[data-theme="dark"] body.premiumTheme .postDetailBody a {
  color: #b5aaff;
  text-decoration-color: rgba(181, 170, 255, .55);
}

html[data-theme="dark"] body.premiumTheme .postDetailBody blockquote {
  border-left-color: #8f80f8;
  color: #d2d9e7;
  background: #171c35;
}

html[data-theme="dark"] body.premiumTheme .postDetailBody code {
  color: #c9c1ff;
  background: #19243a;
}

html[data-theme="dark"] body.premiumTheme .postDetailBody pre,
html[data-theme="dark"] body.premiumTheme .postDetailBody pre code {
  color: #e4eaf4;
  background: #080f1d;
}

html[data-theme="dark"] body.premiumTheme .articleAuthorCard,
html[data-theme="dark"] body.premiumTheme .articleSeriesCard,
html[data-theme="dark"] body.premiumTheme .articleSiblingNav a {
  border-color: #2d3b52;
  color: #c4cede;
  background: #121c2c;
}

html[data-theme="dark"] body.premiumTheme .articleAuthorCard strong a,
html[data-theme="dark"] body.premiumTheme .articleSeriesCard h3 a,
html[data-theme="dark"] body.premiumTheme .articleSiblingNav strong {
  color: #f1f4fa;
}

html[data-theme="dark"] body.premiumTheme .articleAuthorCard em,
html[data-theme="dark"] body.premiumTheme .articleAuthorCard p,
html[data-theme="dark"] body.premiumTheme .articleSeriesCard p,
html[data-theme="dark"] body.premiumTheme .articleSeriesCard li a {
  color: #aeb9cc;
}

html[data-theme="dark"] body.premiumTheme .articleSeriesCard li a,
html[data-theme="dark"] body.premiumTheme .articleSiblingNav {
  border-color: #2d3b52;
}

html[data-theme="dark"] body.premiumTheme .relatedPostsSection {
  border-color: #2b3950;
}

html[data-theme="dark"] body.premiumTheme .relatedPostsHead h2,
html[data-theme="dark"] body.premiumTheme .relatedPostsSection .postBody h3 a {
  color: #f2f5fb;
}

html[data-theme="dark"] body.premiumTheme .relatedPostsSection .postCard,
html[data-theme="dark"] body.premiumTheme .relatedPostsSection .postBody {
  border-color: #2d3b52;
  background: #121c2c;
}

html[data-theme="dark"] body.premiumTheme .relatedPostsSection .postBody p,
html[data-theme="dark"] body.premiumTheme .relatedPostsSection .postMeta span {
  color: #aeb9cc;
}

@media (max-width: 760px) {
  html[data-theme="dark"] body.premiumTheme .articleInfoBar {
    padding: 16px;
  }

  html[data-theme="dark"] body.premiumTheme .articleToc {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="dark"] body.premiumTheme .articleInfoActions button {
    transition: none;
  }
}
