.section__authorhero {
  margin-top: 100px;
  padding-top: 48px;
  padding-bottom: 30px;
}
.section__authorhero__body {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.section__authorhero .breadcrumbs {
  color: var(--color-black);
}
.section__authorhero__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section__authorhero__about {
  font-weight: 500;
  font-size: var(--font-size-16);
  line-height: 1.4;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--color-main-30);
}
.section__authorhero__inner {
  display: grid;
  grid-template-columns: 200px auto;
  gap: 64px;
}
.section__authorhero__img {
  width: 100%;
}
.section__authorhero__img img {
  aspect-ratio: 1/1;
  border-radius: 50%;
  width: 100%;
  object-fit: cover;
}
.section__authorhero__inner__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section__authorhero__position {
  font-size: var(--font-size-20);
  line-height: 1.4;
  color: var(--color-black-60);
}
.section__authorhero__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}
.section__authorhero__social {
  width: 48px;
  height: 48px;
  background-color: var(--color-lightgray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.section__authorhero__social .icon {
  width: 16px;
  height: 16px;
}
.section__authorhero__social .icon use {
  transition: all 0.3s ease;
  color: var(--color-black);
}
.section__authorposts__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.section__authorposts__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  row-gap: 48px;
}
.section__blog__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section__blog__item__img {
  width: 100%;
  position: relative;
}
.section__blog__item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 220px;
}
.section__blog__item__img::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  content: "";
  background-color: var(--color-black-30);
  transition: all 0.3s ease;
}
.section__blog__item__img::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  content: "Read more";
  padding: 8px 12px;
  border-radius: 80px;
  background-color: var(--color-white);
  font-weight: 700;
  font-size: var(--font-size-14);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-main);
  opacity: 0;
  transition: all 0.3s ease;
}
.section__authorposts__title {
    text-align: center;
}
.section__blog__item__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}
.section__blog__item__category,
.section__blog__item__date {
  font-size: var(--font-size-16);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-black-50);
}
.section__blog__item__title {
  font-weight: 700;
  font-size: var(--font-size-18);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-main);
}
.section__blog__item__text {
  font-size: var(--font-size-16);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-main);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.section__blog__item__date {
  margin-top: auto;
}
@media (max-width: 1280px) {
  .section__authorhero {
    padding-bottom: 30px;
  }
  .section__authorhero__about {
    font-size: var(--font-size-15);
  }
  .section__authorhero__position {
    font-size: var(--font-size-18);
  }
  .section__blog__item__category,
  .section__blog__item__date {
    font-size: var(--font-size-15);
  }
  .section__blog__item__title {
    font-size: var(--font-size-16);
  }
  .section__blog__item__text {
    font-size: var(--font-size-15);
  }
}

@media (max-width: 992px) {
  .section__authorhero {
    padding-bottom: 40px;
    margin-top: 80px;
    padding-top: 36px;
  }
  .section__authorhero__body {
    gap: 36px;
  }
  .section__authorhero__about {
    font-size: var(--font-size-14);
  }
  .section__authorhero__inner {
    grid-template-columns: 150px auto;
    gap: 48px;
  }
  .section__authorposts__body {
    gap: 36px;
  }
  .section__authorposts__list {
    grid-template-columns: repeat(3, 1fr);
  }
  .section__blog__item__category,
  .section__blog__item__date {
    font-size: var(--font-size-14);
  }
  .section__blog__item__title {
    font-size: var(--font-size-16);
  }
  .section__blog__item__text {
    font-size: var(--font-size-14);
  }
}
@media (max-width: 560px) {
  .section__authorhero {
    padding-bottom: 30px;
    margin-top: 64px;
  }
  .section__authorhero__body {
    grid-template-columns: 100px auto;
    gap: 24px;
  }
  .section__authorhero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .section__authorhero__img img{
    max-width: 120px;
  }
  .section__authorhero__inner__info {
    gap: 16px;
  }
  .section__authorhero__position {
    font-size: var(--font-size-17);
  }
  .section__authorposts__list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 12px;
    row-gap: 16px;
  }
   .section__blog__item__title {
    font-size: var(--font-size-15);
  }
}
@media (any-hover: hover) {
  .section__authorhero__social:hover {
    background-color: var(--color-dark);
  }
  .section__authorhero__social:hover .icon use {
    color: var(--color-white);
  }
  .section__blog__item__img:hover::before {
    opacity: 1;
  }
  .section__blog__item__img:hover::after {
    background-color: var(--color-black-60);
  }
}
