:root {
  --brand: #087f80;
  --brand-dark: #066467;
  --brand-soft: #eaf5f4;
  --brand-line: #b9dcd9;
  --navy: #0e263d;
  --ink: #17344c;
  --muted: #607586;
  --line: #dce5eb;
  --paper: #ffffff;
  --ground: #ffffff;
  --radius: 4px;
  --shadow: 0 3px 14px rgb(14 38 61 / 3%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; text-underline-offset: .22em; }
a:hover { color: var(--brand); }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
img { max-width: 100%; height: auto; }
svg { vertical-align: middle; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 100; background: var(--brand); color: white; padding: 10px 20px; }
.skip-link:focus { top: 10px; }
.topbar { background: var(--navy); color: #d8e3ec; border-bottom: 1px solid var(--navy); font-size: 12px; }
.topbar > .wrap { min-height: 33px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a:hover { color: white; text-decoration: underline; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { --logo-width: 240px; min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 19px; min-width: 0; flex: 0 0 auto; }
.brand > img, .brand-logo { display: block; width: var(--logo-width); height: calc(var(--logo-width) / 3); object-fit: contain; object-position: center; flex: 0 0 auto; }
.brand-logo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.brand-name { display: block; color: var(--ink); font-size: 21px; font-weight: 750; line-height: 1.4; letter-spacing: .03em; }
.header-note, .header-contact { font-size: 13px; color: var(--muted); text-align: right; }
.header-contact strong, .header-note strong { color: var(--brand); font-size: 21px; display: block; letter-spacing: .02em; }
.main-nav { display: flex; align-items: stretch; justify-content: flex-end; gap: 2px; min-width: 0; margin-left: auto; background: var(--paper); }
.main-nav a { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; padding: 13px 16px; font-size: 14px; font-weight: 600; line-height: 1.6; white-space: nowrap; border-bottom: 3px solid transparent; transition: color .15s, background-color .15s; }
.main-nav a:hover { color: var(--brand); background: #f5f9fa; }
.main-nav a.active, .main-nav a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); background: transparent; }
.main-nav a:last-child { margin-left: 10px; padding-inline: 18px; border: 1px solid var(--brand); background: var(--brand); color: #fff; border-radius: 2px; }
.main-nav a:last-child:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.language-switch { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 17px; padding-block: 9px; font-size: 12px; border-bottom: 1px solid var(--line); }
.language-switch a { color: var(--muted); }
.language-switch a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.locale-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; max-width: 380px; }
.locale-brand strong { font-size: 21px; color: var(--navy); line-height: 1.3; }
.locale-brand strong span { color: var(--brand); }
.locale-brand small { font-size: 11px; color: var(--muted); line-height: 1.5; }
.locale-site .header-inner { gap: 20px; }
.locale-site .main-nav a { white-space: normal; text-align: center; padding-inline: 11px; }
.locale-hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px; padding: 25px 0 50px; }
.locale-hero h1 { font-size: clamp(30px,3.3vw,44px); line-height: 1.25; margin: 18px 0; color: var(--navy); }
.locale-hero p:not(.eyebrow) { color: var(--muted); line-height: 1.9; }
.locale-hero svg { width: 100%; height: auto; }
.locale-hero .equipment-diagram { position: static; width: 100%; height: auto; }
.locale-option { padding: 32px; border-top: 4px solid var(--brand); background: var(--brand-soft); display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.locale-option h2 { margin: 0 0 10px; font-size: 26px; }
.locale-option p { max-width: 760px; margin-bottom: 0; }
.locale-option > .button { flex: 0 0 auto; }
.locale-section { padding-top: 45px; }
.locale-section > h2,.locale-reference h2 { color: var(--navy); font-size: 26px; }
.locale-section > p { color: var(--muted); }
.locale-article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.locale-article-grid .article-teaser { padding: 24px; border: 1px solid var(--line); min-width: 0; }
.locale-article-grid h2 { font-size: 18px; line-height: 1.6; }
.locale-article-grid p { font-size: 13px; color: var(--muted); }
.locale-reference { margin-top: 45px; padding: 25px 30px; border: 1px solid var(--line); }
.locale-reference p { color: var(--muted); }
.locale-intro { padding: 20px 26px; border-top: 3px solid var(--brand); }
.locale-intro p { margin: 0; }
html[lang="hi"] .prose { line-height: 2; }
html[lang="hi"] body { font-family: "Nirmala UI", "Noto Sans Devanagari", "Segoe UI", sans-serif; }
@media(max-width:960px) { .locale-brand { max-width: calc(100% - 80px); }.locale-hero { gap: 20px; }.locale-option { flex-direction: column; align-items: flex-start; gap: 20px; }.locale-article-grid { grid-template-columns: 1fr; } }
@media(max-width:780px) { .locale-hero { grid-template-columns: 1fr; padding-bottom: 30px; }.locale-hero > div:last-child { max-width: 480px; margin: auto; }.locale-brand strong { font-size: 18px; }.language-switch { justify-content: flex-start; }.locale-option { padding: 25px; } }
.option-service-panel { padding: 30px; border-top: 4px solid var(--brand); }
.option-service-panel h1 { margin: 0 0 18px; color: var(--navy); font-size: 29px; line-height: 1.45; }
.option-service-panel > p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.option-services { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; list-style: none; padding: 24px 0; margin: 23px 0; border-block: 1px solid var(--line); }
.option-services strong { display: block; margin-bottom: 9px; color: var(--navy); font-size: 15px; }
.option-services span { display: block; color: var(--muted); font-size: 13px; line-height: 1.85; }
.option-service-panel .option-preparation { font-size: 12px; }
.option-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.option-actions > a:not(.button) { font-size: 13px; color: var(--brand); }
@media (max-width: 600px) {
  .option-service-panel { padding: 24px 20px; }
  .option-service-panel h1 { font-size: 25px; }
  .option-services { grid-template-columns: minmax(0,1fr); gap: 21px; }
}
.mobile-toggle { display: none; border: 1px solid var(--line); background: white; border-radius: 6px; padding: 7px 12px; color: var(--ink); }
main.wrap { padding-top: 25px; padding-bottom: 48px; min-height: 54vh; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: #78828c; font-size: 12px; margin: 0 0 18px; }
.breadcrumbs a { color: #5f6c79; }
.breadcrumbs a:hover { color: var(--brand); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 282px; gap: 24px; align-items: start; }
.main-column { min-width: 0; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 24px; }
.panel-heading { margin: 0; padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 700; display: flex; justify-content: flex-start; gap: 12px; align-items: center; }
.panel-heading::before { content: ""; width: 3px; height: 17px; border-radius: 2px; background: var(--brand); flex: 0 0 auto; }
.panel-heading > :first-child { margin-right: auto; }
.panel-heading a { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: auto; }
.panel-body { padding: 20px; }
.hero { position: relative; padding: 34px 38px 28px; background: white; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--radius); margin-bottom: 26px; box-shadow: var(--shadow); }
.hero .eyebrow { color: var(--brand); font-size: 11px; font-weight: 750; letter-spacing: .17em; margin: 0 0 10px; }
.hero h1 { margin: 0 0 13px; font-size: clamp(26px, 3vw, 36px); line-height: 1.4; letter-spacing: .02em; max-width: 760px; }
.hero .lead { margin: 0; max-width: 760px; color: #536170; line-height: 1.9; font-size: 15px; }
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 23px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 23px; border: 1px solid var(--brand); background: var(--brand); color: white; border-radius: 3px; font-size: 14px; font-weight: 650; line-height: 1.5; }
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: white; }
.button.secondary { background: white; color: var(--brand); border-color: var(--brand-line); }
.button.secondary:hover { background: var(--brand-soft); }
.hero-contact { font-size: 14px; color: var(--muted); margin-top: 18px; }
.hero-contact a, .hero-contact strong { color: var(--brand); font-weight: 650; }
.independence { border-top: 1px solid var(--line); margin: 22px 0 0; padding-top: 15px; color: #73808b; font-size: 12px; line-height: 1.7; }
.independence a { text-decoration: underline; }
.section-title { margin: 27px 0 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.section-title h2, h2.section-title { font-size: 20px; line-height: 1.5; font-weight: 750; }
.section-title h2 { margin: 0; }
.section-title > a, .section-title > p, .section-title > span { font-size: 12px; font-weight: 400; color: var(--muted); margin: 0; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 26px; }
.category-card { position: relative; display: block; min-height: 139px; padding: 18px; border: 1px solid var(--line); background: white; border-radius: 8px; transition: border-color .15s, box-shadow .15s; }
.category-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.category-code { display: block; font-size: 10px; color: var(--brand); letter-spacing: .1em; margin-bottom: 8px; font-weight: 700; }
.category-card h3 { font-size: 16px; margin: 0 0 7px; color: var(--ink); }
.category-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; padding-right: 17px; }
.category-card .count { display: inline-block; color: #8b959e; font-size: 11px; margin-top: 13px; }
.post-list { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.panel .post-list { border: 0; border-radius: 0; box-shadow: none; }
.post-card { display: flex; gap: 22px; padding: 23px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.post-card:last-child { border-bottom: 0; }
.post-thumb { display: block; flex: 0 0 155px; width: 155px; aspect-ratio: 1.4; border-radius: 6px; overflow: hidden; background: #f3f5f6; border: 1px solid #ebedef; }
.post-thumb img { width: 100%; height: 100%; display: block; object-fit: contain; transition: transform .2s; }
.post-thumb:hover img { transform: scale(1.035); }
.post-copy { min-width: 0; flex: 1; }
.post-meta, .meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; color: #8a949e; font-size: 11px; }
.post-meta a { color: var(--brand); }
.post-copy h2 { margin: 7px 0 8px; font-size: 18px; line-height: 1.6; font-weight: 700; }
.post-copy > p { font-size: 13px; color: var(--muted); margin: 0 0 9px; line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.read-link { font-size: 12px; color: var(--brand); font-weight: 600; }
.read-link:hover { text-decoration: underline; }
.pill { display: inline-flex; align-items: center; gap: 5px; background: var(--brand-soft); color: var(--brand); padding: 2px 9px; font-size: 11px; border-radius: 4px; }
.sidebar { min-width: 0; }
@media (min-width: 781px) {
  .sidebar { position: sticky; top: 20px; align-self: start; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #b5c9cf transparent; padding-bottom: 1px; }
  .sidebar:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
  .sidebar .panel:last-child { margin-bottom: 0; }
}
.sidebar .panel { margin-bottom: 20px; }
.sidebar p { font-size: 13px; color: var(--muted); }
.sidebar ul, .sidebar ol { padding: 0 20px; margin: 8px 0; list-style: none; }
.sidebar li { padding: 11px 0; font-size: 13px; line-height: 1.7; border-bottom: 1px solid #eef0f2; }
.sidebar li:last-child { border-bottom: 0; }
.sidebar li > a { display: block; }
.sidebar li .count, .sidebar small, .sidebar time { font-size: 11px; color: #89939c; }
.sidebar .panel > p, .sidebar .panel > .button, .sidebar .panel > .tag-cloud { margin: 18px 20px; }
.sidebar .panel > .button { width: calc(100% - 40px); }
.sidebar .search-form { margin: 17px; width: calc(100% - 34px); }
.sidebar .category-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-inline: 20px; padding: 13px 0; border-bottom: 1px solid #edf0f2; font-size: 13px; line-height: 1.65; }
.sidebar .category-link:last-child { border-bottom: 0; }
.sidebar .category-link span { flex: 0 0 auto; margin-left: auto; padding: 1px 7px; background: #f1f3f5; border-radius: 4px; color: #7b8792; font-size: 11px; }
.sidebar .sidebar-post { display: block; margin-inline: 20px; padding: 13px 0; border-bottom: 1px solid #edf0f2; font-size: 13px; line-height: 1.7; }
.sidebar .sidebar-post:last-child { border-bottom: 0; }
.sidebar-post time { display: block; margin-top: 5px; }
.main-column > .panel > .sidebar-post { display: block; margin-inline: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.8; }
.main-column > .panel > .sidebar-post:last-child { border-bottom: 0; }
.contact-number { display: block; margin: -8px 20px 12px; color: var(--brand); font-size: 23px; font-weight: 750; letter-spacing: .025em; line-height: 1.5; }
.sidebar .contact-panel > p { margin-block: 15px 11px; }
.contact-panel > .read-link { display: inline-block; margin: 2px 20px 20px; }
.search-form { display: flex; width: 100%; gap: 0; }
.search-form input { min-width: 0; flex: 1; width: 0; padding: 10px 12px; border: 1px solid #d7dde2; border-right: 0; border-radius: 5px 0 0 5px; background: #fff; color: var(--ink); font-size: 13px; }
.search-form input::placeholder { color: #909aa4; }
.search-form button { flex: 0 0 auto; border: 1px solid var(--brand); background: var(--brand); color: white; border-radius: 0 5px 5px 0; padding: 9px 14px; font-size: 13px; }
.search-form button:hover { background: var(--brand-dark); }
.search-panel { padding: 28px; margin-bottom: 20px; }
#search-status { margin: 16px 0; font-size: 13px; color: var(--muted); }
#search-results:empty { display: none; }
#search-results .post-card { background: white; }
#search-results .post-copy > p { -webkit-line-clamp: 3; }
.empty-state { padding: 35px 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }
.article-header { padding: 29px 34px 23px; border-bottom: 1px solid var(--line); }
.article-header h1 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.5; margin: 0 0 15px; font-weight: 750; overflow-wrap: anywhere; }
.article-header .meta { gap: 8px 16px; font-size: 12px; }
.article-header .meta a { color: var(--brand); }
.article-header > div:first-child { margin-bottom: 12px; }
.article-summary { margin: 18px 0 0; padding-left: 15px; border-left: 3px solid var(--brand); color: var(--muted); font-size: 14px; line-height: 1.9; }
.article-header + .toc { margin-top: 24px; }
.panel > .tag-cloud { padding: 0 34px 25px; }
.prose { padding: 28px 34px 36px; font-size: 16px; line-height: 1.95; color: #34404c; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1.25em; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--ink); line-height: 1.55; font-weight: 750; margin: 1.7em 0 .8em; }
.prose h1 { font-size: 27px; }
.prose h2 { font-size: 22px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.prose h3 { font-size: 19px; }
.prose h4 { font-size: 17px; }
.prose a { color: var(--brand); text-decoration: underline; }
.prose a:hover { color: var(--brand-dark); }
.prose ul, .prose ol { padding-left: 1.5em; margin: .6em 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose img { max-width: 100% !important; height: auto !important; vertical-align: middle; }
.prose img.aligncenter, .prose .aligncenter { display: block; margin-inline: auto; }
.prose figure { margin: 1.5em 0; max-width: 100%; }
.prose figcaption, .prose .wp-caption-text { color: var(--muted); font-size: 12px; text-align: center; margin: 8px 0; }
.prose .wp-caption { max-width: 100% !important; }
.prose table { display: block; width: 100% !important; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; margin: 1.4em 0; white-space: normal; overflow-wrap: normal; word-break: normal; }
.prose th, .prose td { padding: 10px 13px; border: 1px solid #dce2e6; min-width: 68px; vertical-align: top; }
.prose th { background: #f0f3f5; color: var(--ink); font-weight: 650; }
.prose tr:nth-child(even) td { background: #fafbfc; }
.prose blockquote { padding: 16px 20px; margin: 1.4em 0; border-left: 3px solid var(--brand); background: var(--brand-soft); color: #59636e; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose pre { max-width: 100%; overflow: auto; background: var(--navy); color: #e4eaf0; border-radius: 4px; padding: 18px 20px; line-height: 1.7; font-size: 13px; white-space: pre; }
.prose code { font-family: "Cascadia Code", Consolas, monospace; background: #eef1f4; padding: 2px 5px; border-radius: 3px; font-size: .88em; }
.prose pre code { padding: 0; background: transparent; color: inherit; font-size: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose iframe, .prose video { max-width: 100%; }
.toc { margin: 24px 34px 0; padding: 13px 18px; background: #f7f9fa; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.toc summary { cursor: pointer; font-weight: 650; }
.toc ol { padding-left: 22px; margin: 10px 0 3px; }
.toc li { padding: 3px 0; }
.article-footer { padding: 18px 34px; border-top: 1px solid var(--line); background: #fcfcfd; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 27px 0 6px; }
.pagination a, .pagination span { display: inline-flex; justify-content: center; align-items: center; padding: 7px 12px; min-width: 37px; border: 1px solid var(--line); border-radius: 5px; background: white; font-size: 13px; }
.pagination .current, .pagination [aria-current="page"] { background: var(--brand); border-color: var(--brand); color: white; }
.pagination a:hover { border-color: var(--brand); }
.tag-cloud { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0; }
.tag-cloud a { display: inline-block; padding: 4px 10px; background: #f3f5f7; border: 1px solid #e9ecef; color: #63707d; font-size: 12px; border-radius: 4px; line-height: 1.6; }
.tag-cloud a:hover { color: var(--brand); background: var(--brand-soft); border-color: var(--brand-line); }
.archive-year { color: var(--brand); font-size: 23px; margin: 28px 0 10px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.archive-row { display: flex; gap: 18px; padding: 12px 0; border-bottom: 1px solid #edf0f2; font-size: 14px; }
.archive-row time { color: #89939d; font-size: 12px; flex: 0 0 80px; padding-top: 2px; }
.archive-row a { min-width: 0; }
.site-footer { border-top: 1px solid #244056; background: var(--navy); color: #b9cbd9; font-size: 12px; }
.site-footer a:hover { color: #76dfd6; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr); gap: 70px; padding-top: 43px; padding-bottom: 35px; }
.footer-grid > div > a { display: block; width: fit-content; padding: 3px 0; }
.footer-grid h3, .footer-grid strong { color: white; font-size: 15px; }
.footer-grid h3 { margin: 0 0 10px; }
.footer-grid p { margin: 9px 0; max-width: 600px; line-height: 1.9; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 5px 0; }
.footer-bottom { padding: 19px 0; border-top: 1px solid #294358; font-size: 11px; color: #a8bfd0; }
.footer-bottom > .wrap { display: flex; justify-content: space-between; gap: 20px; }
.notice { border-left: 3px solid var(--brand); background: var(--brand-soft); padding: 14px 18px; font-size: 13px; color: #486b70; margin: 18px 0; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.resource-card { border: 1px solid var(--line); border-radius: 7px; padding: 20px; background: white; }
.resource-card h2, .resource-card h3 { margin: 0 0 10px; font-size: 16px; }
.resource-card p { margin: 0; font-size: 13px; color: var(--muted); }
.visually-hidden, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { margin: 0 0 6px; color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.main-column > .panel > .section-title { padding: 24px 28px; margin: 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.section-title h1 { margin: 5px 0 9px; font-size: 28px; line-height: 1.5; }
.section-title > div > p:not(.eyebrow) { margin: 6px 0 0; font-size: 13px; color: var(--muted); line-height: 1.8; }
.section-title > .count { flex: 0 0 auto; padding-top: 7px; }
.main-column > .panel:not(.hero) > h1 { font-size: 28px; line-height: 1.5; margin: 25px 28px 12px; }
.main-column > .panel:not(.hero) > p { margin: 10px 28px 20px; color: var(--muted); font-size: 14px; }
.main-column > .panel > label { display: block; margin: 13px 28px 9px; font-size: 14px; color: #526170; }
.main-column > .panel > input { display: block; width: calc(100% - 56px); margin: 0 28px 18px; padding: 12px 14px; border: 1px solid #d7dde2; border-radius: 6px; background: white; color: var(--ink); }
.main-column > .panel > .tag-cloud { padding: 4px 28px 28px; }
.tag-cloud a > span { color: #919aa2; font-size: 10px; margin-left: 3px; }
.main-column > .panel > .category-grid { padding: 3px 28px 28px; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-card h2 { margin: 0 0 12px; font-size: 17px; line-height: 1.65; }
.category-card > span:last-child { display: inline-block; margin-top: 12px; font-size: 12px; color: var(--brand); }
.main-column > .panel > .archive-year { margin-inline: 28px; }
.archive-year small { color: var(--muted); font-size: 12px; font-weight: 400; margin-left: 7px; }
.main-column > .panel > .archive-row { margin-inline: 28px; }
.main-column > .panel > .archive-row:last-child { margin-bottom: 24px; }
.main-column > .panel > .button { margin: 0 28px 25px; }
.main-column > .panel > noscript { display: block; margin: 18px 28px 24px; color: var(--muted); font-size: 13px; }
.main-column > .panel > #search-results:not(:empty) { border-top: 1px solid var(--line); }
@media (max-width: 1100px) {
  .header-inner { --logo-width: 220px; gap: 20px; }
  .main-nav { gap: 0; }
  .main-nav a { padding-inline: 12px; }
}
@media (max-width: 1020px) {
  .layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; }
  .brand-name { font-size: 18px; }
  .post-thumb { flex-basis: 128px; width: 128px; }
  .post-card { gap: 17px; padding: 20px; }
  .hero { padding: 28px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-header { padding: 25px; }
  .prose { padding: 25px; }
  .toc { margin-inline: 25px; }
}
@media (max-width: 960px) {
  .header-inner { --logo-width: 210px; min-height: 88px; flex-wrap: wrap; gap: 0 16px; padding-block: 16px; }
  .brand { max-width: calc(100% - 76px); }
  .brand > img, .brand-logo { max-width: 100%; }
  .header-contact, .header-note { display: none; }
  .mobile-toggle { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; margin-left: auto; }
  .main-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); flex: 0 0 100%; width: 100%; gap: 4px; margin: 15px 0 0; padding-top: 13px; border-top: 1px solid var(--line); }
  .main-nav a { min-width: 0; padding: 11px 8px; border-bottom-width: 2px; }
  .main-nav a:last-child { margin-left: 0; }
  .js .main-nav:not(.is-open) { display: none; }
}
@media (max-width: 780px) {
  .wrap { width: calc(100% - 32px); }
  .topbar > .wrap { font-size: 11px; min-height: 29px; }
  .brand { gap: 13px; }
  .brand-name { font-size: 16px; }
  main.wrap { padding-top: 19px; padding-bottom: 32px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; align-items: start; }
  .sidebar .panel { margin: 0; }
  .hero h1 { font-size: 28px; }
  .hero { margin-bottom: 22px; }
  .footer-grid { gap: 28px; grid-template-columns: minmax(0, 1.4fr) minmax(150px, 1fr); }
}
@media (max-width: 580px) {
  .main-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 24px); }
  .topbar > .wrap { gap: 8px; }
  .topbar .optional { display: none; }
  .header-inner { --logo-width: 170px; min-height: 82px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 14px; }
  .mobile-toggle { padding: 6px 9px; font-size: 12px; }
  .main-nav a { font-size: 13px; padding: 10px 7px; }
  .hero { padding: 23px 20px 20px; }
  .hero h1 { font-size: 24px; }
  .hero .lead { font-size: 14px; }
  .hero-actions { gap: 9px; margin-top: 20px; }
  .button { padding: 9px 15px; font-size: 13px; }
  .independence { font-size: 11px; margin-top: 18px; }
  .category-grid { gap: 10px; }
  .category-card { padding: 15px 13px; min-height: 133px; }
  .category-card h3 { font-size: 15px; }
  .category-card p { font-size: 11px; padding-right: 0; }
  .post-card { padding: 18px 15px; gap: 13px; }
  .post-thumb { flex-basis: 92px; width: 92px; aspect-ratio: 1; }
  .post-copy h2 { font-size: 16px; margin-top: 4px; line-height: 1.55; }
  .post-copy > p { font-size: 12px; margin-bottom: 5px; }
  .post-meta { font-size: 10px; gap: 4px 8px; }
  .read-link { font-size: 11px; }
  .sidebar { grid-template-columns: minmax(0, 1fr); }
  .article-header { padding: 22px 19px; }
  .article-header h1 { font-size: 24px; }
  .prose { padding: 23px 19px; font-size: 15px; line-height: 1.95; }
  .prose h2 { font-size: 20px; }
  .prose h3 { font-size: 18px; }
  .prose th, .prose td { padding: 8px 9px; }
  .toc { margin: 20px 19px 0; }
  .article-footer { padding: 17px 19px; }
  .archive-row { gap: 12px; font-size: 13px; }
  .archive-row time { flex-basis: 70px; font-size: 11px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 17px; padding-top: 25px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom > .wrap { flex-direction: column; gap: 4px; }
  .resource-grid { grid-template-columns: minmax(0, 1fr); }
  .search-panel { padding: 20px; }
  .main-column > .panel > .section-title { padding: 21px 19px; gap: 12px; flex-wrap: wrap; }
  .section-title h1 { font-size: 24px; }
  .main-column > .panel:not(.hero) > h1 { font-size: 24px; margin-inline: 19px; }
  .main-column > .panel:not(.hero) > p, .main-column > .panel > label, .main-column > .panel > noscript { margin-inline: 19px; }
  .main-column > .panel > input { width: calc(100% - 38px); margin-inline: 19px; }
  .main-column > .panel > .tag-cloud { padding-inline: 19px; }
  .main-column > .panel > .category-grid { padding-inline: 19px; grid-template-columns: minmax(0, 1fr); }
  .main-column > .panel > .archive-year, .main-column > .panel > .archive-row, .main-column > .panel > .button { margin-inline: 19px; }
}
.wechat-card { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0; padding: 20px; border: 1px solid #d4e8e7; background: #fff; color: var(--ink); max-width: 340px; width: 100%; text-align: center; }
.wechat-image-link { display: block; max-width: 100%; line-height: 0; background: #fff; }
.wechat-card img { display: block; width: 258px; height: auto; max-width: 100%; aspect-ratio: 1; border: 0; border-radius: 0; margin: 0; box-shadow: none; image-rendering: pixelated; }
.wechat-card figcaption { padding: 0; margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.wechat-card figcaption strong { display: block; color: var(--navy); font-size: 18px; }
.wechat-card figcaption p { margin: 6px 0; }
.wechat-card .wechat-mobile-help { font-size: 12px; }
.prose .wechat-card { margin: 20px 0 30px; }
.contact-with-qr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 40px; align-items: center; }
.contact-with-qr > .wechat-card { justify-self: end; }
@media (max-width: 780px) {
  .contact-with-qr { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .contact-with-qr > .wechat-card { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  body { background: white; color: black; }
  .wrap { width: 100%; }
  .topbar, .main-nav, .sidebar, .site-footer, .mobile-toggle, .hero-actions, .pagination, .toc, .breadcrumbs { display: none !important; }
  .layout { display: block; }
  .panel { box-shadow: none; border: 0; }
  .article-header, .prose { padding-inline: 0; }
  .prose a { color: black; }
  .prose pre { background: #eee; color: black; white-space: pre-wrap; }
  .prose img { max-height: 23cm; object-fit: contain; }
}
