/* =========================================================
   IAIA 子页通用样式 v5（核验表单完整版）
   ========================================================= */

/* ===== 子页 Hero ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,137,58,.18), transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,.85); transition: color .15s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; margin: 0 2px; }
.page-hero h1 {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
  max-width: 860px;
  letter-spacing: .01em;
}
.page-hero .lead {
  font-size: 17px;
  color: #cdd8e6;
  max-width: 760px;
  margin-top: 20px;
  font-weight: 400;
}

/* ===== 子页正文 ===== */
.page-body { padding: 72px 0; }
.page-body.soft { background: var(--bg-soft); }
.content { max-width: 860px; }
.content h2 {
  font-size: 26px; color: var(--navy); font-weight: 700;
  margin: 42px 0 16px; letter-spacing: .01em;
}
.content h2:first-child { margin-top: 0; }
.content h3 {
  font-size: 19px; color: var(--navy); font-weight: 600;
  margin: 30px 0 12px;
}
.content h4 {
  font-size: 16px; color: var(--navy); font-weight: 600;
  margin: 22px 0 10px;
}
.content p {
  font-size: 15.5px; color: var(--ink);
  line-height: 1.75; margin-bottom: 16px;
}
.content ul, .content ol { padding-left: 22px; margin: 12px 0 20px; }
.content li {
  font-size: 15.5px; color: var(--ink);
  line-height: 1.75; margin-bottom: 8px;
}
.content a {
  color: var(--navy); font-weight: 500;
  border-bottom: 1px solid rgba(11,37,69,.2);
  transition: all .15s;
}
.content a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ===== 信息盒 ===== */
.info-box {
  padding: 20px 24px;
  border-left: 4px solid var(--navy);
  background: #f0f4f9;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
}
.info-box.warn { border-left-color: var(--gold); background: #fdf6e7; }
.info-box strong { color: var(--navy); }

/* ===== 子页导航 ===== */
.page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.page-nav a {
  font-size: 14.5px;
  color: var(--navy);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .15s;
}
.page-nav a:hover { color: var(--gold); }

/* ===== 两栏 + 侧边目录 ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 56px;
  align-items: start;
}
.side-toc {
  position: sticky;
  top: 112px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.side-toc h5 {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.side-toc ul { list-style: none; padding: 0; margin: 0; }
.side-toc li { margin-bottom: 8px; }
.side-toc a {
  font-size: 14px; color: var(--muted);
  display: block; padding: 6px 0; transition: color .15s;
}
.side-toc a:hover { color: var(--navy); }

/* ===== 表格 ===== */
.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14.5px;
}
.content th, .content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.content th {
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .02em;
}
.content tr:last-child td { border-bottom: none; }

/* ===== 步骤条 ===== */
.steps { counter-reset: step; margin: 24px 0; }
.step {
  position: relative;
  padding-left: 56px;
  padding-bottom: 28px;
  border-left: 2px solid var(--line);
  margin-left: 20px;
}
.step:last-child { border-left-color: transparent; padding-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -22px; top: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
  font-family: "Inter", sans-serif;
}
.step h4 { margin-top: 8px; margin-bottom: 8px; }
.step p { margin-bottom: 0; }

/* =========================================================
   证书核验表单
   ========================================================= */
.verify-form {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 30px;
  margin-bottom: 32px;
  box-shadow: 0 4px 14px rgba(11,37,69,.05);
}
.verify-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.5;
}
.verify-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.verify-input {
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
  padding: 0 18px;
  font-size: 15px;
  line-height: 1.4;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.verify-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,37,69,.08);
}
.verify-form .btn,
#verifyBtn {
  flex: 0 0 auto;
  min-width: 120px;
  height: 50px;
  padding: 0 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: var(--gold);
  color: #1c130a;
  font-family: inherit;
  transition: background .15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.verify-form .btn:hover,
#verifyBtn:hover { background: #caa052; }
.verify-form .btn:disabled,
#verifyBtn:disabled { opacity: .6; cursor: not-allowed; }
.verify-hint {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 12px;
  margin-bottom: 0;
  line-height: 1.6;
}

