/* Guides (26 Sep 2026). Generated by build_guides.py. */
.theme-badge { display: inline-block; align-self: flex-start; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #fff; border-radius: 980px; padding: 3px 11px; }
.theme-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 34px; }
.theme-toggle { font: inherit; font-size: 15px; font-weight: 600; border-radius: 980px; padding: 8px 16px; cursor: pointer; border: 2px solid; background: #fff; }
.theme-toggle[aria-pressed="true"] { color: #fff; }
.guide-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.guide-card a { display: flex; flex-direction: column; gap: 8px; height: 100%; background: #fff; border-radius: 18px; padding: 22px 22px 20px; color: inherit; text-decoration: none; border-top: 5px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.guide-card a:hover, .guide-card a:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.10); }
.guide-card h2, .guide-card h3, .theme-card h3 { margin: 4px 0 0; font-size: 19px; line-height: 1.3; color: var(--ink); }
.guide-card p, .theme-card p { margin: 0; color: #3a3a3c; font-size: 16px; flex: 1; }
.guide-more { font-size: 15px; font-weight: 600; color: var(--navy); }
.guide-card[hidden] { display: none; }
.guide-none { text-align: center; color: var(--muted); }
.theme-card { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; border-top: 5px solid var(--line); }
.theme-card:hover { text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.10); }
.guides-all { text-align: center; margin: 26px 0 0; font-weight: 600; }
.guide { padding: 48px 0 72px; }
.guide-inner { max-width: 720px; }
.guide-back { margin: 0 0 18px; font-size: 15px; }
.guide h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; letter-spacing: -0.015em; margin: 12px 0 8px; }
.guide-checked { color: var(--muted); font-size: 15px; margin: 0 0 26px; }
.guide-body { font-size: 18px; line-height: 1.6; }
.guide-body h2 { font-size: 22px; margin: 30px 0 8px; }
.guide-body ul { padding-left: 22px; }
.guide-body li { margin: 6px 0; }
.guide-note { margin: 34px 0 0; padding: 14px 18px; background: var(--soft); border-radius: 12px; color: #3a3a3c; font-size: 15px; }
.guide-cta { margin: 26px 0 0; text-align: center; }
.guide-cta p { margin: 0 0 10px; font-weight: 600; }
.guide-related { margin: 38px 0 0; border-top: 1px solid var(--line); padding-top: 18px; }
.guide-related h2 { font-size: 18px; margin: 0 0 8px; }
.guide-related ul { padding-left: 20px; margin: 0; }
.guides-head .section-head h1 { font-size: clamp(28px, 4.5vw, 40px); letter-spacing: -0.015em; margin: 0 0 10px; }
.guide-search { max-width: 520px; margin: 0 auto 20px; }
.guide-search input { width: 100%; font: inherit; font-size: 17px; padding: 13px 18px; border: 1px solid var(--line); border-radius: 980px; background: #fff; color: var(--ink); }
.guide-search input:focus { outline: 3px solid #1b6fd1; outline-offset: 2px; }
.theme-rights.theme-badge { background: #0f2256; }
.guide-card[data-theme="rights"] a, .theme-card.theme-rights { border-top-color: #0f2256; }
.theme-toggle.theme-rights { border-color: #0f2256; color: #0f2256; }
.theme-toggle.theme-rights[aria-pressed="true"] { background: #0f2256; color: #fff; }
.theme-home.theme-badge { background: #2e7d4f; }
.guide-card[data-theme="home"] a, .theme-card.theme-home { border-top-color: #2e7d4f; }
.theme-toggle.theme-home { border-color: #2e7d4f; color: #2e7d4f; }
.theme-toggle.theme-home[aria-pressed="true"] { background: #2e7d4f; color: #fff; }
.theme-local.theme-badge { background: #8a5f12; }
.guide-card[data-theme="local"] a, .theme-card.theme-local { border-top-color: #8a5f12; }
.theme-toggle.theme-local { border-color: #8a5f12; color: #8a5f12; }
.theme-toggle.theme-local[aria-pressed="true"] { background: #8a5f12; color: #fff; }
