/* Inline data-source hover citations */
.cr-cite {
  border-bottom: 1px dotted #b08a3e;
  cursor: help;
  position: relative;
  white-space: normal;
}
.cr-cite .cr-cite-tip {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  position: absolute;
  left: 0;
  bottom: 130%;
  background: #1a1a1a;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1.4;
  width: 260px;
  max-width: 70vw;
  z-index: 100;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  border-bottom: none;
}
.cr-cite:hover .cr-cite-tip,
.cr-cite:focus .cr-cite-tip {
  visibility: visible;
  opacity: 1;
}
.cr-cite .cr-cite-tip:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 16px;
  border: 6px solid transparent;
  border-top-color: #1a1a1a;
}

/* Footnote references and notes list */
.cr-fnref {
  text-decoration: none;
  color: #b08a3e;
  font-weight: 600;
  padding-left: 1px;
}
.cr-fnref:hover {
  text-decoration: underline;
}
.cr-footnotes {
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid #e0dcd3;
  font-size: 0.9rem;
}
.cr-footnotes-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  color: #7a7568;
  margin-bottom: 0.6em;
}
.cr-footnotes ol {
  padding-left: 1.25em;
  margin: 0;
}
.cr-footnotes li {
  margin-bottom: 0.5em;
  color: #4a4638;
}
.cr-footnote-back {
  text-decoration: none;
  color: #b08a3e;
  margin-left: 4px;
}

/* Hide the "Most Read" sidebar widget on the homepage to make room for an ad slot */
body.home .cr-sidebar > div:nth-child(3) {
  display: none;
}

/* The Weekly Take (opinion franchise): flag as OPINION, never BREAKING */
.category-weekly-take .cr-breaking {
  background-color: #141a22;
  font-size: 0;
  letter-spacing: 0;
}
.category-weekly-take .cr-breaking::after {
  content: "Opinion";
  font-size: 11px;
  letter-spacing: 1.1px;
  font-weight: 700;
  text-transform: uppercase;
}

/* --- Newsletter signup: retire the dead inline box, brand the working Jetpack form --- */
.cr-article-wrap .cr-newsletter--inline {
  display: none !important;
}
.cr-body .wp-block-group.has-border-color:has(.wp-block-jetpack-subscriptions) {
  background-color: #141a22;
  border: 0 !important;
  border-top: 3px solid #b8811a !important;
  padding: 36px 32px !important;
  margin: 44px 0 !important;
}
.cr-body .wp-block-group.has-border-color:has(.wp-block-jetpack-subscriptions) h1,
.cr-body .wp-block-group.has-border-color:has(.wp-block-jetpack-subscriptions) h2,
.cr-body .wp-block-group.has-border-color:has(.wp-block-jetpack-subscriptions) h3 {
  color: #ffffff;
}
.cr-body .wp-block-group.has-border-color:has(.wp-block-jetpack-subscriptions) p {
  color: #8a9099;
}
.cr-body .wp-block-jetpack-subscriptions input[type="email"] {
  background-color: #0e141b;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}
.cr-body .wp-block-jetpack-subscriptions button,
.cr-body .wp-block-jetpack-subscriptions .wp-block-button__link {
  background-color: #b8811a !important;
  border-color: #b8811a !important;
  color: #141a22 !important;
  font-weight: 700;
}

.cr-body .wp-block-group.has-border-color:has(.wp-block-jetpack-subscriptions) .wp-block-separator {
  display: none;
}


/* Evergreen research and explainers: never flag as BREAKING (content brief rule) */
.category-research .cr-breaking {
  display: none;
}

/* Weekly Take: featured first item in primary nav */
.cr-menu .menu-item-featured > a { font-weight: 700; }