/* Author Card Styles - Professional ID Card Version */

/* Main container for the author section */
.post-author-section {
  display: flex;
  justify-content: center;
  padding: 40px 0;
  margin: 60px 0;
}

/* The card itself */
.post-author-card {
  background-color: #0d1a2e; /* Dark blue background */
  color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  padding: 30px;
  max-width: 800px;
  width: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-author-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.post-author-content {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  text-align: left;
}

.post-author-info {
  flex: 1;
}

/* Avatar styles */
.post-author-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #1da1f2; /* Twitter blue as accent */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  background-color: #1a2b42;
}

.post-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Author's name */
.post-author-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: #ffffff;
}

.post-author-name a {
  color: inherit;
  text-decoration: none;
}

/* Author's biography */
.post-author-bio {
  font-size: 1rem;
  color: #a2b3c9; /* Lighter text color */
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Social media links container */
.post-author-social {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  margin-top: 15px;
}

/* Individual social media links */
.author-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.author-social-link:hover {
  transform: scale(1.15);
}

.author-social-link.twitter:hover {
  background-color: #1da1f2;
}

.author-social-link.facebook:hover {
  background-color: #3b5998;
}

.author-social-link.linkedin:hover {
  background-color: #0077b5;
}

.author-social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.author-social-link.website:hover {
  background-color: #34d399; /* A green accent for website */
}

/* RTL Support */
[dir="rtl"] .post-author-content {
  flex-direction: row-reverse;
  text-align: right;
}

[dir="rtl"] .post-author-social {
  justify-content: flex-end;
}

/* Dark Mode is default, so no specific dark mode styles needed unless we add a light mode */

/* Responsive Styles */
@media (max-width: 480px) {
  .post-author-content {
    flex-direction: column;
    text-align: center;
  }

  .post-author-info {
    text-align: center;
  }

  .post-author-social {
    justify-content: center;
  }

  .post-author-avatar {
    margin-bottom: 20px;
  }

  .post-author-card {
    padding: 30px 20px;
    border-radius: 10px;
  }

  .post-author-avatar {
    width: 120px;
    height: 120px;
  }

  .post-author-name {
    font-size: 1.5rem;
  }

  .post-author-bio {
    font-size: 0.95rem;
  }

  .author-social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}