/* Base Styles */
body {
  max-width: 720px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: system-ui, sans-serif;
  line-height: 1.3;
  color: #333;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
/* Header & Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
}
.nav-left .site-name {
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: #111;
}
.nav-right {
  display: flex;
  gap: 1.5rem;
}
.nav-right a {
  text-decoration: none;
  color: #666;
  transition: color 0.2s ease;
}
.nav-right a:hover {
  color: #111;
}
/* Bio */
.bio {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

/* Common Section Styles */
.divider-bottom-border {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.common-list {
  padding-left: 1.2rem;
}

.section-header {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #111;
}

.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.item-title {
  font-weight: 600;
  color: #444;
}

/* Experience Section */

.experience-item {
  margin-bottom: 2rem;
}

.experience-header-row,
.experience-subheader-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.experience-header-row {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.experience-subheader-row {
  margin-bottom: 0.75rem;
}

.experience-date {
  color: #666;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.experience-role {
  font-size: 0.9rem;
  color: #666;
}

.experience-location {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  white-space: nowrap;
}

.experience-description {
  color: #444;
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

/* Projects Section */

.project-item {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.project-description {
  color: #666;
}

.project-links a {
  font-weight: 500;
}

.project-links a:hover {
  text-decoration: underline;
}

.project-links .separator {
  margin: 0 0.35rem;
  color: #999;
}

/* Main Content */
main {
  margin-bottom: 1.5rem;
  flex: 1;
}
article header {
  margin-bottom: 1.5rem;
}
/* Typography */
h1,
h2,
h3 {
  line-height: 1.25;
  color: #111;
}
h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
/* Links */
a {
  color: inherit;
  text-decoration: underline;
}
/* Time */
time {
  color: #666;
  font-size: 0.9rem;
}
/* Footer */
.site-footer {
  text-align: center;
}
.email {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.email a {
  color: #666;
  text-decoration: none;
}
.email a:hover {
  color: #111;
  text-decoration: underline;
}
/* Socials */
.socials {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.socials a {
  color: #666;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.socials a:hover {
  color: #111;
}
/* Responsive */
@media (max-width: 600px) {
  body {
    margin: 1rem auto;
  }
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .nav-right {
    gap: 1rem;
  }
}

/* Blog List Styles */
.blog-item {
  margin-bottom: 0.9rem;
}

.blog-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.blog-date {
  color: #666;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* BLOGS */
.blog-post {
  max-width: 100%;
}
.blog-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}
.blog-header h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.blog-header time {
  display: block;
  font-size: 0.95rem;
  color: #666;
}

/* Blog Content Styles */
.blog-content {
  font-size: 1rem;
  line-height: 1.6;
}

/* Headings inside blog content */
.blog-content h1 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.blog-content h2 {
  font-size: 1.3rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.blog-content h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Paragraphs */
.blog-content p {
  margin-bottom: 1.25rem;
}

/* Code Blocks */
.blog-content pre {
  background-color: #282c34;
  color: #abb2bf;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.45;
}
.blog-content code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
.blog-content p code,
.blog-content li code {
  background-color: #f3f3f3;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

/* Lists */
.blog-content ul,
.blog-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.blog-content li {
  margin-bottom: 0.5rem;
}

/* Horizontal Rule */
.blog-content hr {
  border: 0;
  border-bottom: 1px solid #e0e0e0;
  margin: 2.5rem 0;
}

/* Blockquotes */
.blog-content blockquote {
  border-left: 4px solid #e0e0e0;
  margin: 1.5rem 0;
  padding: 0.5rem 0 0.5rem 1rem;
  color: #555;
  font-style: italic;
  background-color: #fafafa;
  border-radius: 0 4px 4px 0;
}
