/* NestZim — Guides / news blog */

.nz-guides {
  background: #f4f7f5;
}

.nz-guides .pg-bc-wrap {
  background: #fff;
  border-bottom: 1px solid #e8ece9;
  padding: 0.65rem 0;
}

/* ── Index: featured story ── */
.gd-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(27, 107, 58, 0.1);
  box-shadow: 0 16px 48px rgba(10, 40, 23, 0.1);
  text-decoration: none;
  color: inherit;
  margin-bottom: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gd-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(10, 40, 23, 0.14);
  color: inherit;
}
@media (min-width: 992px) {
  .gd-featured {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.gd-featured-img {
  position: relative;
  min-height: 240px;
  background: #0D4A26;
}
.gd-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
  display: block;
}
.gd-featured-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 40, 24, 0.55) 100%);
}
.gd-featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: linear-gradient(135deg, #D4A017, #B8890F);
  color: #1a2e1f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 30px;
}
.gd-featured-body {
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gd-cat {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1B6B3A;
  background: #e8f5ee;
  border: 1px solid #c5dece;
  border-radius: 30px;
  padding: 4px 10px;
  margin-bottom: 0.75rem;
  width: fit-content;
}
.gd-featured-body h2 {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.2;
  color: #0f2d1a !important;
  margin-bottom: 0.65rem;
}
.gd-featured-body p {
  color: #5f7167;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.gd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  font-size: 0.8rem;
  color: #7a8a80;
}
.gd-meta i {
  color: #D4A017;
  margin-right: 4px;
}
.gd-read-more {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: #1B6B3A;
}
.gd-read-more i {
  transition: transform 0.2s ease;
}
.gd-featured:hover .gd-read-more i {
  transform: translateX(4px);
}

/* ── Index: post grid ── */
.gd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.gd-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2ebe5;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.gd-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(27, 107, 58, 0.12);
  color: inherit;
}
.gd-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0D4A26;
}
.gd-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gd-card:hover .gd-card-img img {
  transform: scale(1.04);
}
.gd-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.gd-card-body h3 {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
  color: #0f2d1a !important;
  margin-bottom: 0.5rem;
}
.gd-card-body p {
  font-size: 0.86rem;
  color: #5f7167;
  line-height: 1.55;
  margin-bottom: 0.85rem;
  flex: 1;
}
.gd-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #8a9a90;
  border-top: 1px solid #eef2ef;
  padding-top: 0.75rem;
}

/* ── Article detail (news) ── */
.gd-article-wrap {
  padding: 0 0 4rem;
}
.gd-article-header {
  max-width: 820px;
  margin: 0 auto 1.5rem;
  padding-top: 0.5rem;
}
.gd-top-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.gd-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 30px;
  background: #fff3cc;
  border: 1px solid #edd080;
  color: #886500;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gd-title {
  position: relative;
}
.gd-article-header h1 {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-weight: 800;
  font-size: clamp(1.75rem, 4.5vw, 2.65rem);
  line-height: 1.15;
  color: #0f2d1a !important;
  margin-bottom: 1rem;
}
.gd-article-lead {
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.75;
  color: #4a5f52;
  margin-bottom: 1.25rem;
}
.gd-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2ebe5;
  margin-bottom: 0;
  font-size: 0.84rem;
  color: #6b7775;
}
.gd-article-meta span:not(.gd-author) i {
  color: #D4A017;
  margin-right: 4px;
}
.gd-article-meta .gd-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #1a2e1f;
}
.gd-author-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1B6B3A, #0D4A26);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.gd-hero-img {
  max-width: 960px;
  margin: 0 auto 2rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 40, 23, 0.15);
  border: 1px solid rgba(27, 107, 58, 0.1);
}
.gd-hero-img img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.gd-hero-img figcaption {
  font-size: 0.76rem;
  color: #7e8e84;
  padding: 0.65rem 0.95rem 0.8rem;
  background: #fff;
  border-top: 1px solid #eef2ef;
}
.gd-intro-card {
  background: linear-gradient(180deg, #fff, #f8fbf9);
  border: 1px solid #e2ebe5;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.35rem;
}
.gd-intro-card h2 {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f2d1a !important;
  margin: 0 0 0.35rem;
  border: 0;
  padding: 0;
}
.gd-intro-card h2 i {
  color: #D4A017;
  margin-right: 6px;
}
.gd-intro-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #50645a;
  line-height: 1.65;
}
.gd-article-content {
  max-width: 720px;
}
.gd-article-content section,
.gd-content-block {
  margin-bottom: 2rem;
}
.gd-article-content h2,
.gd-content-block h2 {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: #0f2d1a !important;
  margin-bottom: 0.85rem;
  padding-left: 0.85rem;
  border-left: 4px solid #D4A017;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.gd-content-block h2 span {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #D4A017, #B8890F);
  color: #1a2e1f;
  font-size: 0.76rem;
  font-weight: 800;
  flex-shrink: 0;
}
.gd-article-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #3f5348;
  margin-bottom: 1rem;
}
.gd-article-content p:last-child {
  margin-bottom: 0;
}
.gd-article-content a {
  color: #1B6B3A;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gd-article-content a:hover {
  color: #0D4A26;
}

/* Sidebar related */
.gd-sidebar-title {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f2d1a !important;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.gd-related {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #eef2ef;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}
.gd-related:last-child {
  border-bottom: 0;
}
.gd-related:hover {
  color: inherit;
  background: #f8fcf9;
  margin: 0 -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 10px;
}
.gd-related-thumb {
  width: 72px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0D4A26;
}
.gd-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gd-related h4 {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f2d1a !important;
  margin: 0 0 0.25rem;
}
.gd-related span {
  font-size: 0.7rem;
  color: #8a9a90;
}

.gd-more-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2ebe5;
}
.gd-more-section h2 {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-weight: 800;
  font-size: 1.35rem;
  color: #0f2d1a !important;
  margin-bottom: 1.25rem;
}

@media (max-width: 767.98px) {
  .gd-title {
    font-size: clamp(1.45rem, 7.2vw, 2rem) !important;
  }
  .gd-article-meta {
    gap: 0.5rem 0.9rem;
    font-size: 0.78rem;
  }
  .gd-content-block h2 {
    font-size: 1.05rem;
    padding-left: 0.65rem;
  }
}
