.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.6rem;
  color: #727981;
  font-size: .78rem;
}

.article-breadcrumb a { text-decoration: underline; text-underline-offset: .2rem; }
.article-breadcrumb [aria-current="page"] { max-width: 44rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.article-resources {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, .9fr);
  gap: 1.5rem;
  align-items: center;
  margin: 3.5rem 0 1.5rem;
  padding: 1.5rem;
  border-radius: 20px;
  background: #eef3e9;
  border: 1px solid #d5dfcf;
}

.article-resources small { color: var(--sage-dark); font-weight: 800; letter-spacing: .12em; }
.article-resources h2 { margin: .5rem 0 .35rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.article-resources p { margin: 0; }
.resource-links { display: grid; gap: .65rem; }
.resource-links a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem;
  border-radius: 12px;
  background: #fffdf8;
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 5px 18px rgba(36,50,74,.07);
}
.resource-links a:hover { transform: translateY(-2px); }
.resource-links span { color: var(--berry); font-size: .72rem; letter-spacing: .08em; }

.index-resources { margin: 3rem 0 2rem; }
.topic-filters { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2.4rem; }
.topic-filter {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--navy);
  padding: .65rem 1rem;
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
}
.topic-filter:hover, .topic-filter.is-active { background: var(--navy); border-color: var(--navy); color: white; }
.topic-count { min-height: 1.4rem; margin: 1rem 0 -1.8rem; color: #747b82; font-size: .82rem; }
.article-index-card[hidden] { display: none; }

.article-prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.article-prev-next a { display: grid; gap: .35rem; padding: 1rem 0; }
.article-prev-next a:last-child { text-align: right; }
.article-prev-next small { color: #747b82; }

.topic-directory { margin: 5rem 0 3rem; scroll-margin-top: 100px; }
.topic-section-heading { max-width: 720px; margin-bottom: 1.6rem; }
.topic-section-heading small,
.topic-filter-heading strong,
.author-label { color: var(--berry); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.topic-section-heading h2 { margin: .55rem 0 .6rem; font-family: "Songti SC","STSong",Georgia,serif; font-size: clamp(1.8rem,4vw,3.2rem); line-height: 1.2; }
.topic-section-heading p, .topic-filter-heading p { color: #656d74; }
.topic-directory-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.topic-directory-card { display: flex; min-height: 220px; flex-direction: column; padding: 1.5rem; border: 1px solid var(--line); border-radius: 20px; background: #fffdf8; }
.topic-directory-card small { color: var(--berry); font-size: .7rem; letter-spacing: .12em; }
.topic-directory-card h2 { margin: 1.1rem 0 .55rem; font-family: "Songti SC","STSong",Georgia,serif; font-size: 1.65rem; }
.topic-directory-card p { margin: 0; color: #626970; }
.topic-directory-card > span { margin-top: auto; padding-top: 1rem; color: var(--sage-dark); font-weight: 700; }
.topic-directory-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(36,50,74,.08); }
.topic-filter-heading { margin-top: 4rem; }

.topic-hero, .author-hero { padding: clamp(3.8rem,8vw,7.5rem) 1.3rem clamp(3.2rem,7vw,6rem); border-bottom: 1px solid var(--line); background: radial-gradient(circle at 88% 18%,rgba(168,197,162,.28),transparent 28%); }
.topic-hero-inner, .author-hero-inner { max-width: 1080px; margin: auto; }
.topic-hero h1, .author-hero h1 { max-width: 900px; margin: .8rem 0 1.2rem; font-family: "Songti SC","STSong",Georgia,serif; font-size: clamp(3.5rem,9vw,8rem); line-height: 1; letter-spacing: -.045em; }
.topic-dek, .author-hero-inner > p:last-child { max-width: 790px; color: #565f67; font-size: clamp(1.05rem,2vw,1.35rem); line-height: 1.8; }
.topic-author-link { display: inline-block; margin-top: 1rem; color: var(--sage-dark); font-weight: 700; }
.topic-content { max-width: 1080px; margin: auto; padding: 5rem 1.3rem 7rem; }
.topic-framework, .topic-myths, .topic-steps, .topic-guides, .topic-related { margin-bottom: 6rem; }
.topic-prose { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem; }
.topic-prose p { margin: 0; padding: 1.5rem; border-left: 3px solid var(--sage-dark); background: #fffdf8; color: #464e55; font-size: 1.04rem; line-height: 1.9; }
.topic-myth-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.topic-myth { padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: #fffdf8; }
.topic-myth > span { color: var(--berry); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.topic-myth h3 { margin: 1rem 0 .55rem; font-family: "Songti SC","STSong",Georgia,serif; font-size: 1.45rem; line-height: 1.35; }
.topic-myth p { margin: 0; color: #666e75; }
.topic-steps ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.topic-steps li { display: flex; gap: 1rem; padding: 1.4rem; border-top: 1px solid var(--navy); }
.topic-steps li span { color: var(--berry); font-size: .76rem; font-weight: 800; }
.topic-steps li p { margin: 0; color: var(--navy); font-weight: 700; }
.topic-guide-list { display: grid; gap: .8rem; }
.topic-guide-card { display: grid; grid-template-columns: 4rem minmax(0,1fr) 2rem; gap: 1rem; align-items: center; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: 16px; background: #fffdf8; }
.topic-guide-card > span { color: var(--berry); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.topic-guide-card small { color: #7a8085; }
.topic-guide-card h3 { margin: .3rem 0; font-family: "Songti SC","STSong",Georgia,serif; font-size: 1.45rem; }
.topic-guide-card p { margin: 0; color: #666d74; }
.topic-guide-card > b { font-size: 1.4rem; }
.topic-guide-card:hover { border-color: var(--sage-dark); transform: translateX(3px); }
.topic-resources { margin: 0 0 6rem; }
.topic-related-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.topic-related-grid a { padding: 1.5rem; border-radius: 18px; background: var(--navy); color: white; }
.topic-related-grid small { display: block; margin-bottom: .7rem; color: #cbd5df; letter-spacing: .1em; }
.topic-related-grid strong { font-family: "Songti SC","STSong",Georgia,serif; font-size: 1.6rem; }
.topic-related-grid p { margin-bottom: 0; color: #cbd5df; }

.author-monogram { display: grid; width: 64px; height: 64px; place-items: center; margin-bottom: 2rem; border-radius: 18px; background: var(--navy); color: white; font-family: Georgia,serif; font-size: 2rem; }
.author-hero h1 { font-size: clamp(3rem,7vw,6.5rem); }
.author-layout { max-width: 960px; margin: auto; padding: 5rem 1.3rem 7rem; }
.author-card { padding: clamp(1.5rem,5vw,4rem); border: 1px solid var(--line); border-radius: 26px; background: #fffdf8; box-shadow: 0 20px 60px rgba(36,50,74,.07); }
.author-card > section { margin-bottom: 5rem; }
.author-card > section:last-child { margin-bottom: 0; }
.author-card h2 { margin: .6rem 0 1rem; font-family: "Songti SC","STSong",Georgia,serif; font-size: clamp(1.8rem,4vw,3rem); line-height: 1.25; }
.author-card p { color: #50585f; line-height: 1.9; }
.author-process { margin: 2rem 0 0; padding: 0; list-style: none; }
.author-process li { display: grid; grid-template-columns: 3rem minmax(0,1fr); gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.author-process li > strong { color: var(--berry); font-size: .76rem; letter-spacing: .1em; }
.author-process h3 { margin: 0 0 .35rem; font-size: 1.08rem; }
.author-process p { margin: 0; }
.author-boundary { padding: 1.8rem; border-radius: 18px; background: #f5ead7; }
.author-topic-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; margin-top: 2rem; }
.author-topic-card { display: grid; gap: .4rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: white; }
.author-topic-card small { color: var(--berry); font-size: .68rem; letter-spacing: .1em; }
.author-topic-card strong { font-family: "Songti SC","STSong",Georgia,serif; font-size: 1.3rem; }
.author-topic-card span { color: #687078; font-size: .88rem; }
.author-links > div { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0; }

.home-topic-directory { margin: 2rem 0 3rem; }
.home-topic-directory > p { margin-bottom: .8rem; color: var(--berry); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.home-topic-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; }
.home-topic-links a { display: grid; gap: .35rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,253,248,.78); }
.home-topic-links strong { color: var(--navy); }
.home-topic-links span { color: #697078; font-size: .82rem; }

@media (max-width: 720px) {
  .article-resources { grid-template-columns: 1fr; }
  .article-prev-next { grid-template-columns: 1fr; }
  .article-prev-next a:last-child { text-align: left; }
  .topic-directory-grid, .topic-myth-grid, .topic-steps ol, .home-topic-links { grid-template-columns: 1fr; }
  .topic-prose, .topic-related-grid, .author-topic-grid { grid-template-columns: 1fr; }
  .topic-guide-card { grid-template-columns: 2.6rem minmax(0,1fr); }
  .topic-guide-card > b { display: none; }
  .topic-hero h1, .author-hero h1 { font-size: clamp(3rem,18vw,5.2rem); }
}
