/* Author Card Component Styles */

.author-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  max-width: 60rem;
  padding: 2rem;
  margin: 3rem auto;
  background: #fff;
  border-radius: 1.5rem;
  -webkit-box-shadow: 0 0 8rem rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 8rem rgba(0, 0, 0, 0.05);
  border: 0.2rem solid transparent;
  -webkit-transition: border-color 0.2s, -webkit-box-shadow 0.2s;
  transition: border-color 0.2s, -webkit-box-shadow 0.2s;
  transition: border-color 0.2s, box-shadow 0.2s;
  transition: border-color 0.2s, box-shadow 0.2s, -webkit-box-shadow 0.2s;
}

.author-card:hover {
  border-color: rgba(229, 26, 56, 0.1);
  -webkit-box-shadow: 0 0 10rem rgba(0, 0, 0, 0.08);
  box-shadow: 0 0 10rem rgba(0, 0, 0, 0.08);
}

.author-card__photo {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 10rem;
  height: 10rem;
  margin-right: 2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 0.2rem solid #f0f0f0;
  background: #f9f9f9;
}

.author-card__img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.author-card__content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.author-card__name {
  margin: 0 0 0.5rem;
  font-size: 2.4rem;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

.author-card__position {
  margin: 0 0 0.8rem;
  font-size: 1.6rem;
  font-weight: 500;
  color: #484040;
  line-height: 1.4;
}

.author-card__updated {
  margin: 0 0 1.5rem;
  font-size: 1.4rem;
  font-weight: 400;
  color: #888;
  line-height: 1.4;
}

.author-card__updated time {
  font-weight: 500;
  color: #484040;
}

.author-card__btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  background: #e51a38;
  border-radius: 1rem;
  text-decoration: none;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.author-card__btn:hover {
  background: #ce1732;
}

/* Responsive Styles */
@media screen and (max-width: 767px) {
  .author-card {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }

  .author-card__photo {
    margin: 0 0 1.5rem;
    width: 8rem;
    height: 8rem;
  }

  .author-card__name {
    font-size: 2rem;
  }

  .author-card__position {
    font-size: 1.5rem;
  }

  .author-card__btn {
    display: block;
    width: 100%;
    max-width: 30rem;
    margin: 0 auto;
  }
}

@media screen and (max-width: 575px) {
  .author-card {
    padding: 2rem 1.5rem;
  }

  .author-card__photo {
    width: 7rem;
    height: 7rem;
  }

  .author-card__name {
    font-size: 1.8rem;
  }

  .author-card__btn {
    font-size: 1.5rem;
    padding: 0.9rem 1.5rem;
  }
}