/* Author Section */
/* Uses site-grid-rails.css for layout and style.css for typography/colors */

.post-author {
  background-color: #E6E6FA; /* Lavender background */
  padding: 4rem 0;
  min-height: 40vh;
  display: flex;
  align-items: center;
}

.post-author__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.post-author__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: auto;
}

.post-author__avatar-column {
  display: flex;
  justify-content: center;
}

.post-author__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--ica-green-deep, #1E312F);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.post-author__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-author__info-column {
  text-align: center;
  width: 100%;
}

.post-author__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.post-author__name {
  font-family: "ivypresto-display", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ica-green-deep, #1E312F);
  margin: 0;
  line-height: 1.2;
}

.post-author__bio {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ica-green-deep, #1E312F);
  opacity: 0.9;
}

.post-author__bio p {
  margin: 0;
}

.post-author__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.post-author__link {
  font-family: 'Termina', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ica-teal, #17968c);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--ica-teal, #17968c);
  border-radius: 25px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-author__link:hover {
  background-color: var(--ica-teal, #17968c);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 150, 140, 0.3);
}

.post-author__link--linkedin {
  background-color: #0077B5;
  border-color: #0077B5;
  color: white;
}

.post-author__link--linkedin:hover {
  background-color: #005885;
  border-color: #005885;
  color: white;
}


/* Tablet Responsive */
@media (max-width: 1024px) {
  .post-author {
    padding: 3rem 0;
  }
  
  .post-author__grid {
    gap: 1.25rem;
  }
  
  .post-author__avatar {
    width: 90px;
    height: 90px;
  }
  
  .post-author__name {
    font-size: 1.4rem;
  }
  
  .post-author__bio {
    font-size: 14px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .post-author {
    padding: 2.5rem 0;
  }
  
  .post-author__grid {
    gap: 1rem;
  }
  
  .post-author__avatar {
    width: 80px;
    height: 80px;
  }
  
  .post-author__name {
    font-size: 1.3rem;
  }
  
  .post-author__bio {
    font-size: 14px;
  }
  
  .post-author__links {
    gap: 0.75rem;
  }
  
  .post-author__link {
    font-size: 13px;
    padding: 0.6rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .post-author {
    padding: 2rem 0;
  }
  
  .post-author__grid {
    gap: 0.75rem;
  }
  
  .post-author__avatar {
    width: 70px;
    height: 70px;
  }
  
  .post-author__name {
    font-size: 1.2rem;
  }
  
  .post-author__bio {
    font-size: 13px;
  }
  
  .post-author__links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .post-author__link {
    width: 100%;
    max-width: 200px;
    text-align: center;
    font-size: 12px;
    padding: 0.5rem 1rem;
  }
}
