/* === Authors Page === */

.authors-page {
  padding-bottom: 0;
}

/* Hero */
.authors-hero {
  padding: 100px 0 60px !important;
  text-align: center;
  min-height: 420px;
  background: linear-gradient(135deg, #f8f4e8 0%, #f0f6f6 40%, #fdf0ef 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.authors-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 50%;
  height: 160%;
  background: radial-gradient(
    ellipse,
    rgba(189, 160, 0, 0.1) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.authors-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 50%;
  height: 160%;
  background: radial-gradient(
    ellipse,
    rgba(247, 203, 202, 0.15) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.authors-hero h1 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--main-bg-color);
  margin: 0 auto;
  text-wrap: balance;
  position: relative;
}

.authors-hero h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-color), var(--pink-color));
  margin: 28px auto 0;
}

/* Author cards section */
.authors-list {
  padding: 70px 0 60px;
}

.author-card + .author-card {
  margin-top: 32px;
}

.author-card {
  display: flex;
  gap: 48px;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 48px;
  max-width: 850px;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.author-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-color), var(--pink-color));
  border-radius: 4px 0 0 4px;
}

.author-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.1);
}

.author-avatar {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--gold-color), var(--pink-color)) border-box;
  box-shadow: 0 8px 24px rgba(189, 160, 0, 0.15);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-info {
  flex: 1;
}

.author-info h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--main-bg-color);
  margin-bottom: 8px;
}

.author-role {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-color);
  margin-bottom: 18px;
  padding: 4px 12px;
  background: rgba(189, 160, 0, 0.08);
  border-radius: 20px;
}

.author-info p {
  font-size: 1rem;
  color: var(--dark-text-color);
  line-height: 1.8;
}

.author-socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.author-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ligth-bg-color);
  color: var(--dark-text-color);
  font-size: 1.2rem;
  text-decoration: none;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.author-socials a:hover {
  background: var(--gold-color);
  color: #fff;
  transform: translateY(-2px);
}

/* Join section */
.authors-join {
  padding: 0 0 80px;
}

.authors-join-card {
  background: #fff;
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(189, 160, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.authors-join-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-color), var(--pink-color));
  border-radius: 0 0 3px 3px;
}

.authors-join-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--main-bg-color);
  margin-bottom: 14px;
}

.authors-join-card p {
  font-size: 0.95rem;
  color: var(--dark-text-color);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .authors-hero {
    padding: 80px 0 50px;
  }

  .authors-hero h1 {
    font-size: clamp(22px, 5vw, 30px);
  }

  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
    padding: 36px 28px;
  }

  .author-card::before {
    width: 100%;
    height: 4px;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, var(--gold-color), var(--pink-color));
    border-radius: 20px 20px 0 0;
  }

  .author-avatar {
    width: 130px;
    height: 130px;
  }

  .authors-join-card {
    padding: 36px 24px;
  }
}

@media (max-width: 480px) {
  .author-card {
    padding: 28px 20px;
  }

  .author-avatar {
    width: 110px;
    height: 110px;
  }

  .author-info h2 {
    font-size: 1.35rem;
  }
}
