/* Guides index: scoped to the catalogue, with every guide retained in the HTML. */
.guide-index-page .page-head { padding-block: 2rem; }
.guide-index-page .page-head h1 { font-size: clamp(2.2rem, 5vw, 3.3rem); }
.guide-index-page .page-body { padding-top: 1.5rem; }
.guide-index-page .guide-tools-prominent { max-width: 64rem; margin: 0 0 1.4rem; }
.guide-index-page .guide-index-shortcuts { max-width: 64rem; margin: 0 0 2.5rem; }
.guide-index-shortcuts > p { margin: 0 0 .6rem; font-weight: 700; }
.guide-index-shortcuts > ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .6rem; padding: 0; margin: 0; list-style: none; }
.guide-index-shortcuts li { margin: 0; min-width: 0; }
.guide-index-shortcuts li a { display: flex; align-items: center; height: 100%; min-height: 48px; padding: .7rem .85rem; background: var(--green-soft); color: var(--ink); border: 1px solid #bad0c7; border-radius: var(--radius-sm); font-weight: 700; line-height: 1.4; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.guide-index-shortcuts li a:hover { border-color: var(--green); }
.guide-index-section { max-width: 64rem; margin: 0 0 2.8rem; padding-top: 1.8rem; border-top: 1px solid var(--line); scroll-margin-top: 7rem; }
.guide-index-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; margin-bottom: .55rem; }
.guide-index-section-head h2 { margin: 0; font-size: clamp(1.5rem,3vw,2rem); line-height: 1.2; }
.guide-section-count { flex-shrink: 0; font-size: .82rem; color: var(--muted); }
.guide-section-intro { max-width: 48rem; margin: 0 0 1.1rem; color: var(--muted); }
.guide-index-page .guide-list { max-width: none; padding: 0; margin: 0; }
.guide-index-page .guide-list li { min-width: 0; margin: 0; }
.guide-index-conditions { padding: 1.3rem; border: 1px solid #bad0c7; border-radius: var(--radius); background: var(--green-soft); }
.guide-index-more { margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.guide-index-more > summary { min-height: 48px; padding: .85rem 1rem; cursor: pointer; font-weight: 700; line-height: 1.5; }
.guide-more-count { font-size: .86rem; font-weight: 400; color: var(--muted); white-space: nowrap; }
.guide-index-more[open] > summary { margin-bottom: .4rem; }
.guide-index-more > .guide-list { padding: 0 .8rem .8rem; }
.guide-section-note { margin: 1rem 0 0; max-width: 48rem; font-size: .9rem; }
.guide-index-page .guide-extra-resources { max-width: 64rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.guide-index-page .guide-index-shortcuts a:focus-visible,
.guide-index-page .guide-index-more > summary:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
@media (max-width: 700px) {
  .guide-index-page .page-head { padding-block: 1.5rem; }
  .guide-index-page .page-body { padding-top: 1rem; }
  .guide-index-shortcuts > ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
  .guide-index-shortcuts li a { font-size: .86rem; padding: .65rem .7rem; }
  .guide-index-section { margin-bottom: 2.1rem; padding-top: 1.3rem; }
  .guide-index-conditions { padding: .8rem; scroll-margin-top: 4.75rem; }
  .guide-index-conditions .guide-index-section-head { gap: .35rem .5rem; }
  .guide-index-conditions .guide-section-count { display: none; }
  .guide-index-conditions .guide-section-intro { margin-bottom: .7rem; font-size: .9rem; }
  .guide-index-conditions .guide-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
  .guide-index-conditions .guide-list a { display: flex; align-items: center; min-height: 64px; padding: .7rem; }
  .guide-index-conditions .guide-list b { font-family: var(--sans); font-size: 1rem; line-height: 1.3; }
  .guide-index-conditions .guide-list small,
  .guide-index-conditions .guide-list .card-icon,
  .guide-index-conditions .guide-list a::after { display: none; }
}
@media print {
  .guide-index-page .guide-tools,
  .guide-index-page .guide-index-shortcuts,
  .guide-index-page .guide-filter-results,
  .guide-index-more > summary { display: none !important; }
  .guide-index-page [data-guide-catalog][hidden] { display: block !important; }
  .guide-index-section { margin-bottom: 1.5rem; }
}
