:root {
  --primary-color: #8f7b72;
  --secondary-color: #4a3728;
  --background-color: #f2eeed;
  --text-color: #4a3728;
  --accent-color: #806f62;
}

header {
    margin-top: -35px;
}
  main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    text-align: justify;
  }

  article {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
  }

  h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-top: 0;
  }

  p {
    margin-bottom: 1.5rem;
    text-align: justify;
  }

  .article-link {
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
  }

  .article-link:hover {
    background-color: #b8a595;
  }

  .highlight-box {
    background-color: #ececea;
    border-left: 5px solid #938173;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 5px 5px 0;
  }


  .image-container {
    margin: 2rem 0;
    text-align: center;
  }

  .image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .image-caption {
    margin-top: 0.5rem;
    font-style: italic;
    color: #666;
  }
  .article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }

  .article-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  .post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.post-meta {
    font-style: italic;
    margin-bottom: 1rem;
}

.post-content {
    padding: 3rem 0;
}

.post-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.post-content ul, .post-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 8px;
}

.related-posts {
    background-color: #8f7b72;
    padding: 3rem 0;
}

.related-posts h3 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.post-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-content {
    padding: 1rem;
}

.post-card h4 {
    margin-bottom: 0.5rem;
}
  @media (max-width: 850px) {

    h1 {
      font-size: 2rem;
    }

    main {
      padding: 0 1rem;
    }

    .article-grid {
      grid-template-columns: 1fr;
    }
  
    .blog-posts {
      grid-template-columns: 2fr;
  }
  }
