/* ==========================================================================
   base / reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  background-color: #f4f4f4;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1a3a5c;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #f5a623;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  color: #1a3a5c;
}

p {
  margin: 0;
}

figure {
  margin: 0;
}

time {
  color: #777777;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   layout / site shell
   ========================================================================== */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f4f4f4;
}

.site-header {
  background-color: #1a3a5c;
  border-bottom: 3px solid #f5a623;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.brand-link {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.brand-slogan {
  font-size: 12px;
  color: #f5a623;
  margin-top: 2px;
}

.site-nav .nav-list {
  display: flex;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  color: #d4e0ec;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.nav-link:hover,
.nav-link.is-current {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.14);
}

.nav-link.is-current {
  font-weight: 700;
  box-shadow: inset 0 -2px 0 #f5a623;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  width: 44px;
  height: 44px;
  padding: 10px 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  cursor: pointer;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.site-main.home-main {
  background-color: #f4f4f4;
}

.site-main.inner-main {
  background-color: #ffffff;
}

/* ---- footer ---- */

.site-footer {
  background-color: #1a3a5c;
  color: #c8d6e4;
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #a8bccd;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  color: #a8bccd;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #f5a623;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  font-size: 13px;
  color: #7f96a8;
  text-align: center;
}

/* ==========================================================================
   components / shared
   ========================================================================== */

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a3a5c;
  position: relative;
  padding-left: 14px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background-color: #f5a623;
  border-radius: 2px;
}

.section-desc {
  margin-top: 8px;
  color: #666666;
  font-size: 15px;
}

.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #f5a623;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.text-link:hover {
  border-bottom-color: #f5a623;
}

/* ---- breadcrumb ---- */

.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px 0;
  font-size: 14px;
  color: #888888;
}

.breadcrumb a {
  color: #1a3a5c;
}

.breadcrumb a:hover {
  color: #f5a623;
}

.breadcrumb-sep {
  margin: 0 8px;
  color: #bbbbbb;
}

.breadcrumb-current {
  color: #666666;
}

/* ---- page header ---- */

.page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 20px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a3a5c;
  line-height: 1.3;
}

.page-description {
  margin-top: 10px;
  font-size: 16px;
  color: #666666;
  max-width: 720px;
  line-height: 1.7;
}

/* ---- channel tag (shared) ---- */

.channel-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1a3a5c;
  background-color: #eaf0f5;
  border-left: 3px solid #f5a623;
  border-radius: 3px;
}

/* ==========================================================================
   components / index page
   ========================================================================== */

/* ---- hero ---- */

.hero-section {
  background-color: #1a3a5c;
  color: #ffffff;
  padding: 48px 0 56px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.7;
  color: #c8d6e4;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #1a3a5c;
  background-color: #f5a623;
  border-radius: 6px;
  transition: background-color 0.2s, transform 0.2s;
}

.action-btn:hover {
  background-color: #ffb84d;
  color: #1a3a5c;
  transform: translateY(-2px);
}

.action-btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.action-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: #ffffff;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-figure {
  width: 100%;
  max-width: 460px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* ---- channel strip ---- */

.channel-strip {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 8px;
}

.channel-strip .section-title {
  margin-bottom: 16px;
}

