/* Books page extras (moved out of books.html 2026-11-27 for the site CSP). Everything else comes from site.css */
  /* Books page extras. Everything else comes from site.css */
  .books-hero { padding: 72px 0 56px; }
  .books-hero h1 { font-family: Rajdhani, system-ui, sans-serif; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin: .4em 0 .3em; }
  .books-hero h1 span { color: #F26B1D; }
  .books-hero p.lead { max-width: 640px; font-size: 1.1rem; opacity: .9; }
  .books-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
  .books-tags span { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 4px 12px; font-size: .85rem; }

  .shelf { padding: 64px 0; }
  .shelf h2 { font-family: Rajdhani, system-ui, sans-serif; font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0 0 .25em; }
  .why { margin-top: 28px; }
  .shelf .sub { margin: 0 0 32px; opacity: .8; max-width: 680px; }

  .book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 28px; }
  .book { display: flex; flex-direction: column; background: rgba(127,127,127,.06); border: 1px solid rgba(127,127,127,.18); border-radius: 12px; overflow: hidden; }
  .book .cover { aspect-ratio: 6.625 / 10.25; background: #0E0E10; display: flex; align-items: flex-end; }
  .book .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .book .cover.wide { aspect-ratio: 8.5 / 11; }
  .book .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
  .book .num { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #F26B1D; font-weight: 600; }
  .book h3 { font-family: Rajdhani, system-ui, sans-serif; font-size: 1.35rem; line-height: 1.15; margin: 0; }
  .book p { margin: 0; font-size: .95rem; opacity: .85; }
  .book .meta { font-size: .82rem; opacity: .7; }
  .book .buy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
  .book .buy a { flex: 1 1 auto; text-align: center; font-size: .85rem; padding: 9px 12px; }
  .book .buy a.alt { background: transparent; border: 1px solid currentColor; color: inherit; }
  .book .buy a.soon { opacity: .45; pointer-events: none; cursor: default; }

  .featured { display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: 40px; align-items: center; }
  .featured .cover img { width: 100%; border-radius: 10px; box-shadow: 0 18px 50px rgba(0,0,0,.45); display: block; }
  .featured ol { padding-left: 1.2em; line-height: 1.7; }
  .featured .buy { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
  .featured .buy a.alt { background: transparent; border: 1px solid currentColor; color: inherit; }
  .featured .buy a.soon { opacity: .45; pointer-events: none; }
  @media (max-width: 720px) { .featured { grid-template-columns: 1fr; } .featured .cover { max-width: 280px; } }

  .why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
  .why div h3 { font-family: Rajdhani, system-ui, sans-serif; font-size: 1.25rem; margin: 0 0 6px; }
  .why div p { margin: 0; opacity: .85; }

  .hero-buy { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
  .hero-buy + .sub { margin-top: 14px; }
  .author .buy, .free .buy { display: flex; margin-top: 18px; }
  .buy a.alt, .hero-buy a.alt, .free a.alt { background: transparent; border: 1px solid currentColor; color: inherit; }
  .free { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 40px; align-items: center; }
  .free img { width: 100%; border-radius: 8px; box-shadow: 0 12px 36px rgba(0,0,0,.25); display: block; background: #fff; }
  .free ul { line-height: 1.7; padding-left: 1.2em; }
  .author { display: grid; grid-template-columns: minmax(160px, 240px) 1fr; gap: 40px; align-items: start; }
  .author img { width: 100%; border-radius: 50%; display: block; }
  .visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
  .visit-grid ul { line-height: 1.7; padding-left: 1.2em; }
  @media (max-width: 560px) { .book-grid { grid-template-columns: 1fr 1fr; gap: 14px; } .book .body { padding: 12px; } .book h3 { font-size: 1.1rem; } .book p { font-size: .85rem; } .book .buy a { font-size: .75rem; padding: 8px 6px; } }
  @media (max-width: 760px) { .free, .author, .visit-grid { grid-template-columns: 1fr; } .free img { max-width: 260px; } .author img { max-width: 200px; } }
