/* HearthWrite Guidebook — warm ivory editorial (matches --hw-fe-* / React discovery) */
body.hw-guidebook-page,
body.single-hw_guide,
body.tax-hw_guide_section,
body.page-guidebook {
  --hw-gb-ink: var(--hw-fe-text, #211b16);
  --hw-gb-ink-soft: var(--hw-fe-text-soft, #5c564e);
  --hw-gb-muted: var(--hw-fe-muted, #8a8379);
  --hw-gb-paper: var(--hw-fe-elevated, #fcfaf7);
  --hw-gb-panel: var(--hw-fe-panel, rgba(252, 250, 247, 0.94));
  --hw-gb-line: var(--hw-fe-border, #e4ded4);
  --hw-gb-flame: var(--hw-fe-accent, #b85c3a);
  --hw-gb-gold: var(--hw-fe-accent-light, #c9724f);
  --hw-gb-deep: var(--hw-fe-bg, #f7f3ed);
  --hw-gb-accent-rgb: var(--hw-fe-accent-rgb, 184, 92, 58);
  --hw-gb-text-rgb: var(--hw-fe-text-rgb, 33, 27, 22);
  overflow-x: clip;
  background: var(--hw-fe-bg, #f7f3ed);
  background-color: var(--hw-fe-bg, #f7f3ed);
  background-attachment: fixed;
  color: var(--hw-gb-ink);
}

/* Unbox Kadence containers (same pattern as Arena) */
body.hw-guidebook-page .site,
body.single-hw_guide .site,
body.tax-hw_guide_section .site,
body.page-guidebook .site,
body.hw-guidebook-page #wrapper,
body.single-hw_guide #wrapper,
body.tax-hw_guide_section #wrapper,
body.page-guidebook #wrapper,
body.hw-guidebook-page #inner-wrap,
body.single-hw_guide #inner-wrap,
body.tax-hw_guide_section #inner-wrap,
body.page-guidebook #inner-wrap,
body.hw-guidebook-page .content-wrap,
body.single-hw_guide .content-wrap,
body.tax-hw_guide_section .content-wrap,
body.page-guidebook .content-wrap,
body.hw-guidebook-page .content-bg,
body.single-hw_guide .content-bg,
body.tax-hw_guide_section .content-bg,
body.page-guidebook .content-bg,
body.hw-guidebook-page .entry-content-wrap,
body.single-hw_guide .entry-content-wrap,
body.tax-hw_guide_section .entry-content-wrap,
body.page-guidebook .entry-content-wrap,
body.hw-guidebook-page .entry-content,
body.single-hw_guide .entry-content,
body.tax-hw_guide_section .entry-content,
body.page-guidebook .entry-content,
body.hw-guidebook-page .site-content,
body.single-hw_guide .site-content,
body.tax-hw_guide_section .site-content,
body.page-guidebook .site-content,
body.hw-guidebook-page .content-area,
body.single-hw_guide .content-area,
body.tax-hw_guide_section .content-area,
body.page-guidebook .content-area,
body.hw-guidebook-page .site-main,
body.single-hw_guide .site-main,
body.tax-hw_guide_section .site-main,
body.page-guidebook .site-main,
body.hw-guidebook-page main,
body.single-hw_guide main,
body.tax-hw_guide_section main,
body.page-guidebook main,
body.hw-guidebook-page article.page,
body.single-hw_guide article.page,
body.tax-hw_guide_section article.page,
body.page-guidebook article.page,
body.hw-guidebook-page .inside-article,
body.single-hw_guide .inside-article,
body.tax-hw_guide_section .inside-article,
body.page-guidebook .inside-article,
body.hw-guidebook-page .site-container,
body.single-hw_guide .site-container,
body.tax-hw_guide_section .site-container,
body.page-guidebook .site-container,
body.hw-guidebook-page .content-container,
body.single-hw_guide .content-container,
body.tax-hw_guide_section .content-container,
body.page-guidebook .content-container,
body.hw-guidebook-page .container,
body.single-hw_guide .container,
body.tax-hw_guide_section .container,
body.page-guidebook .container {
  background: transparent !important;
  max-width: none !important;
  width: 100% !important;
  color: var(--hw-gb-ink) !important;
}

body.hw-guidebook-page .entry-content-wrap,
body.single-hw_guide .entry-content-wrap,
body.tax-hw_guide_section .entry-content-wrap,
body.page-guidebook .entry-content-wrap,
body.hw-guidebook-page .entry-content,
body.single-hw_guide .entry-content,
body.tax-hw_guide_section .entry-content,
body.page-guidebook .entry-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.hw-guidebook-page .entry-content p,
body.hw-guidebook-page .entry-content li,
body.hw-guidebook-page .entry-content h1,
body.hw-guidebook-page .entry-content h2,
body.hw-guidebook-page .entry-content h3,
body.single-hw_guide .entry-content p,
body.single-hw_guide .entry-content li,
body.single-hw_guide .entry-content h1,
body.single-hw_guide .entry-content h2,
body.single-hw_guide .entry-content h3,
body.tax-hw_guide_section .entry-content p,
body.tax-hw_guide_section .entry-content li {
  color: var(--hw-gb-ink-soft) !important;
}

/* Title banner kill-switch (in case GlobalNav CSS is not present) */
body.hw-guidebook-page.hw-hide-entry-title .entry-hero,
body.single-hw_guide.hw-hide-entry-title .entry-hero,
body.tax-hw_guide_section.hw-hide-entry-title .entry-hero,
body.hw-guidebook-page .entry-hero.page-hero-section,
body.single-hw_guide .entry-hero.page-hero-section {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.hw-gb-shell,
.hw-gb {
  --hw-gb-ink: var(--hw-fe-text, #211b16);
  --hw-gb-ink-soft: var(--hw-fe-text-soft, #5c564e);
  --hw-gb-muted: var(--hw-fe-muted, #8a8379);
  --hw-gb-paper: var(--hw-fe-elevated, #fcfaf7);
  --hw-gb-panel: var(--hw-fe-panel, rgba(252, 250, 247, 0.94));
  --hw-gb-line: var(--hw-fe-border, #e4ded4);
  --hw-gb-flame: var(--hw-fe-accent, #b85c3a);
  --hw-gb-gold: var(--hw-fe-accent-light, #c9724f);
  --hw-gb-deep: var(--hw-fe-bg, #f7f3ed);
  --hw-gb-accent-rgb: var(--hw-fe-accent-rgb, 184, 92, 58);
  --hw-gb-text-rgb: var(--hw-fe-text-rgb, 33, 27, 22);
  --hw-gb-serif: var(--hw-fe-font-display, var(--hw-font-display, "Playfair Display", Georgia, "Times New Roman", serif));
  --hw-gb-sans: var(--hw-fe-font-body, var(--hw-font-body, Lora, Georgia, "Times New Roman", serif));
  --hw-gb-ui: var(--hw-fe-font-ui, var(--hw-font-ui, "DM Sans", "Segoe UI", system-ui, sans-serif));
  max-width: min(var(--hw-stage-content, 1600px), 100%);
  margin: 0 auto;
  color: var(--hw-gb-ink);
  font-family: var(--hw-gb-sans);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.hw-gb-shell {
  min-height: 70vh;
  background: transparent;
  padding: clamp(1.25rem, 3vw, 2.35rem) var(--hw-stage-pad, clamp(1rem, 3.5vw, 3.5rem)) 3.25rem;
}

.hw-gb {
  padding: clamp(1.25rem, 3vw, 2.35rem) var(--hw-stage-pad, clamp(1rem, 3.5vw, 3.5rem)) 3.25rem;
}

.hw-gb-shell .hw-gb {
  padding: 0;
  max-width: none;
}

.hw-gb h1,
.hw-gb h2,
.hw-gb h3,
.hw-gb strong,
.hw-gb a {
  color: var(--hw-gb-ink);
}

.hw-gb p,
.hw-gb li,
.hw-gb td,
.hw-gb dd {
  color: var(--hw-gb-ink-soft);
}

.hw-gb-hero {
  max-width: min(var(--hw-stage-content, 1600px), 100%);
  margin: 0 auto 1rem;
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  border-bottom: 1px solid var(--hw-gb-line);
}

/* Almanac-like catalog hero — soft ivory panel only */
.hw-gb-hero--catalog {
  text-align: left;
  margin-bottom: 0.9rem;
  padding: clamp(0.95rem, 2vw, 1.35rem);
  border: 1px solid var(--hw-gb-line);
  border-radius: var(--hw-fe-radius-lg, 16px);
  border-bottom: 1px solid var(--hw-gb-line);
  background: var(--hw-gb-paper);
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06));
}

.hw-gb-hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.75rem;
}

.hw-gb-hero__copy {
  max-width: 40rem;
}

.hw-gb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.95rem;
}

.hw-gb-hero--catalog .hw-gb-hero__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
}

.hw-gb-hero--catalog .hw-gb-hero__lede {
  margin: 0;
  font-size: 0.92rem;
  text-align: left;
}

.hw-gb-hero--catalog .hw-gb-search {
  margin: 0;
  max-width: none;
  padding: 0.45rem;
  border-radius: 10px;
  border: 1px solid var(--hw-gb-line);
  background: var(--hw-fe-surface, #efe8dc);
}

.hw-gb-hero--catalog .hw-gb-search input[type="search"],
.hw-gb-hero--catalog .hw-gb-search button {
  min-height: 2.2rem;
  padding: 0.4rem 0.85rem;
}

.hw-gb-text-link {
  color: var(--hw-gb-flame);
  font-family: var(--hw-gb-ui);
  font-size: 0.86rem;
  text-decoration: none;
  border-bottom: 1px dotted rgba(var(--hw-gb-accent-rgb), 0.45);
}

.hw-gb-text-link:hover {
  color: var(--hw-fe-accent-strong, #8f4027);
  border-bottom-color: var(--hw-fe-accent-strong, #8f4027);
}

.hw-gb-count {
  font-family: var(--hw-gb-ui);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--hw-fe-elevated, #fcfaf7);
  background: var(--hw-gb-flame);
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  line-height: 1.2;
  vertical-align: middle;
}

.hw-gb-hero__kicker {
  margin: 0 0 0.65rem;
  font-family: var(--hw-gb-ui);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hw-gb-flame);
}

.hw-gb-hero--catalog .hw-gb-hero__kicker {
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
}

.hw-gb-hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--hw-gb-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.18;
  color: var(--hw-gb-ink);
}

.hw-gb-hero__lede {
  margin: 0 auto 1.5rem;
  max-width: 40rem;
  color: var(--hw-gb-ink-soft);
  font-size: 1.08rem;
}

.hw-gb-search {
  display: flex;
  gap: 0.55rem;
  align-items: stretch;
  max-width: 38rem;
  margin: 0 auto;
  font-family: var(--hw-gb-ui);
}

.hw-gb-search--inline {
  margin: 1rem 0 0;
  max-width: 28rem;
}

.hw-gb-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--hw-gb-line);
  border-radius: 10px;
  background: var(--hw-gb-paper);
  color: var(--hw-gb-ink);
  padding: 0.75rem 1rem;
  font: inherit;
}

.hw-gb-search input[type="search"]::placeholder {
  color: var(--hw-gb-muted);
}

.hw-gb-search button {
  border: 1px solid rgba(var(--hw-gb-accent-rgb), 0.5);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--hw-gb-gold), var(--hw-gb-flame));
  color: var(--hw-fe-elevated, #fcfaf7);
  font: inherit;
  font-weight: 700;
  padding: 0.75rem 1.15rem;
  cursor: pointer;
}

.hw-gb-callout {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  max-width: min(var(--hw-stage-content, 1600px), 100%);
  margin: 0 auto 2.5rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--hw-fe-border-strong, rgba(var(--hw-gb-accent-rgb), 0.35));
  border-radius: var(--hw-fe-radius-lg, 16px);
  background:
    radial-gradient(ellipse 80% 120% at 0% 50%, rgba(var(--hw-gb-accent-rgb), 0.08), transparent 55%),
    var(--hw-gb-paper);
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06));
}

.hw-gb-callout__kicker {
  margin: 0 0 0.35rem;
  font-family: var(--hw-gb-ui);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hw-gb-flame);
}

.hw-gb-callout h2 {
  margin: 0 0 0.4rem;
  font-family: var(--hw-gb-serif);
  font-size: 1.55rem;
  color: var(--hw-gb-ink);
}

.hw-gb-callout p {
  margin: 0;
  max-width: 42rem;
  color: var(--hw-gb-ink-soft);
}

.hw-gb-folios {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: min(var(--hw-stage-content, 1600px), 100%);
  margin: 0 auto;
}

.hw-gb-folio {
  padding: 0.95rem 1rem 1.05rem;
  border: 1px solid var(--hw-gb-line);
  border-radius: var(--hw-fe-radius-lg, 14px);
  background: var(--hw-gb-paper);
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06));
}

.hw-gb-folio__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: start;
  margin-bottom: 0.75rem;
}

.hw-gb-folio__index {
  font-family: var(--hw-gb-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--hw-gb-flame);
  padding-top: 0.35rem;
}

.hw-gb-folio__titles h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0 0 0.15rem;
  font-family: var(--hw-gb-serif);
  font-size: 1.1rem;
  color: var(--hw-gb-ink);
}

.hw-gb-folio__icon {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 9px;
  border: 1px solid rgba(var(--hw-gb-accent-rgb), 0.28);
  background: linear-gradient(160deg, rgba(var(--hw-gb-accent-rgb), 0.12), var(--hw-fe-surface, #efe8dc));
  color: var(--hw-gb-flame);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hw-gb-folio__icon svg,
.hw-gb-folio__icon .hw-gb__icon,
.hw-gb-folio__icon .hw-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.hw-gb-folio__titles p {
  margin: 0;
  color: var(--hw-gb-muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.hw-gb-folio__all {
  font-family: var(--hw-gb-ui);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--hw-gb-flame);
  text-decoration: none;
  white-space: nowrap;
  padding-top: 0.25rem;
}

.hw-gb-folio__all:hover {
  text-decoration: underline;
  color: var(--hw-fe-accent-strong, #8f4027);
}

/* Dense Almanac-like directory */
.hw-gb-dir {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.75rem, 1fr));
  gap: 0.4rem;
}

.hw-gb-dir-item {
  display: grid;
  align-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--hw-gb-line);
  background: var(--hw-fe-surface, #efe8dc);
  color: inherit;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.hw-gb-dir-item:hover {
  border-color: rgba(var(--hw-gb-accent-rgb), 0.45);
  background: rgba(var(--hw-gb-accent-rgb), 0.08);
  transform: translateY(-1px);
}

.hw-gb-dir-item strong {
  font-family: var(--hw-gb-ui);
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--hw-gb-ink);
  line-height: 1.25;
}

.hw-gb--catalog {
  max-width: min(var(--hw-stage-content, 1600px), 100%);
  margin: 0 auto;
}

.hw-gb-results.hw-gb-folio,
.hw-gb-results.hw-gb-folios {
  max-width: min(var(--hw-stage-content, 1600px), 100%);
  margin: 0 auto;
}

.hw-gb-results__summary {
  margin: 0 0 1rem;
  color: var(--hw-gb-ink-soft);
  font-family: var(--hw-gb-ui);
  font-size: 0.95rem;
}

.hw-gb--live-search [data-hw-gb-ssr] {
  display: none;
}

.hw-gb--catalog.is-filtering .hw-gb-folio:not([hidden]),
.hw-gb--catalog.is-filtering [data-hw-gb-item]:not([hidden]) {
  animation: hw-gb-filter-in 0.18s ease-out;
}

@keyframes hw-gb-filter-in {
  from {
    opacity: 0.55;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hw-gb--catalog.is-filtering .hw-gb-folio:not([hidden]),
  .hw-gb--catalog.is-filtering [data-hw-gb-item]:not([hidden]) {
    animation: none;
  }
}

@media (max-width: 720px) {
  .hw-gb-dir {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hw-gb-folio__head {
    grid-template-columns: auto 1fr;
  }

  .hw-gb-folio__all {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .hw-gb-dir {
    grid-template-columns: 1fr;
  }

  .hw-gb-layout {
    gap: 1rem;
  }

  .hw-gb-topics {
    grid-template-columns: 1fr;
  }
}

.hw-gb-layout {
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  max-width: min(var(--hw-stage-content, 1600px), 100%);
  margin: 0 auto;
  align-items: start;
}

.hw-gb-sidebar {
  position: sticky;
  top: 5.5rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--hw-gb-line);
  border-radius: var(--hw-fe-radius-lg, 14px);
  background: var(--hw-gb-paper);
  max-height: calc(100vh - 7rem);
  overflow: auto;
  font-family: var(--hw-gb-ui);
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06));
}

.hw-gb-sidebar__home {
  display: block;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--hw-gb-line);
  color: var(--hw-gb-flame);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.hw-gb-sidebar__section {
  margin: 0.4rem 0;
}

.hw-gb-sidebar__section summary {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 0.2rem;
  color: var(--hw-gb-ink);
}

.hw-gb-sidebar__section summary::-webkit-details-marker {
  display: none;
}

.hw-gb-sidebar__section summary svg,
.hw-gb-sidebar__section summary .hw-gb__icon,
.hw-gb-sidebar__section summary .hw-icon {
  width: 1rem;
  height: 1rem;
  color: var(--hw-gb-flame);
  flex-shrink: 0;
}

.hw-gb-sidebar__section ul {
  list-style: none;
  margin: 0.2rem 0 0.55rem;
  padding: 0 0 0 0.25rem;
}

.hw-gb-sidebar__section a {
  display: block;
  padding: 0.32rem 0.5rem;
  border-radius: 7px;
  color: var(--hw-gb-ink-soft);
  text-decoration: none;
  font-size: 0.86rem;
}

.hw-gb-sidebar__section a:hover,
.hw-gb-sidebar__section a.is-active {
  color: var(--hw-gb-ink);
  background: rgba(var(--hw-gb-accent-rgb), 0.1);
}

.hw-gb-main {
  min-width: 0;
}

.hw-gb-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0 0 1rem;
  font-family: var(--hw-gb-ui);
  font-size: 0.85rem;
  color: var(--hw-gb-muted);
}

.hw-gb-crumbs a {
  color: var(--hw-gb-flame);
  text-decoration: none;
}

.hw-gb-section-head,
.hw-gb-article__head {
  padding: 1.15rem 1.25rem 1.25rem;
  border: 1px solid var(--hw-gb-line);
  border-radius: var(--hw-fe-radius-lg, 16px);
  background: var(--hw-gb-paper);
  margin-bottom: 1.25rem;
  box-shadow:
    inset 4px 0 0 0 var(--hw-gb-flame),
    var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06));
}

.hw-gb-section-head h1,
.hw-gb-article__head h1 {
  margin: 0 0 0.5rem;
  font-family: var(--hw-gb-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--hw-gb-ink);
}

.hw-gb-section-head p,
.hw-gb-article__subtitle {
  margin: 0;
  color: var(--hw-gb-ink-soft);
  font-size: 1.05rem;
}

.hw-gb-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.9rem;
}

.hw-gb-card {
  border: 1px solid var(--hw-gb-line);
  border-radius: var(--hw-fe-radius-md, 12px);
  background: var(--hw-gb-paper);
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.hw-gb-card:hover {
  border-color: rgba(var(--hw-gb-accent-rgb), 0.45);
  transform: translateY(-2px);
}

.hw-gb-card__link {
  display: block;
  padding: 1rem 1.05rem 1.1rem;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.hw-gb-card__section {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--hw-gb-ui);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hw-gb-flame);
}

.hw-gb-card__title {
  margin: 0 0 0.45rem;
  font-family: var(--hw-gb-serif);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--hw-gb-ink);
}

.hw-gb-card__excerpt {
  margin: 0 0 0.75rem;
  color: var(--hw-gb-ink-soft);
  font-size: 0.92rem;
}

.hw-gb-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  font-family: var(--hw-gb-ui);
  font-size: 0.76rem;
  color: var(--hw-gb-muted);
}

.hw-gb-pill {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--hw-gb-line);
  background: rgba(var(--hw-gb-accent-rgb), 0.1);
  color: var(--hw-gb-ink-soft);
  font-family: var(--hw-gb-ui);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hw-gb-article__audience {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 0 0 0.65rem;
  font-family: var(--hw-gb-ui);
  font-size: 0.85rem;
  color: var(--hw-gb-muted);
}

.hw-gb-article__cta {
  margin: 1rem 0 0;
}

.hw-gb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1.05rem;
  border-radius: 10px;
  border: 1px solid rgba(var(--hw-gb-accent-rgb), 0.5);
  background: linear-gradient(180deg, var(--hw-gb-gold), var(--hw-gb-flame));
  color: var(--hw-fe-elevated, #fcfaf7) !important;
  text-decoration: none;
  font-family: var(--hw-gb-ui);
  font-weight: 700;
  font-size: 0.92rem;
}

.hw-gb-btn--ghost {
  background: transparent;
  border-color: var(--hw-gb-line);
  color: var(--hw-gb-ink) !important;
  margin-right: 0.5rem;
}

.hw-gb-article__body {
  margin-top: 0.25rem;
  padding: 1.35rem 1.4rem 1.5rem;
  border: 1px solid var(--hw-gb-line);
  border-radius: var(--hw-fe-radius-lg, 16px);
  background: var(--hw-gb-paper);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: none;
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06));
}

