/* Compatibility additions; page layout and typography come from the reference CSS. */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/local/mcpservers/fonts/geist-latin-wght-normal-BgDaEnEv.woff2") format("woff2-variations");
}
.site-logotype {
  display:inline-flex;
  align-items:center;
  gap:0;
  padding:0;
  font-family:"Geist Sans","Geist Variable",Arial,Helvetica,sans-serif;
  font-style:normal;
  font-weight:400;
  letter-spacing:-1.3px;
  text-transform:none;
  white-space:nowrap;
}
.header .navbar-brand-section .site-logo-text.site-logotype,
.site-footer a.site-footer__name .site-logotype {
  display:inline-flex;
  font-size:30px;
  line-height:1;
  overflow:visible;
}
.header .navbar-brand-section .site-logo-text.site-logotype { gap:12px; }
.site-brand-copy {
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  line-height:1;
}
.site-brand-name {
  color:currentColor;
  font-family:"Geist Sans","Geist Variable",Arial,Helvetica,sans-serif;
  font-size:34px;
  font-style:normal;
  font-weight:400;
  line-height:1;
  letter-spacing:-.04em;
  white-space:nowrap;
}
.site-brand-period {
  display:inline-block;
  width:.13em;
  height:.13em;
  margin:0 .055em 0 .075em;
  background:currentColor;
  transform:translateY(-.02em);
}
.site-brand-tagline {
  color:#64748b;
  font-size:11px;
  font-weight:400;
  line-height:1.1;
  letter-spacing:.12em;
  text-transform:uppercase;
  white-space:nowrap;
}
.site-logotype .site-brand-mark {
  display:block;
  flex:none;
  width:40px;
  height:40px;
  max-width:none;
  object-fit:contain;
}
@media(max-width:991px) {
  .header .navbar-brand-section .site-logo-text.site-logotype { gap:8px; }
  .site-brand-name { font-size:30px; }
  .site-brand-tagline { font-size:10px; }
  .navbar-brand .site-logotype .site-brand-mark { width:36px; height:36px; }
}
@media(max-width:767px) {
  .site-brand-tagline { display:none; }
  .site-brand-name { font-size:27px; }
}
@media(max-width:360px) {
  .header .navbar-brand-section .site-logo-text.site-logotype { gap:7px; }
  .site-brand-name { font-size:24px; }
  .navbar-brand .site-logotype .site-brand-mark { width:32px; height:32px; }
}
.home-editorial__hero-grid {
  grid-template-columns:minmax(0,1fr);
  gap:0;
}
.home-editorial__intro { max-width:820px; }
.home-editorial__hero .home-editorial__statement {
  max-width:28ch;
  font-size:44px;
  font-weight:650;
  line-height:1.3;
}
.home-editorial__description { max-width:700px; margin-top:20px; }
.home-editorial__actions { margin-top:26px; }
@media(max-width:720px) {
  .home-editorial__hero .home-editorial__statement { font-size:34px; line-height:1.4; }
}
[hidden] { display:none !important; }
/* Keep the footer focused on navigation and the remaining QR resource. */
.site-footer .site-footer__name,
.site-footer .site-footer__socials,
.site-footer .site-footer__qr figcaption { display:none !important; }
.local-search-title { margin:.3rem 0; font-size:1rem; line-height:1.65; }
.local-search-meta { font-size:.75rem; color:var(--text-muted); }
.local-search-empty { padding:2rem 0; color:var(--text-muted); }
.search-pagination { display:flex; align-items:center; justify-content:center; gap:.5rem; }
.local-page-button { min-width:40px; min-height:40px; margin:4px; padding:.4rem .8rem; border:1px solid var(--border-color); border-radius:6px; background:transparent; color:var(--text-color); }
.local-page-button:hover,.local-page-button.is-active { border-color:var(--primary-color); color:var(--primary-color); }
.local-embed-link { display:flex; min-height:120px; align-items:center; justify-content:center; padding:2rem; border:1px solid var(--border-color); border-radius:8px; }

.about-page--site .about-page__portrait { border-radius:0; object-fit:contain; }
.about-page--site .about-content-panel .content > h2:first-child { margin-top:0; }

/* Keep editorial menu destinations aligned with the directory homepage container. */
html body.editorial-site.editorial-list-page main .container-xl,
html body.editorial-site .about-page.about-page--site {
  width:100%;
  max-width:40rem;
  margin-inline:auto;
  padding-inline:1rem;
}
@media (min-width:48rem) {
  html body.editorial-site.editorial-list-page main .container-xl,
  html body.editorial-site .about-page.about-page--site { max-width:48rem; }
}
@media (min-width:64rem) {
  html body.editorial-site.editorial-list-page main .container-xl,
  html body.editorial-site .about-page.about-page--site { max-width:64rem; }
}
@media (min-width:80rem) {
  html body.editorial-site.editorial-list-page main .container-xl,
  html body.editorial-site .about-page.about-page--site { max-width:80rem; }
}
@media (min-width:96rem) {
  html body.editorial-site.editorial-list-page main .container-xl,
  html body.editorial-site .about-page.about-page--site { max-width:96rem; }
}
html body.editorial-site.editorial-list-page .article-directory-content,
html body.editorial-site.editorial-list-page .book-directory-content {
  max-width:none;
}
html body.editorial-site .about-page.about-page--site .about-panel {
  max-width:none;
  margin-inline:0;
}
html body.editorial-site .about-page.about-page--site .container-xl {
  width:100%;
  max-width:none;
  margin-inline:0;
  padding-inline:0;
}

/* Keep secondary resource labels available to CMS data while hiding them in the compact menu. */
.site-menu #menu-resources-panel {
  width:336px;
  max-width:calc(100vw - 32px);
  max-height:calc(100dvh - 96px);
  overflow-y:auto;
  overscroll-behavior:contain;
}
#menu-resources-panel .resource-menu__category {
  padding:3px 0 7px;
  border-radius:6px;
}
#menu-resources-panel .resource-menu__category:hover,
#menu-resources-panel .resource-menu__category:focus-within {
  background:rgba(10,132,255,.08);
}
.site-menu #menu-resources-panel .resource-menu__category > a {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:9px;
  min-height:30px;
  padding:5px 12px;
  background:transparent;
  font-weight:550;
}
.site-menu #menu-resources-panel .resource-menu__label { min-width:0; }
.site-menu #menu-resources-panel .resource-menu__icon {
  display:inline-flex;
  width:18px;
  height:18px;
  flex:0 0 18px;
  align-items:center;
  justify-content:center;
  color:currentColor;
}
.site-menu #menu-resources-panel .resource-menu__icon svg {
  display:block;
  width:18px;
  height:18px;
}
.site-menu #menu-resources-panel .resource-menu__tags { display:none; }
.resource-menu__tags {
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  padding:2px 12px 3px;
}
.resource-menu__tag {
  display:inline-block;
  padding:2px 7px;
  border:1px solid rgba(100,116,139,.12);
  border-radius:4px;
  background:rgba(100,116,139,.07);
  color:var(--text-muted,#64748b);
  font-size:11px;
  font-weight:400;
  line-height:1.5;
  cursor:default;
}
.dark-mode .resource-menu__tag {
  border-color:rgba(148,163,184,.18);
  background:rgba(148,163,184,.1);
}
@media(max-width:991px) {
  .site-menu #menu-resources-panel {
    width:auto;
    max-width:none;
    max-height:none;
    overflow:visible;
  }
  .site-menu #menu-resources-panel .resource-menu__category > a { padding-left:10px; }
  .resource-menu__tags { padding-left:10px; }
}

