/* 中华国学文库 - 京华老宋体专属CSS v5.0
 * 专为 iOS + 鸿蒙OS 双系统优化，剔除安卓冗余代码
 * 完全遵循终极定稿规范
 */

@font-face{font-family:'JingHuaSong';src:url('../font/jinghuasong/JingHuaSong-Regular.woff2') format('woff2');font-weight:normal;font-style:normal;font-display:swap}
@font-face{font-family:'JingHuaSong';src:url('../font/jinghuasong/JingHuaSong-Bold.woff2') format('woff2');font-weight:bold;font-style:normal;font-display:swap}
/* 字体：优先系统宋体，避免外链阻塞；本地分片字体保留但不主动加载 */

:root{
  /* 配色 - 日间模式 */
  --ink: #1c1c1c;
  --muted: #6f766f;
  --paper: #f9f6ee;
  --paper-bg: #e8deca;
  --jade: #8ab8d2;
  --gold: #b08a42;
  --seal: #9e2f26;
  --border: rgba(24,35,29,.14);

  /* 字体 */
  --font-main: "JingHuaSong", "KingHwaOldSong-MN", "京華老宋体-MN折中印刷字形", "Songti SC", "STSong", serif;
  --spacing-base: 0.03em;
}

*{box-sizing:border-box}
html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body{
  margin:0;
  color:var(--ink);
  font-family:var(--font-main);
  background:var(--paper-bg);
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-overflow-scrolling: touch; /* iOS 原生弹性滚动 */
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
body::before{content:"";position:fixed;inset:0;z-index:-3;background:radial-gradient(circle at 16% 12%,rgba(73,107,90,.20),transparent 28%),radial-gradient(circle at 82% 8%,rgba(176,138,66,.18),transparent 24%),linear-gradient(135deg,#fbf6e8,#e4d5b8 48%,#f7f1e2);}
body::after{content:"";position:fixed;inset:0;z-index:-2;opacity:.35;background-image:linear-gradient(rgba(24,35,29,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(24,35,29,.03) 1px,transparent 1px);background-size:36px 36px;mask-image:linear-gradient(to bottom,black,transparent 90%)}
a{color:inherit}
.site{
  width:min(1480px,calc(100% - 2.25rem));
  margin:auto
}
.hero{
  min-height:52vh;
  display:grid;
  grid-template-columns:.68fr 1.32fr;
  gap:0;
  align-items:center;
  padding:2.875rem 0 1.75rem
}
.classics-hero{
  min-height:58vh;
}
.hero > div:first-child{
  transform:translateX(-1rem);
}
.hero-text-center,
.hero > div:first-child{
  text-align:center;
}
.hero-actions{
  justify-content:center;
}

.eyebrow{
  letter-spacing:.34em;
  color:var(--jade);
  font-weight:800;
  font-size:0.8125rem
}
.hero h1{
  font-family:var(--font-main);
  font-size:clamp(3.5rem,6.4vw,6rem);
  line-height:1.02;
  margin:.75rem 0;
  color:var(--ink);
  font-weight:400;
  letter-spacing:.05em;
  white-space:nowrap
}
.hero p{
  font-size:1.125rem;
  line-height:2;
  color:#4f584e;
  max-width:760px;
  letter-spacing: 0.01em;
}
.hero-subtitle{
  font-family:var(--font-main);
  font-size:clamp(1.625rem,2.6vw,2.625rem)!important;
  letter-spacing:.18em;
  color:#496b5a!important;
  margin:.875rem 0 .5rem!important
}
.hero-copy{
  max-width:680px;
  border-left:3px solid rgba(176,138,66,.48);
  padding-left:1rem;
}
.hero-actions{
  display:flex;
  gap:.75rem;
  flex-wrap:wrap;
  margin-top:1.625rem
}
.btn{
  border:1px solid var(--border);
  border-radius:999px;
  padding:.6875rem 1.0625rem;
  text-decoration:none;
  background:rgba(255,255,255,.42);
  backdrop-filter:blur(10px);
  font-weight:800;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  letter-spacing: 0.02em;
}
.btn.primary{
  background:#18231d;
  color:var(--paper)
}
.ink-panel{
  aspect-ratio: 2.15 / 1;
  min-height:420px;
  border-radius:36px;
  position:relative;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow:0 30px 90px rgba(55,42,20,.22);
  background:url("../images/reference/hero-huizong-flower-bird-reference.webp") 58% center/cover no-repeat
}
.ink-panel::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(247,241,226,.52),rgba(247,241,226,.08) 48%,rgba(19,34,27,.10)),radial-gradient(circle at 18% 18%,rgba(255,255,255,.38),transparent 34%)
}
.ink-panel::after{content:"";display:none}
.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:.75rem;
  margin:.625rem 0 1.875rem
}
.stat{
  padding:1.125rem;
  border-radius:22px;
  background:rgba(255,255,255,.44);
  border:1px solid var(--border)
}
.stat b{
  display:block;
  font-family:var(--font-main);
  font-size:2rem;
  color:var(--seal);
  font-weight:400;
  letter-spacing: 0.02em;
}
.library-map{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:1rem;
  margin:0 0 2rem;
}
.home-libmap{grid-template-columns:repeat(6,minmax(0,1fr))}
.library-card{
  min-height:180px;
  border:1px solid var(--border);
  border-radius:26px;
  padding:1.25rem;
  background:rgba(255,252,243,.58);
  box-shadow:0 16px 42px rgba(78,58,24,.10);
  display:flex;
  flex-direction:column;
}
.library-card > span{
  display:inline-flex;
  border:1px solid rgba(176,138,66,.35);
  border-radius:999px;
  padding:.25rem .65rem;
  color:#7a5a20;
  background:rgba(176,138,66,.10);
  font-size:.78rem;
}
.library-card h2{
  margin:.9rem 0 .5rem;
  font-weight:400;
  font-size:1.8rem;
  letter-spacing:.08em;
}
.library-card p{
  margin:0;
  color:var(--muted);
  line-height:1.8;
}
.library-card.pending{
  opacity:.86;
}
.library-card.pending > span{
  color:#496b5a;
  background:rgba(73,107,90,.10);
  border-color:rgba(73,107,90,.25);
}

.library-card{
  display:flex;
  flex-direction:column;
  color:inherit;
  text-decoration:none;
}
.library-card.active:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 56px rgba(78,58,24,.16);
}
.card-arrow{
  display:block;
  margin-top:auto;
  padding-top:1rem;
  font-style:normal;
  color:var(--seal);
  letter-spacing:.06em;
}
.collection-note{
  margin:-.5rem 0 1.5rem;
  color:var(--muted);
  line-height:1.9;
}
.toolbar{
  position:sticky;
  top:0;
  z-index:20;
  margin:0 auto 1.75rem;
  padding:.75rem;
  border-radius:0 0 26px 26px;
  background:rgba(247,241,226,.88);
  backdrop-filter:blur(16px);
  border:1px solid var(--border);
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:.75rem;
  align-items:center
}
.tabs{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap
}
.tab .mobile{display:none}
.tab{
  border:1px solid rgba(24,35,29,.16);
  background:rgba(255,255,255,.38);
  border-radius:999px;
  padding:.625rem 1rem;
  font-weight:800;
  cursor:pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-main);
  letter-spacing: 0.02em;
}
.tab.active{
  background:#496b5a;
  color:#fff
}
.tab:disabled{
  cursor:not-allowed;
  opacity:.58;
  color:var(--muted);
}
.search{
  width:100%;
  border:1px solid var(--border);
  border-radius:999px;
  padding:.75rem 1.125rem;
  background:rgba(255,255,255,.62);
  font-size:.9375rem;
  font-family: var(--font-main);
  letter-spacing: 0.02em;
}
.count-label{white-space:nowrap}
.section-title{
  font-family:var(--font-main);
  font-size:2.625rem;
  font-weight:400;
  letter-spacing:.12em;
  margin:.5rem 0 1.375rem
}
.grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1.25rem;
  margin-bottom:2.75rem
}
.card{
  border:1px solid var(--border);
  border-radius:25px;
  overflow:hidden;
  background:rgba(255,252,243,.68);
  box-shadow:0 16px 42px rgba(78,58,24,.13);
  display:flex;
  flex-direction:column;
  min-width:0
}
.cover{
  height:11.875rem;
  position:relative;
  background:#f0e7d3;
  overflow:hidden
}
.cover::before{content:none}
.cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:none
}
.cover::after{content:none}
.badge{display:none!important}
.card-body{
  padding:1.0625rem;
  display:flex;
  flex-direction:column;
  gap:.625rem;
  flex:1;
  height: 100%;
}
.card-body .excerpt {
  flex-grow: 1;
}
.card-body .btn {
  margin-top: auto;
  align-self: flex-start;
}
.meta{
  display:flex;
  gap:.4375rem;
  color:var(--muted);
  font-size:.75rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  letter-spacing: 0.02em;
}
.card h3{
  font-family:var(--font-main);
  font-weight:400;
  font-size:1.75rem;
  line-height:1.12;
  margin:0;
  color:var(--ink)
}
.mengxue-card .card-body h3{
  font-size:1.35rem;
  line-height:1.3;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
}
.poem-lines{
  font-family:var(--font-main);
  font-size:1.0625rem;
  line-height:2.0;
  letter-spacing: 0.02em;
  color:#30483b
}
.excerpt{
  color:var(--muted);
  line-height: 1.8;
  letter-spacing: 0.01em;
}

