*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #fbf9f5; --surface: #ffffff; --ink: #172126; --muted: #556269;
  --line: #e5e0d7; --accent: #0f5a63; --accent-soft: #e7f3f4;
  --head-bg: #ffffff; --head-ink: #172126; --foot-bg: #132327; --foot-ink: #f1f5f6;
  --radius: 14px;
}
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); overflow-x: clip;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
#app { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
.shell { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.site-head { position: sticky; top: 0; z-index: 20; background: var(--head-bg); color: var(--head-ink); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.15rem; font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif; flex-shrink: 0; color: var(--head-ink); }
.brand img { width: 30px; height: 30px; }
.site-nav { display: flex; align-items: center; gap: 15px; margin-left: 8px; font-size: 0.88rem; font-weight: 600; color: #556269; }
.site-nav a:hover { color: var(--accent); }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; background: #fbf9f5; border: 1px solid #e5e0d7; border-radius: 999px; padding: 3px; }
.lang-switch a { font-size: 0.74rem; font-weight: 700; padding: 4px 8px; border-radius: 999px; color: #556269; }
.lang-switch a.active { background: var(--accent); color: #fff; }
.head-search { display: flex; gap: 6px; }
.head-search input { width: 165px; padding: 7px 11px; border: 1px solid #e5e0d7; border-radius: 8px; background: #fbf9f5; color: #172126; font-size: 0.86rem; }
.head-search button { padding: 7px 12px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.84rem; cursor: pointer; }
.menu-btn { display: none; margin-left: 6px; padding: 7px 11px; border: 1px solid #e5e0d7; border-radius: 8px; background: #ffffff; color: var(--head-ink); font-weight: 700; cursor: pointer; }
.hero { padding: 48px 0 36px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }
.eyebrow { display: inline-block; font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 8px; }
.hero h1 { font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif; font-size: clamp(1.75rem, 3.2vw, 2.55rem); line-height: 1.18; margin: 0 0 12px; max-width: 780px; }
.hero p { color: var(--muted); max-width: 680px; margin: 0 0 24px; font-size: 1.02rem; }
.cat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat-pill { display: block; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s; }
.cat-pill:hover { border-color: var(--accent); }
.cat-pill b { display: block; font-size: 0.94rem; margin-bottom: 4px; color: var(--ink); }
.cat-pill span { display: block; font-size: 0.82rem; color: var(--muted); line-height: 1.45; }
.section-block { padding: 34px 0 10px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.section-head h2 { font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif; font-size: 1.32rem; margin: 0; }
.section-head a { font-size: 0.88rem; font-weight: 700; color: var(--accent); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 15px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 6px; }
.card-body h3 { font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif; font-size: 1.04rem; line-height: 1.32; margin: 0 0 8px; }
.card-body h3 a:hover { color: var(--accent); }
.card-body p { font-size: 0.87rem; color: var(--muted); margin: 0 0 12px; flex: 1; }
.card-meta { font-size: 0.78rem; color: var(--muted); }
.page-head { padding: 36px 0 16px; }
.page-head h1 { font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0 0 8px; }
.page-head p { color: var(--muted); max-width: 720px; margin: 0; }
.article-wrap { width: min(780px, calc(100% - 32px)); margin: 32px auto 48px; }
.article-wrap h1 { font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif; font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.2; margin: 6px 0 12px; }
.article-dek { font-size: 1.02rem; color: var(--muted); margin: 0 0 18px; }
.byline-bar { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 22px; font-size: 0.86rem; }
.avatar-badge { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.article-hero { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.article-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-content h2 { font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif; font-size: 1.32rem; margin: 1.6em 0 0.55em; }
.article-content p, .article-content li { line-height: 1.72; }
.article-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.92rem; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article-content th { background: var(--accent-soft); color: var(--ink); font-weight: 700; }
.author-box { margin-top: 34px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; gap: 14px; align-items: flex-start; }
.author-box h3 { margin: 0 0 2px; font-size: 1rem; }
.author-box .role { color: var(--accent); font-size: 0.82rem; font-weight: 700; margin: 0 0 6px; }
.author-box p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.55; }
.author-box .byline-note { margin-top: 8px; font-size: 0.78rem; opacity: 0.9; }
.prose { max-width: 780px; padding-bottom: 32px; }
.prose h2 { font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif; font-size: 1.3rem; margin: 1.6em 0 0.5em; }
.privacy-policy a { color: var(--accent); text-decoration: underline; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.privacy-actions button { border: 1px solid var(--accent); background: var(--accent); color: #fff; padding: 9px 14px; border-radius: 6px; font-weight: 700; font-size: 0.88rem; cursor: pointer; }
.privacy-actions button + button { background: transparent; color: var(--ink); border-color: var(--line); }
.privacy-actions p { flex-basis: 100%; margin: 4px 0 0; font-size: 0.84rem; color: var(--muted); }
.search-panel { display: flex; gap: 8px; max-width: 580px; margin: 20px 0 28px; }
.search-panel input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.search-panel button { padding: 11px 18px; border: 0; border-radius: var(--radius); background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; }
footer { flex: 0 0 auto; position: relative; z-index: 2; background: var(--foot-bg); color: var(--foot-ink); border-top: 1px solid var(--line); padding: 40px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.footer-grid h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 12px; opacity: 0.85; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; }
.footer-links a { opacity: 0.82; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-desc { font-size: 0.9rem; opacity: 0.78; max-width: 420px; margin: 10px 0 0; }
.legal-bar { border-top: 1px solid rgba(255,255,255,.14); margin-top: 26px; padding-top: 16px; font-size: 0.8rem; opacity: 0.72; }
@media (max-width: 960px) {
  .cat-strip { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .head-search { display: none; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--head-bg); padding: 16px 20px; flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .menu-btn { display: inline-block; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 24px); }
  .head-row { gap: 6px; }
  .brand { font-size: 0.98rem; gap: 6px; }
  .brand img { width: 24px; height: 24px; }
  .cat-strip, .card-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 34px 0 24px; }
  .author-box { flex-direction: column; }
  .lang-switch { gap: 2px; padding: 2px; }
  .lang-switch a { padding: 3px 5px; font-size: 0.68rem; }
  .menu-btn { padding: 5px 8px; font-size: 0.78rem; margin-left: 2px; }
}

.site-nav a{white-space:nowrap;font-size:.88rem}
.head-row{gap:14px}
.article-content ul,.article-content ol{margin:10px 0 18px;padding-left:22px}
.article-content li{margin-bottom:7px}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:20px 0;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.table-wrap table{width:100%;min-width:520px;margin:0;border-collapse:collapse;font-size:.9rem}
.table-wrap th,.table-wrap td{border:0;border-bottom:1px solid var(--line);border-right:1px solid var(--line);padding:11px 13px;text-align:left;vertical-align:top}
.table-wrap th:last-child,.table-wrap td:last-child{border-right:0}
.table-wrap tbody tr:last-child td{border-bottom:0}
.table-wrap th{background:var(--accent-soft);color:var(--ink);font-weight:700}
.callout-box{margin:22px 0;padding:18px 20px;background:var(--accent-soft);border-left:4px solid var(--accent);border-radius:0 var(--radius) var(--radius) 0}
.callout-lead{margin:0 0 10px;font-weight:500;color:var(--ink)}
.callout-box ol{margin:8px 0 12px;padding-left:20px}
.callout-takeaway{margin:12px 0 0;padding-top:10px;border-top:1px solid rgba(15,90,99,.2);color:var(--ink)}
.check-list{padding-left:20px}
.check-list li{margin-bottom:10px}
.faq-list{display:flex;flex-direction:column;gap:12px;margin:14px 0 8px}
.faq-item{padding:16px 18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
.faq-item h3{font-family:'Palatino Linotype','Book Antiqua',Palatino,Georgia,serif;font-size:1.04rem;line-height:1.35;margin:0 0 8px;color:var(--ink)}
.faq-item p{margin:0;font-size:.94rem;color:var(--muted);line-height:1.65}
@media (max-width:620px){
  .table-wrap table{min-width:460px;font-size:.84rem}
  .table-wrap th,.table-wrap td{padding:9px 10px}
  .callout-box{padding:14px 15px}
  .faq-item{padding:14px 15px}
}
