/* 羊毛日报 /digest 独立样式：晨报卡片风，暖米色纸面 + 橙红点缀，无衬线 */
* { box-sizing: border-box; }
body {
  margin: 0; background: #f6ecd9; color: #2b2118;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
a { color: #d9480f; text-decoration: none; }
a:hover { text-decoration: underline; }

.g-masthead { background: #fffaf0; border-top: 5px solid #d9480f; border-bottom: 1px solid #e8dcc3; }
.g-masthead-in { max-width: 780px; margin: 0 auto; padding: 30px 20px 24px; text-align: center; }
.g-name { margin: 0; font-size: 36px; font-weight: 800; letter-spacing: .3em; text-indent: .3em; }
.g-name a { color: #2b2118; }
.g-name a:hover { color: #d9480f; text-decoration: none; }
.g-sub { margin: 8px 0 0; font-size: 12px; letter-spacing: .24em; color: #d9480f; font-weight: 600; }
.g-meta { margin-top: 14px; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; font-size: 12.5px; color: #8a7a5f; }

.g-wrap { max-width: 780px; margin: 0 auto; padding: 26px 16px 56px; }

.g-index-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px 10px; }
.g-index-head h2 { margin: 0; font-size: 19px; letter-spacing: .18em; }
.g-index-head span { font-size: 13px; color: #8a7a5f; }

.g-card {
  background: #fffdf7; border: 1px solid #ecdfc6; border-radius: 14px;
  box-shadow: 0 2px 8px rgba(120, 84, 20, .07);
  padding: 18px 22px 16px; margin: 0 0 14px;
}
.g-card-meta { display: flex; gap: 12px; align-items: center; font-size: 12.5px; }
.g-date { background: #d9480f; color: #fff; font-weight: 700; padding: 2px 10px; border-radius: 999px; letter-spacing: .05em; }
.g-no { color: #8a7a5f; }
.g-card h3 { margin: 10px 0 6px; font-size: 19px; line-height: 1.45; font-weight: 700; }
.g-card h3 a { color: #2b2118; }
.g-card h3 a:hover { color: #d9480f; text-decoration: none; }
.g-card p { margin: 0; color: #5d4c36; font-size: 14.5px; line-height: 1.7; }
.g-empty { color: #8a7a5f; padding: 24px 4px; }

.g-kicker { color: #d9480f; font-size: 13px; font-weight: 700; letter-spacing: .14em; margin: 4px 0 8px; }
.g-title { font-size: 26px; line-height: 1.45; margin: 0 0 10px; font-weight: 800; }
.g-byline { color: #8a7a5f; font-size: 13px; margin: 0 0 20px; }

.g-body { font-size: 16px; line-height: 1.8; }
.g-body p { margin: 10px 0; }
.g-body ol { list-style: none; counter-reset: gitem; margin: 14px 0; padding: 0; }
.g-body ol > li {
  counter-increment: gitem; position: relative;
  background: #fffdf7; border: 1px solid #ecdfc6; border-radius: 14px;
  box-shadow: 0 2px 8px rgba(120, 84, 20, .07);
  padding: 15px 18px 13px 58px; margin: 0 0 12px;
}
.g-body ol > li::before {
  content: counter(gitem);
  position: absolute; left: 14px; top: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  background: #d9480f; color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.g-body ul { padding-left: 22px; }
.g-body li { margin: 5px 0; }
.g-body strong { color: #1f1509; }
.g-body a { font-weight: 600; }
.g-body h2 { font-size: 20px; margin: 28px 0 10px; }
.g-body h3 { font-size: 17px; margin: 22px 0 8px; }
.g-body img { max-width: 100%; height: auto; }
.g-body blockquote { margin: 14px 0; padding: 6px 16px; border-left: 3px solid #d9480f; background: #fffdf7; color: #5d4c36; }

.g-back { margin-top: 30px; font-size: 14.5px; }
.g-footer { border-top: 1px solid #e8dcc3; color: #8a7a5f; font-size: 12.5px; text-align: center; padding: 18px 20px 30px; }

@media (max-width: 600px) {
  .g-name { font-size: 29px; }
  .g-title { font-size: 22px; }
  .g-body { font-size: 15.5px; }
  .g-card { padding: 15px 16px 13px; }
  .g-body ol > li { padding: 13px 14px 11px 52px; }
}