.hw-gb-article__body p {
  margin: 0 0 1.05rem;
  color: var(--hw-gb-ink-soft) !important;
}

.hw-gb-article__body h2,
.hw-gb-article__body h3 {
  margin: 1.6rem 0 0.65rem;
  font-family: var(--hw-gb-serif);
  color: var(--hw-gb-ink) !important;
}

.hw-gb-article__body strong {
  color: var(--hw-gb-ink) !important;
}

.hw-gb-article__body a {
  color: var(--hw-gb-flame) !important;
}

.hw-gb-article__body ul,
.hw-gb-article__body ol {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
  color: var(--hw-gb-ink-soft);
}

.hw-gb-article__body li {
  margin-bottom: 0.4rem;
  color: var(--hw-gb-ink-soft) !important;
}

.hw-gb-dl {
  margin: 0 0 1.25rem;
  border-top: 1px solid var(--hw-gb-line);
}

.hw-gb-dl dt {
  margin: 1rem 0 0.25rem;
  font-family: var(--hw-gb-serif);
  font-size: 1.15rem;
  color: var(--hw-gb-ink) !important;
}

.hw-gb-dl dd {
  margin: 0;
  color: var(--hw-gb-ink-soft) !important;
}

.hw-gb-note {
  margin: 1.25rem 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--hw-gb-flame);
  border-radius: 0 10px 10px 0;
  background: rgba(var(--hw-gb-accent-rgb), 0.08);
  color: var(--hw-gb-ink-soft) !important;
}

