/*
 * Bebelplatz FASE 16.3 — Author QA
 */

.bp162-author-copy,
.bp162-context-block,
.bp162-context-links a,
.bp162-book-grid > * {
  min-width: 0;
}

.bp162-author-copy h1,
.bp162-context-links span,
.bp162-book-grid a,
.bp162-breadcrumb {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.bp162-portrait,
.bp162-book-grid img {
  max-width: 100%;
}

.bp162-primary-button,
.bp162-secondary-button,
.bp162-context-links a,
.bp162-explore-nav a,
.bp162-book-grid a,
.bp162-book-grid button {
  touch-action: manipulation;
}

.bp162-book-grid .bp132-book-card {
  min-width: 0;
}

.bp162-book-grid .bp132-book-title,
.bp162-book-grid .bp132-book-author {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .bp162-breadcrumb {
    gap: 6px;
    font-size: 11px;
  }

  .bp162-stats span {
    min-height: 38px;
  }

  .bp162-hero-actions a {
    min-height: 48px;
  }
}

@media (max-width: 420px) {
  .bp162-shell {
    width: min(100% - 20px, 400px);
  }

  .bp162-hero {
    padding-top: 26px;
  }

  .bp162-author-copy h1 {
    font-size: clamp(36px, 12vw, 48px);
    line-height: 1;
  }

  .bp162-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bp162-primary-button,
  .bp162-secondary-button {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 340px) {
  .bp162-portrait-frame {
    width: min(100%, 258px);
  }
}

/* 16.3 final touch target repair */
.bp162-breadcrumb a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
