/* ================================
   Author Archive Styling
================================ */

.author-archive-wrapper {
  max-width: 90%;
  margin: 60px auto;
  padding: 0 20px;
}

/* ================================
   Author Header
================================ */
.author-header {
  background-color: #dfdfdf4d;
  padding: 60px 0;
}

.author-header-holder {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.author-avatar {
  width: 40%;
}

.author-avatar img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.author-info {
  width: 60%;
  flex: 1;
  min-width: 280px;
}

.author-name {
  font-size: 2rem;
  margin-bottom: 10px;
}

.author-post-count {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 15px;
}

.author-address {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.author-bio {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.author-website a {
  color: #0073aa;
  text-decoration: none;
  font-weight: 500;
}

.author-website a:hover {
  text-decoration: underline;
}

/* ================================
   Posts Grid Layout
================================ */

.author-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* ================================
   Post Card
================================ */

.author-post-item {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.author-post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.post-content {
  padding: 20px;
  flex: 1;
}

.post-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.post-title a {
  text-decoration: none;
  color: #222;
}

.post-title a:hover {
  color: #0073aa;
}

.post-meta {
  display: flex;
  justify-content: space-between;
}

.date,
.read-time {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 10px;
}

.post-excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

/* ================================
   Pagination
================================ */

.author-pagination {
  margin-top: 50px;
  text-align: center;
}

.author-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 5px;
  background: #f5f5f5;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
}

.author-pagination .current {
  background: #0073aa;
  color: #fff;
}

/* ================================
   Responsive Adjustments
================================ */

@media (max-width: 600px) {
  .author-name {
    font-size: 1.6rem;
  }

  .author-header {
    text-align: center;
  }

  .author-avatar {
    width: 100%;
    margin: 0 auto;
  }
  .author-info{
    width: 100%;
  }
  .author-social-icons{
    justify-content: center;
  }
}

.author-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.share-icon {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.share-icon svg {
  width: 18px;
  height: 18px;
  fill: #333;
}

.share-icon:hover {
  transform: translateY(-3px);
}

.share-icon.facebook:hover {
  background: #1877f2;
}

.share-icon.twitter:hover {
  background: #000;
}

.share-icon.linkedin:hover {
  background: #0077b5;
}

.share-icon.instagram:hover {
  background: #e1306c;
}

.share-icon:hover svg {
  fill: #fff;
}