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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header nav a {
  margin-left: 1.5rem;
  font-weight: 500;
  color: #333;
}

/* Layout */
.blog-layout {
  display: flex;
  margin-top: 2rem;
  gap: 2rem;
}

/* Main content area */
.main-content {
  flex: 3;
}

.main-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #888;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

/* Posts grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  border-top: 1px solid #e0e0e0;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}

.post-card:hover {
  background: #f9f9f9;
}

.post-card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #000;
}

.post-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.post-card span {
  font-size: 0.8rem;
  color: #888;
}

/* Sidebar */
.sidebar {
  flex: 1;
  max-width: 300px;
  border-left: 1px solid #e0e0e0;
  padding-left: 2rem;
}

.sidebar .profile-pic {
  width: 100%;
  max-width: 180px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.sidebar h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.sidebar p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.sidebar button {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  background: #eee;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.sidebar button:hover {
  background: #ddd;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid #e0e0e0;
  font-size: 0.85rem;
  color: #888;
  margin-top: 3rem;
}

/* Responsive */
@media (max-width: 1000px) {
  .blog-layout {
    flex-direction: column;
  }
  .sidebar {
    border-left: none;
    padding-left: 0;
    margin-top: 2rem;
  }
}

/* Blog detail images and text spacing */
.blog-image {
  width: 100%;
  max-width: 800px;
  margin: 2rem 0;
}

.author {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 2rem;
}

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

.professional-experience {
  margin-top: 3rem;
  padding: 2rem;
  border-top: 1px solid #e0e0e0;
}

.professional-experience h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.professional-experience ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.professional-experience li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