.channel-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.channel-tag-list .channel-tag {
  padding: 8px 16px;
  font-size: 14px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-left: 3px solid #f5a623;
  border-radius: 4px;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.channel-tag-list .channel-tag:hover {
  background-color: #1a3a5c;
  border-color: #1a3a5c;
  color: #ffffff;
}

/* ---- latest news ---- */

.latest-news {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-more {
  font-size: 14px;
  font-weight: 600;
  color: #1a3a5c;
  padding: 6px 12px;
  border: 1px solid #c0cedb;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.section-more:hover {
  background-color: #1a3a5c;
  color: #ffffff;
  border-color: #1a3a5c;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #e8e8e8;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.news-item:hover {
  box-shadow: 0 4px 16px rgba(26, 58, 92, 0.1);
  border-color: #c0cedb;
}

.news-thumb {
  border-radius: 6px;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.news-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.news-title a {
  color: #1a3a5c;
}

.news-title a:hover {
  color: #f5a623;
}

.news-summary {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-date {
  font-size: 13px;
  color: #999999;
}

/* ---- topic recommend ---- */

.topic-recommend {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px 32px;
}

.topic-recommend .section-title {
  margin-bottom: 20px;
}

.topic-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.topic-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  transition: box-shadow 0.2s, transform 0.2s;
}

.topic-card:hover {
  box-shadow: 0 6px 20px rgba(26, 58, 92, 0.12);
  transform: translateY(-3px);
}

.topic-card-media {
  overflow: hidden;
}

.topic-card-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.topic-card-body {
  padding: 20px;
  position: relative;
}

.badge-number {
  display: inline-block;
  background-color: #f5a623;
  color: #1a3a5c;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.topic-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.topic-card-title a {
  color: #1a3a5c;
}

.topic-card-title a:hover {
  color: #f5a623;
}

.topic-card-summary {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* ---- editor picks ---- */

.editor-picks {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px 32px;
}

.editor-picks .section-title {
  margin-bottom: 20px;
}

.pick-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pick-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px 20px;
  border: 1px solid #e8e8e8;
  transition: background-color 0.2s, border-color 0.2s;
}

.pick-item:hover {
  background-color: #f7fafc;
  border-color: #c0cedb;
}

.pick-index {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a3a5c;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
}

.pick-content {
  flex: 1;
}

.pick-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pick-title a {
  color: #1a3a5c;
}

.pick-title a:hover {
  color: #f5a623;
}

.pick-reason {
  font-size: 14px;
  color: #777777;
  line-height: 1.5;
}

/* ---- source & feedback ---- */

.source-feedback {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px 40px;
}

.source-feedback .section-title {
  margin-bottom: 20px;
}

.source-feedback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.source-block,
.feedback-block {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #e8e8e8;
}

.block-subtitle {
  font-size: 17px;
  font-weight: 600;
  color: #1a3a5c;
  margin-bottom: 10px;
}

.source-block p,
.feedback-block p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ==========================================================================
   components / inner pages
   ========================================================================== */

/* ---- page layout (channel & character) ---- */

.page-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.page-layout.sidebar-left {
  grid-template-columns: 260px minmax(0, 1fr);
}

/* ---- channel index (sidebar) ---- */

.channel-index {
  background-color: #f7f9fb;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 84px;
}

.channel-index-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #1a3a5c;
  padding-bottom: 10px;
  border-bottom: 2px solid #f5a623;
}

.channel-index-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.channel-index-item a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: #333333;
  border-radius: 4px;
  border-left: 3px solid transparent;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.channel-index-item a:hover {
  background-color: #eaf0f5;
  border-left-color: #f5a623;
  color: #1a3a5c;
}

/* ---- channel list ---- */

.channel-section {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.channel-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.channel-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a3a5c;
}

.channel-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.channel-articles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel-article-item {
  background-color: #f8fafb;
  border-radius: 6px;
  padding: 14px 16px;
  border-left: 3px solid #c0cedb;
  transition: border-color 0.2s, background-color 0.2s;
}

.channel-article-item:hover {
  border-left-color: #f5a623;
  background-color: #f0f5f9;
}

.channel-article-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.channel-article-title a {
  color: #1a3a5c;
}

.channel-article-title a:hover {
  color: #f5a623;
}

.channel-article-summary {
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
  margin-bottom: 6px;
}

.channel-article-date {
  font-size: 13px;
  color: #999999;
}

/* ---- channel recommend ---- */

.channel-recommend {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  background-color: #1a3a5c;
  border-radius: 8px;
  padding: 24px;
  align-items: center;
}

.channel-recommend-media {
  border-radius: 6px;
  overflow: hidden;
}

.channel-recommend-media img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.channel-recommend-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.channel-recommend-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.channel-recommend-desc {
  font-size: 14px;
  color: #c8d6e4;
  line-height: 1.6;
}

.channel-recommend-desc a {
  display: inline-block;
  margin-right: 16px;
  color: #f5a623;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.channel-recommend-desc a:hover {
  border-bottom-color: #f5a623;
}

/* ---- featured topic (topic page) ---- */

.featured-topic {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px 32px;
}

.featured-topic .section-title {
  margin-bottom: 20px;
}

.featured-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 16px rgba(26, 58, 92, 0.08);
}

.featured-media {
  overflow: hidden;
}

.featured-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.featured-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.topic-badge {
  display: inline-block;
  background-color: #f5a623;
  color: #1a3a5c;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 3px;
  margin-bottom: 14px;
}

.featured-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 12px;
  line-height: 1.35;
}