@media(max-width:767px) {
  .site-footer {
    padding:28px 0 max(16px, env(safe-area-inset-bottom));
  }
  .site-footer > .container-xl { padding-inline:20px; }
  .site-footer li { margin:0; }
  .site-footer__main {
    grid-template-columns:minmax(0,1fr);
    gap:24px;
    padding-bottom:24px;
  }
  .site-footer a.site-footer__name .site-logotype { gap:8px; font-size:26px; }
  .site-footer .site-brand-mark { width:36px; height:36px; object-fit:contain; }
  .site-footer__identity p {
    max-width:none;
    margin-top:8px;
    font-size:14px;
    line-height:1.75;
  }
  .site-footer .site-footer__socials { gap:6px; margin-top:10px; }
  .site-footer__navigation {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
  }
  .site-footer__group:last-child { grid-column:auto; }
  .site-footer__group:last-child ul { display:block; }
  .site-footer .site-footer__heading {
    margin-bottom:6px;
    font-size:13px;
    line-height:1.5;
  }
  .site-footer:lang(en) .site-footer__heading { min-height:3em; }
  .site-footer__group a {
    min-height:44px;
    padding:10px 0;
    font-size:13px;
    line-height:1.6;
    overflow-wrap:break-word;
  }
  .site-footer__qr {
    grid-template-columns:minmax(0,1fr) var(--footer-qr-size);
    align-items:center;
    gap:16px;
    padding:14px;
    border:1px solid var(--footer-border);
    border-radius:12px;
    background:rgba(100,116,139,.035);
  }
  .site-footer__qr figcaption {
    grid-column:1;
    grid-row:1;
    min-width:0;
    max-width:none;
    gap:6px;
    text-align:left;
    overflow-wrap:break-word;
  }
  .site-footer__qr img {
    grid-column:2;
    grid-row:1;
    justify-self:end;
  }
  .site-footer__bottom {
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
    padding-top:16px;
  }
  .site-footer__credits { max-width:100%; overflow-wrap:break-word; }
  .site-footer .site-footer__utilities {
    width:100%;
    gap:0 20px;
  }
  .site-footer .site-footer__utilities a { min-height:44px; padding:8px 0; }
}

