* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
  padding: 4rem 2rem;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3rem;
}

.profile-pic-container {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-pic {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.about-me-container {
  flex: 1;
  min-width: 300px;
}

.name {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #666;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

.social-links a {
  color: #555;
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.2s;
}

.social-links a:hover {
  color: #0066cc;
}

.about-me {
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #444;
  margin-bottom: 1rem;
}

.about-me a {
  color: #0066cc;
  text-decoration: none;
}

.about-me a:hover {
  text-decoration: underline;
}

.role {
  color: #0066cc;
  font-weight: 500;
}

.about-me:last-child {
  margin-bottom: 0;
}

/* Blog Styles */
.blog-container,
.post-container {
  max-width: 700px;
  margin: 0 auto;
}

.back-link {
  display: inline-block;
  color: #555;
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: #0066cc;
}

.blog-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
}

.blog-subtitle {
  color: #666;
  margin-bottom: 2rem;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.post-item {
  display: block;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}

.post-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.post-item-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.25rem;
}

.post-item-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.post-item-description {
  color: #555;
  font-size: 0.95rem;
}

.no-posts {
  color: #888;
  font-style: italic;
}

/* Post Page */
.post-header {
  margin-bottom: 2rem;
}

.post-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
}

.post-date {
  color: #888;
  font-size: 0.95rem;
}

.post-content {
  color: #333;
}

.post-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content p {
  margin-bottom: 1rem;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 650px) {
  body {
    padding: 2rem 1.5rem;
  }

  .container {
    flex-direction: column;
    gap: 2rem;
  }

  .profile-pic-container {
    flex: 0 0 auto;
  }

  .profile-pic {
    width: 180px;
    height: 180px;
  }

  .about-me-container {
    min-width: auto;
  }

  .name {
    font-size: 2rem;
  }

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