@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;500;600&family=Raleway:wght@400;500;600&display=swap");

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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  background: #faf3e0;
  color: #2f3e1f;
}

/* TYPOGRAPHY HIERARCHY */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #4f6d3a;
  line-height: 1.3;
}

p,
span,
li,
.meta {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
}

button,
.primary-btn,
.support-btn,
.outline-btn {
  font-family: "Raleway", sans-serif;
  letter-spacing: 0.5px;
}

/* BLOG CONTAINER */
.blog-container {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* FEATURED POST & VIDEO */
.featured {
  background: rgba(212, 232, 194, 0.3);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid #d4e8c2;
  margin-bottom: 10rem;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #2f3e1f;
  margin-bottom: 50px;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
}

.featured .content {
  padding: 2.5rem;
}

.featured h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1.5rem;
}

.featured h3 {
  margin: 2rem 0 1rem;
}

.featured p {
  margin-bottom: 1.2rem;
}

/* COMPONENTS */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #d4e8c2;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  color: #8a9a5b;
}

.primary-btn {
  border: 2px solid #4f6d3a;
  background: transparent;
  padding: 12px 24px;
  border-radius: 6px;
  color: #4f6d3a;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  margin-bottom: 50px;
}

.primary-btn:hover {
  background: #4f6d3a;
  color: #faf3e0;
}

/* ARTICLES GRID */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.post-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #d4e8c2;
  transition: 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.post-card .body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card h4 {
  margin-bottom: 1rem;
}

.post-card p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* SIDEBAR WIDGETS */
.widget {
  background: rgba(212, 232, 194, 0.3);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #4f6d3a;
}

.widget h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #4f6d3a;
  padding-bottom: 0.75rem;
}

/* QUICK LINKS & CATEGORIES */
.category-list li,
.recent-list li {
  list-style: none;
  margin-bottom: 0.75rem;
}

.category-list a,
.recent-list a {
  display: block;
  text-decoration: none;
  background: #4f6d3a; /* Your requested color */
  color: #ffffff;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.category-list a:hover,
.recent-list a:hover {
  background: #3d552d;
  text-decoration: underline; /* Retained underline */
  padding-left: 1.5rem; /* Subtle slide effect */
}

/* RESPONSIVE VIEWS*/
/* ============ TABLET VIEW ============ */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .featured .content {
    padding: 1.5rem;
  }
  .blog-container {
    margin: 2rem auto;
    padding: 0 1rem;
  }

  h1 {
    font-size: 26px !important;
    line-height: 1.2;
  }
  h2 {
    font-size: 24px !important;
    margin-bottom: 15px;
  }
  h3 {
    font-size: 20px !important;
  }
  h4 {
    font-size: 18px !important;
  }

  p {
    font-size: 14px !important;
    line-height: 1.5;
  }

  /* Reduce Button Sizes */
  .primary-btn,
  .support-btn,
  .outline-btn,
  .btn {
    padding: 8px 16px !important;
    font-size: 14px !important;
    width: fit-content;
  }
}
