/* Article CSS */

/* 01 - Article header, 02 - Featured image */

.article-header-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient( circle at 50% 0%, rgba(36, 87, 166, 0.12), transparent 42% ), #ffffff;
}

.article-header-content {
  max-width: 58rem;
}

.article-breadcrumb .breadcrumb {
  font-size: 0.875rem;
}

.article-breadcrumb a {
  color: #2457a6;
  text-decoration: none;
}

.article-breadcrumb a:hover, .article-breadcrumb a:focus {
  text-decoration: underline;
  text-underline-offset: 0.15rem;
}

.article-topic {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.article-title {
  color: #172033;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.article-deck {
  max-width: 48rem;
  line-height: 1.65;
}

.article-meta {
  color: #6b7788;
  font-size: 0.9rem;
}

.article-meta-item {
  color: #6b7788;
}

.article-meta-separator {
  color: #9aa5b3;
}

.article-featured-image-wrapper {
  background-color: #e9eef5;
  aspect-ratio: 16 / 9;
}

.article-featured-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-image-caption {
  line-height: 1.5;
}

/* Mobile adjustment */

@media (max-width: 575.98px) {
  .article-header-section {
    padding-top: 3rem !important;
  }
}

@media (max-width: 575.98px) {
  .article-title {
    font-size: 2.35rem;
  }
}

@media (max-width: 575.98px) {
  .article-deck {
    font-size: 1.05rem;
  }
}

@media (max-width: 575.98px) {
  .article-meta {
    font-size: 0.825rem;
  }
}

@media (max-width: 575.98px) {
  .article-featured-image-wrapper {
    border-radius: 0.75rem !important;
  }
}

/* 03 - Article body */

/* Make the contents panel sticky—optional */

/* 03 - Article body */

.article-body-section {
  background-color: #ffffff;
  overflow: visible !important;
}

/* Table of contents */

.article-toc {
  background-color: #f5f7fa;
  border: 1px solid #dee3ea;
}

.article-toc-label {
  color: #2457a6;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
}

.article-toc-list li {
  line-height: 1.45;
}

.article-toc-link {
  display: inline-block;
  color: #526071;
  font-size: 0.9rem;
}

.article-toc-link:hover, .article-toc-link:focus {
  color: #2457a6;
  text-decoration: underline !important;
  text-underline-offset: 0.15rem;
}

/* Main reading column */

.article-content {
  max-width: 46rem;
  color: #344054;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-content p {
  margin-top: 0;
  margin-bottom: 1.4rem;
  color: #526071;
}

.article-content .article-opening {
  color: #344054;
  font-size: 1.18rem;
  line-height: 1.75;
}

.article-section-heading {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  color: #172033;
  font-size: 1.85rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
  scroll-margin-top: 7rem;
}

.article-content > .article-section-heading:first-child {
  margin-top: 0;
}

.article-subheading {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  color: #172033;
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
  scroll-margin-top: 7rem;
}

.article-content a {
  color: #2457a6;
  font-weight: 600;
  text-underline-offset: 0.15rem;
}

.article-content a:hover, .article-content a:focus {
  color: #1d4789;
}

/* Quotation CSS */

.article-quote {
  background-color: #f1f5fb;
  border-left: 4px solid #2457a6;
}

.article-quote .article-quote-text {
  color: #172033;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.65;
}

.article-quote-attribution {
  color: #6b7788 !important;
  font-size: 0.9rem;
  font-weight: 600;
}

/* List CSS */

.article-list {
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding-left: 1.35rem;
  color: #526071;
}

.article-list li {
  margin-bottom: 0.65rem;
  padding-left: 0.25rem;
}

.article-list li:last-child {
  margin-bottom: 0;
}

.article-list li::marker {
  color: #2457a6;
  font-weight: 700;
}

/* Callout CSS */

.article-callout {
  background-color: #f1f5fb;
  border: 1px solid #cad8ed;
}

.article-callout-label {
  color: #2457a6 !important;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
}

.article-callout-heading {
  color: #172033;
  line-height: 1.4;
}

.article-callout-copy {
  color: #526071 !important;
  line-height: 1.65;
}

/* Image and divider CSS */

.article-inline-image-wrapper {
  max-width: 100%;
}

.article-inline-image {
  display: block;
  width: 100%;
  height: auto;
}

.article-divider {
  border: 0;
  border-top: 1px solid #dee3ea;
  opacity: 1;
}

/* Sticky table-of-contents CSS */

@media (min-width: 992px) {
  .article-body-section .container, .article-body-section .row, .article-body-section .col-lg-3 {
    overflow: visible !important;
  }
}

@media (min-width: 992px) {
  .article-toc {
    position: sticky;
    top: 7rem;
    align-self: flex-start;
  }
}

/* Mobile CSS */

@media (max-width: 575.98px) {
  .article-content {
    font-size: 1rem;
    line-height: 1.75;
  }
}

@media (max-width: 575.98px) {
  .article-content .article-opening {
    font-size: 1.08rem;
  }
}

@media (max-width: 575.98px) {
  .article-section-heading {
    margin-top: 2.5rem;
    font-size: 1.6rem;
  }
}

@media (max-width: 575.98px) {
  .article-subheading {
    margin-top: 2rem;
    font-size: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .article-quote, .article-callout {
    padding: 1.25rem !important;
  }
}

@media (max-width: 575.98px) {
  .article-quote .article-quote-text {
    font-size: 1.15rem;
  }
}

