/* ============================================================
  
   ============================================================ */

:root {
  --c1: #e67c48;          
  --c1-2: #ef9a63;
  --c1-d: #cf6733;
  --c2: #588c68;          
  --c2-d: #477157;
  --c2-l: #eef4ee;
  --soft: #f2d4bc;        
  --soft-l: #f9e9db;
  --bg: #fffaf5;          
  --card: #ffffff;
  --ink: #2b2b2b;         
  --mut: #696969;         

  --line: rgba(43, 43, 43, 0.09);
  --shadow-s: 0 4px 14px rgba(43, 28, 10, 0.07);
  --shadow-m: 0 14px 34px rgba(43, 28, 10, 0.1);
  --shadow-c1: 0 10px 22px rgba(230, 124, 72, 0.32);
  --r: 20px;
  --r-s: 13px;
  --head: "Georgia", "Times New Roman", "Songti SC", serif;
  --body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial,
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; line-height: 1.25; }
p { margin: 0; }
.wrap { width: min(1800px, 100% - 40px); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}


.top-bar {
  background: linear-gradient(90deg, var(--c1), var(--c1-2));
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.35px;
}
.top-bar .wrap {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding-block: 7px; text-align: center;
}
.top-bar b { font-weight: 700; }


.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 250, 245, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  padding-block: 13px;
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--c1), var(--c1-2));
  color: #fff; font-family: var(--head); font-size: 24px; font-weight: 700;
  box-shadow: var(--shadow-c1);
}
img.brand-mark {
  background: transparent;
  box-shadow: none;
  object-fit: cover;
  color: transparent;
  display: block;
}
.footer-brand img.brand-mark { background: transparent; }
.brand-text { line-height: 1.1; min-width: 0; }
.brand-name {
  display: block; font-family: var(--head); font-size: 21px; font-weight: 700;
  white-space: nowrap;
}
.brand-name em { font-style: normal; color: var(--c2); }
.brand-tag {
  display: block; margin-top: 2px; font-size: 10.5px; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--mut);
}
.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover { background: var(--soft-l); color: var(--c1-d); }
.main-nav a.on { background: var(--c1); color: #fff; box-shadow: var(--shadow-c1); }
.menu-btn {
  display: none; width: 44px; height: 44px; margin-left: auto; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card);
  place-items: center; box-shadow: var(--shadow-s);
}


.cat-bar {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}
.cat-bar .wrap { display: flex; align-items: center; gap: 10px; padding-block: 9px; }
.cat-label {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--c2);
}
.cat-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--c1); display: inline-block; }
.cat-strip {
  display: flex; gap: 8px; overflow-x: auto; padding-block: 2px;
  scrollbar-width: none; flex: 1;
}
.cat-strip::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
  white-space: nowrap; transition: all 0.2s;
}
.chip:hover { border-color: var(--c1); color: var(--c1-d); transform: translateY(-1px); }
.chip.on { background: var(--c1); border-color: var(--c1); color: #fff; box-shadow: var(--shadow-c1); }
.chip .dot { font-size: 14px; }


main.page { padding-block: 30px 70px; min-height: 56vh; }
.section { margin-top: 46px; }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 16px;
  margin-bottom: 20px;
}
.section-eyebrow {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--c1); margin-bottom: 5px;
}
.section-title { font-size: clamp(24px, 3.2vw, 34px); }
.section-title .amp { color: var(--c2); font-style: normal; }
.section-more {
  font-size: 14px; font-weight: 700; color: var(--c2); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px;
}
.section-more:hover { color: var(--c1-d); }


.hero-grid {
  display: grid; gap: 18px;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.8fr);
}
.hero-main, .hero-mini { position: relative; overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow-m); }
.hero-main { min-height: 470px; }
.hero-mini { min-height: 226px; }
.hero-main img, .hero-mini img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.6s ease;
}
.hero-main:hover img, .hero-mini:hover img { transform: scale(1.05); }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 12, 4, 0.05) 25%, rgba(20, 12, 4, 0.82) 100%);
}
.hero-side { display: grid; gap: 18px; }
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 24px 24px; color: #fff; z-index: 2;
}
.hero-copy .tag {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px;
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(230, 124, 72, 0.94); color: #fff;
}
.hero-copy .tag.green { background: rgba(88, 140, 104, 0.94); }
.hero-copy h2 {
  font-size: clamp(21px, 2.4vw, 30px); line-height: 1.28;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-mini .hero-copy h2 { font-size: 17px; -webkit-line-clamp: 2; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: 12.5px; opacity: 0.92; }
.no-ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 212, 188, 0.9), transparent 42%),
    linear-gradient(140deg, #f6cdaf, #e9b98f);
  display: grid; place-items: center;
}
.no-ph span {
  font-family: var(--head); font-size: 54px; color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 3px 12px rgba(140, 70, 25, 0.25);
}


.grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}
.grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card {
  background: var(--card); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-s); border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.25s, box-shadow 0.25s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.card-ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-ph img { transform: scale(1.06); }
.card-ph .no-ph span { font-size: 40px; }
.card-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  background: rgba(255, 255, 255, 0.94); color: var(--c1-d);
  box-shadow: var(--shadow-s);
}
.card-tag.green { color: var(--c2-d); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 {
  font-size: 17px; line-height: 1.42;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card h3:hover { color: var(--c1-d); }
.card-meta {
  margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 12px; color: var(--mut);
}
.card-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: #d5c9bd; }
.card-meta .cat { color: var(--c2); font-weight: 700; }


.cat-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cat-tile {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-s); transition: all 0.22s;
}
.cat-tile:hover { transform: translateY(-3px); border-color: var(--c1); box-shadow: var(--shadow-m); }
.cat-tile .em {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--soft-l);
  color: var(--c1-d); font-family: var(--head); font-size: 21px; font-weight: 700;
}
.cat-tile .tt { font-weight: 700; font-family: var(--head); font-size: 16px; }
.cat-tile .n { font-size: 11.5px; color: var(--mut); }
.cat-ico {
  display: inline-grid; place-items: center; width: 62px; height: 62px;
  margin-right: 14px; border-radius: 50%; vertical-align: middle;
  background: linear-gradient(140deg, var(--c1), var(--c1-2));
  color: #fff; font-family: var(--head); font-size: 27px; font-weight: 700;
  box-shadow: var(--shadow-c1);
}


.page-head {
  padding: 1px 0 15px; text-align: center;
}
.page-head h1 {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: clamp(28px, 4vw, 44px);
}
.page-head h1 em { font-style: normal; color: var(--c1); }
.page-head .lead { margin: 10px auto 0; max-width: 640px; color: var(--mut); font-size: 15px; }
.filterbar { display: flex; justify-content: center; margin: 24px 0 28px; }
.filterbar .cat-strip { justify-content: flex-start; width: 100%; }


.reader { max-width: 1540px; margin: 0 auto; }

.reader-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 44px;
  align-items: start;
}
.reader-main { min-width: 0; }
.reader-side {
  position: sticky;
  top: 118px;
  min-width: 0;
}
.side-rel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-s);
  padding: 24px 22px 14px;
  max-height: calc(100vh - 148px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--soft) transparent;
}
.side-rel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px;
}
.side-rel-title { font-size: 25px; line-height: 1.2; }
.side-rel-title .amp { color: var(--c2); font-style: normal; }
.side-rel-head .section-eyebrow { margin-bottom: 4px; }
.side-rel-head .section-more {
  flex: 0 0 auto;
  font-size: 13px;
  margin-top: 20px;
}
.side-rel-list { margin-top: 16px; padding-bottom: 8px; }
.rel-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 13px 4px;
  border-radius: 14px;
  transition: background 0.18s;
}
.rel-item:hover { background: var(--soft-l); }
.rel-item + .rel-item { border-top: 1px dashed var(--line); }
.rel-thumb {
  position: relative;
  flex: 0 0 132px;
  width: 132px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--soft-l);
  box-shadow: var(--shadow-s);
}
.rel-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rel-thumb .no-ph span { font-size: 30px; }
.rel-info { display: grid; gap: 4px; min-width: 0; }
.rel-cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--c2-d);
}
.rel-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rel-item:hover .rel-title { color: var(--c1-d); }
.rel-date { font-size: 12.5px; color: var(--mut); }
.backlink {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  font-weight: 700; font-size: 14px; color: var(--c2);
}
.backlink:hover { color: var(--c1-d); }
.article-head { text-align: center; padding: 10px 0 26px; }
.article-head h1 { font-size: clamp(26px, 4vw, 44px); line-height: 1.25; }
.article-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; }
.article-tags .tag {
  padding: 5px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: var(--soft-l); color: var(--c1-d);
}
.article-tags .tag.green { background: var(--c2-l); color: var(--c2-d); }
.article-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  margin-top: 14px; font-size: 13.5px; color: var(--mut);
}
.article-meta .at { font-weight: 700; color: var(--ink); }
.article-hero {
  position: relative; aspect-ratio: 16 / 9; max-height: 520px; overflow: hidden;
  border-radius: calc(var(--r) + 4px); box-shadow: var(--shadow-m);
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  transition: all 0.2s;
}
.btn-primary { background: var(--c1); color: #fff; box-shadow: var(--shadow-c1); }
.btn-primary:hover { background: var(--c1-d); transform: translateY(-1px); }
.article-body {
  margin-top: 26px; padding: 6px 2px 10px;
  font-size: 17px; line-height: 1.92; color: #38322b;
  overflow-wrap: break-word;
}
.article-body p { margin: 0 0 1.15em; }
.article-body strong { color: var(--ink); font-weight: 800; }
.article-body em { color: var(--c2-d); }
.article-body a { color: var(--c1-d); text-decoration: underline; text-underline-offset: 3px; }
.article-body img {
  display: block; width: 100%; height: auto; margin: 26px auto;
  border-radius: 16px; box-shadow: var(--shadow-m);
}
.article-body h2, .article-body h3, .article-body h4 {
  font-family: var(--head); color: var(--ink);
  margin: 1.6em 0 0.55em; line-height: 1.35;
}
.article-body h2 { font-size: clamp(21px, 2.6vw, 27px); }
.article-body h3 { font-size: clamp(18px, 2.1vw, 22px); }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.45em; }
.article-body li { margin: 0.35em 0; }
.article-body blockquote {
  margin: 1.3em 0; padding: 14px 20px;
  border-left: 3px solid var(--c1);
  border-radius: 0 14px 14px 0;
  background: var(--soft); color: var(--ink);
  font-family: var(--head); font-size: 18.5px;
}
.article-body blockquote p { margin: 0; }
.article-body hr { border: 0; border-top: 1px dashed var(--line); margin: 28px 0; }

