/* Shared landing-page components for every book page (/books/<slug>/).
   Layout only: colors come from the page's theme (body.theme-snowy, body.theme-noir, ...) through these tokens:
   --lp-bar-bg, --lp-bar-text, --lp-panel, --lp-panel-border, --lp-text, --lp-soft, --lp-link, --lp-cta-bg, --lp-cta-text, --lp-focus */

/* slim "way back to Mugwhistle" bar */
.mw-topbar { background: var(--lp-bar-bg); color: var(--lp-bar-text); font-family: var(--display); font-weight: 500; font-size: .95rem; line-height: 1.3; text-align: center; padding: .5rem 1rem; }
.mw-topbar a { color: var(--lp-bar-text); text-decoration: underline; text-underline-offset: .2em; font-weight: 600; }
.mw-topbar a:hover { text-decoration-thickness: 3px; }

/* shared section helpers */
.lp-list { margin: 0; padding-left: 1.3rem; max-width: 60ch; }
.lp-list li { margin-bottom: .5rem; }
.lp-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lp-faq dl { margin: 0; display: grid; gap: 1.1rem; }
.lp-faq dt { font-family: var(--display); font-weight: 600; font-size: 1.3rem; }
.lp-faq dd { margin: .15rem 0 0; max-width: 60ch; }

/* repeat call to action */
.cta-band { background: var(--lp-panel); border: 3px solid var(--lp-panel-border); border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 .25rem; }
.cta-band p { margin: 0; max-width: 46ch; }
.cta-actions { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; }

/* more from Mugwhistle */
.more-grid { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 300px)); gap: 1.75rem; }
.more-card a { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center; text-decoration: none; background: var(--lp-panel); border: 2px solid var(--lp-panel-border); border-radius: 18px; padding: .9rem; color: var(--lp-text); }
.more-card a:hover { border-color: var(--lp-link); }
.more-card img { border-radius: 8px; width: 96px; height: auto; }
.more-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin: 0 0 .2rem; }
.more-card p { margin: 0; font-size: 1rem; color: var(--lp-soft); }
.more-card .tag { display: inline-block; font-weight: 700; font-size: .85rem; border: 2px solid var(--lp-link); color: var(--lp-link); border-radius: 999px; padding: 0 .5rem; margin-bottom: .3rem; }
.visit-link { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }

@media (max-width: 820px) { .lp-two { grid-template-columns: 1fr; } }
