/*
 * Bebelplatz FASE 20.2 — Recommendation Components
 */

.bp202-recommendation-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(199,126,81,.12), transparent 30%),
    linear-gradient(180deg, rgba(250,246,241,.84), rgba(246,240,234,.96));
}

.bp202-recommendation-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-top: 1px solid rgba(43,34,28,.08);
  border-bottom: 1px solid rgba(43,34,28,.08);
}

.bp202-recommendation-heading {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.bp202-recommendation-heading .bp202-copy {
  max-width: 680px;
  margin: 12px 0 0;
  color: #6f6259;
  font-size: 14px;
  line-height: 1.65;
}

.bp202-recommendation-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 22px;
  margin-top: 28px;
}

.bp202-recommendation-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.bp202-recommendation-item .bp132-book-card {
  min-width: 0;
  flex: 1 1 auto;
}

.bp202-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
}

.bp202-reasons > span {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(153,86,45,.16);
  border-radius: 999px;
  background: rgba(255,250,245,.86);
  color: #8c542f;
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .065em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bp202-recommendation-item:hover .bp202-reasons > span {
  border-color: rgba(153,86,45,.28);
  background: #fffaf5;
}

@media (max-width: 1180px) {
  .bp202-recommendation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .bp202-recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }

  .bp202-recommendation-heading .bp202-copy {
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .bp202-recommendation-grid {
    gap: 26px 12px;
  }

  .bp202-reasons {
    gap: 5px;
    margin-top: 8px;
  }

  .bp202-reasons > span {
    min-height: 24px;
    padding: 0 7px;
    font-size: 8px;
    letter-spacing: .045em;
  }
}
