/* 趣研社官网 · 简约大气风格 */
:root {
  --brand: #0e6e5c;
  --brand-dark: #0a5546;
  --brand-light: #e6f2ef;
  --accent: #e8a23d;
  --ink: #1c2b28;
  --ink-2: #52625e;
  --line: #e4eae8;
  --bg: #fafbfa;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(14, 110, 92, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== 顶部：顶栏 + 标头 + 主导航 ===== */
.site-header { background: #fff; }
.topbar { background: #eef4f2; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar-links { display: flex; align-items: center; gap: 14px; }
.topbar-links a { color: var(--ink-2); }
.topbar-links a:hover { color: var(--brand); }
.topbar .btn { padding: 2px 12px; font-size: 12.5px; }
.topbar .user-chip { padding: 2px 10px; font-size: 12px; }

.masthead-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; gap: 20px; }
.search-box { display: flex; flex-shrink: 0; }
.search-box input {
  width: 230px; padding: 8px 16px; border: 1.5px solid var(--brand); border-right: none;
  border-radius: 999px 0 0 999px; font-size: 13.5px; font-family: inherit; background: #fff; color: var(--ink);
}
.search-box input:focus { outline: none; }
.search-box button {
  padding: 0 20px; border: none; background: var(--brand); color: #fff;
  border-radius: 0 999px 999px 0; font-size: 13.5px; cursor: pointer;
}
.search-box button:hover { background: var(--brand-dark); }

.mainnav { background: var(--brand); position: sticky; top: 0; z-index: 50; }
.mainnav-inner { display: flex; align-items: center; }
.mainnav-inner > a, .mainnav .nav-item > a {
  display: block; color: #fff; padding: 0 26px; line-height: 48px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
}
.mainnav-inner > a:hover, .mainnav .nav-item > a:hover, .mainnav .active { background: var(--brand-dark); }
.nav-item { position: relative; }
.subnav {
  display: none; position: absolute; top: 48px; left: 0; min-width: 200px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: 0 0 10px 10px; box-shadow: var(--shadow); z-index: 60; padding: 6px 0;
}
.nav-item:hover .subnav { display: block; }
.subnav a {
  display: block; color: var(--ink); line-height: 1.4; padding: 10px 18px;
  font-weight: 400; font-size: 14px; white-space: nowrap;
}
.subnav a:hover { background: var(--brand-light); color: var(--brand); }

/* ===== 首页展播 ===== */
.banner { position: relative; height: 340px; overflow: hidden; }
.banner-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s;
  display: flex; align-items: center;
  /* 三张卡片是叠在一起的：隐藏的那两张必须同时屏蔽点击，
     否则最上面一张（第三张）会抢走所有点击，不管用户看到的是哪一张。 */
  pointer-events: none;
}
.banner-slide.on { opacity: 1; pointer-events: auto; }
.banner-slide .b-tag {
  display: inline-block; background: rgba(255,255,255,0.18); color: #fff;
  font-size: 13px; letter-spacing: 3px; padding: 4px 14px; border-radius: 999px; margin-bottom: 16px;
}
.banner-slide h2 { color: var(--brand-dark); font-size: 38px; line-height: 1.3; }
.banner-slide p { color: var(--ink-2); margin-top: 12px; font-size: 17px; max-width: 560px; }
.banner-slide .b-tag { background: rgba(14,110,92,0.1); color: var(--brand); }
.banner-slide .btn { margin-top: 26px; background: var(--brand); color: #fff; }
.banner-slide .btn:hover { background: var(--brand-dark); }
.b1 { background: linear-gradient(120deg, #e9f4f0 0%, #d8ece5 55%, #f3edde 100%); }
.b2 { background: linear-gradient(120deg, #e5f1f0 0%, #d9ebe9 55%, #eaf3ec 100%); }
.b3 { background: linear-gradient(120deg, #fdf3e2 0%, #fae8cd 55%, #f6f2e4 100%); }
.banner-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; }
.banner-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none;
  background: rgba(14,110,92,0.25); cursor: pointer; padding: 0;
}
.banner-dots button.on { background: var(--brand); }

/* ===== 通知公告 ===== */
.notice-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 26px; }
.notice-row { border-bottom: 1px dashed var(--line); }
.notice-row:last-child { border-bottom: none; }
.notice-row .n-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; }
.notice-row .n-title { font-size: 14.5px; color: var(--ink); cursor: pointer; }
.notice-row .n-title:hover { color: var(--brand); }
.notice-row .n-date { color: var(--ink-2); flex-shrink: 0; font-size: 13px; }
.notice-row .n-body { display: none; font-size: 13.5px; color: var(--ink-2); padding: 0 0 14px; }
.notice-row.open .n-body { display: block; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 13px; font-weight: 700; font-size: 27px; color: var(--brand); letter-spacing: 1px; }
.logo-img { width: 58px; height: 58px; object-fit: contain; border-radius: 13px; }
.logo small { display: block; font-size: 13.5px; font-weight: 400; color: var(--ink-2); line-height: 1.3; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--ink-2); padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--brand); }
.nav-links a.active { color: var(--brand); font-weight: 600; border-bottom-color: var(--brand); }
.nav-auth { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-block; padding: 9px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; cursor: pointer; border: none;
  transition: all 0.2s; text-align: center;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand-light); }
.btn-ghost { background: transparent; color: var(--ink-2); padding: 9px 12px; }
.btn-ghost:hover { color: var(--brand); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.user-chip {
  display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink);
  background: var(--brand-light); padding: 7px 14px; border-radius: 999px;
}
.user-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* ===== 首屏 Hero ===== */
.hero {
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(232, 162, 61, 0.14), transparent),
    linear-gradient(160deg, #f2f8f6 0%, #e9f3f0 60%, #f6f3ea 100%);
  padding: 96px 0 110px;
}
.hero h1 { font-size: 44px; line-height: 1.25; font-weight: 800; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 620px; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-tags { margin-top: 44px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-tags span, .hero-tags a.hero-tag {
  background: rgba(255,255,255,0.85); border: 1px solid var(--line);
  padding: 7px 16px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2);
}
.hero-tags a.hero-tag { cursor: pointer; transition: all 0.2s; }
.hero-tags a.hero-tag:hover { color: var(--brand); border-color: var(--brand); background: #fff; }

/* ===== 区块 ===== */
.section { padding: 76px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .kicker {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand);
  letter-spacing: 3px; margin-bottom: 10px;
}
.section-head h2 { font-size: 30px; font-weight: 700; }
.section-head p { margin-top: 12px; color: var(--ink-2); max-width: 640px; margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow); transition: transform 0.2s;
}
.card:hover { transform: translateY(-3px); }
.card .tag {
  display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--brand);
  background: var(--brand-light); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-2); }
