.tai-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
}

.tai-author-container {
  background: #f6f7f9;
}

.tai-author-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 60px;
}

.tai-sidebar {
  position: sticky;
  top: 140px;
  align-self: start;
}

.tai-author-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.tai-author-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tai-main-content {
  max-width: 800px;
}

.tai-header {
  margin-bottom: 48px;
}

.tai-author-name {
  font-size: 48px;
  font-weight: 600;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.tai-author-role {
  font-size: 20px;
  color: #4b5563;
  margin: 0 0 32px 0;
}

.tai-social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.tai-social-link {
  color: #4b5563;
  transition: color 0.2s;
}

.tai-social-link:hover {
  color: #111827;
}

.tai-social-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.tai-divider {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 40px;
  margin-top: 40px;
}

.tai-section-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 0 0;
  margin-bottom: 12px;
  color: #111827;
  line-height: unset;
}

.tai-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.tai-details p {
  font-size: 18px;
  line-height: 1.6;
  color: #374151;
  margin: 0;
}

.tai-latest-posts {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.tai-latest-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.tai-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.tai-post-card {
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s;
}

.tai-post-card:hover {
  transform: translateY(-4px);
}

.tai-post-image {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

.tai-post-content {
  padding: 1.5rem;
}

.tai-post-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.tai-post-title a {
  color: inherit;
  text-decoration: none;
}

.tai-post-excerpt {
  color: #4b5563;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.tai-post-meta {
  display: flex;
  gap: 1rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.tai-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.tai-pagination a,
.tai-pagination span {
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  background: #fff;
  color: #1f2937;
  text-decoration: none;
}

.tai-pagination .current {
  background: #1f2937;
  color: #fff;
}

@media (max-width: 1024px) {
  .tai-layout {
    gap: 40px;
  }

  .tai-author-container {
    padding: 100px 40px;
  }

  .tai-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tai-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tai-author-container {
    padding: 80px 24px;
  }

  .tai-sidebar {
    position: static;
    max-width: 200px;
    margin: 0 auto;
  }

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

  .tai-social-links {
    justify-content: center;
  }

  .tai-author-name {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .tai-author-container {
    padding: 60px 16px;
    padding-top: 100px;
  }

  .tai-author-inner {
    padding: 1rem;
  }

  .tai-author-name {
    font-size: 32px;
  }

  .tai-author-role {
    font-size: 18px;
  }

  .tai-section-title {
    font-size: 24px;
  }

  .tai-details p {
    font-size: 16px;
  }
}
