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

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #f9fafb;
}

.layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

/* Sidebar */

.sidebar {
  background-color: white;
  padding: 2rem;
  border-right: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.profile {
  margin-bottom: 2rem;
}

.profile-image {
  width: 80px;
  height: 80px;
  margin-right: 1rem;
  float: left;
}

.site-title {
  font-family: Poppins, Georgia, serif;
  font-size: 1.75rem;
  color: #111827;
  line-height: 1.7rem;
  margin-bottom: 1rem;
}

.site-title a {
  text-decoration: none;
  color: #111827;
}

.profile-name {
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #4B5563;
  margin-bottom: 0.5rem;
}

.profile-bio {
  font-family: 'PT Serif', serif;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.nav-links {
  margin-bottom: 2rem;
}

.nav-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 0.75rem;
  font-family: 'PT Sans', sans-serif;
}

.nav-list {
  list-style: none;
}

.nav-item {
  margin-bottom: 0.5rem;
  font-family: 'PT Serif', serif;
}

.nav-link {
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #111827;
}

/* Main content */

.main-content {
  width: 100%;
  max-width: 42rem;
  margin: 0;
  padding: 2rem;
}

article {
  font-family: 'PT Sans', sans-serif;
  background: white;
  padding: 2rem;
  margin-bottom: 4rem;
}

h1, h2, h3, h4, h5, h6, h7 {
  font-family: 'PT Serif', serif;
  font-weight: 700;
}

h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #111827;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: #111827;
}

article p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: #1f2937;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

article blockquote {
  position: relative;
  margin: 0 0 1.5rem;
  padding: 20px 30px 20px 30px;
  background: white;
  font-style: italic;
}

article blockquote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background:rgba(107, 114, 128, 0.1);
}

article blockquote p {
  margin: 0;
  font-size: 1.5rem;
  color: #6b7280;
}

.article-meta {
  color: #6b7280;
  font-size: 0.875rem;
}

.share-buttons {
  display: flex;
  gap: 0.75rem;
}

.share-button {
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  padding: 0.25rem;
  transition: color 0.2s;
}

.share-button:hover {
  color: #111827;
}

.share-button i {
  width: 16px;
  height: 16px;
}

.page-footer {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: 4rem;
  font-family: 'PT Sans', sans-serif;
}

article a {
  color: #000;
}

article hr {
  margin-bottom: 1.5rem;
}

article img {
  width: 100%;
}

article iframe {
  width:100%;
  aspect-ratio: 16/9;
  border: 0;
}

article h1 {
  line-height: 2.5rem;
  margin: 0 0 1.4rem;
}

article h1 a {
  text-decoration: none;
  color: #000;
}

.pagination-link {
  margin-right: 0.2rem;
  text-decoration: none;
  font-family: 'PT Sans', sans-serif;
  color: #000;
}

.pagination-current {
  margin: 0.2rem;
  font-weight: bold;
  font-family: 'PT Sans', sans-serif;
}

.back-button {
  text-decoration: none;
  color: #000;
  font-family: 'PT Sans', sans-serif;
}

article ul, article ol {
  padding-left: 2em;
  /* Slightly more space */
  margin-left: 0;
  list-style-position: outside;
  /* Markers in padding area */
  box-sizing: border-box;
  /* Include padding in width */
  padding-bottom: 1rem;
}

/* Optional: Add some spacing between list items */

article li {
  margin-bottom: 0.5em;
  /* Space between items */
}

.svg-me {
  margin:auto auto 1rem;
  display:block;
}

/* Mobile styles */

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

  .sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 1rem 0 1rem;
    overflow-y: visible;
  }

  .profile {
    display: flex;
    align-items: center;
    text-align: left;
    margin-bottom: 1rem;
  }

  .profile-content {
    display: flex;
  }

  .profile-image {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
    margin-right: 1rem;
  }

  .svg-me {
    display: inline-block;
    flex: 0 0 100px;
    margin-right:1rem;
  }

  .profile-bio {
    padding: 0;
    margin: 0;
  }

  .nav-section {
    display: none;
    gap: 2rem;
  }

  .nav-links {
    margin-bottom: 0;
  }

  .main-content {
    padding: 1rem;
  }

  article {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
}

/* 404 Page Styles */

.not-found-container {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  margin-bottom: 4rem;
  font-family: 'PT Sans', sans-serif;
}

.not-found-title {
  font-family: 'PT Serif', serif;
  font-size: 7rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0;
  line-height: 1.2;
}

.not-found-subtitle {
  font-family: 'PT Serif', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.not-found-text {
  font-size: 1.125rem;
  color: #4B5563;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.not-found-actions {
  margin-top: 2rem;
}

.not-found-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #111827;
  color: white;
  text-decoration: none;
  border-radius: 0.25rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.not-found-button:hover {
  background-color: #374151;
}

/* Optional: Add some decoration */

.not-found-container::before {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: rgba(107, 114, 128, 0.1);
  margin: 0 auto 2rem;
}