.card .more { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--brand); }

/* 数字亮点 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats .num { font-size: 38px; font-weight: 800; color: var(--brand); }
.stats .label { margin-top: 4px; font-size: 14px; color: var(--ink-2); }

/* ===== 内页通用 ===== */
.page-head {
  background: linear-gradient(160deg, #f2f8f6 0%, #e9f3f0 100%);
  padding: 64px 0; border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: 34px; font-weight: 800; }
.page-head p { margin: 10px auto 0; color: var(--ink-2); max-width: 680px; }
.prose { max-width: 100%; }
.prose h2 { font-size: 22px; margin: 40px 0 14px; color: var(--brand-dark); }
.prose p { margin-bottom: 14px; color: #33413d; }
.prose ul { margin: 0 0 14px 22px; color: #33413d; }
.prose li { margin-bottom: 6px; }
/* 后台可改的多段正文容器（原来是 <p>，装得下多段后改成 <div>） */
#about-who, #about-how, #ab-policy-lead { margin: 0 0 14px; color: #33413d; }
#about-who p, #about-how p, #ab-policy-lead p { margin: 0 0 12px; line-height: 1.9; }
#about-who p:last-child, #about-how p:last-child, #ab-policy-lead p:last-child { margin-bottom: 0; }

.notice {
  background: #fdf7ec; border: 1px solid #f0dfc0; border-radius: var(--radius);
  padding: 18px 22px; font-size: 14px; color: #7a5c22; margin-top: 36px;
}
.notice strong { display: block; margin-bottom: 6px; }

/* ===== 表单 ===== */
.form-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow); max-width: 560px; margin: 0 auto;
}
.form-panel h2 { font-size: 22px; margin-bottom: 6px; }
.form-panel .sub { font-size: 14px; color: var(--ink-2); margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: #fcfdfc; color: var(--ink);
  transition: border-color 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.field .hint { font-size: 12.5px; color: var(--ink-2); margin-top: 5px; }
.field .err { font-size: 13px; color: #c0392b; margin-top: 5px; min-height: 18px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.otp-row { display: flex; gap: 10px; }
.otp-row input { flex: 1; }
.otp-row .btn { white-space: nowrap; padding: 0 18px; font-size: 14px; }
.form-msg { font-size: 14px; margin-top: 14px; min-height: 20px; }
.form-msg.ok { color: var(--brand); font-weight: 600; }
.form-msg.bad { color: #c0392b; }
.form-foot { margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.form-foot a { color: var(--brand); font-weight: 600; }

/* 服务详情列表 */
.svc-item {
  display: grid; grid-template-columns: 84px 1fr; gap: 22px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.svc-icon {
  width: 68px; height: 68px; border-radius: 16px; font-size: 30px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-light); color: var(--brand);
}
.svc-item h3 { font-size: 19px; }
.svc-item .cat { font-size: 13px; color: var(--accent); font-weight: 600; }
.svc-item p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.svc-item .detail { margin-top: 8px; font-size: 14px; color: #33413d; }

/* 二维码卡片 */
.qr-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; color: var(--ink); }
.qr-grid { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.qr-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px; text-align: center; width: 156px; box-shadow: var(--shadow);
}
.qr-box {
  width: 120px; height: 120px; margin: 0 auto 10px;
  border: 2px dashed #a9c3bc; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); font-size: 12.5px; background: var(--brand-light);
  line-height: 1.6;
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.qr-card h4 { font-size: 14px; }
.qr-card p { font-size: 12px; color: var(--ink-2); margin-top: 2px; }

/* 联系信息 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.contact-info .item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-light);
  color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 20px;
  flex-shrink: 0;
}
.contact-info h4 { font-size: 15px; }
.contact-info p { font-size: 14px; color: var(--ink-2); margin-top: 2px; }

/* 页脚 */
.site-footer { background: #10241f; color: #b9cdc7; margin-top: 40px; padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer p, .site-footer a { font-size: 13.5px; line-height: 2; }
.site-footer a:hover { color: #fff; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(80px, max-content)); gap: 10px 44px; padding-top: 4px; }
.footer-nav a { font-size: 14px; }
.footer-links {
  margin-top: 30px; padding-top: 4px; display: flex; flex-wrap: wrap;
  gap: 8px 18px; align-items: center; font-size: 13px;
}
.footer-links .fl-label { color: #7d968f; }
.footer-links a {
  color: #b9cdc7; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(185, 205, 199, 0.4);
}
.footer-qr { display: flex; gap: 12px; margin-top: 6px; }
.footer-qr .fqr { width: 96px; text-align: center; }
.footer-qr img {
  width: 96px; height: 96px; object-fit: contain;
  border-radius: 8px; background: #fff; padding: 5px;
}
.footer-qr .fqr-box {
  width: 96px; height: 96px; border: 1.5px dashed rgba(255,255,255,0.35);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 10.5px; color: #7d968f; line-height: 1.5; letter-spacing: 0;
}
.footer-qr .fqr-box img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.fqr-box { display: flex; align-items: center; justify-content: center; }
.fqr-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.footer-qr .fqr-label { font-size: 11px; color: #b9cdc7; margin-top: 6px; letter-spacing: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 36px; padding-top: 20px;
  font-size: 12.5px; color: #7d968f; text-align: center;
}

.loading { text-align: center; color: var(--ink-2); padding: 40px 0; font-size: 14px; }

/* ===== 响应式 ===== */
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero { padding: 64px 0 72px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13.5px; }
  .logo { font-size: 21px; gap: 10px; }
  .logo-img { width: 44px; height: 44px; border-radius: 10px; }
  .logo small { display: none; }
  .row-2 { grid-template-columns: 1fr; }
  .svc-item { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links a:not(.keep) { display: none; }
}

/* 新头部与展播的响应式 */
@media (max-width: 860px) {
  .masthead-inner { flex-wrap: wrap; }
  .search-box input { width: 150px; }
  .mainnav-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .mainnav-inner > a, .mainnav .nav-item > a { padding: 0 16px; font-size: 14px; }
  .subnav { top: 48px; }
  .banner { height: 250px; }
  .banner-slide h2 { font-size: 24px; }
  .banner-slide p { font-size: 14px; }
  .topbar-inner > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* 标头中间主张语 */
.masthead-motto { flex: 1; text-align: center; min-width: 0; }
.masthead-motto .motto-main {
  font-size: 22px; font-weight: 700; color: var(--brand-dark); letter-spacing: 2px;
}
.masthead-motto .motto-sub {
  margin-top: 5px; font-size: 12.5px; color: var(--ink-2); letter-spacing: 3px;
}
@media (max-width: 960px) {
  .masthead-motto { display: none; }
}

/* 内部入口：仅登录后显示 */
.footer-nav a.staff-link { display: none; }
body.user-staff .footer-nav a.staff-link { display: block; }

/* 白名单账号：顶栏醒目的「员工后台」直达按钮 */
.topbar-links a.staff-entry {
  background: var(--accent);
  color: #3a2503 !important;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 5px;
  white-space: nowrap;
}
.topbar-links a.staff-entry:hover { background: #d78f26; color: #3a2503 !important; }
@media (max-width: 640px) {
  .topbar-links a.staff-entry { padding: 2px 8px; font-size: 12px; }
}

/* ===== 战略合作 / 合作单位 / 专题 ===== */
.topic-card { display: block; color: inherit; text-decoration: none; transition: border-color .15s; }
.topic-card:hover { border-color: var(--brand, #0e6e5c); }
.topic-card h3 { margin-top: 0; color: var(--brand, #0e6e5c); }
.topic-more { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--brand, #0e6e5c); }
.partner-strip { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.partner-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--line, #d8e3df); border-radius: 999px;
  padding: 14px 26px; font-size: 18px; font-weight: 700; color: var(--ink, #1f2a28);
}
.partner-chip.join { border-style: dashed; color: var(--brand, #0e6e5c); text-decoration: none; }
.partner-chip.join:hover { border-color: var(--brand, #0e6e5c); }
.partner-card { display: flex; gap: 18px; align-items: flex-start; }
.partner-card h3 { margin-top: 0; }
.partner-badge {
  flex: 0 0 auto; width: 64px; height: 64px; border-radius: 14px;
  background: var(--brand-light, #e8f4f0); color: var(--brand, #0e6e5c);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
}

/* 合作单位徽标图片 */
.partner-badge { overflow: hidden; background: #fff; }
.partner-badge img.badge-logo { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.partner-chip img.chip-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; background: #fff; flex: 0 0 auto; }

/* 合作单位详细介绍（点开看） */
.partner-body { min-width: 0; }
.partner-detail { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #d8e3df; font-size: 17px; line-height: 1.8; color: #3a4a47; }
.partner-more { margin-top: 12px; margin-right: 16px; background: none; border: none; padding: 0; color: var(--brand, #0e6e5c); font-weight: 700; font-size: 16px; cursor: pointer; }
.partner-link { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--brand, #0e6e5c); }

/* 企业文化价值观列表 */
.culture-list { margin: 8px 0 0; padding-left: 0; list-style: none; }
.culture-list li { margin-bottom: 12px; line-height: 1.7; }
.culture-list li:last-child { margin-bottom: 0; }
.culture-list strong { color: var(--brand, #0e6e5c); }

/* 触屏：点击展开下拉导航 */
.nav-item.open .subnav { display: block; }

/* 页面内锚点导航条（关于我们等长页面用） */
.page-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 28px; }
.page-tabs a {
  display: inline-block; padding: 10px 20px; border: 1.5px solid var(--line);
  border-radius: 999px; background: #fff; color: var(--brand); font-weight: 700;
  font-size: 16px; text-decoration: none;
}
.page-tabs a:hover, .page-tabs a:active { border-color: var(--brand); background: var(--brand-light, #e8f4f0); }

/* 价值观三卡：大字 */
.culture-values-head { margin: 28px 0 14px; }
.culture-values-head h3 { margin: 0; color: var(--brand-dark, #0b4f43); font-size: 22px; }
.value-card { text-align: center; }
.value-card .value-char {
  font-size: 44px; font-weight: 700; color: var(--brand, #0e6e5c);
  line-height: 1.2; margin-bottom: 10px; letter-spacing: 2px;
}
.value-card p { margin: 0; text-align: left; }

/* ============ 家长社群入口（首页横条） ============ */
.group-band { background: linear-gradient(160deg, #eef8e8 0%, #d9f2d0 100%); }
.group-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.group-card {
  display: block;
  background: #fffdf6;
  border: 2px solid #cfe8c4;
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 8px 20px rgba(31, 78, 38, .12);
  transform: rotate(-.6deg);
  transition: transform .15s ease;
  color: inherit;
  text-decoration: none;
  position: relative;
}
.group-card.gold { transform: rotate(.8deg); border-color: #e9d98a; }
.group-card:hover { transform: rotate(0deg) translateY(-4px); }
.group-badge {
  display: inline-block;
  background: #2f7d3a;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 3px;
  padding: 4px 14px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.group-card.gold .group-badge { background: #c99a10; }
.group-card h3 { font-size: 28px; font-weight: 900; color: #143a1c; margin: 0 0 8px; }
.group-card p { font-size: 21px; line-height: 1.65; color: #3d5a44; margin: 0 0 12px; }
.group-more { font-size: 21px; font-weight: 800; color: #1c6b2d; }

/* ===== 后台多行文本自动分段后的排版（公告 / 活动详情）===== */
.notice-row .n-body p { margin: 0 0 12px; line-height: 1.9; }
.notice-row .n-body p:last-child { margin-bottom: 0; }
.svc-item .detail p { margin: 0 0 12px; line-height: 1.9; }
.svc-item .detail p:last-child { margin-bottom: 0; }
#svc-body p { margin: 0 0 15px; line-height: 1.95; font-size: 15.5px; }
#svc-body p:last-child { margin-bottom: 0; }

/* ===== 后台写法 → 前台文字颜色（{红|文字} 这类标记）===== */
.t-red { color: #d92c2c; font-weight: 600; }
.t-orange { color: #d97000; font-weight: 600; }
.t-green { color: #17803d; font-weight: 600; }
.t-blue { color: #1a63c9; font-weight: 600; }
.t-gray { color: #6b7c76; }
.t-gold { color: #b07d09; font-weight: 700; }

/* ===== 后台「编辑说明书」面板 ===== */
.guide-box {
  background: #f4faf3;
  border: 2px solid #b9d9ae;
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 18px;
}
.guide-box h3 { margin: 0 0 10px; font-size: 17px; color: #17421f; }
.guide-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed #cfe3c6;
  font-size: 14.5px;
  line-height: 1.75;
}
.guide-row:last-child { border-bottom: none; }
.guide-row .g-do { flex: 0 0 120px; font-weight: 700; color: #17421f; }
.guide-row .g-how { flex: 1 1 auto; color: #35463a; }
.guide-row code {
  background: #fff;
  border: 1px solid #cfe3c6;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 14px;
  color: #b23b3b;
  margin: 0 2px;
}
.guide-warn {
  margin-top: 12px;
  background: #fff7e6;
  border-left: 4px solid #e0a020;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.8;
  color: #7a5200;
  border-radius: 6px;
}
.guide-preview {
  margin-top: 14px;
  background: #fff;
  border: 1px solid #d8e6d1;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14.5px;
  line-height: 1.9;
  color: #2b3a30;
}
.guide-preview p { margin: 0 0 10px; }
.guide-preview p:last-child { margin-bottom: 0; }

/* ===== 字号标记（后台写 {大|文字} / {特大|文字} / {小|文字}）===== */
.t-lg { font-size: 1.28em; font-weight: 600; }
.t-xxl { font-size: 1.65em; font-weight: 800; line-height: 1.5; }
.t-sm { font-size: 0.85em; color: #5b6b62; }

/* ===== 后台实时预览（输入框下面直接显示网页效果）===== */
.qys-preview { background: #fff; border: 1px solid #d8e6d1; border-radius: 10px; padding: 14px 16px; font-size: 15px; line-height: 1.9; color: #33413d; }
.qys-preview p { margin: 0 0 12px; }
.qys-preview p:last-child { margin-bottom: 0; }
.qys-preview-label { font-size: 13px; font-weight: 700; color: #17421f; margin: 10px 0 6px; }

/* ===== 关于我们页：两大体系的「体系副名」小标签 ===== */
.sys-tag {
  display: inline-block;
  margin: 0 6px 0 8px;
  padding: 1px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background: rgba(14, 110, 92, 0.1);
  border-radius: 999px;
  vertical-align: 1px;
}
