body {
  --cm-story-accent-color: #8CC63F;
  --cm-story-background-color: #212121;
  --cm-story-summary-background-color: #3D3D3D;
  --cm-story-text-color: #FFFFFF;

  background-color: var(--cm-story-background-color);
  color: var(--cm-story-text-color);
}

.entry-meta {
  color: var(--cm-story-text-color);
}

.article-summary,
.calmatters-summary,
.calmatters-after-article {
  background-color: var(--cm-story-summary-background-color) !important;
  color: var(--cm-story-text-color) !important;
}

#primary a:not(.wp-block-button__link) {
  color: var(--cm-story-accent-color) !important;
}

#primary a.parsely-recommendations-link {
  color: inherit !important;
}

.drop-caps {
  color: var(--cm-story-accent-color);
  float: left;
  font-size: 75px;
  font-weight: 700;
  line-height: 60px;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 3px;
}

figcaption {
  color: white !important;
}

figcaption::after {
  background-color: var(--cm-story-accent-color) !important;
}

.sharedaddy {
  display: none;
}

/* .wp-block-newspack-blocks-homepage-articles {
  display: none;
} */

.author-job-title {
  color: var(--cm-story-text-color) !important;
}

#series-sticky-header-toc-contents .cm-series-current .shtc-part,
#series-sticky-header-toc-contents .cm-series-current .shtc-headline,
#series-header-toc-contents .cm-series-current .htc-part,
#series-header-toc-contents .cm-series-current .htc-headline,
#cm-series-footer-toc .cm-series-current .ftc-part,
#cm-series-footer-toc .cm-series-current .ftc-headline {
  color: var(--cm-story-accent-color) !important;
}

#cm-series-footer-nav-container {
  background-color: var(--cm-story-background-color) !important;
  color: var(--cm-story-text-color) !important;
}

#cm-series-footer-up-next {
  color: var(--cm-story-text-color) !important;
}

/* all inline CTA */
.newspack-popup-container.newspack-popup.newspack-inline-popup {
  border: none !important;
  background-color: var(--cm-story-summary-background-color) !important;
  color: var(--cm-story-text-color) !important;

  .cm-cta {
    background-color: var(--cm-story-summary-background-color) !important;
    border: 0;
  }
}

/* mini navigation bar at the top of the page */

#cm-mini-nav {
  transition: background .5s ease-in-out, border-color .5s ease-in-out, color .5s ease-in-out;
}

#cm-mini-nav:not(.scrolled) {
  background-color: var(--cm-story-background-color) !important;
  border-color: var(--cm-story-background-color) !important;
  color: var(--cm-story-text-color) !important;
}

#cm-mini-nav:not(.scrolled) a,
#cm-mini-nav:not(.scrolled) span,
#cm-mini-nav:not(.scrolled) p {
  color: var(--cm-story-text-color) !important;
}

.calmatters-summary-heading strong {
  color: var(--cm-story-accent-color);
}

/* inline donation CTA */

.newspack-popup-container.newspack-popup.newspack-inline-popup .cm-cta li {
  color: var(--cm-story-text-color) !important;
}

/* inline testimontial CTA */

.newspack-popup-container.newspack-popup.newspack-lightbox-no-border .cm-cta-remove-margins.has-background {
  background-color: #666666 !important;
  color: var(--cm-story-text-color) !important;
}

.newspack-popup-container [style*="color:#3d3d3d"] {
  color: var(--cm-story-text-color) !important;
}

.newspack-popup-container [style*="color:#212121"] {
  color: var(--cm-story-text-color) !important;
}

.newspack-popup-container a.wp-block-button__link[style] {
  border-color: var(--cm-story-text-color) !important;
  color: var(--cm-story-text-color) !important; 
}

.newspack-popup-container .cm-cta a.wp-block-button__link[style]:hover {
  background-color: var(--cm-story-text-color) !important;
  color: var(--cm-story-summary-background-color) !important; 
}

.end-of-story-video {
  display: block !important;
}