/* Share widget on the detail page — warm theme */
.share-widget {
  margin: 44px 0 4px;
  padding-top: 30px;
  border-top: 1px dashed rgba(43, 43, 43, 0.16);
  text-align: center;
}
.share-widget .share-section { margin: 0; padding: 0; }
.share-widget .section-eyebrow { margin-bottom: 8px; }
.share-widget .detail-section-title {
  margin: 0;
  font-family: var(--head);
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.share-widget .detail-section-title .amp {
  color: var(--c2);
  font-style: italic;
}
.share-widget .share-buttons { margin-top: 22px; }
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  align-items: center;
}
.social-share-button {
  --share-fg: #2b2b2b;
  --share-bg: rgba(43, 43, 43, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  color: var(--share-fg);
  background: var(--share-bg);
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease, border-color 0.2s ease;
}
.social-share-button:hover {
  transform: translateY(-3px) scale(1.07);
  color: #fff;
  background: var(--share-fg);
  border-color: transparent;
  box-shadow: var(--shadow-m);
}
.social-share-button:active { transform: translateY(-1px) scale(1.02); }
.social-share-button__icon { width: 1em; height: 1em; }

/* Brand-tinted states per platform */
.social-share-button--twitter { --share-fg: #000000; --share-bg: #ececec; }
.social-share-button--facebook { --share-fg: #0866FF; --share-bg: #e5efff; }
.social-share-button--pinterest { --share-fg: #BD081C; --share-bg: #fde7ea; }
.social-share-button--linkedin { --share-fg: #0A66C2; --share-bg: #e5effa; }
.social-share-button--whatsapp { --share-fg: #1da851; --share-bg: #e2f6ea; }

/* Subtle ring when focus-keying through the page */
.social-share-button:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 2px;
}

.mono {
  width: 46px; height: 46px; border-radius: 50%; display: grid;
  place-items: center; background: var(--soft-l); color: var(--c1-d);
  font-family: var(--head); font-size: 19px; font-weight: 700;
  flex: 0 0 auto;
}


.static-hero {
  padding: 40px 0 10px; text-align: center;
}
.static-hero .kicker { color: var(--c1); letter-spacing: 2px; font-weight: 700; font-size: 12px; text-transform: uppercase; }
.static-hero h1 { font-size: clamp(30px, 5vw, 48px); margin-top: 8px; }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-s); padding: 30px clamp(18px, 4vw, 42px); margin-top: 26px;
}
.panel-section { padding: 14px 0; }
.panel-section + .panel-section { border-top: 1px dashed var(--line); }
.panel-section h2 { font-size: 21px; color: var(--c1-d); margin-bottom: 10px; }
.panel-section h3 { font-size: 17px; margin: 14px 0 6px; }
.panel-section p, .panel-section li { color: #4a4a4a; font-size: 15px; margin: 8px 0; }
.panel-section ul { list-style: disc; padding-left: 22px; }
.value-grid {
  display: grid; gap: 14px; margin-top: 18px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.value-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 18px;
}
.value-card .em { font-size: 26px; }
.value-card h3 { margin: 8px 0 6px; font-family: var(--head); }
.value-card p { font-size: 13.5px; color: var(--mut); }
.contact-row {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  margin-top: 12px;
}
.contact-row .em { font-size: 24px; }
.contact-row h3 { font-size: 16px; }
.contact-row a { color: var(--c1-d); font-weight: 700; word-break: break-all; }


.state-box {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 90px 20px; text-align: center;
}
.spinner {
  width: 46px; height: 46px; border-radius: 50%;
  border: 4px solid var(--soft); border-top-color: var(--c1);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.state-box h3 { font-family: var(--head); font-size: 22px; }
.state-box p { color: var(--mut); font-size: 14.5px; max-width: 420px; }
.state-box .emoji { font-size: 44px; }


.site-footer { background: #2f2a24; color: #d9cdbd; margin-top: 30px; }
.footer-grid {
  display: grid; gap: 30px; padding-block: 44px 34px;
  grid-template-columns: 1.3fr 1fr 1fr;
}
.footer-brand .brand-mark { background: linear-gradient(140deg, var(--c1), var(--c1-2)); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name em { color: var(--soft); }
.footer-brand p { font-size: 13.5px; color: #b6a992; margin-top: 14px; max-width: 300px; }
.footer-col h4 {
  font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--soft); margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: 14px; color: #d9cdbd; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 16px;
  font-size: 12.5px; color: #9a8c7b;
}
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }


.sheet {
  position: fixed; inset: 0; z-index: 80; display: none;
}
.sheet.open { display: block; }
.sheet-mask { position: absolute; inset: 0; background: rgba(30, 20, 8, 0.45); }
.sheet-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(330px, 86vw);
  background: var(--bg); padding: 22px 20px; overflow-y: auto;
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.18);
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sheet-head .brand-name { font-size: 19px; }
.sheet-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; }
.sheet-nav a {
  display: block; padding: 12px 6px; font-weight: 600; border-bottom: 1px solid var(--line);
}
.sheet-nav a.on { color: var(--c1-d); }
.sheet-cats { display: grid; gap: 8px; margin-top: 18px; }
.sheet-cats h4 { font-size: 12px; letter-spacing: 1.6px; color: var(--mut); text-transform: uppercase; margin-bottom: 6px; }
.sheet-cats .chip { justify-content: flex-start; width: 100%; }


@media (max-width: 1100px) {
  .reader-layout { grid-template-columns: 1fr; gap: 30px; }
  .reader-side { position: static; }
  .side-rel { max-height: none; }
  .side-rel-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }
  .side-rel-list .rel-item + .rel-item { border-top: none; }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { min-height: 300px; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .main-nav { display: none; }
  .menu-btn { display: grid; }
  .hero-side { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand p { max-width: none; }
  .wrap { width: min(1800px, 100% - 28px); }
  .card h3 { font-size: 16px; }
  .side-rel-list { grid-template-columns: 1fr; }
  .side-rel-list .rel-item + .rel-item { border-top: 1px dashed var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}


.page-meta-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-bottom: 18px;
}
.page-chip {
  display: inline-block; padding: 5px 13px;
  border-radius: 999px; background: var(--c2-l);
  border: 1px solid rgba(88, 140, 104, 0.25);
  color: var(--c2-d); font-size: 12px; font-weight: 700;
  letter-spacing: 0.4px;
}
.lede-lg {
  font-family: var(--head); font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.65; color: #5b4b3a; max-width: 780px;
  margin-inline: auto; text-align: center;
}
.note {
  margin-top: 18px; padding: 14px 18px;
  background: var(--soft-l); border: 1px solid rgba(230, 124, 72, 0.22);
  border-left: 4px solid var(--c1); border-radius: 14px;
  color: #5a4636; font-size: 14.5px;
}
.note b { color: var(--c1-d); }
.panel-section a:not(.btn) {
  color: var(--c1-d); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: rgba(230, 124, 72, 0.35);
}
.panel-section a:not(.btn):hover { color: var(--c2-d); }
.menu-mini {
  display: grid; gap: 10px; margin-top: 16px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.menu-mini .mini {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 14px; padding: 13px 15px;
}
.menu-mini .mini .ic {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--soft); color: var(--c1-d);
  font-family: var(--head); font-weight: 700;
}
.menu-mini .mini h4 { font-size: 15px; }
.menu-mini .mini p { font-size: 12.5px; color: var(--mut); margin-top: 2px; }
.tick-list li {
  position: relative; padding-left: 28px; margin: 9px 0;
  font-size: 15px;
}
.tick-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--c2); font-weight: 800;
}
.steps { margin-top: 14px; }
.steps li {
  counter-increment: step-counter; position: relative;
  padding: 0 0 14px 48px; font-size: 15px;
}
.steps li::before {
  content: counter(step-counter); position: absolute; left: 0; top: 2px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--soft); color: var(--c1-d);
  display: grid; place-items: center;
  font-family: var(--head); font-weight: 700;
}
.steps { counter-reset: step-counter; list-style: none; }
.steps li + li { border-top: 1px dashed var(--line); padding-top: 14px; }


.nav-tools {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-tools .main-nav { margin-left: 0; }
.search-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: all 0.2s;
}
.search-icon:hover { background: var(--soft-l); color: var(--c1-d); }
.search-icon.open {
  background: var(--c1);
  color: #fff;
  box-shadow: var(--shadow-c1);
}
.search-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(460px, calc(100vw - 28px));
  z-index: 70;
  
  opacity: 0;
  transform: translateX(12px);
  transform-origin: right center;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.search-panel.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px; 
  box-sizing: border-box;
  padding: 0 4px 0 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px 12px 12px 999px;
  box-shadow: var(--shadow-m);
}
.search-ico { flex: 0 0 auto; color: var(--c2); }
.search-box input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 0;
}
.search-box input::placeholder { color: #a89a8a; }
.search-close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--mut);
  transition: all 0.2s;
}
.search-close:hover { background: var(--soft-l); color: var(--c1-d); }
.search-results {
  margin-top: 8px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-m);
  max-height: min(420px, 56vh);
  overflow-y: auto;
}
.rs-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: center;
  padding: 11px 16px;
  transition: background 0.18s;
}
.rs-item:hover { background: var(--soft-l); }
.rs-item + .rs-item { border-top: 1px dashed var(--line); }
.rs-cat {
  grid-row: 1 / 3;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--c2-d);
}
.rs-title { color: var(--ink); font-weight: 600; line-height: 1.35; }
.rs-item:hover .rs-title { color: var(--c1-d); }
.rs-date { color: var(--mut); font-size: 12px; }
.rs-title mark {
  background: transparent;
  color: var(--c1-d);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--soft);
  text-underline-offset: 3px;
}
.rs-none { margin: 0; padding: 14px 16px; color: var(--mut); font-size: 14px; }


