/* =========================================================
   资讯详情页 show.html（CMS 模板页，配合 /css/news.css）
   ========================================================= */

.show-head {
  padding: clamp(24px, 3.6vw, 46px) 0 clamp(22px, 3.4vw, 36px);
  border-bottom: 1.5px solid var(--ink);
}

.show-head__inner {
  max-width: 900px;
}

.show-head h1 {
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 12px 0 14px;
}

.show-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: calc(12px * var(--fs, 1));
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid var(--paper-3);
}

.show-head__meta time {
  font-family: var(--font-num);
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}

/* --- 正文 --- */
.show-body__inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
}

.show-article {
  min-width: 0;
  max-width: 760px;
}

.show-article__cover {
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--paper-2);
  margin-bottom: clamp(20px, 3vw, 30px);
}

.show-article__cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.show-article__content {
  font-size: calc(15px * var(--fs, 1));
  color: var(--ink-mute);
  line-height: 2.15;
}

.show-article__content p {
  margin-bottom: 1.1em;
}

.show-article__content h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 1.8em 0 0.7em;
  padding-left: 14px;
  border-left: 3px solid var(--orange);
}

.show-article__content h3 {
  font-size: calc(17px * var(--fs, 1));
  color: var(--ink);
  margin: 1.5em 0 0.5em;
}

.show-article__content ul,
.show-article__content ol {
  margin: 0 0 1.1em;
  padding-left: 4px;
  display: grid;
  gap: 7px;
}

.show-article__content li {
  position: relative;
  padding-left: 18px;
}

.show-article__content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 1.5px;
  background: var(--orange);
}

.show-article__content ol {
  counter-reset: s;
}

.show-article__content ol li {
  counter-increment: s;
}

.show-article__content ol li::before {
  content: counter(s) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-num);
  font-size: calc(12px * var(--fs, 1));
  color: var(--muted-2);
}

.show-article__content a {
  color: var(--orange-deep);
  border-bottom: 1px solid var(--orange-pale);
}

.show-article__content strong {
  color: var(--ink);
}

.show-article__content img {
  width: 100%;
  height: auto;
  border-radius: var(--r-s);
  margin: 1.2em 0;
  display: block;
}

.show-article__content blockquote {
  margin: 1.4em 0;
  padding: 16px 22px;
  background: var(--paper-2);
  border-left: 3px solid var(--ink);
  border-radius: 0 var(--r-s) var(--r-s) 0;
  color: var(--ink);
  font-size: calc(14.5px * var(--fs, 1));
}

.show-article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: calc(13.5px * var(--fs, 1));
}

.show-article__content th,
.show-article__content td {
  border-bottom: 1px solid var(--paper-3);
  padding: 9px 12px;
  text-align: left;
}

.show-article__content th {
  background: var(--paper-2);
  font-size: calc(12px * var(--fs, 1));
  letter-spacing: 0.06em;
}

.show-article__foot {
  margin-top: clamp(22px, 3vw, 32px);
  padding-top: 16px;
  border-top: 1.5px solid var(--ink);
}

.show-article__foot > p {
  font-size: calc(12.5px * var(--fs, 1));
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 14px;
}

.show-article__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.show-side {
  position: sticky;
  top: calc(var(--head-h) + 18px);
  display: grid;
  gap: 12px;
}

.show-side__block {
  border: 1px solid var(--paper-3);
  border-top: 2px solid var(--ink);
  border-radius: var(--r-m);
  background: var(--white);
  padding: 10px 16px 12px;
}

.show-side__block h3 {
  font-size: calc(13px * var(--fs, 1));
  padding-bottom: 8px;
  border-bottom: 1px solid var(--paper-3);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.show-side__list {
  display: grid;
  gap: 0;
}

.show-side__list a {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 2px 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--paper-2);
  align-items: baseline;
  transition: padding-left 0.2s var(--ease);
}

.show-side__list a:hover {
  padding-left: 4px;
}

.show-side__list span {
  font-size: calc(10px * var(--fs, 1));
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

.show-side__list strong {
  font-size: calc(12.5px * var(--fs, 1));
  line-height: 1.6;
  display: block;
}

.show-side__list a img {
  display: none;
}

.show-side__list time {
  display: none;
}

.show-side__block--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.show-side__block--ink h3 {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.show-side__block--ink p {
  font-size: calc(12.5px * var(--fs, 1));
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.show-side__block--ink a {
  display: block;
  font-size: calc(13px * var(--fs, 1));
  color: var(--orange);
  padding: 4px 0;
  word-break: break-all;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* --- 五种列表 --- */
.show-more {
  background: var(--paper-2);
  padding: clamp(24px, 3.4vw, 40px) 0 clamp(28px, 4vw, 46px);
}

.show-more__cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.show-more__col {
  background: var(--white);
  border: 1px solid var(--paper-3);
  border-top: 3px solid var(--ink);
  border-radius: var(--r-m);
  padding: 14px 14px 12px;
  min-width: 0;
}

.show-more__col h3 {
  font-size: calc(12px * var(--fs, 1));
  letter-spacing: 0.06em;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--ink);
  margin-bottom: 6px;
}

.show-more__list {
  display: grid;
  gap: 0;
}

.show-more__list a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px solid var(--paper-2);
}

.show-more__list a:last-child {
  border-bottom: 0;
}

.show-more__list span {
  font-size: calc(9.5px * var(--fs, 1));
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

.show-more__list strong {
  font-size: calc(12px * var(--fs, 1));
  line-height: 1.55;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s var(--ease);
}

.show-more__list a:hover strong {
  color: var(--orange-deep);
}

.show-more__list p {
  font-size: calc(11px * var(--fs, 1));
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.show-more__list img {
  display: none;
}

@media (max-width: 1080px) {
  .show-body__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .show-side {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .show-article {
    max-width: none;
  }
  .show-more__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .show-side {
    grid-template-columns: 1fr;
  }
  .show-more__cols {
    grid-template-columns: 1fr 1fr;
  }
  .show-article__content {
    font-size: calc(14.5px * var(--fs, 1));
    line-height: 2.05;
  }
}
