@charset "utf-8";

/* PC 端文章列表与详情页。与门户主视觉共用 hero 和导航，不做手机适配。 */

.article-page {
  min-height: 100vh;
  background: #F7FAFE;
  padding-bottom: 28px;
}

.article-page .hero-stack {
  left: 28px;
  top: 76px;
  width: 1256px;
  height: 382px;
}

.article-page .hero-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(90deg, rgba(5, 22, 49, .30) 0%, rgba(5, 22, 49, .08) 46%, transparent 68%);
  pointer-events: none;
}

.article-hero-copy {
  position: absolute;
  left: 88px;
  top: 132px;
  z-index: 10;
  width: 570px;
  color: #fff;
}

.article-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #DDEAFF;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}

.article-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: #7CB4FF;
}

.article-hero-copy h1 {
  margin-top: 14px;
  color: #FBFDFF;
  font-size: 42px;
  line-height: 50px;
  letter-spacing: .4px;
  text-shadow: 0 2px 14px rgba(3, 18, 43, .22);
  text-wrap: balance;
}

.article-hero-copy > p {
  width: 540px;
  margin-top: 13px;
  color: #E1ECFB;
  font-size: 13px;
  line-height: 22px;
}

.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: #D8E8FC;
  font-size: 10.5px;
}

.article-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border-radius: 14px;
  background: rgba(7, 30, 64, .28);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
}

.article-main {
  position: relative;
  z-index: 5;
  width: 1256px;
  margin: 0 auto;
  padding-top: 488px;
}

.article-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.article-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-filters button {
  height: 34px;
  padding: 0 15px;
  border: 1px solid #DDE8F6;
  border-radius: 17px;
  background: #fff;
  color: #5A6785;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.article-filters button:hover,
.article-filters button.on {
  border-color: #BED5FA;
  background: #EAF2FF;
  color: #0C6CFE;
}

.article-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 270px;
  height: 36px;
  padding: 0 13px;
  border: 1px solid #DFE9F7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(28, 68, 140, .04);
}

.article-search svg {
  flex: none;
  color: #8C9BB5;
}

.article-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1C2B4C;
  font-family: inherit;
  font-size: 11px;
}

.article-search input::placeholder {
  color: #A0ADC2;
}

.featured-article {
  position: relative;
  display: grid;
  grid-template-columns: 506px 1fr;
  gap: 34px;
  min-height: 264px;
  margin-top: 20px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #DFEAF8;
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 12%, rgba(44, 121, 255, .12), transparent 32%),
    linear-gradient(135deg, #FFFFFF 0%, #F7FAFF 68%, #EBF3FF 100%);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(28, 68, 140, .07);
  transition: transform .18s ease, box-shadow .18s ease;
}

.featured-article:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(28, 68, 140, .11);
}

.featured-article[hidden] {
  display: none;
}

.featured-cover {
  position: relative;
  overflow: hidden;
  border-radius: 13px;
  background: #0B1832;
}

.featured-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-cover::after {
  content: "FEATURED";
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 6px 9px;
  border-radius: 9px;
  background: rgba(5, 24, 53, .66);
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .12em;
  backdrop-filter: blur(5px);
}

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 14px 8px 0;
}

.post-cat {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: 22px;
  padding: 0 9px;
  border-radius: 11px;
  background: #EAF2FF;
  color: #0C6CFE;
  font-size: 9.5px;
  font-weight: 700;
}

.featured-copy h2 {
  width: 610px;
  margin-top: 14px;
  color: #0A1033;
  font-size: 25px;
  line-height: 34px;
}

.featured-copy > p {
  width: 620px;
  margin-top: 12px;
  color: #5D6A87;
  font-size: 12px;
  line-height: 21px;
}

.featured-foot {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
  color: #8B98B1;
  font-size: 10px;
}

.featured-foot .read-more {
  margin-left: auto;
  color: #0C6CFE;
  font-size: 11px;
  font-weight: 700;
}