/* 诗文原文框 */
.poem-original {
  margin: 1.2em 0;
  padding: 20px 24px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(176, 138, 66, 0.25), rgba(176, 138, 66, 0.08) 40%, rgba(176, 138, 66, 0.08) 60%, rgba(176, 138, 66, 0.25));
  border: 1px solid rgba(176, 138, 66, 0.35);
  font-family: var(--font-main);
  font-size: 20px;
  line-height: 2.3; /* 诗文行高 */
  letter-spacing: 0.03rem; /* 诗文字间距 */
  color: var(--jade);
}


/* 文章正文/赏析/注释行高 */
.article {
  line-height: 2.0; /* 赏析行高 */
  letter-spacing: 0.02em;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.article img, .article table, .article pre, .article iframe, .article video {
  max-width: 100%;
  height: auto;
}
.article table {
  display: block;
  overflow-x: auto;
}
.article p {
  line-height: 2.0;
  margin: 1em 0;
  letter-spacing: 0.01em;
}
.article p:last-child {
  margin-bottom: 0;
}
.article-note {
  line-height: 1.8; /* 注释小字 */
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* 模态弹窗 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.5);
  z-index: 100;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.modal.open {
  display: block;
  opacity: 1;
}
.modal-card {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 92vh;
  background: var(--paper);
  border-radius: 20px 20px 0 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  border-bottom: 1px solid var(--border);
}
.modal-head h2 {
  margin: 0;
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.close {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
}
.modal-body {
  padding: 20px 18px;
}
.detail-cover {
  width: 100%;
  aspect-ratio: 2848 / 1500;
  max-height: 60vh;
  overflow: hidden;
  margin: 0 0 20px;
  border-radius: 12px;
  background: #f3ecda;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.mid-illustration {
  width: 100%;
  height: 190px;
  overflow: hidden;
  margin: 16px 0;
  border-radius: 12px;
}
.mid-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer {
  padding: 20px 0 40px;
  color: var(--muted);
  line-height: 1.8;
}

/* ========== 响应式断点 ========== */
/* PC → 平板 → 大屏手机 → 小屏手机 全部rem自适应 */
@media(max-width:1180px){
  .site{width:min(70rem,calc(100% - 1.75rem))}
  .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .library-map{grid-template-columns:repeat(2,minmax(0,1fr))}
  .timeline{grid-template-columns:repeat(4,minmax(0,1fr))}
  .hero h1{font-size:clamp(3.25rem,8vw,5.375rem)}
}
@media(max-width:860px){
  .hero{grid-template-columns:1fr;min-height:auto}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .toolbar{grid-template-columns:1fr}
  .tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:.2rem}
  .tab{flex:0 0 auto}
  .stats{grid-template-columns:1fr 1fr 1fr}
  .timeline{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ink-panel{min-height:300px;aspect-ratio:2.15 / 1}
  .hero h1{white-space:normal}
}

/* ========== iOS + 鸿蒙 移动端专属 ========== */
@media(max-width:560px){
  html {
    font-size: 16px;
  }
  /* 手机端全屏 · body 边距归零 · .site 铺满 · 覆盖文颜内联样式 */
  body{ margin:0; padding-left:0!important; padding-right:0!important }
  .site{ width:100%; padding:0 12px }
  body > section[data-provider="WenYan"]{
    max-width:100%!important; padding:0 12px; margin:0!important;
    font-family: var(--font-all, "KingHwaOldSong-MN", "Noto Serif SC", serif)!important;
  }
  body > section[data-provider="WenYan"] p{ margin-left:0!important; margin-right:0!important }
  body > section[data-provider="WenYan"] img{ max-width:100%; height:auto }
  .grid{grid-template-columns:1fr}
  .library-map{grid-template-columns:1fr}
  .timeline{grid-template-columns:1fr}
 .library-card{border-radius:20px;padding:1rem}
  .stats{grid-template-columns:1fr 1fr 1fr}
  .stat{padding:.85rem .65rem;text-align:center}
  .stat b{font-size:1.55rem}
  .stat span{font-size:.82rem}
  .tab .web{display:none}
  .tab .mobile{display:inline}
  .hero{padding-top:2.125rem}
  .hero h1{font-size:3.25rem}
  .hero p{font-size:1rem}
  .cover{height:13.125rem}
  .modal{padding:0;border-radius:0;height:100dvh!important;max-height:100dvh!important}
  .modal.open{align-items:stretch!important}
  .modal-card{width:100%;max-height:100dvh!important;height:100dvh!important;border-radius:0!important}
  .modal-body{padding:18px}
  .mid-illustration{height:11.875rem}
  .detail-cover{aspect-ratio: 2848 / 1500; height: auto; max-height:50vh}

  /* 移动端全局行高字间距优化（京华老宋体专属） */
  body {
    line-height: 1.8;
    letter-spacing: 0.02em;
    /* iOS安全区适配底部小黑条/灵动岛 */
    padding-bottom: env(safe-area-inset-bottom);
    padding-top: env(safe-area-inset-top);
  }

  /* 左滑返回样式 */
  body {
    position: relative;
    transition: transform 0.3s ease;
  }
  body.slide-back-active::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.12);
    z-index: -1;
  }

  /* 弹窗禁用手势 */
  .modal-open .slide-back-active {
    touch-action: none;
  }

  /* 手机顶部返回按钮 */
  .back-btn-mobile {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-main);
    font-size: 1rem;
    padding: 0.4rem 0.6rem;
    min-height: 44px;
  }

  /* 底部悬浮工具栏 - iOS+鸿蒙统一 */
  .float-toolbar {
    position: fixed;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    background: rgba(247,241,226,.92);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 12px;
    display: flex;
    gap: 8px;
    z-index: 50;
    box-shadow: 0 4px 20px rgba(24,35,29,.1);
  }
  .float-toolbar .tool-btn {
    min-height: 44px;
    min-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(24,35,29,.12);
    background: rgba(255,255,255,.4);
    letter-spacing: 0.02em;
  }

  /* iOS专属优化 */
  @supports (-webkit-touch-callout: none) {
    /* iOS已经启用弹性滚动 */
    body {
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
  }

  /* 鸿蒙OS专属断点适配 */
  @media (width >= 600px) and (width < 768px) {
    /* 鸿蒙折叠屏内屏/平板断点 */
    .grid{grid-template-columns:repeat(2,1fr)}
  }

  /* 首页查看更多按钮容器 */
  .show-more-container {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem 2rem;
  }
  .show-more-container .btn.large {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
  }
  .show-more-hint {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
  }

.mengxue-card .cover{
  background:linear-gradient(135deg,rgba(73,107,90,.22),rgba(176,138,66,.18));
}
.mengxue-card .cover div{
  color:#496b5a;
}
.article .poem p{
  font-size:1.35rem;
  letter-spacing:.08em;
}
.empty{
  color:var(--muted);
  padding:2rem;
}

.hero-poem-small{
  font-size:clamp(1.05rem,1.65vw,1.75rem)!important;
  line-height:1.55!important;
  margin:.32rem 0!important;
  letter-spacing:.10em!important;
}

.songci-poem-tight{
  font-size:clamp(.70rem,0.95vw,1.02rem)!important;
  line-height:1.18!important;
  margin:.08rem 0!important;
  letter-spacing:.06em!important;
}

.classics-hero h1{
  font-size:clamp(2.4rem,4.6vw,4.25rem)!important;
  color:var(--seal)!important;
}

.mengxue-poem-tight{
  font-size:clamp(.78rem,1.02vw,1.05rem)!important;
  line-height:1.18!important;
  margin:.08rem 0!important;
  letter-spacing:.045em!important;
}

/* modal sticky head */

.modal-card{
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.modal-head{
  position:sticky!important;
  top:0!important;
  z-index:5!important;
  flex:0 0 auto!important;
  background:rgba(255,252,243,.96)!important;
  backdrop-filter:blur(10px)!important;
}
.modal-body{
  overflow:auto!important;
  flex:1 1 auto!important;
  min-height:0!important;
}


/* modal fixed head + no scroll-through */
html.modal-locked,
body.modal-locked,
body.modal-open{
  overflow:hidden!important;
  height:100%!important;
  touch-action:none!important;
}
.modal.open{
  display:flex!important;
  align-items:flex-end!important;
  opacity:1!important;
  overscroll-behavior:contain!important;
  touch-action:none!important;
}
.modal-card{
  position:relative!important;
  width:100%!important;
  max-height:92vh!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  overscroll-behavior:contain!important;
  touch-action:auto!important;
}
@media (max-width: 720px) {
  .modal.open{align-items:stretch!important}
  .modal-card{max-height:100dvh!important;height:100dvh!important;min-height:100dvh!important;border-radius:0!important;top:0!important;bottom:0!important;padding-bottom:env(safe-area-inset-bottom)!important}
}
.modal-head{
  position:relative!important;
  flex:0 0 auto!important;
  z-index:10!important;
  background:rgba(255,252,243,.98)!important;
}
.modal-body{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  touch-action:pan-y!important;
}


.hall-hero-image{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  background:rgba(255,252,243,.36)!important;
}
.hall-hero-image img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  display:block!important;
}


.hall-hero-image::before,
.hall-hero-image::after{
  display:none!important;
  content:none!important;
}
.hall-hero-image{
  background:transparent!important;
}

/* 20260702 hall image clean */

.hall-hero-image{
  border:none!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:0!important;
  border-radius:0!important;
}
.hall-hero-image::before,
.hall-hero-image::after{display:none!important;content:none!important;}


/* 20260702: lock horizontal page drift on mobile/web */
html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden!important;
}
.site,
.hero,
.classics-hero,
.toolbar,
.stats,
.library-map,
.grid,
.card,
.library-card,
.modal,
.modal-card{
  max-width:100%;
}
img, video, canvas, svg{
  max-width:100%;
}
@media(max-width:860px){
  .hero > div:first-child{
    transform:none!important;
  }
  .tabs{
    max-width:100%;
    overscroll-behavior-x:contain;
  }
}
@media(max-width:560px){
  .site{
    width:calc(100% - 1.25rem)!important;
    max-width:32.5rem;
    overflow-x:hidden;
  }
  .hero,
  .classics-hero{
    overflow-x:hidden;
  }
  .hero h1,
  .section-title,
  .card h3,
  .library-card h2{
    overflow-wrap:anywhere;
  }
}


/* 20260702-no-horizontal-drift: lock page to vertical scroll only */
html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden!important;
  overscroll-behavior-x:none;
}
.site,.hero,.classics-hero,.toolbar,.stats,.library-map,.grid,.card,.library-card,.modal,.modal-card{
  max-width:100%;
}
img,video,canvas,svg{
  max-width:100%;
}
@media(max-width:860px){
  .hero > div:first-child{transform:none!important;}
  .tabs{max-width:100%;overscroll-behavior-x:contain;}
}
@media(max-width:560px){
  .site{width:calc(100% - 1.25rem)!important;max-width:32.5rem;overflow-x:hidden;}
  .hero,.classics-hero{overflow-x:hidden;}
  .hero h1,.section-title,.card h3,.library-card h2{overflow-wrap:anywhere;}
}
.practice-list{display:grid;gap:.85rem;margin:1rem 0}.practice-card{padding:1rem 1.05rem;border:1px solid rgba(122,79,31,.16);border-radius:16px;background:rgba(255,252,243,.78)}.practice-card h4{margin:0 0 .5rem;color:var(--seal);font-size:1rem}.practice-card p{margin:.35rem 0}.practice-card b{color:var(--ink)}
