*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: #f5f5f4;
  color: #111827;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #f5f5f4;
  border-bottom: 1px solid #e5e5e5;
}

.topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: conic-gradient(from 150deg, #f97316, #ec4899, #22c55e, #38bdf8, #f97316);
  padding: 2px;
}

.brand-mark-inner {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #fafaf9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-weight: 700;
  font-size: 0.9rem;
}

.brand-text strong {
  display: block;
  font-size: 1.05rem;
}

.brand-text span {
  display: block;
  font-size: 0.78rem;
  color: #6b7280;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.nav-main a {
  padding: 0.25rem 0;
  color: #4b5563;
  border-bottom: 2px solid transparent;
}

.nav-main a:hover {
  color: #111827;
}

.nav-main a.active {
  color: #111827;
  border-color: #111827;
}

.nav-cta {
  font-size: 0.78rem;
  color: #6b7280;
}

.badge {
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fefce8;
  color: #854d0e;
}

.main {
  flex: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.1rem 1.25rem 2.8rem;
  display: block;
}

.hero-block {
  max-width: 880px;
  margin: 0 auto 2.1rem;
}

.hero-block h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin: 0 0 0.9rem;
}

.hero-highlight {
  background: linear-gradient(to right, #f97316, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.7;
  max-width: 34rem;
}

.hero-keywords {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 0.78rem;
  color: #4b5563;
}

.chip-primary {
  border-color: #111827;
}

.hero-cta-row {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-primary {
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  border: none;
  background: radial-gradient(circle at top left, #f97316, #ec4899);
  color: white;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
}

.btn-secondary {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fafaf9;
  color: #374151;
  font-size: 0.86rem;
}

.hero-cta-note {
  font-size: 0.78rem;
  color: #6b7280;
}

.hero-meta-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.76rem;
  color: #6b7280;
}

.hero-meta-label {
  color: #111827;
}

.hero-media {
  max-width: 880px;
  margin: 0 auto 2.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.3rem;
}

.panel {
  border-radius: 1rem;
  padding: 1rem 1rem 1.1rem;
  background: white;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.6rem;
}

.panel-main-thumb {
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  margin-bottom: 0.5rem;
}

.panel-text {
  font-size: 0.78rem;
  color: #4b5563;
  line-height: 1.7;
}

.panel-footer {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  color: #6b7280;
  display: flex;
  justify-content: space-between;
}

.badge-soft {
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
}

.floating-note {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border-radius: 0.9rem;
  background: white;
  border: 1px solid #e5e7eb;
  font-size: 0.7rem;
  color: #374151;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
}

.floating-note strong {
  display: block;
  margin-bottom: 0.25rem;
}

.floating-tags {
  margin-top: 0.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.floating-tag {
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.6);
  font-size: 0.6rem;
  color: #dbeafe;
}

.sections {
  max-width: 880px;
  margin: 0 auto 0;
  display: block;
}

.section-block {
  border-radius: 1rem;
  padding: 1.1rem 1.2rem 1.2rem;
  background: white;
  border: 1px solid #e5e7eb;
  margin-bottom: 1.3rem;
}

.section-block h2 {
  font-size: 1rem;
  margin: 0 0 0.55rem;
}

.section-block p {
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.9;
}

.pill-row {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill {
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 0.76rem;
  color: #4b5563;
}

.card-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.card {
  border-radius: 0.9rem;
  padding: 0.85rem 0.9rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.card h3 {
  font-size: 0.96rem;
  margin: 0 0 0.3rem;
}

.card p {
  font-size: 0.8rem;
  color: #4b5563;
  line-height: 1.7;
}

.card-thumb {
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.45rem;
}

.card-meta {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  color: #6b7280;
  display: flex;
  justify-content: space-between;
}

.tag-row {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  font-size: 0.7rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
}

.footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.2rem 1.25rem 1.5rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.78rem;
  color: #6b7280;
}

.footer a {
  color: #1d4ed8;
}

/* 列表/内容页通用 */
.inner-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.6rem 1.25rem 2.5rem;
}

.crumb {
  font-size: 0.76rem;
  color: #6b7280;
  margin-bottom: 0.8rem;
}

.crumb a {
  color: #1d4ed8;
}

.inner-header {
  margin-bottom: 1rem;
}

.inner-title {
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
}

.inner-sub {
  font-size: 0.88rem;
  color: #4b5563;
  max-width: 40rem;
  line-height: 1.9;
}

.inner-meta {
  font-size: 0.74rem;
  color: #6b7280;
  margin-top: 0.35rem;
}

.list-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem;
}

.article-list-item {
  border-radius: 0.9rem;
  padding: 0.85rem 0.95rem;
  background: white;
  border: 1px solid #e5e7eb;
}

.article-list-item h3 {
  font-size: 0.95rem;
  margin: 0 0 0.3rem;
}

.article-list-item p {
  font-size: 0.8rem;
  color: #4b5563;
  line-height: 1.7;
}

.article-thumb {
  border-radius: 0.7rem;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.article-meta {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: #6b7280;
  display: flex;
  justify-content: space-between;
}

.article-body {
  margin-top: 1.1rem;
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.9;
}

.article-body p {
  margin: 0 0 0.7rem;
}

.article-back-home {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: #1d4ed8;
}

.article-back-home a {
  color: #1d4ed8;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main {
    padding-inline: 1rem;
  }

  .hero-media {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-block h1 {
    font-size: 1.6rem;
  }

  .nav-main {
    justify-content: center;
    flex-wrap: wrap;
  }
}

