/* Blog Section Styles */

.blog-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 100px 6vw;
}

.blog-hero-copy {
  max-width: 800px;
}

.blog-hero-copy h1 {
  font-family: "Roboto Condensed", Inter, sans-serif;
  font-size: clamp(60px, 7vw, 92px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 0.92;
  margin: 18px 0 24px;
  text-transform: uppercase;
}

.blog-hero-copy h1 span {
  color: var(--lime);
}

.blog-hero-copy p {
  font-size: 18px;
  line-height: 1.7;
  color: #d0d0d3;
  max-width: 600px;
}

/* Blog Grid Section */
.blog-grid-section {
  padding: 100px 6vw;
}

.blog-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  max-width: 100%;
  overflow-x: auto;
}

.blog-filters button {
  padding: 12px 20px;
  border: 1px solid #ddd7ce;
  border-radius: 24px;
  background: #fff;
  color: #101011;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.blog-filters button:hover {
  border-color: #101011;
  background: #f5f3ef;
}

.blog-filters button.active {
  background: #101011;
  color: var(--lime);
  border-color: #101011;
}

/* Blog Posts Grid */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.blog-post {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd7ce;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
}

.blog-post:hover {
  box-shadow: 0 14px 38px rgba(16, 16, 17, 0.12);
  transform: translateY(-4px);
}

.blog-post.featured {
  grid-column: span 1;
  border-color: var(--lime);
  box-shadow: 0 14px 38px rgba(253, 225, 15, 0.08);
}

.blog-post.featured .post-category {
  background: var(--lime);
  color: #101011;
}

.post-image {
  overflow: hidden;
  height: 240px;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-post:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}

.post-category {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 12px;
  background: #f5f3ef;
  color: #6b5f00;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: max-content;
}

.post-content h2 {
  font-family: "Roboto Condensed", Inter, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 16px 0 12px;
  color: #101011;
}

.post-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 18px;
  flex: 1;
}

.post-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #aaa;
  margin-bottom: 16px;
}

.post-link {
  color: var(--lime);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.post-link:hover {
  gap: 8px;
}

.blog-post.is-hidden {
  display: none;
}

/* Blog CTA Section */
.blog-cta {
  padding: 100px 6vw;
  text-align: center;
}

.blog-cta h2 {
  font-family: "Roboto Condensed", Inter, sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.blog-cta p {
  font-size: 18px;
  line-height: 1.6;
  color: #d0d0d3;
  margin: 0 0 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.blog-cta > div {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Newsletter Section */
.blog-newsletter {
  padding: 100px 6vw;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-content .eyebrow {
  color: #6b5f00;
}

.newsletter-content h2 {
  font-family: "Roboto Condensed", Inter, sans-serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin: 12px 0 16px;
  text-transform: uppercase;
}

.newsletter-content > p {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  margin: 0 0 32px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group {
  display: flex;
  gap: 10px;
  background: #fff;
  border: 1px solid #ddd7ce;
  border-radius: 12px;
  padding: 6px;
  align-items: center;
}

.form-group input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
}

.form-group input::placeholder {
  color: #ccc;
}

.form-group button {
  margin: 0;
  white-space: nowrap;
}

.newsletter-note {
  font-size: 12px;
  color: #aaa;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .blog-posts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-post.featured {
    grid-column: span 1;
  }

  .blog-hero {
    padding: 80px 6vw;
  }

  .blog-cta {
    padding: 80px 6vw;
  }

  .blog-newsletter {
    padding: 80px 6vw;
  }
}

@media (max-width: 560px) {
  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .blog-filters {
    margin-bottom: 32px;
    gap: 8px;
  }

  .blog-filters button {
    padding: 10px 16px;
    font-size: 12px;
  }

  .post-image {
    height: 200px;
  }

  .post-content {
    padding: 20px;
  }

  .blog-hero {
    padding: 60px 20px;
    min-height: 420px;
  }

  .blog-hero-copy h1 {
    font-size: 42px;
  }

  .blog-hero-copy p {
    font-size: 16px;
  }

  .blog-grid-section {
    padding: 60px 20px;
  }

  .blog-cta {
    padding: 60px 20px;
  }

  .blog-cta h2 {
    font-size: 42px;
  }

  .blog-cta > div {
    flex-direction: column;
  }

  .blog-cta .pill {
    width: 100%;
  }

  .blog-newsletter {
    padding: 60px 20px;
  }

  .form-group {
    flex-direction: column;
  }

  .form-group button {
    width: 100%;
  }
}