/* styles/components/PostHeader.module.css */

.header {
  max-width: calc(var(--notion-max-width, 800px) + 5rem);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 2rem;
  width: 100%;
  translate: 2rem 0rem;
}

.header.mobile {
  padding-left: 2rem;
  padding-right: 2rem;
  translate: 0rem 0rem;
}

.title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
  color: var(--fg-color, #000);
  word-break: keep-all;
}

.metadataRow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  gap: 0.5rem;
}

.authorList {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.separator,
.publishedDate {
  color: var(--secondary-text-color);
  font-weight: 400;
}

.tagContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.coverImageContainer {
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
  transition: opacity 0.3s ease-in-out;
  overflow: hidden;
}

.coverImage {
  object-fit: cover;
}

.loadingPlaceholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: var(--bg-color-0, #f5f5f5);
  color: var(--secondary-text-color, #666);
  font-size: 1.2rem;
  border-radius: 12px;
}
