.article-page {
  color: #1a2944;
  font-family: "Manrope", sans-serif;
}

.article-page .container { max-width: 1180px; }

.article-hero {
  padding: 24px 0 58px;
  border-bottom: 1px solid #e9e3f1;
  background:
    radial-gradient(circle at 8% 10%, rgba(153, 105, 222, .18), transparent 28%),
    linear-gradient(120deg, #f7f2fc, #fff 76%);
}

.article-breadcrumb { margin-bottom: 28px; font-size: 12px; }
.article-breadcrumb a { color: #7653ba; }
.article-breadcrumb .active { color: #758095; }

.article-meta-top {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 18px;
  color: #737e92;
  font-size: 12px;
}

.article-meta-top > span:first-child {
  padding: 6px 11px;
  border-radius: 999px;
  color: #7952bd;
  background: #eee6f9;
  font-weight: 800;
}

.reading-time { align-items: center; display: inline-flex; gap: 6px; }

.article-hero h1 {
  max-width: 1010px;
  margin-bottom: 20px;
  color: #08234d;
  font-size: clamp(40px, 5.2vw, 62px);
  font-weight: 800;
  letter-spacing: -.052em;
  line-height: 1.06;
}

.article-content-section { padding: 52px 0 78px; background: #fff; }

.article-cover {
  height: 360px;
  position: relative;
  overflow: hidden;
  margin-bottom: 58px;
  border-radius: 28px;
  background: #102c59;
  box-shadow: 0 22px 48px rgba(7, 31, 70, .16);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.article-cover:hover img { transform: scale(1.015); }

.article-zoom {
  align-items: center;
  display: flex;
  width: 50px;
  height: 50px;
  justify-content: center;
  position: absolute;
  right: 22px;
  bottom: 22px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 14px;
  color: #fff;
  background: rgba(7, 31, 70, .78);
  box-shadow: 0 10px 25px rgba(7, 31, 70, .2);
  backdrop-filter: blur(8px);
  font-size: 21px;
  transition: transform .2s ease, background .2s ease;
}

.article-zoom:hover,
.article-zoom:focus { color: #fff; background: #7950c2; transform: translateY(-2px); }

.article-lightbox .modal-dialog { max-width: min(1200px, calc(100vw - 32px)); }
.article-lightbox .modal-content { position: relative; overflow: hidden; border: 0; border-radius: 18px; background: #071f46; box-shadow: 0 28px 80px rgba(0, 0, 0, .42); }
.article-lightbox .modal-content > img { display: block; width: 100%; height: auto; max-height: 88vh; object-fit: contain; }
.article-lightbox .btn-close { position: absolute; z-index: 2; top: 14px; right: 14px; padding: 10px; border-radius: 10px; background-color: rgba(7, 31, 70, .72); opacity: 1; }
.article-lightbox .btn-close:hover { background-color: #7950c2; }

.article-layout { align-items: flex-start; }

.article-prose { max-width: 770px; }

.article-author {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e6e1eb;
}

.author-avatar {
  align-items: center;
  display: flex;
  flex: 0 0 48px;
  height: 48px;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #9568d7, #714abe);
  font-size: 21px;
}

.article-author strong,
.article-author small { display: block; }
.article-author strong { margin-bottom: 3px; color: #10284e; font-size: 14px; font-weight: 800; }
.article-author small { color: #7d8697; font-size: 12px; }

.article-prose > p {
  margin-bottom: 24px;
  color: #4f5c71;
  font-size: 15px;
  line-height: 1.9;
}

.article-prose > p.opening {
  color: #243550;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.8;
}

.legacy-news-content { color: #4f5c71; font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
.legacy-news-content p { margin-bottom: 24px; }
.legacy-news-content p:empty { display: none; }
.legacy-news-content h2,
.legacy-news-content h3,
.legacy-news-content h4 { margin: 38px 0 16px; color: #09244d; font-weight: 800; line-height: 1.25; }
.legacy-news-content h2 { font-size: 30px; }
.legacy-news-content h3 { font-size: 23px; }
.legacy-news-content h4 { font-size: 19px; }
.legacy-news-content img { max-width: 100%; height: auto !important; margin: 12px auto 28px; border-radius: 16px; }
.legacy-news-content iframe { width: 100%; max-width: 100%; min-height: 420px; border: 0; border-radius: 16px; }
.legacy-news-content table { width: 100% !important; margin: 24px 0; border-collapse: collapse; }
.legacy-news-content th,
.legacy-news-content td { padding: 11px 13px; border: 1px solid #e5dfeb; vertical-align: top; }
.legacy-news-content ul,
.legacy-news-content ol { margin-bottom: 24px; padding-left: 24px; }
.legacy-news-content a { color: #7650bd; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-external-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 12px 17px; border-radius: 12px; color: #fff; background: linear-gradient(135deg,#9664da,#7449bf); font-size: 13px; font-weight: 800; }

.article-prose > h2 {
  margin: 44px 0 17px;
  color: #09244d;
  font-size: clamp(27px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.2;
}

.article-prose blockquote {
  position: relative;
  margin: 36px 0;
  padding: 30px 34px 30px 78px;
  border: 1px solid #e3d9ef;
  border-left: 4px solid #835bc9;
  border-radius: 0 18px 18px 0;
  background: #f8f4fc;
}

.article-prose blockquote i {
  position: absolute;
  left: 29px;
  top: 25px;
  color: #8b62ce;
  font-size: 30px;
}

.article-prose blockquote p {
  margin: 0;
  color: #263853;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

.article-highlights {
  margin: 36px 0 40px;
  padding: 30px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(140deg, #0b2a56, #12376d);
  box-shadow: 0 16px 35px rgba(7, 31, 70, .13);
}

.article-highlights h3 { margin-bottom: 18px; font-size: 20px; font-weight: 800; }
.article-highlights ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.article-highlights li { align-items: flex-start; display: flex; gap: 11px; color: #e3eaf5; font-size: 13px; line-height: 1.6; }
.article-highlights i { flex: 0 0 auto; color: #b98be8; font-size: 19px; }

.article-footer-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 44px;
  padding-top: 25px;
  border-top: 1px solid #e5e0ea;
}

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags span { padding: 7px 11px; border-radius: 999px; color: #685083; background: #f1ecf7; font-size: 12px; font-weight: 700; }
.article-footer-meta > a { color: #7650bd; font-size: 13px; font-weight: 800; }
.article-footer-meta > a i { margin-right: 7px; }

.article-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 165px;
}

.share-card,
.related-card,
.institutional-note {
  border: 1px solid #e4dfeb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 31, 70, .06);
}

.share-card { padding: 22px; }
.share-card > span { display: block; margin-bottom: 14px; color: #173052; font-size: 13px; font-weight: 800; }
.share-card > div { display: flex; gap: 9px; }
.share-card a {
  align-items: center;
  display: inline-flex;
  width: 39px;
  height: 39px;
  justify-content: center;
  border: 1px solid #ddd5e8;
  border-radius: 11px;
  color: #7651bb;
  font-size: 17px;
}
.share-card a:hover { border-color: #7651bb; color: #fff; background: #7651bb; }
.share-card button { display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; padding: 0; border: 1px solid #ddd5e8; border-radius: 11px; color: #7651bb; background: #fff; font-size: 17px; }
.share-card button:hover,
.share-card button.copied { border-color: #7651bb; color: #fff; background: #7651bb; }

.related-card { padding: 25px; }
.aside-kicker { display: block; margin-bottom: 5px; color: #805ac6; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.related-card h2 { margin-bottom: 18px; color: #09244d; font-size: 21px; font-weight: 800; }
.related-card > a:not(.all-news-link) { align-items: flex-start; display: flex; gap: 12px; padding: 15px 0; border-top: 1px solid #ebe6f0; }
.related-icon { align-items: center; display: flex; flex: 0 0 42px; height: 42px; justify-content: center; border-radius: 12px; color: #8059c7; background: #f0e9f9; font-size: 19px; }
.related-card small,
.related-card strong { display: block; }
.related-card small { margin-bottom: 3px; color: #8a65ca; font-size: 12px; font-weight: 700; }
.related-card strong { color: #223450; font-size: 12px; line-height: 1.45; }
.all-news-link { display: inline-flex; margin-top: 15px; color: #7650bd; font-size: 12px; font-weight: 800; }
.all-news-link i { margin-left: 7px; }

.institutional-note { align-items: flex-start; display: flex; gap: 13px; padding: 20px; color: #fff; background: linear-gradient(145deg, #8459ca, #6d47b7); }
.institutional-note > i { flex: 0 0 auto; font-size: 24px; }
.institutional-note strong { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 800; }
.institutional-note p { margin: 0; color: #eee6f8; font-size: 12px; line-height: 1.6; }

@media (max-width: 991.98px) {
  .article-sidebar { position: static; grid-template-columns: repeat(2, 1fr); margin-top: 10px; }
  .institutional-note { grid-column: 1 / -1; }
}

@media (max-width: 767.98px) {
  .article-page .row { --bs-gutter-x: 1.5rem; }
  .article-hero { padding: 20px 0 38px; }
  .article-breadcrumb { margin-bottom: 21px; }
  .article-hero h1 { font-size: 39px; }
  .article-content-section { padding: 34px 0 58px; }
  .article-cover { height: 235px; margin-bottom: 42px; border-radius: 22px; }
  .article-zoom { width: 44px; height: 44px; right: 14px; bottom: 14px; border-radius: 12px; }
  .article-prose blockquote { padding: 64px 23px 25px; border-left-width: 3px; }
  .article-prose blockquote i { left: 23px; top: 18px; }
  .article-highlights { padding: 25px 22px; }
  .legacy-news-content iframe { min-height: 240px; }
  .legacy-news-content h2 { font-size: 26px; }
  .article-footer-meta { align-items: flex-start; flex-direction: column; }
  .article-sidebar { grid-template-columns: 1fr; }
  .institutional-note { grid-column: auto; }
}
