.index-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.profile-card {
  display: flex;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  margin-bottom: 40px;
  width: 100%;
}

.profile-content {
  padding: 0 20px 0 0;
  flex: 3;
}

.profile-image {
  flex: 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.profile-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.section-heading {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 20px 0;
  color: #111;
  position: relative;
  display: inline-block;
}

.section-heading:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #555555;
}

.content-section {
  margin-bottom: 40px;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 15px;
  background-color: #f5f5f5;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.profile-links a:hover {
  background-color: #e5e5e5;
  color: #333333;
  transform: translateY(-2px);
}

.index-container .book-title,
.index-container .post-title {
  font-size: 20px;
}

@media screen and (max-width: 768px) {
  .profile-card {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .profile-image {
    width: 100%;
  }

  .profile-content {
    padding: 0;
  }

  .index-container .post-title,
  .index-container .book-title {
    font-size: 18px;
  }
}
