/* ══════════════════════════════════════════════
   BLOG LISTING PAGE
   ══════════════════════════════════════════════ */

.blog-header {
  padding: 120px 80px 48px;
  background: #F5F3F0;
}

.blog-header h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 48px;
  color: #1A1A1A;
  margin: 0 0 8px;
}

.blog-header p {
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #545554;
  margin: 0;
}

/* ── Featured Post ── */
.blog-featured {
  display: flex;
  gap: 48px;
  margin: 0 80px 48px;
  padding: 32px;
  background: #FFFFFF;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.blog-featured-image {
  width: 55%;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
  max-height: 400px;
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blog-featured:hover .blog-featured-image img {
  transform: scale(1.03);
}

.blog-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 0;
}

.blog-featured-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 32px;
  color: #1A1A1A;
  margin: 0 0 16px;
  line-height: 1.2;
}

.blog-featured-excerpt {
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #545554;
  line-height: 1.7;
  margin: 0 0 20px;
}

/* ── Card Grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0 80px 80px;
  background: #F5F3F0;
}

.blog-card {
  background: #FFFFFF;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: block;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.blog-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.blog-card-content {
  padding: 20px 24px 24px;
}

.blog-card-category {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: #8EBA3F;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.blog-card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #1A1A1A;
  margin: 0 0 8px;
  line-height: 1.3;
}

.blog-card-excerpt {
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #545554;
  line-height: 1.6;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-date {
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #847667;
}

/* ══════════════════════════════════════════════
   BLOG POST PAGE
   ══════════════════════════════════════════════ */

.post-featured-image {
  width: 100%;
  height: 55vh;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-header {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 0;
}

.post-header h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 42px;
  color: #1A1A1A;
  margin: 0 0 12px;
  line-height: 1.2;
}

.post-meta {
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #847667;
  margin-bottom: 8px;
}

.post-meta a {
  color: #8EBA3F;
  text-decoration: none;
}

.post-meta a:hover {
  color: #1A1A1A;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.post-content p {
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #1A1A1A;
  line-height: 1.8;
  margin: 0 0 24px;
}

.post-content h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #1A1A1A;
  margin: 40px 0 16px;
}

.post-content h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #1A1A1A;
  margin: 32px 0 12px;
}

.post-content strong {
  font-weight: 600;
}

.post-content ul, .post-content ol {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  color: #1A1A1A;
  line-height: 1.8;
  margin: 0 0 24px;
  padding-left: 24px;
  list-style: disc;
}

.post-content ol {
  list-style: decimal;
}

.post-content li {
  margin-bottom: 8px;
}

.post-content a {
  color: #8EBA3F;
  text-decoration: underline;
  text-decoration-color: rgba(142, 186, 63, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.3s ease;
}

.post-content a:hover {
  text-decoration-color: #8EBA3F;
}

.post-content figure {
  margin: 32px 0;
}

.post-content figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.post-content figcaption {
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #847667;
  margin-top: 8px;
  font-style: italic;
  line-height: 1.5;
}

/* ── Post Navigation ── */
.post-nav {
  display: flex;
  border-top: 1px solid #E8E4DF;
  background: #F5F3F0;
}

.post-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 32px 40px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.post-nav a:hover {
  background: #EDEAE6;
}

.post-nav a:last-child {
  text-align: right;
  border-left: 1px solid #E8E4DF;
}

.post-nav-label {
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #847667;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-nav-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #1A1A1A;
}

/* ══════════════════════════════════════════════
   MOBILE
   ══════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .blog-featured {
    margin: 0 24px 32px;
    flex-direction: column;
    gap: 24px;
    padding: 0;
    overflow: hidden;
  }

  .blog-featured-image {
    width: 100%;
    max-height: 300px;
  }

  .blog-featured-content {
    padding: 0 24px 24px;
  }

  .blog-featured-title {
    font-size: 24px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0 24px 48px;
  }

  .blog-header {
    padding: 100px 24px 32px;
  }

  .blog-header h1 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .post-featured-image {
    height: 40vh;
  }

  .post-header h1 {
    font-size: 32px;
  }

  .post-nav {
    flex-direction: column;
  }

  .post-nav a:last-child {
    text-align: left;
    border-left: none;
    border-top: 1px solid #E8E4DF;
  }
}
