@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Lora:ital,wght@0,400;0,600;1,400;1,600&display=swap');

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

body {
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  line-height: 1.8;
  color: #2a2420;
  background-color: #FFF8F0;
}

a {
  color: #E07A5F;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #c4614a;
  text-decoration: underline;
}

header {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e8ddd0;
}

.logo a {
  display: block;
}

.logo img {
  height: 32px;
  width: auto;
}

nav {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: #2a2420;
}

nav a:hover {
  color: #E07A5F;
  text-decoration: none;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: #2a2420;
}

h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: #81B29A;
  margin-bottom: 2rem;
}

p {
  margin-bottom: 1.4rem;
}

blockquote {
  border-left: 4px solid #E07A5F;
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #3d3530;
  background: rgba(224, 122, 95, 0.04);
}

blockquote p {
  margin-bottom: 0;
}

ul, ol {
  margin-bottom: 1.4rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid #e8ddd0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: #998a7d;
  text-align: center;
}

/* Homepage styles */
.featured {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #e8ddd0;
}

.featured .tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #81B29A;
  margin-bottom: 0.5rem;
  display: block;
}

.featured h2 {
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.featured h2 a {
  color: #2a2420;
}

.featured h2 a:hover {
  color: #E07A5F;
  text-decoration: none;
}

.featured .excerpt {
  font-size: 1.05rem;
  color: #4a4340;
}

.post-list {
  list-style: none;
  padding-left: 0;
}

.post-list li {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0e8df;
}

.post-list li:last-child {
  border-bottom: none;
}

.post-list .post-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: #81B29A;
  display: block;
  margin-bottom: 0.25rem;
}

.post-list h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 1.25rem;
}

.post-list h3 a {
  color: #2a2420;
}

.post-list h3 a:hover {
  color: #E07A5F;
  text-decoration: none;
}

.post-list .excerpt {
  font-size: 0.95rem;
  color: #5a5350;
  margin-bottom: 0;
}

/* About page */
.about-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  float: right;
  margin: 0 0 1.5rem 2rem;
  border: 3px solid #e8ddd0;
}

/* Newsletter section */
.newsletter-box {
  background: #f5ede3;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: center;
}

.newsletter-box h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.newsletter-box p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  h1 {
    font-size: 1.7rem;
  }

  .featured h2 {
    font-size: 1.4rem;
  }

  .about-photo {
    float: none;
    display: block;
    margin: 0 auto 1.5rem;
  }

  nav {
    gap: 1rem;
  }
}
