/* 民主猪国中央人民政府门户 — 静态样式 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Hiragino Sans GB",
    "Source Han Sans SC", SimHei, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
  min-width: 320px;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  color: #c00;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* —— Header —— */
.site-header {
  border-bottom: 1px solid #e8e8e8;
  padding: 18px 0 16px;
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-emblem {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  min-width: 0;
}

.brand-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-title h1 {
  font-size: 28px;
  font-weight: 700;
  color: #c00;
  letter-spacing: 1px;
  line-height: 1.25;
}

.brand-abbr {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #c00;
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 1px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.brand-url {
  margin-top: 4px;
  font-size: 13px;
  color: #999;
  letter-spacing: 0.5px;
}

.header-right {
  flex-shrink: 0;
  min-width: 40px;
  /* 按用户要求：无搜索栏、无右上角工具链接 */
}

/* —— Headline —— */
.headline-block {
  text-align: center;
  padding: 36px 12px 28px;
}

.headline-block .primary {
  font-size: 32px;
  font-weight: 700;
  color: #1a5fb4;
  line-height: 1.4;
  margin-bottom: 14px;
}

.headline-block .sub {
  font-size: 17px;
  color: #2a6bb5;
  line-height: 1.75;
  max-width: 920px;
  margin: 0 auto;
}

/* —— Hero: image + 要闻 —— */
.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid #eee;
}

.hero-media {
  position: relative;
}

.hero-frame {
  display: flex;
  background: #fff;
  border: 1px solid #e5e5e5;
}

.hero-bar {
  width: 8px;
  flex-shrink: 0;
  background: #c00;
}

.hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
}

.hero-caption {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-top: 10px;
}

.yaowen {
  padding-top: 4px;
}

.yaowen-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid #c00;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.yaowen-head h2 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
}

.yaowen-more {
  font-size: 13px;
  color: #666;
}

.yaowen-list {
  list-style: none;
}

.yaowen-list li {
  position: relative;
  padding: 11px 0 11px 14px;
  border-bottom: 1px dashed #e6e6e6;
  font-size: 15px;
  line-height: 1.55;
  color: #333;
}

.yaowen-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c00;
}

.yaowen-list li:last-child {
  border-bottom: none;
}

.yaowen-list a:hover {
  color: #1a5fb4;
}

/* —— Three columns —— */
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  padding: 28px 0 40px;
}

.panel {
  background: #f7f7f7;
  border: 1px solid #ececec;
  padding: 16px 18px 18px;
  min-height: 260px;
}

.panel h3 {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 2px solid #c00;
}

.panel-list {
  list-style: none;
}

.panel-list li {
  font-size: 14px;
  line-height: 1.55;
  padding: 9px 0 9px 12px;
  border-bottom: 1px dashed #e0e0e0;
  position: relative;
  color: #444;
}

.panel-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #c00;
  font-weight: 700;
}

.panel-list li:last-child {
  border-bottom: none;
}

