/* La presentazione è HTML; il riferimento è usato solo per foto e acquerelli. */
.bookPresentation { --book-paper: #fcf5ed; --book-ink: #101134; --book-red: #bd3513; }
.bookPage { max-width: 1100px; margin: 0 auto; background: var(--book-paper); color: var(--book-ink); font-family: Georgia, 'Times New Roman', serif; line-height: 1.25; }
.bookPage * { box-sizing: border-box; }
.bookPage h1, .bookPage h2, .bookPage h3 { font-family: inherit; letter-spacing: -.025em; }
.bookPage p { margin: 0; }
.bookPage a:focus-visible { outline: 3px solid var(--book-ink); outline-offset: 6px; }
.bookHero { display: grid; grid-template-columns: 53% 47%; }
.bookHeroPhoto { position: relative; background: url('/images/arianna-presentazione.jpeg') left top / 189% auto no-repeat; min-height: 0; aspect-ratio: 540 / 557; align-self: center; }
.bookHeroPhoto::after { content: ''; position: absolute; top: 0; right: 0; width: 14px; height: 60px; background: linear-gradient(90deg, transparent, var(--book-paper)); }
.bookHeroText { text-align: center; padding: 22px 32px 34px 8px; }
.bookAuthorName { display: flex; align-items: center; gap: 16px; justify-content: center; text-transform: uppercase; letter-spacing: .12em; font-size: clamp(15px, 2.25vw, 25px); white-space: nowrap; }
.bookAuthorName::before, .bookAuthorName::after { content: ''; flex: 1; height: 1px; background: var(--book-red); }
.bookPage h1 { margin: 20px 0 12px; font-size: clamp(56px, 7.7vw, 85px); font-style: italic; font-weight: 400; line-height: .86; color: var(--book-red); }
.bookSubtitle { font-size: clamp(24px, 3.1vw, 34px); font-style: italic; font-weight: 700; line-height: 1.05; }
.bookPage .bookPitch { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.17; margin: 20px 0 26px; }
.bookAmazon { display: inline-flex; justify-content: center; align-items: center; gap: 20px; max-width: 100%; padding: 10px 28px; border-radius: 100px; background: linear-gradient(#dc4c13, #c12f08); color: #fff9ee; text-decoration: none; text-transform: uppercase; font-size: clamp(18px, 2.05vw, 23px); line-height: 1.1; box-shadow: inset 0 1px 3px #ffffff35; }
.bookAmazon:hover { background: #ac2c0b; text-decoration: none; }
.bookAmazonMark { position: relative; display: block; font: bold 66px/.7 Georgia, serif; text-transform: none; padding: 0 23px 12px 0; border-right: 1px solid #ffdfbd; }
.bookAmazonMark svg { position: absolute; width: 53px; height: 19px; left: -6px; bottom: -4px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.bookAmazon > span:nth-child(2) > span { padding-left: 14px; }
.bookPage .bookAvailability { font-size: clamp(16px, 1.85vw, 20px); font-style: italic; margin-top: 12px; }
.bookQuestion { display: grid; grid-template-columns: 43% 57%; align-items: center; padding: 24px 6%; border-top: 3px solid #fffaf5; }
.bookQuestion h2 { color: var(--book-red); font-size: clamp(25px, 3.2vw, 35px); font-weight: 400; font-style: italic; line-height: 1.06; margin: 0; padding-right: 25px; }
.bookQuestion p { border-left: 1px solid var(--book-red); padding-left: 40px; font-size: 18px; }
.bookLoves { border-top: 3px solid #fffaf5; padding: 16px 6% 28px; background: radial-gradient(ellipse at top left, #dceef5 0, transparent 24%), radial-gradient(ellipse at top right, #dceef5 0, transparent 24%); }
.bookLoves > h2 { display: flex; align-items: center; justify-content: center; gap: 24px; text-align: center; font-size: clamp(23px, 2.8vw, 30px); margin: 0 0 20px; }
.bookLoves > h2::before, .bookLoves > h2::after { content: ''; width: 65px; height: 1px; background: var(--book-red); flex-shrink: 0; }
.bookLoveGrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bookLove { text-align: center; padding: 0 20px; position: relative; }
.bookLove + .bookLove::before { content: ''; position: absolute; left: 0; top: 35px; bottom: 0; width: 1px; background: var(--book-red); }
.bookIcon { width: 90px; height: 58px; fill: none; stroke: var(--book-red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bookLove h3 { font-size: 24px; line-height: 1; margin: 4px 0 8px; }
.bookLove p { font-size: 18px; line-height: 1.12; }
.bookBio { display: grid; grid-template-columns: 41% 59%; border-block: 4px solid #fffaf5; }
.bookBioPhoto { background: url('/images/arianna-presentazione.jpeg') left 75.55% / 250% auto no-repeat; min-height: 210px; }
.bookBioText { margin: 26px 32px 26px 14px; padding-left: 34px; border-left: 1px solid var(--book-red); }
.bookBio h2 { font-size: clamp(28px, 3.5vw, 38px); font-style: italic; margin: 0 0 10px; }
.bookBio p { font-size: 20px; line-height: 1.2; }
.bookEvents { display: grid; grid-template-columns: 25% 75%; padding: 26px 3% 30px; align-items: center; }
.bookEvents > h2 { font-style: italic; font-weight: 400; color: var(--book-red); font-size: clamp(26px, 3.2vw, 35px); line-height: 1.05; margin: 0; padding-right: 14px; }
.bookEventGrid { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; }
.bookEventGrid li { border-left: 1px solid var(--book-red); text-align: center; padding: 0 9px; font-size: 15px; }
.bookEventGrid h3 { text-transform: uppercase; font-size: 17px; letter-spacing: 0; margin: 8px 0 6px; }
.bookPage .bookEventGrid p { margin-top: 3px; }
.bookPin { display: block; width: 13px; height: 17px; border: 2px solid var(--book-red); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); margin: 0 auto 10px; }
.bookPin::after { content: ''; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--book-red); margin: 3px; }
.bookFinal { position: relative; isolation: isolate; text-align: center; padding: 22px 20px 36px; min-height: 185px; }
.bookFinal::before { content: ''; position: absolute; z-index: -1; inset: auto 0 0; height: clamp(45px, 14vw, 154px); background-image: linear-gradient(90deg, transparent, var(--book-paper) 29%, var(--book-paper) 71%, transparent), url('/images/arianna-presentazione.jpeg'); background-position: center, center bottom; background-size: 100% 100%, 100% auto; background-repeat: no-repeat; }
.bookFinal .bookAmazon { font-size: 25px; padding-inline: 40px; }
.bookVisuallyHidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 850px) {
  .bookHeroText { padding-right: 20px; }
  .bookAuthorName { gap: 8px; letter-spacing: .08em; }
  .bookAmazon { gap: 12px; padding-inline: 20px; }
  .bookAmazonMark { font-size: 52px; padding-right: 15px; }
  .bookAmazonMark svg { width: 43px; }
  .bookQuestion { padding-inline: 4%; }
  .bookQuestion p { padding-left: 24px; font-size: 16px; }
  .bookLove { padding-inline: 12px; }
  .bookLove h3 { font-size: 21px; }
  .bookLove p { font-size: 16px; }
  .bookBio p { font-size: 18px; }
  .bookEvents { grid-template-columns: 1fr; gap: 26px; }
  .bookEvents > h2 { text-align: center; }
  .bookEvents > h2 br { display: none; }
  .bookEventGrid li:first-child { border-left: 0; }
}
@media (max-width: 600px) {
  .bookHero { display: flex; flex-direction: column; }
  .bookHeroPhoto { width: 100%; aspect-ratio: 540 / 557; min-height: 0; }
  .bookHeroText { padding: 26px 22px 30px; }
  .bookAuthorName { font-size: 18px; }
  .bookPage h1 { font-size: clamp(50px, 16vw, 72px); }
  .bookSubtitle { font-size: 30px; }
  .bookPage .bookPitch { font-size: 21px; line-height: 1.3; }
  .bookAmazon { font-size: 21px; }
  .bookQuestion { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; }
  .bookQuestion h2 { font-size: 30px; padding-right: 0; }
  .bookQuestion p { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--book-red); font-size: 18px; line-height: 1.4; }
  .bookLoves { padding: 26px 16px; }
  .bookLoves > h2 { font-size: 27px; }
  .bookLoves > h2::before, .bookLoves > h2::after { display: none; }
  .bookLoveGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .bookLove:nth-child(3)::before { display: none; }
  .bookLove p { font-size: 17px; line-height: 1.25; }
  .bookBio { grid-template-columns: 1fr; }
  .bookBioPhoto { min-height: 0; aspect-ratio: 410 / 196; }
  .bookBioText { margin: 26px 24px; padding: 0; border: 0; }
  .bookBio h2 { font-size: 32px; }
  .bookBio p { line-height: 1.4; }
  .bookEvents { padding: 30px 20px; }
  .bookEventGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .bookEventGrid li { font-size: 17px; }
  .bookEventGrid li:nth-child(odd) { border-left: 0; }
  .bookEventGrid li:last-child { grid-column: 1 / -1; }
  .bookFinal { padding: 20px 16px 55px; }
  .bookFinal .bookAmazon { font-size: 21px; padding-inline: 24px; }
}
/* Il menu condiviso va a capo anche alle larghezze tablet. */
@media (min-width: 641px) and (max-width: 1100px) {
  .bookPresentation .headerInner { flex-wrap: wrap; }
  .bookPresentation .navLinks { width: 100%; flex-wrap: wrap; gap: 4px; }
}