/* 核验结果 */
.verify-result { margin-bottom: 40px; }
.verify-loading {
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.verify-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 14px;
  background: #fff;
  transition: border-color .15s;
}
.verify-card:hover { border-color: var(--navy); }
.vc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.vc-name { font-size: 18px; font-weight: 700; color: var(--navy); }
.vc-badge {
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.vc-badge.ok { background: #e7f4ec; color: #1f7a4c; }
.vc-badge.pending { background: #fdf6e7; color: #a37513; }
.vc-rows { display: grid; gap: 6px; }
.vc-row {
  display: flex;
  gap: 12px;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.vc-row:last-child { border-bottom: none; }
.vc-k { flex: 0 0 90px; color: var(--muted); }
.vc-v { flex: 1 1 auto; color: var(--ink); }

/* =========================================================
   新闻列表
   ========================================================= */
.news-item { padding: 28px 0; border-bottom: 1px solid var(--line); }
.news-item:last-of-type { border-bottom: none; }
.news-meta {
  font-size: 13px; color: var(--muted);
  margin-bottom: 8px; letter-spacing: .02em;
}
.news-cat { color: var(--gold); font-weight: 600; }
.news-title {
  font-size: 20px; font-weight: 700;
  line-height: 1.4; margin: 0 0 10px;
}
.news-title a {
  color: var(--navy);
  border-bottom: none;
  transition: color .15s;
}
.news-title a:hover { color: var(--gold); }
.news-summary {
  font-size: 15px; color: var(--muted);
  line-height: 1.7; margin-bottom: 10px;
}
.news-more {
  font-size: 13.5px; color: var(--navy);
  font-weight: 600; border-bottom: none;
}
.news-more:hover { color: var(--gold); }

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 32px 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.pagination .page-link {
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: all .15s;
}
.pagination .page-link:hover { border-color: var(--navy); }
.pagination .page-info {
  font-size: 13.5px;
  color: var(--muted);
}

/* =========================================================
   文章正文（新闻详情）
   ========================================================= */
.article-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}
.article-body p { margin-bottom: 18px; }
.article-body h2 {
  font-size: 22px; color: var(--navy);
  margin: 36px 0 14px; font-weight: 700;
}
.article-body h3 {
  font-size: 18px; color: var(--navy);
  margin: 28px 0 12px; font-weight: 600;
}
.article-body ul, .article-body ol { padding-left: 24px; margin: 12px 0 20px; }
.article-body li { margin-bottom: 8px; }
.article-body img {
  max-width: 100%; height: auto;
  border-radius: 10px; margin: 18px 0;
}
.article-body blockquote {
  border-left: 4px solid var(--gold);
  background: var(--bg-soft);
  padding: 14px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
  color: var(--muted);
}
.article-body a {
  color: var(--navy);
  border-bottom: 1px solid rgba(11,37,69,.2);
}
.article-body a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .side-toc { position: static; }
}

@media (max-width: 760px) {
  .page-hero { padding: 52px 0 60px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero .lead { font-size: 15.5px; }
  .page-body { padding: 48px 0; }
  .content h2 { font-size: 22px; margin: 32px 0 14px; }
  .content h3 { font-size: 17px; }
  .content p, .content li { font-size: 14.5px; }
  .step { padding-left: 48px; margin-left: 14px; }
  .step::before { left: -19px; width: 36px; height: 36px; font-size: 14px; }
  .content table { font-size: 13.5px; }
  .content th, .content td { padding: 10px 12px; }

  .verify-form { padding: 22px 20px; }
  .verify-row { flex-direction: column; gap: 10px; }
  .verify-form .btn,
  #verifyBtn { width: 100%; min-width: 0; }
  .verify-input { height: 46px; }
  .vc-k { flex: 0 0 70px; font-size: 13px; }

  .article-body { font-size: 15.5px; }
}
/* =========================================================
   活动卡片（events.php 专用）
   ========================================================= */
.event-card {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 18px;
  background: #fff;
  transition: .18s;
}
.event-card:hover {
  border-color: var(--navy);
  box-shadow: 0 10px 28px rgba(11,37,69,.08);
}
.event-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold);
  background: var(--gold-soft, #f3ead6);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.event-card h3 {
  font-size: 18px;
  color: var(--navy);
  font-weight: 700;
  margin: 0 0 10px;
}
.event-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.event-meta {
  font-size: 13px;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.event-meta b {
  color: var(--navy);
  font-weight: 600;
}