.guide-wrap { max-width: 1080px; margin: 0 auto; padding: 28px 28px 72px; }
.guide-wrap a:focus-visible, .guide-skip:focus-visible { outline: 4px solid #315eaa; outline-offset: 4px; }
.guide-skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: #fffdf7; border: 3px solid #2b2620; }
.guide-skip:focus { top: 12px; }
.guide-breadcrumb { font-size: .8rem; margin-bottom: 24px; overflow-wrap: anywhere; }
.guide-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.guide-hero { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; align-items: center; padding: 32px; background: #fff8e5; border: 4px solid #2b2620; box-shadow: 7px 7px 0 #2b2620; }
.guide-kicker, .guide-number { color: #73501f; font-family: var(--font-pixel); font-size: .8rem; font-weight: bold; letter-spacing: .04em; }
.guide-hero h1 { margin: 10px 0 18px; font-family: var(--font-pixel); line-height: 1.6; font-size: clamp(1.5rem, 3.5vw, 2rem); overflow-wrap: anywhere; }
.guide-intro { font-size: .95rem; }
.guide-updated { font-size: .76rem; margin-top: 18px; color: #5d564c; }
.guide-hero img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 3px solid #2b2620; image-rendering: auto; }
.guide-steps { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 38px; }
.guide-steps a { padding: 10px 16px; background: #2b2620; color: #fffdf7; border: 2px solid #2b2620; font-size: .86rem; }
.guide-steps a:hover { background: #594a33; }
.guide-section { margin: 42px 0; scroll-margin-top: 24px; }
.guide-section h2, .guide-note h2, .guide-other h2 { font-family: var(--font-pixel); font-size: 1.3rem; line-height: 1.65; margin: 5px 0 12px; }
.guide-lead { margin-bottom: 20px; font-size: .9rem; }
.guide-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 0; list-style: none; }
.guide-cards li { display: flex; min-width: 0; }
.guide-cards a { display: flex; flex-direction: column; width: 100%; padding: 22px; background: #fffdf7; border: 3px solid #2b2620; box-shadow: 4px 4px 0 #b8a587; transition: background .15s; }
.guide-cards a:hover { background: #fff0cb; }
.guide-cards h3 { font-size: 1rem; line-height: 1.7; margin-bottom: 10px; overflow-wrap: anywhere; }
.guide-cards p { font-size: .86rem; line-height: 1.85; margin-bottom: 14px; }
.guide-read { display: block; color: #65430e; font-size: .82rem; font-weight: bold; margin-top: auto; text-decoration: underline; text-underline-offset: 4px; }
.guide-tools { display: grid; gap: 16px; list-style: none; }
.guide-tools a { display: block; background: #e7f1db; border: 3px solid #2b2620; padding: 24px; box-shadow: 4px 4px 0 #8ca674; }
.guide-tools a:hover { background: #d7e7c4; }
.guide-tools strong { font-size: 1.05rem; display: block; margin-bottom: 8px; }
.guide-tools span { display: block; font-size: .88rem; }
.guide-tools .guide-read { margin-top: 14px; }
.guide-supplement { border-top: 2px dashed #97856c; padding-top: 24px; }
.guide-note { border: 2px dashed #8d7957; background: #fff8e9; padding: 24px; margin: 42px 0; }
.guide-note h2 { font-size: 1rem; }
.guide-note p { font-size: .85rem; margin-bottom: 12px; }
.guide-inline { display: inline-block; font-weight: bold; text-decoration: underline; text-underline-offset: 4px; padding: 8px 0; }
.guide-other { border-top: 3px solid #2b2620; padding-top: 24px; }
.guide-other a { display: inline-block; padding: 12px 16px; margin: 8px 8px 0 0; border: 2px solid #2b2620; background: #fffdf7; font-size: .86rem; }
.guide-other a[aria-current="page"] { background: #ffcf75; }
.guide-return { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; font-size: .85rem; }
.guide-return a { text-decoration: underline; text-underline-offset: 4px; padding: 8px 0; }
.guide-footer { text-align: center; padding: 28px 20px; background: #2b2620; color: #fffdf7; border-top: 4px solid #2b2620; font-size: .8rem; }
.guide-footer a { font-family: var(--font-pixel); font-size: 1rem; }
@media (max-width: 650px) {
  .guide-wrap { padding: 20px 18px 48px; }
  .guide-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 22px; box-shadow: 4px 4px 0 #2b2620; }
  .guide-hero img { max-width: 340px; justify-self: center; }
  .guide-cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .guide-cards a { padding: 20px; }
  .guide-section { margin: 32px 0; }
  .guide-section h2 { font-size: 1.15rem; }
  .guide-steps { gap: 8px; margin: 24px 0 30px; }
  .guide-steps a { padding: 10px 12px; font-size: .78rem; }
  .guide-tools a, .guide-note { padding: 20px; }
  .guide-other a { display: block; margin-right: 0; }
  .blog-header { gap: 16px; }
  .blog-header .logo { font-size: .95rem; }
  .blog-header a.back { font-size: .72rem; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .guide-cards a { transition: none; } }
