/* Article components are added after CMS sanitization. Ordinary prose keeps the theme typography. */
#main :is(.editorial-article__body, .article-body) :is(.editorial-expert-comment, .expert-comment, .article-sources) {
  margin: 32px 0;
  padding: 24px;
  border: 1px solid var(--fx-line-2);
  border-radius: 12px;
  background: var(--fx-glass);
  color: var(--fx-text-2);
  overflow-wrap: anywhere;
}

#main :is(.editorial-article__body, .article-body) :is(.editorial-expert-comment, .expert-comment) {
  border-left: 3px solid var(--fx-blue-2);
}

#main :is(.editorial-article__body, .article-body) :is(.editorial-expert-comment__label, .expert-comment__label) {
  margin: 0 0 12px;
  color: var(--fx-sky);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#main :is(.editorial-article__body, .article-body) :is(.editorial-expert-comment__head, .expert-comment__head) {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

#main :is(.editorial-article__body, .article-body) :is(.editorial-expert-comment__head, .expert-comment__head) img {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
}

#main :is(.editorial-article__body, .article-body) :is(.editorial-expert-comment__person, .expert-comment__person) {
  min-width: 0;
  margin: 0;
  color: var(--fx-text-2);
  font-size: 14px;
  line-height: 1.6;
}

#main :is(.editorial-article__body, .article-body) :is(.editorial-expert-comment__person, .expert-comment__person) a {
  color: var(--fx-text);
  font-weight: 600;
}

/* The surrounding aside owns the panel; the quotation uses ordinary reading type. */
#main :is(.editorial-article__body, .article-body) :is(.editorial-expert-comment, .expert-comment) blockquote {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: inherit;
  font-size: inherit;
  font-style: normal;
  line-height: inherit;
}

#main :is(.editorial-article__body, .article-body) :is(.editorial-expert-comment, .expert-comment) blockquote p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  letter-spacing: normal;
  text-transform: none;
}

#main :is(.editorial-article__body, .article-body) :is(.editorial-expert-comment__profile, .expert-comment__link) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fx-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-underline-offset: 4px;
}

#main :is(.editorial-article__body, .article-body) .article-sources h2 {
  margin: 0 0 16px;
  color: var(--fx-text);
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.3;
}

#main :is(.editorial-article__body, .article-body) .article-sources h2::before {
  content: none;
}

#main :is(.editorial-article__body, .article-body) .article-sources :is(ol, ul) {
  margin: 0;
  padding-left: 1.5em;
}

#main :is(.editorial-article__body, .article-body) .article-sources li {
  display: list-item;
  margin: 0;
  padding: 12px 0 12px 6px;
  border-top: 1px solid var(--fx-line);
  font-size: 15px;
  line-height: 1.6;
  scroll-margin-top: 100px;
}

#main :is(.editorial-article__body, .article-body) .article-sources li::marker {
  color: var(--fx-sky);
  font-weight: 600;
}

#main :is(.editorial-article__body, .article-body) .article-sources a {
  color: var(--fx-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#main :is(.editorial-article__body, .article-body) :is(.editorial-expert-comment, .expert-comment, .article-sources) a:hover {
  color: var(--fx-sky);
}

#main :is(.editorial-article__body, .article-body) :is(.editorial-expert-comment, .expert-comment, .article-sources) a:focus-visible {
  outline: 2px solid var(--fx-sky);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  #main :is(.editorial-article__body, .article-body) :is(.editorial-expert-comment, .expert-comment, .article-sources) {
    margin: 26px 0;
    padding: 18px;
  }
}
