/*
 * Belle Vie Institute: styles for its own pages (views-store.js), loaded after styles.css. Everything
 * else, including the palette and type, is the shared Belle Vie styles.
 */

/* ---------- hero: three drawn covers in the arch ---------- */
.hero-books { position: relative; width: 88%; height: 74%; margin-bottom: 9%; }
.hero-books .hb { position: absolute; bottom: 0; display: block; width: 46%; }
.hero-books .hb .art-svg { display: block; width: 100%; height: auto; }
.hero-books .hb-0 { left: 0; transform: rotate(-7deg); transform-origin: bottom center; z-index: 1; }
.hero-books .hb-1 { left: 27%; width: 52%; z-index: 3; }
.hero-books .hb-2 { right: 0; transform: rotate(7deg); transform-origin: bottom center; z-index: 2; }

/* ---------- covers: guides read larger than the Market's packaging ---------- */
.art-svg.s-book { width: 62%; }
.art.square .art-svg.s-book { width: 54%; }

/* ---------- topics ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 0; border-top: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.topic-grid li { min-width: 0; border-bottom: 1px solid var(--line); }
.topic-tile, .topic-tile:hover { text-decoration: none; }
.topic-tile { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: 'icon name' 'icon blurb' 'icon cta'; column-gap: 18px; row-gap: 6px; height: 100%; padding: 26px 22px 26px 4px; color: var(--ink); }
.topic-icon { grid-area: icon; width: 40px; height: 40px; color: var(--gold-deep); }
.topic-name { grid-area: name; font: 400 clamp(1.35rem, 2vw, 1.6rem)/1.2 var(--f-head); }
.topic-blurb { grid-area: blurb; font-size: 15px; line-height: 1.6; color: var(--muted); }
.topic-cta { grid-area: cta; display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font: 400 10.5px/1 var(--f-body); letter-spacing: .26em; text-transform: uppercase; }
.topic-cta .rule { display: inline-block; width: 26px; height: 1px; background: var(--gold); transition: width .3s ease; }
.topic-tile:hover .rule, .topic-tile:focus-visible .rule { width: 44px; }
.topic-tile:hover .topic-name { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (min-width: 760px) { .topic-grid li:nth-child(odd) .topic-tile { padding-right: 32px; } }

/* ---------- free guide ---------- */
.free-guide .two-col { align-items: center; }
.checklist-art { justify-self: center; width: min(100%, 360px); padding: 34px 32px 38px; background: var(--porcelain); border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(43, 51, 46, .10); transform: rotate(-2deg); }
/* A deeper gold than --gold-deep, so this small label is readable (4.9:1 on porcelain; --gold-deep is 3.4:1). */
.checklist-art .cl-brand { font: 400 10px/1 var(--f-body); letter-spacing: .32em; color: #856a36; }
.checklist-art .cl-title { margin: 14px 0 22px; font: 400 26px/1.15 var(--f-head); color: var(--ink); }
.checklist-art ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist-art li { display: flex; align-items: center; gap: 12px; }
.checklist-art .box { flex: none; width: 14px; height: 14px; border: 1px solid var(--gold); }
.checklist-art .line { display: block; height: 1px; background: var(--line-2); }
.fg-copy .nl-form { margin-left: 0; margin-right: 0; }
.fg-copy .lede { max-width: 50ch; }

/* ---------- organizations and courses ---------- */
.org-band { padding-block: 0 clamp(56px, 8vw, 96px); }
.org-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 28px; }
.org-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); background: var(--porcelain); }
.org-card p { color: var(--muted); line-height: 1.65; max-width: 44ch; }

@media (max-width: 620px) {
  .hero-books { width: 92%; }
  .checklist-art { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .topic-cta .rule { transition: none; } }
