/*
Theme Name: WordPres指南
Theme URI: http://wordpresszhinan.com/
Author: WordPres指南
Description: 面向中文 WordPress 初学者的轻量知识型主题，包含主题导航、入门路径、分类卡片与文章阅读体验。
Version: 1.9.7
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: wordpres-zhinan
*/

:root {
  --ink: #111827;
  --muted: #667085;
  --line: #e8e8e5;
  --paper: #fff;
  --soft: #f6f7f4;
  --night: #11100e;
  --navy: #152037;
  --orange: #ff6b1a;
  --orange-dark: #d94c05;
  --yellow: #f7c948;
  --green: #2a9d72;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(17, 24, 39, .09);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; top: 8px; left: 8px; z-index: 9999; padding: 8px 12px; background: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(17,24,39,.06); backdrop-filter: blur(14px); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; font-size: 21px; letter-spacing: -.6px; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; background: var(--orange); border-radius: 8px 8px 8px 2px; box-shadow: 0 6px 16px rgba(255,107,26,.28); font-family: Georgia, serif; }
.brand em { color: var(--orange); font-style: normal; }
.custom-logo { max-height: 44px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: #383b42; font-size: 15px; font-weight: 650; transition: .2s ease; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 12px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.nav-cta { color: #fff; background: var(--ink); }
.nav-cta:hover, .btn:hover { transform: translateY(-2px); }
.search-toggle, .menu-toggle { width: 44px; height: 44px; border: 0; border-radius: 11px; color: var(--ink); background: var(--soft); cursor: pointer; }
.menu-toggle { display: none; }
.search-panel { display: none; padding: 12px 0 18px; border-top: 1px solid var(--line); }
.search-panel.is-open { display: block; }
.search-form { display: flex; gap: 10px; }
.search-field { width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; outline: 0; }
.search-field:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,26,.1); }
.search-submit { min-width: 96px; border: 0; color: #fff; background: var(--orange); border-radius: 12px; font-weight: 800; cursor: pointer; }

/* Home hero */
.hero { position: relative; overflow: hidden; color: #fff; background-color: var(--night); background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 58px 58px; }
.hero::after { content: ""; position: absolute; width: 480px; height: 480px; right: -150px; top: -190px; border-radius: 50%; background: rgba(255,107,26,.15); filter: blur(10px); }
.hero-inner { position: relative; z-index: 1; min-height: 650px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 80px; padding-block: 82px 110px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; width: fit-content; margin-bottom: 23px; padding: 7px 14px; border: 1px solid rgba(255,107,26,.45); border-radius: 999px; color: #ffc8a9; font-size: 12px; font-weight: 900; letter-spacing: 1.6px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero h1 { max-width: 680px; margin: 0 0 24px; font-family: Georgia, "Songti SC", serif; font-size: clamp(45px, 5.6vw, 74px); line-height: 1.14; letter-spacing: -2.5px; }
.hero h1 em { color: var(--orange); font-style: italic; }
.hero-phrase { display: inline-block; white-space: nowrap; }
.hero-copy { max-width: 620px; margin: 0 0 30px; color: #d6d6d6; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-primary { color: #fff; background: var(--orange); box-shadow: 0 12px 30px rgba(255,107,26,.24); }
.btn-primary:hover { background: #ff7a32; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.05); }
.hero-note { margin: 20px 0 0; color: #8f98a7; font-size: 13px; }
.quick-paths { display: grid; gap: 14px; }
.quick-card { position: relative; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 18px; min-height: 112px; padding: 21px 24px; border: 1px solid rgba(255,255,255,.72); border-radius: 16px; background: var(--navy); transition: .2s ease; }
.quick-card:first-child { border-color: var(--orange); background: var(--orange); }
.quick-card:hover { transform: translateX(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.2); }
.quick-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; color: var(--yellow); background: rgba(255,255,255,.08); font-size: 22px; }
.quick-card:first-child .quick-icon { color: #fff; background: rgba(255,255,255,.16); }
.quick-card strong { display: block; margin-bottom: 4px; font-size: 17px; }
.quick-card span { color: #9aa5b8; font-size: 14px; }
.quick-card:first-child span { color: rgba(255,255,255,.82); }
.quick-arrow { font-size: 24px; }

/* Metrics and sections */
.metrics { position: relative; z-index: 2; margin-top: -36px; }
.metrics-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 30px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.metric { padding: 4px 26px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-family: Georgia, serif; font-size: 30px; line-height: 1.25; }
.metric span { color: var(--muted); font-size: 13px; }
.section { padding: 104px 0; }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-kicker { display: block; margin-bottom: 8px; color: var(--orange-dark); font-size: 12px; font-weight: 900; letter-spacing: 1.8px; text-transform: uppercase; }
.section h2, .archive-header h1 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(34px, 4vw, 52px); line-height: 1.22; letter-spacing: -1.4px; }
.section h2 em { color: var(--orange); }
.section-intro { max-width: 560px; margin: 12px 0 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-dark); font-weight: 850; white-space: nowrap; }
.text-link:hover { gap: 12px; }

.start-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.start-card { position: relative; overflow: hidden; min-height: 290px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .25s ease; }
.start-card:hover { transform: translateY(-7px); border-color: #ffd0b5; box-shadow: var(--shadow); }
.start-num { display: block; margin-bottom: 42px; color: #d6d6d2; font: italic 42px Georgia, serif; }
.start-card h3 { margin: 0 0 12px; font-size: 22px; }
.start-card p { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.start-card::after { content: ""; position: absolute; right: -45px; bottom: -55px; width: 150px; height: 150px; border-radius: 50%; background: var(--card-accent, #fff1e8); }

.feature-guide { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 28px; background: var(--ink); box-shadow: var(--shadow); }
.feature-art { position: relative; min-height: 430px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg,#ff6b1a 0 50%,#e8530a 50%); }
.feature-art::before { content: "W"; color: rgba(255,255,255,.95); font: 900 150px Georgia, serif; }
.feature-art::after { content: "WORDPRESS 入门"; position: absolute; bottom: 34px; padding: 7px 14px; color: #fff; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: 2px; }
.feature-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.feature-art:hover img { transform: scale(1.025); }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 60px; color: #fff; }
.feature-copy h3 { margin: 10px 0 20px; font-family: Georgia, "Songti SC", serif; font-size: 39px; line-height: 1.28; }
.feature-copy p { margin: 0 0 26px; color: #adb5c4; }
.feature-copy .btn { align-self: flex-start; }

.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.topic-card { display: flex; flex-direction: column; min-height: 236px; padding: 28px; border-radius: 19px; color: #fff; background: var(--navy); transition: transform .25s ease; }
.topic-card:nth-child(2n) { background: #1e293b; }
.topic-card:nth-child(3n) { color: var(--ink); background: #f7c948; }
.topic-card:hover { transform: translateY(-5px); }
.topic-top { display: flex; justify-content: space-between; align-items: center; }
.topic-no { color: rgba(255,255,255,.38); font: italic 26px Georgia, serif; }
.topic-card:nth-child(3n) .topic-no { color: rgba(17,24,39,.35); }
.topic-symbol { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); }
.topic-card h3 { margin: 32px 0 8px; font-size: 20px; }
.topic-card p { margin: 0 0 24px; color: #aeb6c5; font-size: 14px; }
.topic-card:nth-child(3n) p { color: #3d4350; }
.topic-count { display: block; margin: auto 0 8px; color: rgba(255,255,255,.56); font-size: 12px; font-weight: 800; }
.topic-card:nth-child(3n) .topic-count { color: rgba(17,24,39,.58); }
.topic-card .text-link { margin-top: auto; color: inherit; font-size: 14px; }

/* A shorter, calmer homepage rhythm. */
.home .hero-inner { min-height: 570px; gap: 60px; padding-block: 68px 94px; }
.home .section { padding: 82px 0; }
.home .section-head { margin-bottom: 32px; }
.home .start-card { min-height: 250px; padding: 30px; }
.home .start-num { margin-bottom: 24px; }
.home .topic-card { min-height: 205px; padding: 25px; }
.home .topic-card h3 { margin-top: 20px; }
.home .topic-card:nth-child(1) { background: linear-gradient(145deg, #ff6b1a, #df4d08); }
.home .topic-card:nth-child(2) { background: linear-gradient(145deg, #17233d, #24385f); }
.home .topic-card:nth-child(3) { color: #fff; background: linear-gradient(145deg, #16866a, #0e5e4c); }
.home .topic-card:nth-child(4) { background: linear-gradient(145deg, #6d4bc3, #4d3194); }
.home .topic-card:nth-child(5) { background: linear-gradient(145deg, #2176d2, #15529d); }
.home .topic-card:nth-child(6) { color: var(--ink); background: linear-gradient(145deg, #ffd45c, #f2b928); }
.home .topic-card:nth-child(3) p, .home .topic-card:nth-child(4) p, .home .topic-card:nth-child(5) p { color: rgba(255,255,255,.72); }
.home .topic-card:nth-child(6) p { color: #4b4024; }
.home .topic-card:nth-child(3) .topic-no, .home .topic-card:nth-child(4) .topic-no, .home .topic-card:nth-child(5) .topic-no { color: rgba(255,255,255,.42); }
.home .topic-card:nth-child(6) .topic-no { color: rgba(17,24,39,.36); }
.home .topic-card:nth-child(3) .topic-count, .home .topic-card:nth-child(4) .topic-count, .home .topic-card:nth-child(5) .topic-count { color: rgba(255,255,255,.62); }
.home .topic-card:nth-child(6) .topic-count { color: rgba(17,24,39,.58); }

.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.collection-card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(17,24,39,.04); }
.collection-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.collection-head > div { display: flex; align-items: center; gap: 12px; }
.collection-head span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: var(--orange); }
.collection-head h3 { margin: 0; font-size: 20px; }
.collection-head strong { color: #d0d3d8; font: italic 36px/1 Georgia, serif; }
.collection-list { margin: 22px 0; padding: 0; list-style: none; }
.collection-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.collection-list li:first-child { padding-top: 0; }
.collection-list a { font-weight: 720; line-height: 1.5; }
.collection-list a:hover { color: var(--orange-dark); }
.collection-list time { padding-top: 2px; color: var(--muted); font-size: 12px; white-space: nowrap; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: #fff; transition: .25s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-thumb { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; color: #fff; background: linear-gradient(145deg, var(--navy), #283857); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb.no-image::before { content: attr(data-letter); font: italic 86px Georgia, serif; opacity: .94; }
.post-thumb.no-image::after { content: "WORDPRES指南"; position: absolute; bottom: 15px; right: 17px; color: rgba(255,255,255,.6); font-size: 10px; font-weight: 900; letter-spacing: 1.4px; }
.post-card:nth-child(2n) .post-thumb { background: linear-gradient(145deg, #f56a1d, #d84a06); }
.post-card:nth-child(3n) .post-thumb { background: linear-gradient(145deg, #238263, #125444); }
.post-body { padding: 24px; }
.post-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.post-meta .cat { color: var(--orange-dark); font-weight: 800; }
.post-card h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.45; }
.post-card h3 a:hover { color: var(--orange-dark); }
.post-card p { margin: 0; color: var(--muted); font-size: 14px; }

.newsletter { padding: 72px 0; background: var(--orange); }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.newsletter h2 { margin: 0 0 7px; font-family: Georgia, "Songti SC", serif; font-size: 38px; line-height: 1.25; }
.newsletter p { margin: 0; color: #682200; }
.newsletter .btn { color: var(--ink); background: #fff; box-shadow: 0 12px 24px rgba(92,31,0,.16); }

/* Content views */
.page-shell { padding: 74px 0 110px; background: var(--soft); }
.breadcrumbs { margin: -22px 0 34px; color: var(--muted); font-size: 13px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 7px; color: #a8aeb8; }
.breadcrumbs a:hover { color: var(--orange-dark); }
.archive-header { max-width: 760px; margin-bottom: 45px; }
.archive-header p { color: var(--muted); }
.archive-description { margin-top: 12px; color: var(--muted); }
.archive-description p { margin: 0; }
.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; gap: 8px; }
.page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.page-numbers.current, .page-numbers:hover { color: #fff; border-color: var(--orange); background: var(--orange); }
.single-layout { display: grid; grid-template-columns: minmax(0, 780px) 280px; align-items: start; gap: 52px; }
.article { padding: 50px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.article-header h1 { margin: 12px 0 18px; font-family: Georgia, "Songti SC", serif; font-size: clamp(35px, 5vw, 56px); line-height: 1.2; letter-spacing: -1.4px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; padding-bottom: 26px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 13px; }
.article-featured { overflow: hidden; margin: 30px 0 0; border-radius: 16px; background: var(--soft); }
.article-featured img { width: 100%; max-height: 480px; object-fit: cover; }
.article-content { margin-top: 38px; color: #343b45; font-size: 17px; line-height: 1.9; }
.article-content > p { margin: 0 0 1.45em; text-wrap: pretty; }
.article-content > p:first-child:not(.image-block) { color: #454d58; font-size: 18px; line-height: 1.85; }
.article-content > ul, .article-content > ol { margin: 0 0 1.6em; padding-left: 1.4em; }
.article-content > ul li + li, .article-content > ol li + li { margin-top: .45em; }
.article-content ul > li { padding-left: .12em; }
.article-content ul > li::marker { color: var(--orange); font-size: .72em; }
.article-content li > ul { margin-top: .45em; padding-left: 1.25em; }
.article-content h2 { margin: 2.25em 0 .9em; padding: 0 0 13px 17px; border-left: 4px solid var(--orange); border-bottom: 1px solid var(--line); color: var(--ink); font-size: 30px; line-height: 1.35; letter-spacing: -.35px; scroll-margin-top: 112px; text-wrap: balance; }
.article-content h3 { position: relative; margin: 1.85em 0 .7em; padding-left: 15px; color: var(--ink); font-size: 23px; line-height: 1.45; scroll-margin-top: 112px; text-wrap: balance; }
.article-content h3::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.article-content h4 { margin: 1.6em 0 .65em; color: #252c36; font-size: 19px; line-height: 1.5; scroll-margin-top: 112px; }
.article-content a { color: var(--orange-dark); text-decoration: underline; }
.article-content blockquote { margin: 30px 0; padding: 18px 24px; border-left: 4px solid var(--orange); background: #fff5ee; }
.article-content pre { overflow: auto; padding: 20px; color: #fff; border-radius: 12px; background: #111827; }
.article-content .image-block { margin: 2.1em 0; line-height: 0; text-align: center; }
.article-content img { display: block; width: auto; max-width: 100%; height: auto; margin-inline: auto; border: 1px solid #e1e5e9; border-radius: 16px; background: #f7f8fa; box-shadow: 0 12px 34px rgba(17,24,39,.08); }
.article-content a > img { transition: transform .22s ease, box-shadow .22s ease; }
.article-content a:hover > img { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(17,24,39,.12); }
.article-content figure, .article-content .wp-caption { max-width: 100%; margin: 2.1em auto; }
.article-content figcaption, .article-content .wp-caption-text { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; text-align: center; }
.article-content .table-scroll { margin: 2em 0; overflow-x: auto; border: 1px solid #dfe3e8; border-radius: 15px; background: #fff; box-shadow: 0 10px 28px rgba(17,24,39,.06); -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #c4cad3 #f3f5f7; }
.article-content .table-scroll:focus-visible { outline: 3px solid rgba(255,107,26,.28); outline-offset: 3px; }
.article-content .table-scroll table { width: 100%; min-width: 620px; margin: 0; border: 0; border-collapse: collapse; border-spacing: 0; color: #29313d; font-size: 15px; line-height: 1.5; }
.article-content .table-scroll caption { padding: 13px 18px; color: var(--muted); background: #f8f9fb; font-size: 13px; text-align: left; }
.article-content .table-scroll thead { color: #fff; background: linear-gradient(135deg, #152037, #24385f); }
.article-content .table-scroll th { padding: 15px 18px; border-right: 1px solid rgba(255,255,255,.12); font-size: 14px; font-weight: 850; letter-spacing: .2px; text-align: left; white-space: nowrap; }
.article-content .table-scroll th:last-child { border-right: 0; }
.article-content .table-scroll td { padding: 14px 18px; border-top: 1px solid #e8ebef; vertical-align: middle; }
.article-content .table-scroll tbody tr:first-child td { border-top: 0; }
.article-content .table-scroll tbody tr:nth-child(even) { background: #f7f9fb; }
.article-content .table-scroll tbody tr { transition: background .18s ease; }
.article-content .table-scroll tbody tr:hover { background: #fff4ec; }
.article-content .table-scroll tbody td:first-child { color: var(--ink); font-weight: 750; }
.article-content .table-scroll a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 10px; border-radius: 7px; color: var(--orange-dark); background: #fff0e6; font-weight: 800; text-decoration: none; white-space: nowrap; }
.article-content .table-scroll a:hover { color: #fff; background: var(--orange); }
.article-content .contact-card { margin: 28px 0; padding: 24px; border: 1px solid #ffd7bf; border-radius: 16px; background: #fff6ef; }
.article-content .contact-card strong { display: block; margin-bottom: 4px; color: var(--ink); }
.article-content .contact-card a { font-size: 20px; font-weight: 850; text-decoration: none; }
.article-content .policy-note { padding: 16px 20px; border-radius: 12px; color: #5d3b29; background: #fff4e8; font-size: 14px; }
.essential-nav { position: sticky; top: 100px; }
.essential-nav a { display: block; padding: 7px 0; }
.single-layout > .sidebar { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 116px); padding-right: 4px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; }
.single-layout > .sidebar::-webkit-scrollbar { width: 0; height: 0; display: none; }
.sitemap-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.sitemap-group { padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: var(--soft); }
.sitemap-group h2 { margin-top: 0; font-size: 22px; }
.sitemap-group ul { margin-bottom: 0; }
.sitemap-summary { margin: 0 0 24px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--muted); }
.sitemap-all-posts { grid-column: 1 / -1; }
.sitemap-post-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.sitemap-post-group { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.sitemap-post-group h3 { margin: 0 0 12px; font-size: 18px; }
.sitemap-post-group ul { margin: 0; padding-left: 20px; }
.sitemap-post-group li + li { margin-top: 8px; }
.sitemap-post-date { margin-left: 8px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.article-footer { margin-top: 42px; padding-top: 25px; border-top: 1px solid var(--line); }
.sidebar-box { margin-bottom: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.sidebar-box h3 { margin: 0 0 10px; font-size: 17px; }
.sidebar-box p, .sidebar-box li { color: var(--muted); font-size: 14px; }
.sidebar-box ul { margin: 0; padding-left: 18px; }
.sidebar-box li + li { margin-top: 8px; }
.sidebar-latest h3 { margin-bottom: 14px; }
.latest-mini-list { display: grid; }
.latest-mini-card { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.latest-mini-card:first-child { padding-top: 0; }
.latest-mini-card:last-child { padding-bottom: 0; border-bottom: 0; }
.latest-mini-thumb { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; border-radius: 9px; color: #fff; background: linear-gradient(145deg, var(--navy), #283857); font: 800 24px Georgia, serif; }
.latest-mini-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .22s ease; }
.latest-mini-card:hover .latest-mini-thumb img { transform: scale(1.05); }
.latest-mini-copy { min-width: 0; }
.latest-mini-copy strong { display: -webkit-box; overflow: hidden; color: var(--ink); font-size: 13px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.latest-mini-card:hover strong { color: var(--orange-dark); }
.latest-mini-copy time { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.article-toc ol { margin: 0; padding-left: 20px; }
.article-toc li { font-size: 15.5px; line-height: 1.65; }
.article-toc li + li { margin-top: 8px; }
.article-toc a { display: block; padding: 1px 0; }
.article-toc a:hover { color: var(--orange-dark); }
.article-content .faq-section-title { margin-bottom: 20px; }
.faq-item { margin: 0 0 12px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.faq-item summary { position: relative; padding: 17px 50px 17px 20px; color: var(--ink); font-weight: 800; line-height: 1.5; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; top: 50%; right: 19px; width: 24px; height: 24px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 50%; color: var(--orange-dark); background: #fff1e8; font-size: 18px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer { padding: 18px 20px 2px; color: #3f4650; }
.faq-answer > :first-child { margin-top: 0; }
.faq-answer > :last-child { margin-bottom: 16px; }
.related-posts { margin-top: 62px; padding-top: 50px; border-top: 1px solid var(--line); }
.related-posts-head { margin-bottom: 28px; }
.related-posts-head h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(30px, 4vw, 42px); line-height: 1.25; }
.related-posts-grid .post-card { box-shadow: 0 10px 30px rgba(17,24,39,.04); }
.not-found { min-height: 55vh; display: grid; place-items: center; text-align: center; }
.not-found strong { display: block; color: var(--orange); font: 100px/1 Georgia, serif; }

/* Footer */
.site-footer { color: #c8ced8; background: #0d1422; }
.footer-main { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 56px; padding: 76px 0 58px; }
.site-footer .brand { color: #fff; }
.footer-about p { max-width: 350px; color: #8f99aa; font-size: 14px; }
.footer-col h3 { margin: 2px 0 18px; color: #fff; font-size: 15px; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: #8f99aa; font-size: 14px; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); color: #727d8e; font-size: 12px; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 70px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 10px 8px; }
  .header-actions { margin-left: auto; }
  .nav-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 55px; padding-block: 70px 100px; }
  .hero-copy { max-width: 700px; }
  .quick-paths { grid-template-columns: repeat(3, 1fr); }
  .quick-card { grid-template-columns: 42px 1fr; align-content: center; min-height: 145px; }
  .quick-arrow { display: none; }
  .metrics-inner { grid-template-columns: repeat(2,1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 18px; }
  .feature-guide { grid-template-columns: .8fr 1.2fr; }
  .feature-copy { padding: 42px; }
  .posts-grid, .topic-grid { grid-template-columns: repeat(2,1fr); }
  .collection-grid { grid-template-columns: 1fr; }
  .single-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(2,1fr); max-height: none; padding-right: 0; overflow: visible; }
  .footer-main { grid-template-columns: 1.5fr repeat(2,1fr); }
  .footer-col:last-child { display: none; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 66px; gap: 10px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 27px; height: 27px; }
  .search-toggle, .menu-toggle { width: 39px; height: 39px; }
  .hero-inner { min-height: auto; padding: 62px 0 88px; }
  .home .hero-inner { min-height: auto; padding: 56px 0 76px; }
	.hero h1 { font-size: clamp(36px, 11vw, 44px); letter-spacing: -1.3px; overflow-wrap: anywhere; }
	.hero-phrase { display: inline; white-space: normal; }
  .hero-copy { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .quick-paths { grid-template-columns: 1fr; }
  .quick-card { min-height: 96px; }
  .metrics { margin-top: -25px; }
  .metrics-inner { padding: 20px 14px; }
  .metric { padding-inline: 13px; }
  .metric strong { font-size: 24px; }
  .section { padding: 76px 0; }
  .home .section { padding: 64px 0; }
  .section-head { display: block; margin-bottom: 30px; }
  .section-head > .text-link { margin-top: 16px; }
  .start-grid, .topic-grid, .posts-grid { grid-template-columns: 1fr; }
  .collection-card { padding: 24px 20px; }
  .collection-list li { grid-template-columns: 1fr; gap: 3px; }
  .start-card { min-height: 250px; }
  .feature-guide { grid-template-columns: 1fr; }
  .feature-art { min-height: 260px; }
  .feature-copy { padding: 34px 26px 40px; }
  .feature-copy h3 { font-size: 31px; }
  .newsletter-inner { display: block; }
  .newsletter .btn { margin-top: 24px; }
  .article { padding: 30px 22px; }
  .article-header h1 { font-size: 36px; }
  .article-content { margin-top: 30px; font-size: 16px; line-height: 1.85; }
  .article-content > p:first-child:not(.image-block) { font-size: 17px; }
  .article-content h2 { margin-top: 2em; padding-left: 13px; font-size: 25px; }
  .article-content h3 { font-size: 21px; }
  .article-content h4 { font-size: 18px; }
  .article-content .image-block { margin: 1.6em 0; }
  .article-content img { border-radius: 12px; }
  .article-content .table-scroll { margin: 1.5em 0; border-radius: 12px; }
  .article-content .table-scroll table { min-width: 580px; font-size: 14px; }
  .article-content .table-scroll th, .article-content .table-scroll td { padding: 12px 14px; }
  .sidebar { grid-template-columns: 1fr; }
  .breadcrumbs { margin-top: -14px; }
  .sitemap-columns { grid-template-columns: 1fr; }
  .sitemap-post-groups { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 22px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