.panel-blue {
  background: linear-gradient(160deg, #1a6fc4 0%, #0d4f96 100%);
  border: none;
  color: #fff;
}

.panel-blue h3 {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.panel-blue .lead {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
  color: #e8f2ff;
}

.panel-blue .items {
  list-style: none;
}

.panel-blue .items li {
  font-size: 14px;
  line-height: 1.6;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.panel-blue .items li:first-child {
  border-top: none;
  padding-top: 0;
}

.panel-blue .tag {
  display: inline-block;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.2);
  padding: 1px 8px;
  border-radius: 2px;
  margin-right: 6px;
}

/* —— Footer —— */
.site-footer {
  border-top: 3px solid #c00;
  background: #fafafa;
  padding: 22px 0 28px;
  text-align: center;
  font-size: 13px;
  color: #777;
}

.site-footer .f-title {
  color: #555;
  margin-bottom: 6px;
}

.site-footer .f-note {
  color: #999;
  font-size: 12px;
  margin-top: 8px;
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .brand-title h1 {
    font-size: 22px;
  }

  .brand-emblem {
    width: 56px;
    height: 56px;
  }

  .headline-block .primary {
    font-size: 24px;
  }

  .headline-block .sub {
    font-size: 15px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand-title h1 {
    font-size: 18px;
  }

  .headline-block {
    padding: 24px 8px 20px;
  }

  .headline-block .primary {
    font-size: 20px;
  }
}

/* —— Brand as link —— */
a.brand {
  color: inherit;
  text-decoration: none;
}

a.brand:hover {
  color: inherit;
}

a.brand:hover .brand-title h1 {
  color: #a00;
}

/* —— Featured article under 要闻 —— */
.featured-article {
  padding: 28px 16px 40px;
}

.featured-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: stretch;
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.featured-card:hover {
  color: inherit;
  border-color: #c00;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.featured-thumb {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  background: #0a1a3a;
}

.featured-body {
  padding: 20px 22px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.featured-label {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #c00;
  padding: 2px 10px;
  border-radius: 2px;
  letter-spacing: 1px;
}

.featured-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  line-height: 1.45;
}

.featured-card:hover .featured-body h2 {
  color: #c00;
}

.featured-meta {
  font-size: 15px;
  color: #555;
  line-height: 1.55;
}

.featured-tag {
  font-size: 13px;
  color: #888;
}

.featured-link {
  margin-top: 6px;
  font-size: 14px;
  color: #1a5fb4;
  font-weight: 600;
}

/* —— Article page —— */
.article-page {
  padding: 20px 16px 48px;
  max-width: 860px;
}

.article-nav {
  margin-bottom: 18px;
  font-size: 14px;
}

.article-nav a {
  color: #1a5fb4;
}

.article-nav a:hover {
  color: #c00;
}

.article-nav-bottom {
  margin-top: 28px;
  margin-bottom: 0;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

.article-hero {
  float: right;
  clear: right;
  width: 300px;
  max-width: 42%;
  margin: 6px 0 18px 28px;
  border: 1px solid #ddd;
  background: #0a1a3a;
  shape-outside: margin-box;
}

.article-hero img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.article-header {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 2px solid #c00;
}

.article-header h1 {
  font-size: 34px;
  font-weight: 800;
  color: #111;
  line-height: 1.45;
  margin-bottom: 14px;
}

.article-subtitle {
  font-size: 22px;
  font-weight: 800;
  color: #222;
  line-height: 1.55;
  margin-bottom: 10px;
}

.article-tag {
  font-size: 13px;
  color: #888;
}

.article-body {
  font-size: 20px;
  line-height: 2.05;
  color: #222;
}

.article-body::after {
  content: "";
  display: table;
  clear: both;
}

.article-body p {
  margin-bottom: 18px;
  text-align: justify;
}

.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin: 28px 0 14px;
  padding-left: 12px;
  border-left: 4px solid #c00;
  line-height: 1.4;
}

.article-body ul {
  list-style: none;
  margin: 8px 0 20px;
  padding: 0;
}

.article-body ul li {
  position: relative;
  padding: 8px 0 8px 18px;
  border-bottom: 1px dashed #eee;
  line-height: 1.75;
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c00;
}

.article-body ul li:last-child {
  border-bottom: none;
}

.article-signoff {
  margin-top: 32px;
  text-align: right;
  font-weight: 700;
  color: #222;
}

@media (max-width: 960px) {
  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-thumb {
    max-height: 220px;
    min-height: 160px;
  }

  .featured-body {
    padding: 16px 18px 20px;
  }

  .featured-body h2 {
    font-size: 18px;
  }

  .article-header h1 {
    font-size: 22px;
  }
}

@media (max-width: 560px) {
  .article-header h1 {
    font-size: 22px;
  }

  .article-subtitle {
    font-size: 17px;
  }

  .article-hero {
    float: none;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 18px;
  }

  .article-body {
    font-size: 17px;
  }

  .article-body h2 {
    font-size: 19px;
  }
}
