/* Author archive — profile block + /blog/ Advanced Post Block grid */
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

.author-archive .author-archive-profile {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
}

.author-archive .author-archive__name {
  margin: 0 0 0.35rem;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: #1e1e1e;
}

.author-archive .author-archive__title {
  margin: 0 0 1rem;
  line-height: 1.35;
  color: #000;
  font-size: 24px;
}

.author-archive .author-archive__bio {
  margin: 0 auto;
  font-size: 16px;
  color: #1e1e1e;
}

.author-archive .author-archive__posts-heading {
  text-align: center;
  font-weight: 700;
  line-height: 1.25;
  color: #000;
  font-size: 45px;
  padding-top: 50px;
}

.author-archive .wp-block-ap-block-posts {
  width: 100%;
}

.author-archive .apbGridPosts {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

@media (max-width: 1024px) {
  .author-archive .apbGridPosts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .author-archive .author-archive-profile,
  .author-archive .author-archive__posts-heading {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .author-archive .apbGridPosts {
    grid-template-columns: 1fr;
  }
}

.author-archive .apbPost {
  background: #f4f2fc;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  box-sizing: border-box;
}

.author-archive .apbPost .apbThumb {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  max-width: 100%;
  padding-bottom: 60%;
  margin: 0;
  overflow: hidden;
  background: #e8e3f5;
  background-size: cover;
  background-position: center;
}

.author-archive .apbPost .apbThumb img,
.author-archive .apbPost .apbThumb > a {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.author-archive .apbPost .apbThumb img {
  object-fit: cover;
}

.author-archive .apbPost .apbThumb--placeholder {
  background: #e8e3f5;
}

.author-archive .apbPost .apbText {
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.author-archive .apbPost .apbTitle h3 {
  font-family: "Roboto", sans-serif;
  font-size: 25px;
  line-height: 135%;
  color: #000;
  margin: 0 0 15px;
  font-weight: 400;
}

.author-archive .apbPost .apbTitle a {
  color: inherit;
  text-decoration: none;
}

.author-archive .apbPost .apbTitle a:hover {
  color: #4527a4;
}

.author-archive .apbPost .apbMeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  text-transform: uppercase;
  line-height: 135%;
  margin-bottom: 15px;
}

.author-archive .apbPost .apbMeta > span {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.author-archive .apbPost .apbMeta .metaItem svg {
  fill: currentColor;
  color: #000;
  flex-shrink: 0;
}

.author-archive .apbPost .apbMeta a {
  color: rgba(252, 187, 9, 1);
  text-decoration: none;
}

.author-archive .apbPost .apbMeta a:hover {
  color: #4527a4;
}

.author-archive .apbPost .apbReadMore {
  margin-top: auto;
}

.author-archive .apbPost .apbReadMore a {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  line-height: 135%;
  color: #000;
  background: rgba(252, 187, 9, 1);
  padding: 12px 35px;
  border-radius: 3px;
  text-decoration: none;
  transition: color 0.3s ease, background 0.3s ease;
}

.author-archive .apbPost .apbReadMore a:hover {
  color: #fff;
  background: #4527a4;
}

.author-archive .sp-pagination,
.author-archive-pagination {
  margin: 2.5rem 0 1rem;
  text-align: center;
}

.author-archive .sp-pagination a,
.author-archive .sp-pagination span,
.author-archive-pagination a,
.author-archive-pagination span {
  display: inline-block;
  margin: 0 0.35rem;
  padding: 0.5rem 0.85rem;
  text-decoration: none;
  color: #000;
}

.author-archive .sp-pagination a:hover,
.author-archive-pagination a:hover {
  color: #4527a4;
}

.author-archive .sp-pagination .is-active,
.author-archive-pagination .is-active {
  background: rgba(252, 187, 9, 1);
  border-radius: 3px;
  font-weight: 600;
}
