/* Kelly Lee Books: section of convertadesign.com. Loads after /styles.css (main site) and adds book-specific pieces. */
:root {
  --rhu: #6a1b9a;
  --rhu-soft: #f3e8f9;
  --rescue: #1a5c38;
  --rescue-soft: #e6f3ec;
  --red: #b8172a;
}

.brand .sub {
  margin-left: 6px; padding-left: 10px; border-left: 1px solid var(--line);
  font-family: var(--serif); font-weight: 600; color: var(--orange-dark);
}

.site-header nav ul { gap: 20px; }
.site-header nav ul a { white-space: nowrap; }
@media (max-width: 860px) { .site-header nav ul { display: none; } }

/* Hero */
.b-hero { padding: 64px 0 56px; background: linear-gradient(180deg, #f3f8fd 0%, #fff 100%); }
.b-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.b-hero h1 em { font-style: italic; color: var(--blue); }
.b-hero.rhu { background: linear-gradient(180deg, #f6eefb 0%, #fff 100%); }
.b-hero.rhu h1 em { color: var(--rhu); }
.b-hero.rescue { background: linear-gradient(180deg, #eef7f1 0%, #fff 100%); }
.b-hero.rescue h1 em { color: var(--rescue); }
.portrait { margin: 0; justify-self: center; text-align: center; }
.portrait img { width: min(260px, 70vw); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid #fff; box-shadow: var(--shadow); }
.portrait figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.cover-fan { display: flex; justify-content: center; margin: 0; }
.cover-fan img { width: 42%; max-width: 190px; height: auto; border-radius: 8px; box-shadow: 0 10px 28px rgba(15, 59, 102, .18); }
.cover-fan img + img { margin-left: -12%; transform: translateY(18px) rotate(4deg); }
.cover-fan img:first-child { transform: rotate(-4deg); }

/* Quick links (link-in-bio use) */
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.quick a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 500; font-size: .93rem; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; }
.quick a:hover { border-color: var(--blue); color: var(--blue); }

/* Book / product cards */
.books { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.books.three { grid-template-columns: repeat(3, 1fr); }
.bk { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: border-color .2s, box-shadow .2s; }
.bk:hover { border-color: #bcd3ea; box-shadow: var(--shadow); }
.bk img { width: 104px; height: auto; flex: none; align-self: flex-start; border-radius: 6px; box-shadow: 0 4px 14px rgba(0, 0, 0, .14); }
.bk h3 { margin-bottom: .3em; }
.bk p { color: var(--muted); font-size: .96rem; margin-bottom: .8em; }
.bk .btns { display: flex; flex-wrap: wrap; gap: 8px; }
.bk.stack { flex-direction: column; }
.bk.stack img { width: 100%; max-width: none; aspect-ratio: 1; object-fit: cover; }
.bk.bundle { background: linear-gradient(160deg, #fff4ec, #fde8db); border-color: #f7d2bb; flex-direction: column; justify-content: center; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-dark); background: #fde8db; border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; }
.price { font-weight: 600; color: var(--navy); }

/* Topic cards */
.topic .icon.rhu { background: var(--rhu-soft); }
.topic .icon.rhu svg { stroke: var(--rhu); }
.topic .icon.rescue { background: var(--rescue-soft); }
.topic .icon.rescue svg { stroke: var(--rescue); }
.topic { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.topic .text-link { margin-top: 16px; }

/* Article pages */
.article { max-width: 760px; }
.article h2 { margin-top: 1.6em; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.article p, .article li { color: #33424f; }
.article ul { padding-left: 1.2em; }
.article li { margin: .35em 0; }
.callout { background: var(--tint); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; margin: 28px 0; }
.callout.rhu { background: var(--rhu-soft); border-color: #e2cdee; }
.callout.rescue { background: var(--rescue-soft); border-color: #cfe5d8; }
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.faq dt { font-weight: 600; color: var(--navy); margin-top: 1.1em; }
.faq dd { margin: .3em 0 0; color: #33424f; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.pack-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pack-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: #33424f; margin: 0; }
.pack-list strong { color: var(--navy); display: block; }

.disclosure { font-size: .85rem; color: var(--muted); margin-top: 28px; }
.site-footer a { color: #cfe0f0; }

@media (max-width: 960px) {
  .b-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .books.three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .b-hero { padding: 44px 0 40px; }
  .books, .books.three, .pack-list { grid-template-columns: 1fr; }
  .bk img { width: 88px; }
  .brand .sub { font-size: .95rem; }
}
@media (max-width: 400px) {
  .brand .sub { display: none; }
}

/* RHU badge */
.rhu-badge { float: right; width: 160px; height: 160px; margin: 0 0 12px 20px; border-radius: 50%; }
.cover-fan img.badge-in-fan { width: 34%; max-width: 150px; border-radius: 50%; box-shadow: none; transform: translate(-10%, 55%); margin-left: -14%; }
@media (max-width: 720px) { .rhu-badge { width: 110px; height: 110px; } }
