/* V53 — homepage hierarchy + compact navigation labels + permanent desktop nav alignment.
   Approved direction: book first, destinations immediately, reader reactions last. */

/* The shorter labels should breathe comfortably on desktop rather than crowd the right edge. */
@media (min-width: 981px) {
  .nav-shell {
    /* Match the same centered right edge as the site content shell. */
    width: min(var(--max), calc(100% - 38px)) !important;
    gap: 24px !important;
  }
  .site-menu {
    gap: clamp(15px, 1.55vw, 23px) !important;
  }

  /* Bring the five primary destinations up close to the hero. */
  body[data-page="home"] .hero-inner {
    padding-bottom: 24px !important;
  }
  body[data-page="home"] .feature-section {
    padding: 18px 0 26px !important;
  }
  body[data-page="home"] .feature-grid-five {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
  }
  body[data-page="home"] .feature-grid-five .feature-card,
  body[data-page="home"] .feature-grid-five .feature-card:nth-child(4),
  body[data-page="home"] .feature-grid-five .feature-card:nth-child(5),
  body[data-page="home"] .feature-grid-five .feature-card:last-child {
    grid-column: auto !important;
    width: auto !important;
    min-height: 0 !important;
    align-self: stretch !important;
    border-color: rgba(215,182,122,.22) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.15) !important;
  }
  body[data-page="home"] .feature-grid-five .feature-image,
  body[data-page="home"] .music-card > img.feature-image,
  body[data-page="home"] .author-card-home > img.feature-image {
    height: 154px !important;
  }
  body[data-page="home"] .feature-grid-five .feature-body {
    padding: 14px 13px 15px !important;
    min-height: 0 !important;
  }
  body[data-page="home"] .feature-body h3 {
    margin-bottom: 5px !important;
    font-size: .9rem !important;
  }
  body[data-page="home"] .feature-grid-five .feature-body p {
    margin: 0 !important;
    min-height: 0 !important;
    font-size: .8rem !important;
    line-height: 1.34 !important;
  }

  /* Reactions are a quiet closing strip after the primary destinations. */
  body[data-page="home"] .reader-notes-section {
    padding: 8px 0 9px !important;
    border-top: 1px solid rgba(199,155,78,.12) !important;
    border-bottom: 0 !important;
  }
  body[data-page="home"] .reader-notes-grid {
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 0 !important;
  }
  body[data-page="home"] .reader-note {
    padding: 6px 16px 5px !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-left: 1px solid rgba(215,182,122,.12) !important;
    box-shadow: none !important;
  }
  body[data-page="home"] .reader-note:first-child {
    border-left: 0 !important;
  }
  body[data-page="home"] .reader-note p {
    font-size: .88rem !important;
    line-height: 1.2 !important;
  }
  body[data-page="home"] .reader-note footer {
    margin-top: 3px !important;
    font-size: .61rem !important;
  }
}

/* Mobile: destinations still come first, remain compact and easy to scan. */
@media (max-width: 640px) {
  body[data-page="home"] .hero-inner {
    padding-bottom: 18px !important;
  }
  body[data-page="home"] .feature-section {
    padding: 13px 0 18px !important;
  }
  body[data-page="home"] .feature-grid-five {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }
  body[data-page="home"] .feature-grid-five .feature-card,
  body[data-page="home"] .feature-grid-five .feature-card:last-child {
    min-height: 0 !important;
  }
  body[data-page="home"] .feature-grid-five .feature-card:last-child {
    grid-column: 1 / -1 !important;
    width: calc(50% - 4.5px) !important;
    justify-self: center !important;
  }
  body[data-page="home"] .feature-grid-five .feature-image,
  body[data-page="home"] .music-card > img.feature-image,
  body[data-page="home"] .author-card-home > img.feature-image {
    height: 100px !important;
  }
  body[data-page="home"] .feature-grid-five .feature-body {
    padding: 10px 8px 11px !important;
  }
  body[data-page="home"] .feature-body h3 {
    margin-bottom: 3px !important;
  }
  body[data-page="home"] .reader-notes-section {
    padding: 8px 0 9px !important;
  }
  body[data-page="home"] .reader-notes-grid {
    gap: 4px !important;
  }
  body[data-page="home"] .reader-note {
    padding: 5px 10px !important;
  }
  body[data-page="home"] .reader-note p {
    font-size: .86rem !important;
    line-height: 1.18 !important;
  }
  body[data-page="home"] .reader-note footer {
    margin-top: 3px !important;
    font-size: .6rem !important;
  }
}