.article-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 38px 0 18px;
}

.article-section-head h2 {
  position: relative;
  padding-left: 14px;
  color: #0A1033;
  font-size: 19px;
  line-height: 22px;
}

.article-section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: #0C6CFE;
}

.article-section-head span {
  color: #8C99B2;
  font-size: 10.5px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #E2EAF6;
  border-radius: 15px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(28, 68, 140, .055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: #CCDDF5;
  box-shadow: 0 13px 26px rgba(28, 68, 140, .10);
}

.post-cover {
  position: relative;
  height: 172px;
  overflow: hidden;
  background: #0B1832;
}

.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.post-card:hover .post-cover img {
  transform: scale(1.025);
}

.post-cover .post-cat {
  position: absolute;
  left: 14px;
  bottom: 13px;
  background: rgba(255, 255, 255, .92);
}

.post-body {
  padding: 17px 18px 16px;
}

.post-body h3 {
  min-height: 46px;
  color: #101936;
  font-size: 15px;
  line-height: 23px;
}

.post-body > p {
  display: -webkit-box;
  min-height: 40px;
  margin-top: 9px;
  overflow: hidden;
  color: #687590;
  font-size: 10.5px;
  line-height: 18px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid #EDF2F9;
  color: #929EB5;
  font-size: 9.5px;
}

.post-foot .read-more {
  margin-left: auto;
  color: #0C6CFE;
  font-weight: 700;
}

.article-empty {
  display: none;
  padding: 70px 20px;
  border: 1px dashed #CFDDEF;
  border-radius: 16px;
  background: #fff;
  color: #7A87A1;
  text-align: center;
  font-size: 12px;
}

.article-empty.show {
  display: block;
}

/* 详情页 */
.article-detail-hero {
  left: 88px;
  top: 126px;
  width: 690px;
}

.article-detail-hero h1 {
  margin-top: 12px;
  font-size: 36px;
  line-height: 46px;
}

.article-detail-hero > p {
  width: 650px;
  margin-top: 11px;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 15px;
  color: #E5F0FF;
  font-size: 10.5px;
  text-decoration: none;
}

.detail-back:hover {
  color: #fff;
}

.detail-layout {
  display: grid;
  grid-template-columns: 862px 354px;
  align-items: start;
  gap: 40px;
}

.article-paper {
  overflow: hidden;
  padding: 46px 56px 40px;
  border: 1px solid #E0E9F5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 68, 140, .07);
}

.paper-lead {
  position: relative;
  padding: 20px 22px 20px 25px;
  border-radius: 12px;
  background: #F0F6FF;
  color: #405273;
  font-size: 13px;
  line-height: 24px;
}

.paper-lead::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: #0C6CFE;
}

.paper-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.paper-tags span {
  padding: 6px 10px;
  border-radius: 11px;
  background: #F2F6FC;
  color: #587092;
  font-size: 9.5px;
  line-height: 10px;
}

.body-section {
  padding-top: 38px;
}

.body-section h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #0C1837;
  font-size: 22px;
  line-height: 30px;
}

.body-section h2 em {
  color: #9AB7E4;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
}

.body-section p {
  margin-top: 16px;
  color: #475571;
  font-size: 13.5px;
  line-height: 29px;
  text-align: justify;
}

.body-figures {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.body-figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid #DCE6F3;
  border-radius: 12px;
  background: #F4F7FC;
  box-shadow: 0 10px 26px rgba(25, 62, 120, .07);
}

.body-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.body-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid #E7EEF8;
  background: #FAFCFF;
  color: #6B7A93;
  font-size: 11px;
  line-height: 17px;
  letter-spacing: .01em;
}

.body-points {
  margin-top: 17px;
  padding: 14px 18px;
  border-radius: 11px;
  background: #F8FAFE;
  border: 1px solid #EAF0F8;
}