.featured-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.f-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--r);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
}
.f-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); color: inherit; }
.f-ph {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: var(--soft-l);
}
.f-ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.f-card:hover .f-ph img { transform: scale(1.05); }
.f-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 18px 0;
  font-size: 12px;
  color: var(--mut);
}
.f-line time {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.f-line time::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d5c9bd;
}
.f-cat {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--c1);
}
.f-card h3 {
  margin: 10px 18px 0;
  font-size: 19px;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.f-card:hover h3 { color: var(--c1-d); }
.f-ex {
  margin: 10px 18px 0;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--mut);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.f-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px 16px;
}
.f-author {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.f-author::before {
  content: "";
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--c1), var(--c1-2));
  color: #fff;
  box-shadow: var(--shadow-c1);
}
.f-read {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--c2-d);
  background: var(--soft-l);
  transition: background 0.2s, color 0.2s;
}
.f-card:hover .f-read { background: var(--c2); color: #fff; }

@media (max-width: 1000px) {
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .featured-grid { grid-template-columns: minmax(0, 1fr); }
}


.hot-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hot-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--r);
  box-shadow: var(--shadow-s);
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
}
.hot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  color: inherit;
}
.hot-num {
  flex: 0 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -2px;
  color: #e9b48a;
  min-width: 40px;
  text-align: left;
}
.hot-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}
.hot-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--mut);
}
.hot-line time {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hot-line time::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d5c9bd;
}
.hot-title {
  margin: 10px 0 0;
  font-size: 17.5px;
  line-height: 1.4;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-card:hover .hot-title { color: var(--c1-d); }
.hot-ex {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mut);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.hot-card .f-read { padding: 6px 13px; }

@media (max-width: 1000px) {
  .hot-grid { grid-template-columns: minmax(0, 1fr); }
}
