/* R3: less irrelevant reading, stronger directional links; V4 brand retained. */
#rj-article-preview .masthead-copy h1 > :is(.title-question,.title-subtitle) {
  display: block;
  padding: 0;
  background: transparent;
  color: inherit;
}
#rj-article-preview .title-phrase {
  display: inline-block;
  white-space: nowrap;
  unicode-bidi: normal;
}
#rj-article-preview .masthead-copy h1 > .title-subtitle {
  margin-top: 12px;
  font-size: 30px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0;
}
#rj-article-preview .library-card-copy h2 .title-subtitle {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 550;
  line-height: 1.6;
}
@media (max-width:767px) {
  #rj-article-preview .masthead-copy h1 > .title-subtitle {
    margin-top: 10px;
    font-size: 24px;
  }
}
#rj-article-preview [data-focused-results] .condition-results {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
#rj-article-preview [data-focused-results] [data-result] {
  margin: 0;
}
#rj-article-preview [data-focused-results] [data-result][hidden],
#rj-article-preview .condition-expand[hidden] {
  display: none;
}
#rj-article-preview .condition-expand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  margin: 12px 0 4px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  color: var(--navy);
  background: transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}
#rj-article-preview .condition-expand::after {
  content: '';
  width: 8px;
  height: 8px;
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
#rj-article-preview .condition-expand[aria-expanded=true]::after {
  transform: rotate(225deg) translate(-2px, -2px);
}
#rj-article-preview .condition-expand:hover {
  text-decoration-thickness: 2px;
}
#rj-article-preview .condition-expand:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
#rj-article-preview .rj-related > a {
  position: relative;
  padding-inline-end: 50px;
  text-decoration: none;
}
#rj-article-preview .rj-related > a .related-direction {
  position: absolute;
  inset-inline-end: 16px;
  top: 24px;
  width: 24px;
  height: 24px;
  margin: 0;
  object-fit: contain;
}
#rj-article-preview .rj-related > a:is(:hover,:focus-visible) strong {
  text-decoration: underline;
  text-decoration-color: var(--navy);
  text-underline-offset: 5px;
}
#rj-article-preview .rj-related > a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
#rj-article-preview .library-card-copy > p {
  max-width: 36ch;
}
@media (min-width:768px) {
  #rj-article-preview [data-results-expanded=true] .condition-results {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (prefers-reduced-motion:no-preference) {
  #rj-article-preview:not([data-motion=off]) [data-focused-results] [data-result]:not([hidden]) {
    animation: reading-result-reveal 220ms cubic-bezier(.16,1,.3,1) both;
  }
  #rj-article-preview:not([data-motion=off]) .related-direction {
    transition: transform 200ms cubic-bezier(.16,1,.3,1);
  }
  #rj-article-preview:not([data-motion=off]) .rj-related > a:is(:hover,:focus-visible) .related-direction {
    transform: translateX(3px);
  }
}
@keyframes reading-result-reveal {
  from { clip-path: inset(0 0 3% 0); }
  to { clip-path: inset(0); }
}