.body-points li {
  position: relative;
  padding-left: 16px;
  color: #4A5A79;
  font-size: 12px;
  line-height: 24px;
  list-style: none;
}

.body-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4E8CF3;
}

.paper-takeaway {
  margin-top: 38px;
  padding: 23px 25px;
  border-radius: 13px;
  background: linear-gradient(135deg, #08234B, #0B315F);
  color: #E8F2FF;
}

.paper-takeaway span {
  color: #7FB8FF;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
}

.paper-takeaway p {
  margin-top: 9px;
  font-size: 15px;
  line-height: 24px;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 36px;
}

.article-nav a {
  min-height: 82px;
  padding: 16px 18px;
  border: 1px solid #E3EBF6;
  border-radius: 12px;
  background: #FBFCFE;
  color: inherit;
  text-decoration: none;
}

.article-nav a.next {
  text-align: right;
}

.article-nav span {
  color: #96A3B8;
  font-size: 9px;
}

.article-nav b {
  display: block;
  margin-top: 8px;
  color: #34425F;
  font-size: 11.5px;
  line-height: 18px;
}

.article-aside {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.aside-card {
  padding: 22px 22px 20px;
  border: 1px solid #E0E9F5;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(28, 68, 140, .055);
}

.aside-card h3 {
  color: #172441;
  font-size: 14px;
  line-height: 18px;
}

.toc-list {
  margin-top: 14px;
  list-style: none;
  counter-reset: toc;
}

.toc-list li {
  counter-increment: toc;
  margin-top: 9px;
}

.toc-list a {
  display: flex;
  gap: 8px;
  color: #5E6D89;
  font-size: 10.5px;
  line-height: 17px;
  text-decoration: none;
}

.toc-list a::before {
  content: "0" counter(toc);
  color: #A0B3CC;
  font-size: 8.5px;
  line-height: 17px;
}

.toc-list a:hover {
  color: #0C6CFE;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.author-row img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-row b {
  display: block;
  color: #172441;
  font-size: 13px;
}

.author-row span {
  display: block;
  margin-top: 5px;
  color: #8795AC;
  font-size: 9.5px;
}

.author-card p {
  margin-top: 14px;
  color: #687691;
  font-size: 10.5px;
  line-height: 19px;
}

.author-actions {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.author-actions a {
  flex: 1;
  height: 32px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0C6CFE;
  background: #EDF4FF;
  font-size: 9.5px;
  font-weight: 700;
  text-decoration: none;
}

.author-actions a.primary {
  background: #0C6CFE;
  color: #fff;
}

.aside-note {
  background:
    radial-gradient(circle at 90% 10%, rgba(65, 132, 255, .12), transparent 35%),
    #F4F8FF;
}

.aside-note p {
  margin-top: 10px;
  color: #61708D;
  font-size: 10px;
  line-height: 18px;
}

.read-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #0C6CFE, #58A2FF);
  box-shadow: 0 1px 5px rgba(12, 108, 254, .22);
}

/* 页脚 */
.article-footer {
  position: relative;
  width: 1256px;
  height: 108px;
  margin: 52px auto 0;
  overflow: hidden;
  border-radius: 14px;
  background: #061E3F url("img/footer-thoughts.png?v=20261018-2") center / 100% 100% no-repeat;
}

.article-footer .f-nav {
  position: absolute;
  left: 484px;
  top: 41px;
  display: flex;
  gap: 30px;
}

.article-footer .f-nav a {
  color: #AEC2DF;
  font-size: 10.5px;
  text-decoration: none;
}

.article-footer .f-nav a:hover,
.article-footer .f-nav a.on {
  color: #78ADFF;
}

/* 悬浮数字人 */
.article-page .dh-mini {
  z-index: 70;
}

.article-page .chat {
  z-index: 90;
}

@media (max-width: 1370px) {
  html {
    overflow-x: auto;
  }
}
