/* =========================================================
   SecInfra: author page
   ========================================================= */

.author-hero {
  background: linear-gradient(135deg, #003B71 0%, #114890 100%);
  color: #fff;
  padding: clamp(40px, 6vw, 72px) 0;
}
.author-hero__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.author-hero__photo {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.85);
  background: var(--color-bg-alt);
}
.author-hero h1 {
  color: #fff;
  margin: 8px 0 6px;
}
.author-hero__role {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.author-hero__years {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.author-profile {
  padding: clamp(32px, 5vw, 56px) 0 0;
}
.author-profile__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.author-profile h2,
.author-posts__title {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin: 0 0 12px;
}
.author-profile__bio p {
  margin: 0;
  line-height: 1.7;
}
.author-profile__list {
  margin: 0;
  padding-left: 1.2em;
}
.author-profile__list li {
  margin-bottom: 6px;
}
.author-posts__title {
  margin-bottom: 24px;
}

@media (max-width: 860px) {
  .author-profile__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 600px) {
  .author-hero__inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .author-hero__photo {
    width: 128px;
    height: 128px;
  }
}
