
/* Editorial surfaces in dark mode. Keep the existing article structure. */
body.site_s3.theme-dark :is(.detail.blog, .detail.news) .content-text {
  --am-editorial-text: #e4dee8;
  --am-editorial-accent: #dfb8f0;
  --am-editorial-surface: #27232b;
  --am-editorial-border: #493d50;
}
body.site_s3.theme-dark :is(.detail.blog, .detail.news) .content-text
  :is(.am-editorial[data-oil-site="aromat"], .am-order-delay) {
  background: transparent !important;
  color: var(--am-editorial-text) !important;
}
body.site_s3.theme-dark :is(.detail.blog, .detail.news) .content-text
  :is(.am-editorial[data-oil-site="aromat"], .am-order-delay)
  :is(.am-mp, .article-toc, .am-stats__item, .fw-panel, .am-panel, .oil-faq__item,
      .am-oil-nav, .am-oil-nav__card, .am-author, .am-delay-note, .am-season-table th, .am-season-table td) {
  background: var(--am-editorial-surface) !important;
  border-color: var(--am-editorial-border) !important;
  color: var(--am-editorial-text) !important;
  box-shadow: none !important;
}
body.site_s3.theme-dark :is(.detail.blog, .detail.news) .content-text
  :is(.am-editorial[data-oil-site="aromat"], .am-order-delay)
  :is(p, li, dt, dd, figcaption, .am-stats__txt, .am-oil-nav__body > span:not(.am-oil-nav__btn)) {
  color: var(--am-editorial-text) !important;
}
body.site_s3.theme-dark :is(.detail.blog, .detail.news) .content-text
  :is(.am-editorial[data-oil-site="aromat"], .am-order-delay)
  :is(h2, h3, h4, .am-mp__title, .article-toc__title, .am-stats__num, .am-oil-nav__title,
      .oil-faq__question, figcaption b, .am-author__name,
      a:not(.am-buy-btn, .am-link-button, .am-oil-nav__card)) {
  color: var(--am-editorial-accent) !important;
}
body.site_s3.theme-dark :is(.detail.blog, .detail.news) .content-text
  :is(.am-editorial[data-oil-site="aromat"], .am-order-delay)
  :is(.am-mp, .am-delay-note) {
  border-left-color: #a372bb !important;
}
body.site_s3.theme-dark #headerfixed .logo img {
  filter: brightness(1.65);
}
@media (min-width: 360px) and (max-width: 420px) {
  body.site_s3 #mobileheader .logo img {
    max-width: 96px;
  }
}

/* Legacy editorial components share the dark palette. */
body.site_s3.theme-dark :is(.detail.blog, .detail.news) .content-text
  :is(.am-quiz-cta, .am-tip, .am-tt-box, .am-az-tools, .am-az-item, .am-az-note,
      .am-season-table, .am-season-table caption, .am-season-table tr, .am-author,
      .am-news-note, .amr-stat, .amr-tip, .amr-warn, .amr table td, .amr-faq details) {
  background: var(--am-editorial-surface) !important;
  border-color: var(--am-editorial-border) !important;
  color: var(--am-editorial-text) !important;
}
body.site_s3.theme-dark :is(.detail.blog, .detail.news) .content-text
  :is(.am-oil-nav__body b, .am-tip__title, .am-quiz-cta strong, .am-az-lat, .am-az-k, .am-author__name) {
  color: var(--am-editorial-accent) !important;
}
body.site_s3.theme-dark .detail.blog .content-text
  :is(.am-quiz-cta > a, .am-oil-nav__btn, a.am-az-buy) {
  background: #6d3a80 !important;
  color: #fff !important;
}
body.site_s3.theme-dark .detail.blog .content-text
  :is(.am-az-chip, .am-az-tools input, a.am-buy-btn, a.am-link-button) {
  background: #35283d !important;
  border-color: #775781 !important;
  color: #f1d6fa !important;
}
body.site_s3.theme-dark .detail.blog .content-text
  :is(.am-az-chip[aria-pressed="true"], .am-az-chip.active, .am-az-chip.is-active) {
  background: #6d3a80 !important;
  color: #fff !important;
}
body.site_s3.theme-dark .detail.news .content-text
  :is(.am-news, .amr) :is(p, li, td, summary, .am-news-note) {
  color: var(--am-editorial-text) !important;
}
body.site_s3.theme-dark .detail.news .content-text
  :is(.am-news, .amr) :is(h2, h3, h4, a:not(.amr-btn)):not(.amr-hero *) {
  color: var(--am-editorial-accent) !important;
}

body.site_s3.theme-dark .am-pdp {
  color: #e4dee8 !important;
}
body.site_s3.theme-dark .am-pdp
  :is(.am-pdp__intro, .am-pdp__panel, .am-pdp__faq > section, .am-pdp__note) {
  background: #27232b !important;
  border-color: #493d50 !important;
  color: #e4dee8 !important;
  box-shadow: none !important;
}
body.site_s3.theme-dark .am-pdp :is(p, li, dd, dt, figcaption, .am-pdp__pairing-volume) {
  color: #e4dee8 !important;
}
body.site_s3.theme-dark .am-pdp
  :is(h2, h3, h4, .am-pdp__eyebrow, a:not(.am-pdp__button)) {
  color: #dfb8f0 !important;
}
body.site_s3.theme-dark .am-pdp .am-pdp__button {
  background: #6d3a80 !important;
  border-color: #9562aa !important;
  color: #fff !important;
}
body.site_s3.theme-dark .am-pdp .am-pdp__button--outline {
  background: #35283d !important;
  color: #f1d6fa !important;
}

body.site_s3.theme-dark .detail.blog .content-text
  :is(.am-quiz-cta b, .am-quiz-cta span, .am-author__text p, .am-az-chips > span) {
  color: var(--am-editorial-text) !important;
}
body.site_s3.theme-dark .detail.blog .content-text :is(.am-author__text a, .am-tt-title),
body.site_s3.theme-dark .detail.news .content-text .amr-stat b {
  color: var(--am-editorial-accent) !important;
}
body.site_s3.theme-dark .am-pdp :is(p, li, h2, h3, h4) :is(strong, b, em, span) {
  color: inherit !important;
}
body.site_s3.theme-dark .am-pdp a:not(.am-pdp__button) :is(strong, b, em, span) {
  color: inherit !important;
}