.hw-gb-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.75rem 0 1.25rem;
}

.hw-gb-pager a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--hw-gb-line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: var(--hw-gb-paper);
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06));
}

.hw-gb-pager a span {
  font-family: var(--hw-gb-ui);
  font-size: 0.72rem;
  color: var(--hw-gb-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hw-gb-pager a strong {
  font-family: var(--hw-gb-serif);
  font-weight: 600;
  color: var(--hw-gb-ink);
}

.hw-gb-pager__next {
  text-align: right;
  justify-self: end;
  width: 100%;
}

.hw-gb-related {
  margin: 1.75rem 0;
}

.hw-gb-related h2,
.hw-gb-help-foot h2,
.hw-gb-results h2 {
  margin: 0 0 0.85rem;
  font-family: var(--hw-gb-serif);
  font-size: 1.35rem;
  color: var(--hw-gb-ink);
}

.hw-gb-help-foot {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--hw-gb-line);
  border-radius: var(--hw-fe-radius-lg, 14px);
  background: var(--hw-gb-paper);
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06));
}

.hw-gb-help-foot p {
  margin: 0 0 0.85rem;
  color: var(--hw-gb-ink-soft);
}

.hw-gb-empty {
  color: var(--hw-gb-ink-soft);
  max-width: 36rem;
}

.hw-gb-results {
  max-width: min(var(--hw-stage-content, 1600px), 100%);
  margin: 0 auto;
}

.hw-gb-link {
  display: inline;
  margin-left: 0.35rem;
  color: var(--hw-gb-flame) !important;
  text-decoration: none;
  font-family: var(--hw-gb-ui);
  font-size: 0.88rem;
  font-weight: 700;
}

.hw-gb-link:hover {
  text-decoration: underline;
  color: var(--hw-fe-accent-strong, #8f4027) !important;
}

@media (max-width: 860px) {
  .hw-gb-layout {
    grid-template-columns: 1fr;
  }

  .hw-gb-sidebar {
    position: static;
    max-height: none;
  }

  .hw-gb-folio__head {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hw-gb-folio__all {
    grid-column: 1;
    justify-self: start;
    white-space: normal;
  }

  .hw-gb-pager {
    grid-template-columns: 1fr;
  }

  .hw-gb-pager__next {
    text-align: left;
  }

  .hw-gb-search {
    flex-direction: column;
  }

  .hw-gb-callout {
    flex-direction: column;
    align-items: flex-start;
  }
}