/* Homepage middle content follows the learning-and-reading visual reference. */
.home-editorial {
  --home-ink:#172338;
  --home-text:#53657a;
  --home-muted:#8796a8;
  --home-blue:#0876d1;
  --home-blue-soft:#edf5fc;
  --home-surface:#f4f7fa;
  color:var(--home-text);
  background:#fff;
}
.home-editorial a { text-decoration:none; }
.home-editorial__hero {
  padding:calc(var(--header-height) + 3rem) 0 3.25rem;
}
.home-editorial__hero-grid {
  grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr);
  align-items:start;
  gap:clamp(2rem,4vw,3rem);
}
.home-editorial__intro { min-width:0; max-width:none; padding:0 0 .75rem; }
.home-editorial__hero-kicker,
.home-editorial__hero-note {
  margin:0;
  color:var(--home-muted);
  font-size:.75rem;
  line-height:1.7;
}
.home-editorial__statement {
  min-width:0;
  width:100%;
  max-width:100% !important;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  overflow-wrap:anywhere;
  white-space:normal;
  margin:0 0 1.1rem !important;
  color:var(--home-ink) !important;
  font-size:clamp(2.55rem,4vw,3.25rem) !important;
  font-weight:700 !important;
  letter-spacing:-.055em !important;
  line-height:1.18 !important;
}
.home-editorial__description {
  max-width:39rem;
  margin:0;
  color:var(--home-text);
  font-size:1rem;
  line-height:1.85;
}
.home-editorial__actions { display:flex; flex-wrap:wrap; align-items:center; gap:1.2rem; margin-top:1.45rem; }
.home-editorial__button {
  display:inline-flex;
  align-items:center;
  gap:.75rem;
  min-height:42px;
  padding:.65rem 1.1rem;
  color:#fff !important;
  border-radius:7px;
  background:var(--home-blue);
  box-shadow:0 8px 18px rgba(8,118,209,.18);
  font-size:.8rem;
  font-weight:700;
}
.home-editorial__button:hover { color:#fff !important; background:#0769b9; }
.home-editorial__hero-secondary { min-height:42px; }
.home-editorial__hero-note { margin-top:1.3rem; font-size:.7rem; }
.home-editorial__daily {
  min-height:0;
  padding:1.4rem 1.5rem 1rem;
  border:0;
  border-radius:16px;
  background:#f4f8fc;
}
.home-editorial__daily-head { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding-bottom:.35rem; }
.home-editorial__daily-head h2 { margin:0; color:var(--home-ink); font-size:1.1rem; font-weight:650; line-height:1.5; }
.home-editorial__daily-list { display:grid; gap:0; margin:.15rem 0 0; padding:0; list-style:none; }
.home-editorial__daily-item { display:grid; grid-template-columns:1.4rem minmax(0,1fr); align-items:start; gap:.65rem; margin:0; padding:.8rem 0; border-bottom:1px solid rgba(100,116,139,.12); }
.home-editorial__daily-item:last-child { padding-bottom:.25rem; border-bottom:0; }
.home-editorial__daily-num { display:block; padding-top:.2rem; color:#8592a3; font-size:.72rem; font-weight:500; line-height:1.55; font-variant-numeric:tabular-nums; }
.home-editorial__daily-item a { display:block; min-width:0; }
.home-editorial__daily-item h3 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; margin:0; color:var(--home-ink); font-size:.95rem; font-weight:550; line-height:1.55; white-space:normal; overflow-wrap:break-word; overflow:hidden; }
.home-editorial__daily-item p { margin:.4rem 0 0; color:#6b7b90; font-size:.75rem; font-weight:400; line-height:1.5; }
.home-editorial__daily-meta { display:flex; align-items:baseline; flex-wrap:wrap; gap:.4rem; }
.home-editorial__daily-meta-separator { color:#a6b0be; }
.home-editorial__daily-meta time { font-variant-numeric:tabular-nums; }
.home-editorial__daily-item a:hover h3 { color:var(--home-blue); }
.home-editorial__section { padding:2.45rem 0; }
.home-editorial__start-section { padding-top:1.25rem; }
.home-editorial__section-head { margin-bottom:1.2rem; }
.home-editorial__section-head h2 { margin:.35rem 0 0; color:var(--home-ink); font-size:1.45rem; font-weight:700; letter-spacing:-.04em; line-height:1.4; }
.home-editorial__start-section .home-editorial__section-head { margin-bottom:1.1rem; }
.home-editorial__work-grid { grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr); gap:1.1rem; align-items:stretch; }
.home-editorial__book {
  min-height:340px;
  display:grid;
  grid-template-columns:255px minmax(0,1fr);
  gap:1.8rem;
  align-items:center;
  padding:1.6rem 1.8rem 1.6rem 1.4rem;
  border:0 !important;
  border-radius:16px;
  background:#edf4fb;
}
.home-editorial__book:hover { background:#e7f1fb; }
.home-editorial__book-cover {
  width:226px;
  height:286px;
  min-height:0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:1.55rem 1.3rem;
  color:#fff;
  border:0;
  border-radius:2px 6px 6px 2px;
  background:#101a30;
  box-shadow:10px 12px 0 rgba(16,26,48,.13);
  transform:rotate(-4deg);
}
.home-editorial__book-series { font-size:.55rem; letter-spacing:.08em; line-height:1.5; }
.home-editorial__book-name { max-width:190px; color:#fff; font-size:1.45rem; font-weight:700; line-height:1.35; letter-spacing:-.04em; }
.home-editorial__book-rule { width:2.75rem; height:3px; background:var(--home-blue); }
.home-editorial__book-subtitle { color:#fff; font-size:.85rem; line-height:1.7; }
.home-editorial__book-author { margin-top:auto; color:#fff; font-size:.68rem; }
.home-editorial__book-copy { min-width:0; }
.home-editorial__eyebrow { color:var(--home-muted); font-size:.9rem; line-height:1.6; }
.home-editorial__book-copy h3 { max-width:24rem; margin:.55rem 0 .8rem; color:var(--home-ink); font-size:1.15rem; line-height:1.5; }
.home-editorial__book-copy p { max-width:25rem; margin:0; color:var(--home-text); font-size:1rem; line-height:1.75; }
.home-editorial__book-copy .home-editorial__text-link { margin-top:.8rem; }
.home-editorial__text-link { display:inline-flex; align-items:center; gap:.65rem; min-height:36px; color:var(--home-blue) !important; font-size:.78rem; font-weight:700; }
.home-editorial__text-link:hover { color:#0769b9 !important; }
.home-editorial__projects { display:grid; gap:1.1rem; }
.home-editorial__project {
  min-height:calc((340px - 1.1rem)/2);
  display:grid;
  grid-template-columns:2.9rem minmax(0,1fr) auto;
  gap:.8rem;
  align-items:start;
  padding:1.5rem 1.45rem 1.35rem;
  border:0 !important;
  border-radius:16px;
  background:#fff;
  box-shadow:0 7px 24px rgba(33,75,107,.07);
}
.home-editorial__project:hover { background:#fbfdff; box-shadow:0 10px 28px rgba(33,75,107,.1); }
.home-editorial__project img { width:38px; height:38px; object-fit:contain; }
.home-editorial__project-copy { min-width:0; }
.home-editorial__project-copy h3 { margin:.25rem 0 .4rem; color:var(--home-ink); font-size:1rem; line-height:1.4; }
.home-editorial__project-copy p { margin:0; color:#66778a; font-size:.95rem; line-height:1.7; }
.home-editorial__project > i { padding-top:.25rem; color:#8e9ba8; font-size:.72rem; }
.home-publications { margin-top:2.5rem !important; padding-top:0 !important; border-top:0 !important; }
.home-publications__head { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1rem; }
.home-publications__head h3 { margin:0; color:var(--home-ink); font-size:1.4rem; font-weight:700; letter-spacing:-.04em; }
.home-publications__list { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem !important; margin:0 !important; padding:0 !important; list-style:none; }
.home-publications__list > li { min-width:0; }
.home-publications__book {
  min-height:150px;
  display:grid !important;
  grid-template-columns:76px minmax(0,1fr);
  gap:1rem;
  align-items:center;
  padding:1.15rem 1.2rem;
  border:0 !important;
  border-radius:14px;
  background:var(--home-surface);
}
.home-publications__book:hover { background:#edf4fb; }
.home-publications__book img { width:62px !important; height:94px !important; object-fit:contain; box-shadow:5px 6px 0 rgba(19,35,56,.13); }
.home-publications__copy { min-width:0; }
.home-publications__title { display:block; color:var(--home-ink); font-size:.87rem; font-weight:700; line-height:1.5; }
.home-publications__role { display:block; margin-top:.3rem; color:var(--home-muted); font-size:.9rem; line-height:1.5; }
.home-editorial__resources-section { padding-top:1.35rem; }
.home-editorial__resources-head { align-items:end; margin-bottom:1.05rem; }
.home-editorial__resources-head > div { display:flex; align-items:baseline; flex-wrap:wrap; gap:.8rem; }
.home-editorial__resources-head h2 { margin:0; }
.home-editorial__section-subtitle { margin:0; color:var(--home-muted); font-size:.95rem; line-height:1.6; }
.home-editorial__resources-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.85rem; }
.home-editorial__resource-card {
  min-height:154px;
  display:flex;
  flex-direction:column;
  padding:1.15rem 1.25rem 1rem;
  border:0 !important;
  border-radius:14px;
  color:var(--home-text);
  background:#f7fafc;
}
.home-editorial__resource-card:nth-child(2) { background:#f2f7fb; }
.home-editorial__resource-card:nth-child(3) { background:#fbf8f3; }
.home-editorial__resource-card:nth-child(4) { background:#f4f8f5; }
.home-editorial__resource-card:hover { color:var(--home-text); transform:translateY(-2px); box-shadow:0 10px 24px rgba(33,75,107,.08); }
.home-editorial__resource-top { display:flex; align-items:center; justify-content:space-between; gap:.5rem; }
.home-editorial__resource-mark { width:32px; height:32px; display:grid; place-items:center; border-radius:10px; color:#fff; background:#176da8; font-size:.7rem; font-weight:800; }
.home-editorial__resource-mark > img { display:block; width:32px; height:32px; max-width:100%; object-fit:contain; border-radius:inherit; background:#fff; }
.home-editorial__resource-card:nth-child(2) .home-editorial__resource-mark { background:#5b6fc3; }
.home-editorial__resource-card:nth-child(3) .home-editorial__resource-mark { background:#b67234; }
.home-editorial__resource-card:nth-child(4) .home-editorial__resource-mark { background:#4b8d69; }
.home-editorial__resource-new { color:#6c9b66; font-size:.63rem; font-weight:700; }
.home-editorial__resource-card h3 { margin:1rem 0 .35rem; color:var(--home-ink); font-size:.9rem; line-height:1.4; }
.home-editorial__resource-card p { margin:0; color:#68798c; font-size:.95rem; line-height:1.7; }
.home-editorial__resource-foot { display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin-top:auto; padding-top:.75rem; color:var(--home-muted); font-size:.62rem; }
.home-editorial__resource-foot strong { color:var(--home-blue); font-size:.75rem; }
.home-editorial__writing-section { padding-top:1.35rem; }
.home-editorial__writing-section .home-editorial__section-head { margin-bottom:1.1rem; }
.home-editorial__posts { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:1.1rem; border:0 !important; }
.home-editorial__post { min-width:0; padding:1.1rem .75rem; border:0 !important; }
.home-editorial__post--lead { min-height:218px; grid-row:span 3; padding:1.55rem 1.65rem; border:0 !important; border-radius:17px 17px 17px 4px; background:#f2f7fb; }
.home-editorial__post:not(.home-editorial__post--lead) { border-radius:9px; }
.home-editorial__post:not(.home-editorial__post--lead):nth-child(3) { background:#f7fafc; }
.home-editorial__post-meta { display:flex; align-items:center; gap:.7rem; margin:0 0 .35rem; color:var(--home-muted); font-size:.68rem; line-height:1.7; }
.home-editorial__post-meta span { color:var(--home-blue); font-weight:700; }
.home-editorial__post h3 { margin:0; color:var(--home-ink); font-size:.88rem; line-height:1.55; }
.home-editorial__post--lead h3 { margin:.75rem 0 .65rem; font-size:1.35rem; line-height:1.45; letter-spacing:-.045em; }
.home-editorial__post p { margin:0 0 .65rem; color:#708095; font-size:1rem; line-height:1.75; }
.home-editorial__post a:hover { color:var(--home-blue); }
@media (max-width:991px) {
  .home-editorial__hero-grid { grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr); }
  .home-editorial__book { grid-template-columns:200px minmax(0,1fr); gap:1.2rem; }
  .home-editorial__book-cover { width:180px; height:250px; }
  .home-editorial__resources-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:767px) {
  .home-editorial__hero { padding-top:calc(var(--header-height) + 2rem); }
  .home-editorial__hero-grid { grid-template-columns:minmax(0,1fr); gap:1.5rem; }
  .home-editorial__intro { padding-top:0; }
  .home-editorial__daily { min-height:0; }
  .home-editorial__book { grid-template-columns:180px minmax(0,1fr); min-height:0; }
  .home-editorial__book-cover { width:160px; height:230px; padding:1.25rem 1rem; }
  .home-editorial__book-name { font-size:1.15rem; }
  .home-publications__list { grid-template-columns:minmax(0,1fr) !important; }
  .home-editorial__posts { grid-template-columns:minmax(0,1fr); }
  .home-editorial__post--lead { grid-row:auto; }
}
@media (max-width:575px) {
  .home-editorial__statement { font-size:2.3rem !important; }
  .home-editorial__daily { padding:1.25rem 1.2rem 1rem; }
  .home-editorial__daily-head { align-items:flex-start; flex-direction:column; gap:.1rem; }
  .home-editorial__work-grid { grid-template-columns:minmax(0,1fr); }
  .home-editorial__book { grid-template-columns:minmax(0,1fr); gap:1.1rem; padding:1.25rem; }
  .home-editorial__book-cover { width:190px; height:245px; }
  .home-editorial__resources-grid { grid-template-columns:minmax(0,1fr); }
  .home-editorial__resources-head { align-items:flex-start; flex-direction:column; gap:.6rem; }
  .home-editorial__resources-head > div { display:block; }
  .home-editorial__section-subtitle { margin-top:.25rem; }
  .home-editorial__post--lead { padding:1.25rem; }
  .home-editorial__post--lead h3 { font-size:1.15rem; }
}

.home-publications__list { background:transparent !important; }
.home-publications__list > li + li { border-left:0 !important; }

/* Keep the source book art readable at the compact card size. */
.home-publications__book::before { display:none; }
.home-publications__book img { display:block !important; }

/* Fine-tune the highlighted areas from the reference: one-line desktop title and clearer surfaces. */
@media (min-width:992px) {
  .home-editorial__statement {
    display:block;
    white-space:nowrap;
    text-overflow:ellipsis;
  }
}

/* Blog listing uses the same reference width, with categories in a quiet side rail. */
@media (min-width:992px) {
  html body.editorial-site.editorial-list-page .article-directory-content {
    width:100%;
    max-width:76.625rem;
    margin-inline:auto;
    padding-top:0;
  }
  html body.editorial-site.editorial-list-page .article-directory-main {
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,808px) minmax(300px,356px);
    column-gap:60px;
    justify-content:start;
    align-items:start;
  }
  html body.editorial-site.editorial-list-page .article-directory-heading {
    grid-column:1;
    grid-row:1;
    padding-bottom:2.5rem;
  }
  html body.editorial-site.editorial-list-page .article-directory-heading h1 { margin-bottom:.5rem; }
  html body.editorial-site.editorial-list-page .article-directory-heading p {
    max-width:65ch;
    margin:0;
    font-size:1rem;
    line-height:1.8;
  }
  html body.editorial-site.editorial-list-page .article-directory-toolbar {
    position:absolute;
    top:166px;
    right:0;
    z-index:1;
    display:flex;
    width:356px;
    flex-direction:column;
    margin:0;
    padding:0;
  }
  html body.editorial-site.editorial-list-page .article-directory-toolbar::before {
    content:"分类";
    display:block;
    margin-bottom:1rem;
    color:var(--heading-color,#1f2937);
    font-size:1rem;
    font-weight:600;
  }
  html body.editorial-site.editorial-list-page .article-directory-toolbar .category-toolbar__search,
  html body.editorial-site.editorial-list-page .article-directory-toolbar .blog-tag-chips,
  html body.editorial-site.editorial-list-page .article-directory-toolbar .directory-filter-actions {
    display:none;
  }
  html body.editorial-site.editorial-list-page .article-directory-toolbar .blog-category-chips {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:0;
    padding:0;
    border-top:1px solid var(--border-color,#d5dde7);
  }
  html body.editorial-site.editorial-list-page .article-directory-toolbar .blog-filter-label { display:none; }
  html body.editorial-site.editorial-list-page .article-directory-toolbar .blog-category-chip {
    width:100%;
    justify-content:space-between;
    min-height:40px;
    padding:.5rem 0;
    border:0;
    border-bottom:1px solid var(--border-color,#d5dde7);
    border-radius:0;
    background:transparent;
  }
  html body.editorial-site.editorial-list-page .article-directory-toolbar .blog-category-chip.is-active {
    color:var(--primary-color,#0a84ff);
  }
  html body.editorial-site.editorial-list-page .blog-filter-results-count {
    position:absolute;
    top:174px;
    right:0;
    z-index:2;
    margin:0;
    color:var(--text-muted,#687386);
    font-size:.78rem;
  }
  html body.editorial-site.editorial-list-page #blog-posts-container.article-list {
    grid-column:1;
    grid-row:2;
    width:100%;
  }
  html body.editorial-site.editorial-list-page .article-directory-content .editorial-list-empty,
  html body.editorial-site.editorial-list-page #blog-pagination { grid-column:1; }
}
@media (max-width:991px) {
  html body.editorial-site.editorial-list-page .article-directory-main { display:block; }
  html body.editorial-site.editorial-list-page .article-directory-toolbar {
    position:static;
    width:auto;
  }
  html body.editorial-site.editorial-list-page .article-directory-toolbar::before { display:none; }
  html body.editorial-site.editorial-list-page .blog-filter-results-count { position:static; }
}
.home-editorial__daily { background:#f6f8fb !important; }
.home-editorial__book { background:#e8f2fb !important; }
.home-editorial__book:hover { background:#e2eef9 !important; }

.blog-category-chip[aria-current="true"] { border-color:var(--primary-color,#0a84ff); background:rgba(10,132,255,.08); color:var(--primary-color-dark,#0060df); }
.blog-filter-results-count { margin:-.55rem 0 1rem; color:var(--muted-color,#687386); font-size:14px; }
.blog-filter-pagination { display:flex; align-items:center; justify-content:center; gap:12px; margin:1.5rem 0; }
.blog-filter-page-button { min-height:36px; padding:6px 12px; border:1px solid var(--border-color,#d5dde7); border-radius:5px; background:var(--editorial-surface,#fff); color:var(--heading-color,#314055); font:inherit; cursor:pointer; }
.blog-filter-page-button:disabled { opacity:.45; cursor:default; }
.blog-filter-page-status { color:var(--muted-color,#687386); font-size:14px; font-variant-numeric:tabular-nums; }
#blog-posts-container.blog-filter-updating { opacity:.45; transition:opacity .12s ease; }
#blog-posts-container.blog-filter-active .blog-post-item { animation:blog-filter-enter .2s ease both; }
@keyframes blog-filter-enter { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
html.dark-mode body.editorial-site .blog-category-chip[aria-current="true"] { border-color:var(--primary-color,#0a84ff); background:rgba(10,132,255,.18); color:var(--heading-color,#e5e7eb); }
html.dark-mode body.editorial-site .blog-filter-page-button { border-color:var(--border-color,#4b5563); background:var(--editorial-panel,#1c1c1e); color:var(--heading-color,#e5e7eb); }
@media (prefers-reduced-motion:reduce) {
  #blog-posts-container.blog-filter-active .blog-post-item { animation:none; }
  #blog-posts-container.blog-filter-updating { transition:none; }
}

/* Editorial directories follow the reference site's quiet, text-led layout. */
body.editorial-site[data-page-section="book"] .top-header,
body.editorial-site[data-page-section="blog"] .top-header { display:none; }
body.editorial-site.editorial-list-page .default-list-section { background:transparent; }
body.editorial-site.editorial-list-page .default-list-content {
  width:100%;
  max-width:none;
  margin:0;
  padding:0 0 4rem;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
body.editorial-site .book-directory-content,
body.editorial-site .article-directory-content {
  width:100%;
  max-width:72rem;
  margin-inline:auto;
  padding-top:5rem;
}
body.editorial-site .book-directory-layout,
body.editorial-site .article-directory-layout { display:block; }
body.editorial-site .book-directory-main,
body.editorial-site .article-directory-main { min-width:0; }
body.editorial-site .book-directory-heading,
body.editorial-site .article-directory-heading {
  gap:0;
  padding:1.5rem 0 2.5rem;
}
body.editorial-site .book-directory-heading h1,
body.editorial-site .article-directory-heading h1 {
  margin:0;
  color:var(--heading-color,#1f2937);
  font-size:clamp(2rem,4vw,3rem);
  font-weight:650;
  letter-spacing:-.035em;
  line-height:1.35;
}
body.editorial-site .book-directory-heading p,
body.editorial-site .article-directory-heading p {
  max-width:65ch;
  margin:1rem 0 0;
  color:var(--text-muted,#687386);
  font-size:.95rem;
  line-height:1.8;
}

/* Filters stay in the content column and retain the existing interactions. */
body.editorial-site .book-directory-toolbar,
body.editorial-site .article-directory-toolbar {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:0;
  margin:0 0 1.25rem;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
body.editorial-site .book-directory-toolbar .category-toolbar__search,
body.editorial-site .article-directory-toolbar .category-toolbar__search { grid-column:1/-1; }
body.editorial-site .book-directory-toolbar .search-field,
body.editorial-site .article-directory-toolbar .search-field {
  position:relative;
  display:flex;
  min-height:44px;
  align-items:center;
  margin:0 0 .75rem;
  border-bottom:1px solid var(--border-color,#d5dde7);
}
body.editorial-site .book-directory-toolbar .search-field input,
body.editorial-site .article-directory-toolbar .search-field input {
  width:100%;
  min-height:44px;
  padding:0 8px 0 28px;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--text-color,#314055);
  font-size:.9rem;
}
body.editorial-site .book-directory-toolbar .search-field input:focus-visible,
body.editorial-site .article-directory-toolbar .search-field input:focus-visible { outline:0; }
body.editorial-site .book-search-icon,
body.editorial-site .article-search-icon {
  position:absolute;
  left:0;
  top:13px;
  display:inline-flex;
  color:var(--text-muted,#687386);
}
body.editorial-site .book-category-chips,
body.editorial-site .book-tag-chips,
body.editorial-site .blog-category-chips,
body.editorial-site .blog-tag-chips {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.5rem;
  padding:.5rem 0;
}
body.editorial-site .book-tag-chips,
body.editorial-site .blog-tag-chips { padding-top:.25rem; padding-bottom:.75rem; }
body.editorial-site .book-filter-label,
body.editorial-site .blog-filter-label {
  margin-right:.25rem;
  color:var(--text-muted,#687386);
  font-size:.75rem;
  font-weight:500;
}
body.editorial-site .directory-filter-actions {
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  padding:.5rem 0 .25rem;
}
body.editorial-site .book-category-chip,
body.editorial-site .book-tag-chip,
body.editorial-site .book-filter-chip,
body.editorial-site .blog-category-chip,
body.editorial-site .blog-tag-chip,
body.editorial-site .blog-filter-chip {
  display:inline-flex;
  min-height:32px;
  align-items:center;
  gap:.45rem;
  padding:.35rem .65rem;
  border:1px solid var(--border-color,#d5dde7);
  border-radius:6px;
  background:transparent;
  color:var(--text-color,#314055);
  font:inherit;
  font-size:.78rem;
  line-height:1.3;
  text-decoration:none;
  cursor:pointer;
}
body.editorial-site .book-category-chip:hover,
body.editorial-site .book-category-chip:focus-visible,
body.editorial-site .book-category-chip.is-active,
body.editorial-site .book-tag-chip:hover,
body.editorial-site .book-tag-chip:focus-visible,
body.editorial-site .book-tag-chip.is-active,
body.editorial-site .book-filter-chip:hover,
body.editorial-site .book-filter-chip:focus-visible,
body.editorial-site .book-filter-chip.is-active,
body.editorial-site .blog-category-chip:hover,
body.editorial-site .blog-category-chip:focus-visible,
body.editorial-site .blog-category-chip.is-active,
body.editorial-site .blog-tag-chip:hover,
body.editorial-site .blog-tag-chip:focus-visible,
body.editorial-site .blog-tag-chip.is-active,
body.editorial-site .blog-filter-chip:hover,
body.editorial-site .blog-filter-chip:focus-visible,
body.editorial-site .blog-filter-chip.is-active {
  border-color:var(--primary-color,#0a84ff);
  color:var(--primary-color,#0a84ff);
  outline:0;
}
body.editorial-site .book-category-chip.is-active,
body.editorial-site .blog-category-chip.is-active,
body.editorial-site .book-filter-chip.is-active,
body.editorial-site .blog-filter-chip.is-active { background:rgba(10,132,255,.08); }
body.editorial-site .book-filter-reset,
body.editorial-site .blog-filter-reset {
  min-height:32px;
  padding:.35rem .65rem;
  border:0;
  background:transparent;
  color:var(--text-muted,#687386);
  font:inherit;
  font-size:.78rem;
  cursor:pointer;
}
body.editorial-site .book-filter-reset:hover,
body.editorial-site .blog-filter-reset:hover { color:var(--primary-color,#0a84ff); }
body.editorial-site .book-category-count,
body.editorial-site .book-tag-chip small,
body.editorial-site .blog-category-count,
body.editorial-site .blog-tag-chip small {
  color:var(--text-muted,#687386);
  font-size:.7rem;
  font-variant-numeric:tabular-nums;
}
body.editorial-site .book-filter-results-count,
body.editorial-site .blog-filter-results-count {
  margin:0 0 .25rem;
  color:var(--text-muted,#687386);
  font-size:.78rem;
}

/* Books use a two-column editorial grid on wider screens. */
body.editorial-site #book-posts-container.book-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:2rem;
  margin:0;
}
body.editorial-site #book-posts-container.book-list > .book-post-item {
  display:block;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
}
body.editorial-site #book-posts-container.book-list > .book-post-item[hidden] { display:none !important; }
body.editorial-site .book-list-item__article,
body.editorial-site .editorial-entry--book {
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  gap:1.25rem;
  height:100%;
  padding:1.75rem 0;
  border-top:1px solid var(--border-color,#d5dde7);
}
body.editorial-site .book-list-item__cover,
body.editorial-site .editorial-entry__cover {
  align-self:start;
  display:block;
  width:112px;
  aspect-ratio:144/200;
  overflow:hidden;
  text-decoration:none;
}
body.editorial-site .book-list-item__cover img,
body.editorial-site .editorial-entry__cover img {
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:144/200;
  object-fit:cover;
  background:var(--editorial-panel,#f6f8fb);
  object-position:top;
}
body.editorial-site .book-list-item__cover--placeholder {
  position:relative;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  border:1px solid #2d4568;
  background:linear-gradient(145deg,#132642 0%,#0a1428 62%,#07101e 100%);
  box-shadow:2px 3px 6px rgba(0,0,0,.12);
  isolation:isolate;
}
body.editorial-site .book-list-item__cover--placeholder::before {
  position:absolute;
  content:"";
  width:68%;
  aspect-ratio:1;
  top:31%;
  left:19%;
  border:1px solid rgba(105,164,238,.55);
  transform:rotate(45deg);
  box-shadow:0 0 0 1px rgba(105,164,238,.12),0 0 18px rgba(41,120,220,.22);
}
body.editorial-site .book-list-item__cover--placeholder::after {
  position:absolute;
  content:attr(data-title);
  top:12px;
  right:10px;
  left:12px;
  display:-webkit-box;
  overflow:hidden;
  color:#f3f6fa;
  font-size:11px;
  font-weight:600;
  line-height:1.45;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
}
body.editorial-site .book-list-item__cover--placeholder img { display:none; }
body.editorial-site .book-list-item__copy,
body.editorial-site .editorial-entry__body { min-width:0; }
body.editorial-site .book-list-item__meta,
body.editorial-site .editorial-entry__meta {
  display:flex;
  flex-wrap:wrap;
  gap:.4rem 1rem;
  color:var(--text-muted,#687386);
  font-size:.75rem;
  line-height:1.7;
}
body.editorial-site .book-list-item__meta a,
body.editorial-site .editorial-entry__meta a { color:inherit; text-decoration:none; }
body.editorial-site .book-list-item__meta a:hover,
body.editorial-site .editorial-entry__meta a:hover { color:var(--primary-color,#0a84ff); }
body.editorial-site .book-list-item__featured,
body.editorial-site .editorial-entry__featured { font-weight:600; }
body.editorial-site .book-list-item__title,
body.editorial-site .editorial-entry--book .editorial-entry__title {
  margin:.65rem 0;
  color:var(--heading-color,#1f2937);
  font-size:1.1rem;
  font-weight:600;
  line-height:1.5;
  letter-spacing:-.02em;
  overflow-wrap:anywhere;
}
body.editorial-site .book-list-item__title a,
body.editorial-site .editorial-entry__title a { color:inherit; text-decoration:none; }
body.editorial-site .book-list-item__title a:hover,
body.editorial-site .editorial-entry__title a:hover { color:var(--primary-color,#0a84ff); }
body.editorial-site .book-list-item__summary,
body.editorial-site .editorial-entry--book .editorial-entry__summary {
  display:-webkit-box;
  max-width:100%;
  margin:0;
  overflow:hidden;
  color:var(--text-muted,#687386);
  font-size:.9rem;
  line-height:1.85;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
}
body.editorial-site .book-list-item__author,
body.editorial-site .editorial-entry__author {
  margin:.75rem 0 0;
  color:var(--text-muted,#687386);
  font-size:.75rem;
  line-height:1.7;
}
body.editorial-site .book-list-item__read,
body.editorial-site .editorial-entry__read {
  display:inline-flex;
  min-height:44px;
  align-items:center;
  gap:.75rem;
  margin-top:.5rem;
  color:var(--primary-color,#0a84ff);
  font-size:.8rem;
  text-decoration:none;
}
body.editorial-site .book-list-item__read:hover,
body.editorial-site .editorial-entry__read:hover { color:var(--primary-color-dark,#0060df); }
body.editorial-site .book-list-item__side { display:none; }

/* Blog entries are full-width rows with the same editorial rhythm. */
body.editorial-site #blog-posts-container.article-list {
  display:block;
  margin:0;
}
body.editorial-site #blog-posts-container.article-list > .article-list-item {
  display:block;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
}
body.editorial-site #blog-posts-container.article-list > .article-list-item[hidden] { display:none !important; }
body.editorial-site .article-list-item__article:not(.editorial-entry--book),
body.editorial-site .editorial-entry:not(.editorial-entry--book) {
  display:block;
  min-width:0;
  padding:1.75rem 0;
  border-top:1px solid var(--border-color,#d5dde7);
}
body.editorial-site .article-list-item__copy,
body.editorial-site .editorial-entry__body { min-width:0; }
body.editorial-site .article-list-item__meta,
body.editorial-site .editorial-entry:not(.editorial-entry--book) .editorial-entry__meta {
  display:flex;
  flex-wrap:wrap;
  gap:.4rem 1rem;
  color:var(--text-muted,#687386);
  font-size:.75rem;
  line-height:1.7;
}
body.editorial-site .article-list-item__category { color:inherit; text-decoration:none; }
body.editorial-site .article-list-item__category:hover { color:var(--primary-color,#0a84ff); }
body.editorial-site .article-list-item__title,
body.editorial-site .editorial-entry:not(.editorial-entry--book) .editorial-entry__title {
  margin:.65rem 0;
  color:var(--heading-color,#1f2937);
  font-size:clamp(1.25rem,2.2vw,1.6rem);
  font-weight:600;
  line-height:1.5;
  letter-spacing:-.02em;
  overflow-wrap:anywhere;
}
body.editorial-site .article-list-item__title a { color:inherit; text-decoration:none; }
body.editorial-site .article-list-item__title a:hover { color:var(--primary-color,#0a84ff); }
body.editorial-site .article-list-item__summary,
body.editorial-site .editorial-entry:not(.editorial-entry--book) .editorial-entry__summary {
  margin:0;
  color:var(--text-muted,#687386);
  font-size:.9rem;
  line-height:1.85;
}
body.editorial-site .article-list-item__side,
body.editorial-site .article-list-item__icon,
body.editorial-site .article-list-item__actions { display:none; }

/* Preserve the editorial list rhythm while CMS records are loading. */
body.editorial-site .editorial-list-skeleton {
  display:block;
  min-width:0;
  border-top:1px solid var(--border-color,#d5dde7);
  background:transparent;
}
body.editorial-site .editorial-list-skeleton--article { padding:1.75rem 0; }
body.editorial-site .editorial-list-skeleton--book {
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  gap:1.25rem;
  padding:1.75rem 0;
}
body.editorial-site .editorial-list-skeleton__cover {
  display:block;
  width:112px;
  aspect-ratio:144/200;
  border-radius:2px;
}
body.editorial-site .editorial-list-skeleton__copy { display:grid; min-width:0; align-content:start; gap:.7rem; }
body.editorial-site .editorial-list-skeleton__meta,
body.editorial-site .editorial-list-skeleton__title,
body.editorial-site .editorial-list-skeleton__summary,
body.editorial-site .editorial-list-skeleton__action { display:block; border-radius:4px; }
body.editorial-site .editorial-list-skeleton__meta { width:26%; height:11px; }
body.editorial-site .editorial-list-skeleton__title { width:66%; height:22px; margin:.2rem 0; }
body.editorial-site .editorial-list-skeleton__summary { width:100%; height:12px; }
body.editorial-site .editorial-list-skeleton__summary--short { width:72%; }
body.editorial-site .editorial-list-skeleton__action { width:76px; height:13px; margin-top:.15rem; }
body.editorial-site .editorial-list-skeleton__cover,
body.editorial-site .editorial-list-skeleton__meta,
body.editorial-site .editorial-list-skeleton__title,
body.editorial-site .editorial-list-skeleton__summary,
body.editorial-site .editorial-list-skeleton__action {
  background:linear-gradient(100deg,rgba(226,232,240,.82) 20%,rgba(248,250,252,.98) 42%,rgba(226,232,240,.82) 64%);
  background-size:220% 100%;
  animation:editorial-list-skeleton-shimmer 1.5s ease-in-out infinite;
}
@keyframes editorial-list-skeleton-shimmer {
  from { background-position:100% 0; }
  to { background-position:-100% 0; }
}
html.dark-mode body.editorial-site .editorial-list-skeleton__cover,
html.dark-mode body.editorial-site .editorial-list-skeleton__meta,
html.dark-mode body.editorial-site .editorial-list-skeleton__title,
html.dark-mode body.editorial-site .editorial-list-skeleton__summary,
html.dark-mode body.editorial-site .editorial-list-skeleton__action {
  background:linear-gradient(100deg,rgba(51,65,85,.72) 20%,rgba(71,85,105,.88) 42%,rgba(51,65,85,.72) 64%);
  background-size:220% 100%;
}
@media (prefers-reduced-motion:reduce) {
  body.editorial-site .editorial-list-skeleton__cover,
  body.editorial-site .editorial-list-skeleton__meta,
  body.editorial-site .editorial-list-skeleton__title,
  body.editorial-site .editorial-list-skeleton__summary,
  body.editorial-site .editorial-list-skeleton__action { animation:none; }
}
body.editorial-site .project-directory-pagination {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding:1.5rem 0 0;
}
body.editorial-site .book-page-button,
body.editorial-site .blog-page-button {
  min-height:36px;
  padding:.4rem .75rem;
  border:1px solid var(--border-color,#d5dde7);
  border-radius:6px;
  background:transparent;
  color:var(--text-color,#314055);
  font:inherit;
  font-size:.78rem;
  cursor:pointer;
}
body.editorial-site .book-page-button:hover:not(:disabled),
body.editorial-site .book-page-button[aria-current="page"],
body.editorial-site .blog-page-button:hover:not(:disabled),
body.editorial-site .blog-page-button[aria-current="page"] {
  border-color:var(--primary-color,#0a84ff);
  color:var(--primary-color,#0a84ff);
}
body.editorial-site .book-page-button:disabled,
body.editorial-site .blog-page-button:disabled { cursor:default; opacity:.42; }
body.editorial-site .book-directory-content .editorial-list-empty,
body.editorial-site .article-directory-content .editorial-list-empty {
  padding:2rem 0;
  color:var(--text-muted,#687386);
}
@media (max-width:767px) {
  html body.editorial-site.editorial-list-page main .container-xl {
    max-width:none;
    padding-inline:1rem;
  }
  body.editorial-site .book-directory-content,
  body.editorial-site .article-directory-content { padding-top:3rem; }
  body.editorial-site .book-directory-heading,
  body.editorial-site .article-directory-heading { padding:1rem 0 2rem; }
  body.editorial-site #book-posts-container.book-list { grid-template-columns:minmax(0,1fr); }
  body.editorial-site .book-list-item__article,
  body.editorial-site .editorial-entry--book { grid-template-columns:88px minmax(0,1fr); gap:1rem; }
  body.editorial-site .book-list-item__cover,
  body.editorial-site .editorial-entry__cover,
  body.editorial-site .editorial-list-skeleton__cover { width:88px; }
  body.editorial-site .editorial-list-skeleton--book { grid-template-columns:88px minmax(0,1fr); gap:1rem; }
}
@media (max-width:575px) {
  body.editorial-site .book-directory-heading h1,
  body.editorial-site .article-directory-heading h1 { font-size:2rem; }
  body.editorial-site .book-directory-heading p,
  body.editorial-site .article-directory-heading p { font-size:.9rem; }
}
html.dark-mode body.editorial-site .book-category-chip.is-active,
html.dark-mode body.editorial-site .blog-category-chip.is-active {
  background:rgba(10,132,255,.18);
}

/* Match the book reference width: a narrow reading column with filters at right. */
@media (min-width:992px) {
  html body.editorial-site.editorial-list-page .book-directory-content {
    width:100%;
    max-width:78.125rem;
    margin-inline:auto;
    padding-top:0;
  }
  html body.editorial-site.editorial-list-page .book-directory-main {
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,808px) minmax(300px,356px);
    column-gap:60px;
    justify-content:start;
    align-items:start;
  }
  html body.editorial-site.editorial-list-page .book-directory-heading {
    grid-column:1;
    grid-row:1;
    padding-bottom:2.5rem;
  }
  html body.editorial-site.editorial-list-page .book-directory-toolbar {
    position:absolute;
    top:166px;
    right:26px;
    z-index:1;
    display:flex;
    width:356px;
    flex-direction:column;
    margin:0;
    padding:0;
  }
  html body.editorial-site.editorial-list-page .book-directory-toolbar::before {
    content:"筛选图书";
    display:block;
    margin-bottom:1rem;
    color:var(--heading-color,#1f2937);
    font-size:1rem;
    font-weight:600;
  }
  html body.editorial-site.editorial-list-page .book-directory-toolbar .category-toolbar__search,
  html body.editorial-site.editorial-list-page .book-directory-toolbar .book-tag-chips {
    display:none;
  }
  html body.editorial-site.editorial-list-page .book-directory-toolbar .directory-filter-actions {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:.5rem;
    order:1;
    padding:0 0 1rem;
  }
  html body.editorial-site.editorial-list-page .book-directory-toolbar .book-filter-chip {
    justify-content:center;
    width:100%;
  }
  html body.editorial-site.editorial-list-page .book-directory-toolbar .book-filter-reset {
    min-width:54px;
    border:1px solid var(--border-color,#d5dde7);
    border-radius:6px;
  }
  html body.editorial-site.editorial-list-page .book-directory-toolbar .book-category-chips {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:0;
    padding:0;
    border-top:1px solid var(--border-color,#d5dde7);
    order:2;
  }
  html body.editorial-site.editorial-list-page .book-directory-toolbar .book-filter-label {
    display:block;
    padding:.8rem 0 .45rem;
  }
  html body.editorial-site.editorial-list-page .book-directory-toolbar .book-category-chip {
    width:100%;
    justify-content:space-between;
    min-height:40px;
    padding:.5rem 0;
    border:0;
    border-bottom:1px solid var(--border-color,#d5dde7);
    border-radius:0;
    background:transparent;
  }
  html body.editorial-site.editorial-list-page .book-directory-toolbar .book-category-chip.is-active {
    color:var(--primary-color,#0a84ff);
  }
  html body.editorial-site.editorial-list-page .book-filter-results-count {
    position:absolute;
    top:174px;
    right:26px;
    z-index:2;
    margin:0;
    color:var(--text-muted,#687386);
    font-size:.78rem;
  }
  html body.editorial-site.editorial-list-page #book-posts-container.book-list {
    grid-column:1;
    grid-row:2;
    width:100%;
  }
  html body.editorial-site.editorial-list-page .book-directory-content .editorial-list-empty,
  html body.editorial-site.editorial-list-page #book-pagination {
    grid-column:1;
  }
}
@media (max-width:991px) {
  html body.editorial-site.editorial-list-page .book-directory-main { display:block; }
  html body.editorial-site.editorial-list-page .book-directory-toolbar {
    position:static;
    width:auto;
  }
  html body.editorial-site.editorial-list-page .book-directory-toolbar::before { display:none; }
  html body.editorial-site.editorial-list-page .book-filter-results-count {
    position:static;
  }
}
