/* Book Hero Component */
.book-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--size-6);
  align-items: start;
  margin-bottom: var(--size-6);
}

.book-hero__metadata {
  display: flex;
  flex-direction: column;
  gap: var(--size-4);
}

.book-metadata {
  display: flex;
  flex-direction: column;
  gap: var(--size-3);
}

.book-metadata__item {
  display: flex;
  align-items: center;
  gap: var(--size-2);
  font-size: var(--font-size-1);
}

.book-metadata__item strong {
  color: var(--text-2);
  font-weight: var(--font-weight-5);
  min-width: 120px;
}

.book-metadata__item--centered {
  justify-content: center;
  text-align: center;
}

.book-hero__cover {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.book-hero__cover-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-2);
}

.book-hero__cover-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--size-2);
  padding: var(--size-6) var(--size-4);
  background: var(--surface-2);
  border: 2px dashed var(--surface-4);
  border-radius: var(--radius-2);
  color: var(--text-3);
  font-size: var(--font-size-1);
  min-height: 240px;
  aspect-ratio: 2/3;
}

.book-hero__cover-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .book-hero {
    grid-template-columns: 1fr;
    gap: var(--size-4);
  }
  
  .book-hero__cover {
    order: -1;
    justify-content: center;
  }
  
  .book-hero__cover-placeholder {
    min-height: 200px;
    max-width: 200px;
    margin: 0 auto;
  }
  
  .book-metadata__item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--size-1);
  }
  
  .book-metadata__item strong {
    min-width: auto;
  }
}

/* Content section headers */
.content-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--size-4);
  padding-bottom: var(--size-2);
  border-bottom: 1px solid var(--surface-3);
}

.content-section__header h2 {
  margin: 0;
  font-size: var(--font-size-3);
  color: var(--text-1);
}

.content-section__actions {
  display: flex;
  gap: var(--size-2);
}