/* ==========================================================================
   Nature's Lap Resort — Blog Stylesheet
   Plain, hand-written CSS for blog-only classes (no SCSS build in this repo).
   Loaded on blog pages only, after /css/style.css.

   Design tokens (match public/css/style.css):
   Primary green  #2C5F2D   (light #4A7C59, dark #1B3D1E)
   Accent gold    #CCA772
   Cream bg       #FAF6F0 / #F0E8DA
   Text           #3D3D3D  (muted #6B6B6B)   Titles #1A1A1A
   Title font     'Playfair Display', serif
   Body font      'Roboto', sans-serif
   ========================================================================== */

/* ---- Breadcrumb spacing wrapper ---- */
.breadcrumb-wrap {
  padding-top: 20px;
}

/* ---- Article shell ---- */
.blog-article {
  background: #FAF6F0;
  padding: 48px 0 64px;
}

.blog-article .container {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #3D3D3D;
  font-family: 'Roboto', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.blog-article p {
  margin: 0 0 20px;
}

.blog-article h2 {
  font-family: 'Playfair Display', serif;
  color: #2C5F2D;
  font-size: 1.75rem;
  line-height: 1.3;
  margin: 40px 0 16px;
}

.blog-article h3 {
  font-family: 'Playfair Display', serif;
  color: #2C5F2D;
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 32px 0 12px;
}

.blog-article ul,
.blog-article ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.blog-article li {
  margin-bottom: 8px;
}

.blog-article a {
  color: #2C5F2D;
  text-decoration: none;
}

.blog-article a:hover {
  color: #1B3D1E;
  text-decoration: underline;
}

.blog-article figure {
  margin: 32px 0;
}

.blog-article figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.blog-article figcaption {
  margin-top: 8px;
  color: #6B6B6B;
  font-size: 0.875rem;
  text-align: center;
}

/* ---- Lead intro paragraph ---- */
.blog-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #6B6B6B;
  margin: 0 0 24px;
}

/* ---- Table of contents ---- */
.blog-toc {
  background: #F0E8DA;
  border-left: 4px solid #2C5F2D;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 0 0 32px;
}

.blog-toc__title {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: #1A1A1A;
  margin: 0 0 8px;
}

.blog-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-toc li {
  margin-bottom: 6px;
}

.blog-toc li:last-child {
  margin-bottom: 0;
}

.blog-toc a {
  color: #2C5F2D;
  text-decoration: none;
}

.blog-toc a:hover {
  text-decoration: underline;
}

/* ---- Tables ---- */
.table-wrap {
  overflow-x: auto;
  margin: 0 0 28px;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #F0E8DA;
}

.table-wrap thead th {
  background: #2C5F2D;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}

.table-wrap tbody tr:nth-child(even) {
  background: #FAF6F0;
}

/* ---- FAQ ---- */
.blog-faq {
  margin: 32px 0;
}

.blog-faq h3 {
  font-family: 'Playfair Display', serif;
  color: #1A1A1A;
  font-size: 1.15rem;
  margin: 24px 0 8px;
}

.blog-faq h3:first-child {
  margin-top: 0;
}

.blog-faq p {
  color: #3D3D3D;
}

/* ---- Related guides ---- */
.blog-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #F0E8DA;
}

.blog-related h2 {
  font-family: 'Playfair Display', serif;
  color: #1A1A1A;
  font-size: 1.4rem;
  margin: 0 0 16px;
}

.blog-related ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}

.blog-related li {
  background: #F0E8DA;
  border-radius: 8px;
}

.blog-related a {
  display: block;
  padding: 14px 16px;
  color: #2C5F2D;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.blog-related a:hover {
  background: #2C5F2D;
  color: #fff;
}

/* ---- CTA band ---- */
.blog-cta {
  background: #2C5F2D;
  padding: 48px 0;
  text-align: center;
}

.blog-cta h2 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 2rem;
  margin: 0 0 12px;
}

.blog-cta p {
  color: #F0E8DA;
  font-family: 'Roboto', sans-serif;
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto 28px;
}

.blog-cta .btn-whatsapp,
.blog-cta .btn-outline-green {
  margin: 0 8px;
}

/* ---- Blog hub / category grid ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 48px 0;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(26, 26, 26, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(26, 26, 26, 0.14);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.blog-card h3 {
  font-family: 'Playfair Display', serif;
  color: #1A1A1A;
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 16px 16px 8px;
}

.blog-card p {
  flex: 1;
  color: #6B6B6B;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 16px 16px;
}

.blog-card__count {
  align-self: flex-start;
  margin: 0 16px 16px;
  padding: 4px 12px;
  background: rgba(204, 167, 114, 0.2);
  color: #2C5F2D;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 999px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .blog-article {
    padding: 32px 0 48px;
  }

  .blog-article .container {
    font-size: 1rem;
  }

  .blog-lead {
    font-size: 1.125rem;
  }

  .blog-toc {
    padding: 16px 18px;
  }

  .blog-cta {
    padding: 36px 0;
  }

  .blog-cta h2 {
    font-size: 1.5rem;
  }

  .blog-cta .btn-whatsapp,
  .blog-cta .btn-outline-green {
    display: block;
    margin: 8px auto 0;
    max-width: 320px;
  }
}

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

  .blog-related ul {
    grid-template-columns: 1fr;
  }
}
