/* ============================================================
   公众号栏目样式
   ============================================================ */
.oa-grid { display: grid; grid-template-columns: 360px 1fr; gap: 26px; align-items: start; }

/* 左：二维码卡 */
.oa-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-1); padding: 26px 24px; text-align: center;
}
.oa-qr {
  width: 190px; height: 190px; margin: 0 auto 18px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg-soft);
  display: grid; place-items: center; overflow: hidden; cursor: pointer;
}
.oa-qr-img { width: 100%; height: 100%; object-fit: contain; display: block; }
#oaQrPh {
  display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  color: var(--ink-soft); font-size: 13px; text-align: center; padding: 0 12px;
}
#oaQrPh .oa-ph-logo { width: 92px; height: 92px; object-fit: contain; display: block; }
#oaQrPh span { font-size: 13.5px; font-weight: 600; color: var(--green-700); }
.oa-card h3 { font-size: 20px; margin: 0 0 4px; }
.oa-account { font-size: 12.5px; color: var(--ink-soft); margin: 0 0 16px; }
.oa-card .btn { margin-bottom: 20px; }
.oa-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.oa-actions .btn { margin-bottom: 0; }
.oa-points { list-style: none; padding: 0; margin: 0; text-align: left; }
.oa-points li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--line); }
.oa-points li:first-child { border-top: none; }
.oa-ic {
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  background: var(--green-100); color: var(--green-700);
  display: grid; place-items: center; font-size: 17px;
}
.oa-points b { display: block; font-size: 14.5px; color: var(--green-900); }
.oa-points small { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; }

/* 右：文章列表 */
.oa-list { display: flex; flex-direction: column; gap: 12px; }
.oa-item {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-1);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.oa-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--gold); }
.oa-tag {
  flex: none; font-size: 12px; color: #fff; background: var(--green-600);
  padding: 4px 11px; border-radius: 999px; letter-spacing: .03em;
}
.oa-body { flex: 1; min-width: 0; }
.oa-body b { display: block; font-size: 16.5px; color: var(--green-900); margin-bottom: 4px; }
.oa-body p { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.oa-date { flex: none; font-size: 12.5px; color: var(--ink-soft); letter-spacing: .02em; }

/* 二维码弹层（非微信环境点击文章/关注时出现） */
.oa-modal {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(12, 30, 22, .55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: oaFade .2s ease both;
}
.oa-modal-box {
  position: relative; width: min(92vw, 340px); background: #fff;
  border-radius: 18px; padding: 26px 22px 22px; text-align: center;
  box-shadow: 0 24px 60px rgba(12, 30, 22, .35);
}
.oa-modal-x {
  position: absolute; top: 8px; right: 12px; border: none; background: none;
  font-size: 22px; line-height: 1; color: #8A9A92; cursor: pointer; padding: 4px;
}
.oa-modal-qr {
  width: 220px; height: 220px; margin: 0 auto 14px; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; background: var(--bg-soft); display: grid; place-items: center;
}
.oa-modal-qr img { width: 100%; height: 100%; object-fit: contain; }
.oa-modal-t { display: block; font-size: 16px; color: var(--green-900); margin-bottom: 6px; }
.oa-modal-d { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 14px; }
.oa-modal-copy { margin-bottom: 0; }
@keyframes oaFade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 980px) {
  .oa-grid { grid-template-columns: 1fr; }
  .oa-card { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 620px) {
  .oa-item { flex-wrap: wrap; gap: 10px; padding: 14px 16px; }
  .oa-tag { order: 1; }
  .oa-date { order: 2; margin-left: auto; }
  .oa-body { order: 3; width: 100%; }
}
