/* Base styles */
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  line-height: 2em;
  font-size: 100%;
  font-weight: 400;
  color: #000;
}

/* Main content area */
.content {
  margin-top: 40px;
  margin-bottom: 100px;
  margin-right: 150px;
  margin-left: 80px;
  max-width: 700px;
}

/* Navigation */
.nav {
  padding: 20px 80px;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;
}

.nav-links li a {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  padding-bottom: 2px;
}

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

.nav-links li a.active {
  text-decoration: underline;
}

/* Hamburger menu (hidden on desktop) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #000;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #000;
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav {
    padding: 15px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .content {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
  }
}

/* Hamburger animation */
.nav-toggle.nav-open .hamburger {
  background-color: transparent;
}

.nav-toggle.nav-open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.nav-open .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Blog header */
.blog-header {
  margin-bottom: 50px;
}

.blog-title {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-tagline {
  color: #666;
  font-size: 1em;
}

/* Post list */
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-item {
  margin-bottom: 40px;
}

.post-date {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 5px;
}

.post-title {
  font-size: 1.2em;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.post-title a {
  color: #000;
  text-decoration: none;
}

.post-title a:hover {
  text-decoration: underline;
}

.post-excerpt {
  color: #444;
  margin: 0;
  line-height: 1.6em;
}

/* Subscribe section */
.subscribe-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #ddd;
}

.subscribe-title {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 10px;
}

.subscribe-text {
  color: #666;
  margin-bottom: 20px;
}

/* Individual post styles */
.post-header {
  margin-bottom: 40px;
}

.post-header .post-title {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.post-header .post-date {
  margin-bottom: 0;
}

.post-content {
  line-height: 1.8em;
}

.post-content p {
  margin-bottom: 1.5em;
}

.post-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #ddd;
}

.back-link {
  color: #000;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}
