:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #1c1c1a;
  --muted: #595852;
  --line: #e4e1d8;
  --accent: #263c4a;
  --warm: #b86843;
  --tint: #f3f0e8;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--warm); }
img { max-width: 100%; height: auto; display: block; }
.wm-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wm-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.wm-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.wm-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.wm-brand { font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.wm-nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }
.wm-nav a { color: var(--muted); text-decoration: none; }
.wm-nav a:hover { color: var(--ink); }
.wm-main { padding: 36px 0 64px; }
.wm-hero { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 36px; margin-bottom: 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 780px) { .wm-hero { grid-template-columns: 1fr; padding: 24px; } }
.wm-kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; font-weight: 700; color: var(--warm); margin: 0 0 8px; }
.wm-hero h1, .wm-article-head h1, .wm-page-head h1 { font-family: Georgia, "Times New Roman", serif; line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.02em; }
.wm-hero h1 { font-size: 32px; }
.wm-hero img { border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.wm-btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 6px; font-size: 14px; font-weight: 600; margin-top: 8px; }
.wm-btn:hover { background: var(--warm); color: #fff; }
.wm-section-title { font-family: Georgia, "Times New Roman", serif; font-size: 24px; margin: 36px 0 16px; }
.wm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.wm-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.wm-card__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: #fff; border-bottom: 1px solid var(--line); }
.wm-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.wm-card__title { font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.3; margin: 0; }
.wm-card__title a { color: var(--ink); text-decoration: none; }
.wm-card__title a:hover { color: var(--warm); }
.wm-card__desc { font-size: 14px; color: var(--muted); margin: 0; }
.wm-card__meta { font-size: 12px; color: var(--muted); margin-top: auto; padding-top: 8px; }
.wm-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.wm-cat-box { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; text-decoration: none; color: inherit; }
.wm-cat-box:hover { border-color: var(--warm); }
.wm-cat-box h3 { margin: 0 0 6px; font-size: 17px; color: var(--ink); }
.wm-cat-box p { margin: 0; font-size: 13px; color: var(--muted); }
.wm-crumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.wm-crumb a { color: var(--muted); text-decoration: none; }
.wm-article-head h1 { font-size: 34px; }
.wm-meta { font-size: 14px; color: var(--muted); margin: 0 0 24px; }
.wm-article-body h2 { font-family: Georgia, "Times New Roman", serif; font-size: 24px; margin: 34px 0 12px; line-height: 1.25; }
.wm-article-body h3 { font-size: 19px; margin: 24px 0 8px; }
.wm-article-body figure { margin: 22px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.wm-article-body figure img { border-radius: 6px; margin: 0 auto; }
.wm-article-body figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }
.wm-answer { background: var(--tint); border-left: 4px solid var(--warm); border-radius: 8px; padding: 18px 20px; margin: 24px 0; }
.wm-answer h2 { margin: 0 0 8px !important; font-size: 17px !important; text-transform: uppercase; letter-spacing: 0.05em; color: var(--warm); font-family: inherit !important; }
.wm-answer p { margin: 0; }
.wm-toc { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 16px 20px; margin: 20px 0 28px; }
.wm-toc__title { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 8px; }
.wm-toc ol { margin: 0; padding-left: 20px; font-size: 14px; columns: 2; column-gap: 24px; }
@media (max-width: 600px) { .wm-toc ol { columns: 1; } }
.wm-table-wrap { overflow-x: auto; margin: 20px 0; }
.wm-article-body table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface); }
.wm-article-body th, .wm-article-body td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; }
.wm-article-body th { background: var(--tint); font-weight: 600; }
.av-steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 12px; margin: 20px 0; }
.av-steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px 14px 48px; position: relative; }
.av-steps li::before { content: counter(step); position: absolute; left: 14px; top: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.av-steps__title { font-weight: 700; margin: 0 0 4px; }
.av-steps li p:last-child { margin: 0; font-size: 14px; color: var(--muted); }
.wm-faq-list { display: grid; gap: 10px; margin: 16px 0 24px; }
.wm-faq { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; }
.wm-faq summary { font-weight: 600; cursor: pointer; }
.wm-faq__body p { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.av-sources { font-size: 13px; color: var(--muted); padding-left: 20px; }
.av-sources li { margin-bottom: 6px; }
.wm-author-box { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin-top: 36px; }
.wm-author-box h2 { margin: 0 0 6px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.wm-author-box__name { font-weight: 700; font-size: 18px; margin: 0 0 8px; }
.wm-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 32px 0 24px; margin-top: 48px; font-size: 14px; color: var(--muted); }
.wm-footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.wm-footer__brand { font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.wm-footer__note { margin: 0; max-width: 420px; }
.wm-footer__links { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.wm-footer__copy { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; font-size: 12px; }