.featured-summary {
  font-size: 15px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.featured-link {
  display: inline-block;
  padding: 10px 24px;
  background-color: #1a3a5c;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.featured-link:hover {
  background-color: #f5a623;
  color: #1a3a5c;
}

/* ---- topic list ---- */

.topic-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px 32px;
}

.topic-list .section-title {
  margin-bottom: 20px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.topic-grid .topic-card {
  display: flex;
  flex-direction: column;
}

.topic-grid .topic-card-media img {
  height: 150px;
}

.topic-grid .topic-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.topic-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: #1a3a5c;
  background-color: #eaf0f5;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.topic-grid .topic-card-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.topic-grid .topic-card-summary {
  font-size: 13px;
  margin-bottom: 12px;
  flex: 1;
}

.topic-card-link {
  font-size: 14px;
  font-weight: 600;
  color: #f5a623;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
}

.topic-card-link:hover {
  border-bottom-color: #f5a623;
}

/* ---- related links (topic page) ---- */

.related-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px 48px;
}

.related-links .section-title {
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-color: #f7f9fb;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  transition: background-color 0.2s, border-color 0.2s;
}

.related-card:hover {
  background-color: #ffffff;
  border-color: #1a3a5c;
}

.related-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a3a5c;
}

.related-card-desc {
  font-size: 13px;
  color: #777777;
  line-height: 1.5;
}

/* ---- character page layout ---- */

.layout-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.character-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.character-articles .section-title,
.character-ranking .section-title {
  margin-bottom: 8px;
}

.character-articles .section-desc,
.character-ranking .section-desc {
  margin-bottom: 20px;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-entry {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 16px;
  transition: box-shadow 0.2s;
}

.article-entry:hover {
  box-shadow: 0 4px 14px rgba(26, 58, 92, 0.1);
}

.article-media {
  border-radius: 6px;
  overflow: hidden;
}

.article-media img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.article-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.meta-tag {
  font-size: 12px;
  font-weight: 600;
  color: #1a3a5c;
  background-color: #eaf0f5;
  padding: 2px 8px;
  border-radius: 3px;
}

.meta-date {
  font-size: 12px;
  color: #999999;
  align-self: center;
}

.article-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.article-title a {
  color: #1a3a5c;
}

.article-title a:hover {
  color: #f5a623;
}

.article-summary {
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
}

.article-link {
  font-size: 13px;
  font-weight: 600;
  color: #f5a623;
  margin-top: 6px;
}

.article-link:hover {
  text-decoration: underline;
}

/* ---- ranking list ---- */

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ranking-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 14px 16px;
  transition: border-color 0.2s;
}

.ranking-item:hover {
  border-color: #f5a623;
}

.ranking-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a3a5c;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  margin-top: 2px;
}

.ranking-info {
  flex: 1;
}

.ranking-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a3a5c;
  display: inline-block;
  margin-right: 8px;
}

.ranking-work {
  font-size: 13px;
  color: #888888;
}

.ranking-reason {
  font-size: 13px;
  color: #666666;
  line-height: 1.5;
  margin-top: 4px;
}

/* ---- character aside ---- */

.character-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aside-card {
  background-color: #f7f9fb;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
}

.aside-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f5a623;
}

.aside-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-links li a {
  font-size: 14px;
  color: #333333;
  display: block;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.aside-links li a:hover {
  background-color: #eaf0f5;
  color: #1a3a5c;
}

.aside-text {
  font-size: 13px;
  color: #777777;
  line-height: 1.6;
  margin-top: 10px;
}

/* ---- archive page ---- */

.archive-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}

.archive-timeline {
  min-width: 0;
}

.archive-timeline .section-title {
  margin-bottom: 20px;
}

.archive-month-group {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.archive-month-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a3a5c;
  padding-bottom: 10px;
  border-bottom: 2px solid #eaf0f5;
  margin-bottom: 14px;
  position: relative;
}

.archive-month-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 2px;
  background-color: #f5a623;
}

.archive-post-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.archive-post-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed #eeeeee;
}

.archive-post-item:last-child {
  border-bottom: none;
}

.archive-post-item time {
  flex-shrink: 0;
  font-size: 13px;
  color: #999999;
  min-width: 80px;
}

.archive-post-item a {
  font-size: 15px;
  color: #333333;
  transition: color 0.2s;
}

.archive-post-item a:hover {
  color: #f5a623;
}

/* ---- archive nav sidebar ---- */

.archive-nav {
  background-color: #f7f9fb;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 84px;
}

