/* Article pages: calm editorial layout with a visible author and honest reading time. */
.editorial-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(38px, 6vw, 88px);
  min-height: 520px;
}

.editorial-hero > div {
  max-width: 800px;
}

.editorial-photo {
  width: 100%;
  height: 390px;
  margin: 0;
  overflow: hidden;
  border-radius: 160px 160px 28px 28px;
  background: #d8c4ad;
}

.editorial-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 52% 36%;
}

.article-page {
  max-width: 1080px;
}

.article-page > .article-header {
  padding-bottom: 54px;
}

.article-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(38px, 6vw, 72px);
  align-items: end;
}

.article-head-copy {
  min-width: 0;
}

.article-head-copy h1 {
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
}

.article-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-reading-time::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.article-head-photo {
  width: 100%;
  margin: 0;
}

.article-head-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  object-position: 52% 36%;
  border-radius: 120px 120px 22px 22px;
  background: #d8c4ad;
}

.article-head-photo figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
  text-align: center;
}

.article-author-profile {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.article-author-profile img {
  width: 54px;
  height: 54px;
  display: block;
  object-fit: cover;
  object-position: 52% 34%;
  border-radius: 50%;
}

@media (max-width: 780px) {
  .editorial-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 48px;
  }

  .editorial-photo {
    height: 320px;
    border-radius: 120px 120px 22px 22px;
  }

  .article-page > .article-header {
    padding-bottom: 42px;
  }

  .article-head-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .article-head-copy h1 {
    font-size: clamp(2.55rem, 12vw, 3.6rem);
  }

  .article-head-photo {
    max-width: 320px;
  }

  .article-head-photo img {
    aspect-ratio: 5 / 4;
    border-radius: 22px 90px 22px 22px;
    object-position: 52% 31%;
  }
}


/* Individual articles stay text-first; the author photo remains compact in the byline. */
.article-head-grid {
  grid-template-columns: minmax(0, 1fr);
}

.article-head-copy {
  max-width: 900px;
}

.article-head-photo {
  display: none;
}