.archive-nav .section-title {
  font-size: 18px;
  margin-bottom: 14px;
}

.archive-year-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.archive-year-list li a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: #333333;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.archive-year-list li a:hover {
  background-color: #1a3a5c;
  border-color: #1a3a5c;
  color: #ffffff;
}

.archive-year-figure {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
}

.archive-year-figure img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.archive-year-figure figcaption {
  font-size: 12px;
  color: #888888;
  padding: 8px 4px 0;
  text-align: center;
}

.archive-nav-note {
  font-size: 13px;
  color: #777777;
  line-height: 1.6;
}

.archive-nav-note a {
  display: inline-block;
  margin-top: 6px;
  margin-right: 14px;
  color: #1a3a5c;
  font-weight: 600;
}

.archive-nav-note a:hover {
  color: #f5a623;
}

/* ---- source feedback (archive page) ---- */

.source-feedback {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px 48px;
}

.source-feedback .section-title {
  margin-bottom: 12px;
}

.source-feedback p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
}

.source-feedback p a {
  color: #1a3a5c;
  font-weight: 600;
  border-bottom: 1px solid #c0cedb;
}

.source-feedback p a:hover {
  color: #f5a623;
  border-bottom-color: #f5a623;
}

/* ==========================================================================
   components / 404 page
   ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background-color: #f4f4f4;
}

.error-panel {
  max-width: 560px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 48px 40px;
  text-align: center;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 20px rgba(26, 58, 92, 0.08);
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #1a3a5c;
  line-height: 1;
  margin-bottom: 16px;
}

.error-code::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #f5a623;
  margin: 16px auto 0;
  border-radius: 2px;
}

.error-title {
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  background-color: #1a3a5c;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.error-btn:hover {
  background-color: #f5a623;
  color: #1a3a5c;
}

.error-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 14px;
  color: #1a3a5c;
  border: 1px solid #c0cedb;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.error-link:hover {
  background-color: #eaf0f5;
  border-color: #1a3a5c;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-card {
    grid-template-columns: 280px 1fr;
  }

  .featured-content {
    padding: 24px;
  }

  .featured-title {
    font-size: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .page-layout,
  .page-layout.sidebar-left {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .channel-index {
    position: static;
    order: 2;
  }

  .channel-list {
    order: 1;
  }

  .archive-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .archive-nav {
    position: static;
  }

  .character-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 56px;
    padding: 8px 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex-basis: 100%;
  }

  .site-nav .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 12px;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px 8px;
    font-size: 16px;
    border-radius: 4px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-figure img {
    height: 220px;
  }

  .channel-strip,
  .latest-news,
  .topic-recommend,
  .editor-picks,
  .source-feedback {
    padding-left: 16px;
    padding-right: 16px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .news-thumb img {
    height: 160px;
  }

  .topic-card-grid {
    grid-template-columns: 1fr;
  }

  .source-feedback-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-media img {
    height: 200px;
    min-height: 0;
  }

  .page-header {
    padding: 20px 16px 16px;
  }

  .page-title {
    font-size: 26px;
  }

  .breadcrumb {
    padding: 12px 16px 0;
  }

  .page-layout,
  .archive-layout,
  .layout-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .channel-recommend {
    grid-template-columns: 1fr;
  }

  .channel-recommend-media img {
    height: 160px;
  }

  .article-entry {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .article-media img {
    height: 160px;
  }

  .character-aside {
    grid-template-columns: 1fr;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 16px 20px;
  }

  .footer-bottom {
    padding: 14px 16px 20px;
  }

  .error-main {
    padding: 48px 16px;
  }

  .error-panel {
    padding: 36px 24px;
  }

  .error-code {
    font-size: 56px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 19px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .action-btn {
    width: 100%;
  }

  .section-title {
    font-size: 20px;
  }

  .news-title {
    font-size: 16px;
  }

  .pick-item {
    padding: 14px;
    gap: 12px;
  }

  .pick-index {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .channel-section {
    padding: 16px;
  }

  .channel-section-head {
    flex-wrap: wrap;
  }

  .featured-content {
    padding: 20px;
  }

  .featured-title {
    font-size: 18px;
  }

  .archive-post-item {
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
  }

  .archive-post-item time {
    min-width: 0;
  }

  .ranking-item {
    padding: 12px;
  }

  .error-actions {
    flex-direction: column;
  }

  .error-btn,
  .error-link {
    width: 100%;
  }
}
