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

body {
  font-family: 'Manrope', sans-serif;
}

/* ─── Banner ─────────────────────────────────────────────── */
.banner {
  position: relative;
  width: 100%;
  height: 520px;
  background-image: url('../Assets/blog-banner.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.90) 0%,
    rgba(0, 0, 0, 0.75) 35%,
    rgba(0, 0, 0, 0.70) 70%,
    rgba(0, 0, 0, 0.10) 100%
  );
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  height: 100%;
  padding: 120px 250px;          
  margin-top: 60px;
}

.banner-content h1 {
  color: #ffffff;
  font-weight: 300;
  font-style: normal;
  font-size: clamp(32px, 5vw, 70px);
  line-height: 1.2;
  letter-spacing: -0.7px;
}

.breadcrumb {
  color: #cccccc;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1.5;
  margin-left: 5px;
}

.breadcrumb a {
  color: #116E4A;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1.5;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ─── Blog Section ───────────────────────────────────────── */
.blog-section {
  display: grid;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 130px;           /* matches banner left padding */
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 80px 0;
}

/* ─── Blog Post Card ─────────────────────────────────────── */
.blog-post {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  gap: 14px;
  width: 100%;
}

.blog-post img {
  width: 100%;
  height: 300px;              /* taller to match design */
  object-fit: cover;
  object-position: center;
  border-radius: 28px;        /* slightly more rounded */
}

.blog-post h2 {
  color: #000000;
  font-weight: 600;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.4;
}

/* Read More button with arrow icon */
.blog-post .read-more {
  display: grid;
  grid-template-columns: auto auto;  /* text + icon side by side */
  align-items: center;
  justify-content: start;
  gap: 6px;
  background-color: transparent;
  border: none;
  color: #116E4A;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.blog-post .read-more::after {
  content: '↗';               /* arrow icon matching design */
  font-size: 14px;
  color: #116E4A;
}

.blog-post .read-more:hover {
  text-decoration: underline;
}

/* ─── Media Queries ──────────────────────────────────────── */

/* Large desktop */
@media (max-width: 1280px) {
  .banner-content,
  .blog-section {
    padding: 0 80px;
  }
}

/* Tablet landscape */
@media (max-width: 1024px) {
  .banner-content,
  .blog-section {
    padding: 0 60px;
  }

  .blog-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .banner {
    height: 400px;
  }

  .banner-content,
  .blog-section {
    padding: 0 36px;
  }

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

  .blog-post img {
    height: 220px;
    border-radius: 20px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .banner {
    height: 300px;
  }

  .banner-content,
  .blog-section {
    padding: 0 20px;
  }

  .blog-container {
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 40px 0;
  }

  .blog-post img {
    height: 240px;
    border-radius: 16px;
  }
}
/* ─── Single Blog Post Styles ────────────────────────────── */
.single-blog-article {
  max-width: 960px;
  margin: 60px auto 100px;
  padding: 0 24px;
}

.single-blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e9ea;
  color: #667085;
  font-size: 14px;
}

.single-blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.single-blog-meta-item svg {
  width: 16px;
  height: 16px;
  stroke: #116E4A;
}

.single-blog-category {
  background: rgba(17, 110, 74, 0.1);
  color: #116E4A;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.single-blog-featured-wrap {
  width: 100%;
  margin-bottom: 40px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.single-blog-featured-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.single-blog-content {
  color: #344054;
  font-size: 18px;
  line-height: 1.8;
  font-family: 'Manrope', sans-serif;
}

.single-blog-content p {
  margin-bottom: 24px;
}

.single-blog-content h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: #101828;
  font-weight: 700;
  margin: 48px 0 20px;
  line-height: 1.3;
}

.single-blog-content h3 {
  font-size: clamp(20px, 2.5vw, 24px);
  color: #101828;
  font-weight: 600;
  margin: 36px 0 16px;
  line-height: 1.4;
}

.single-blog-content ul,
.single-blog-content ol {
  margin: 20px 0 28px 24px;
  padding-left: 12px;
}

.single-blog-content li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.single-blog-content blockquote {
  border-left: 4px solid #116E4A;
  background: #f8faf9;
  padding: 24px 32px;
  margin: 36px 0;
  border-radius: 0 16px 16px 0;
  font-style: italic;
  font-size: 19px;
  color: #1a382c;
  line-height: 1.7;
}

.single-blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 28px 0;
}

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

.single-blog-content figcaption {
  font-size: 14px;
  color: #667085;
  text-align: center;
  margin-top: 8px;
}

.single-blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
}

.single-blog-content th,
.single-blog-content td {
  border: 1px solid #e4e7ec;
  padding: 12px 16px;
  text-align: left;
}

.single-blog-content th {
  background: #f9fafb;
  font-weight: 600;
  color: #101828;
}

.single-blog-content a {
  color: #116E4A;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-blog-content a:hover {
  color: #0b4e34;
}

.single-blog-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #e5e9ea;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.single-blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.single-blog-tag {
  background: #f2f4f7;
  color: #475467;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  text-decoration: none;
}

.single-blog-tag:hover {
  background: #e4e7ec;
}

.back-to-blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #116E4A;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid #116E4A;
  transition: all 0.2s ease;
}

.back-to-blog-btn:hover {
  background: #116E4A;
  color: #ffffff;
}

/* ─── Related Posts Section ──────────────────────────────── */
.related-posts-section {
  max-width: 1320px;
  margin: 0 auto 100px;
  padding: 60px 130px 0;
  border-top: 1px solid #e5e9ea;
}

.related-posts-title {
  font-size: clamp(24px, 3vw, 32px);
  color: #101828;
  margin-bottom: 40px;
  font-weight: 700;
}

@media (max-width: 1280px) {
  .related-posts-section {
    padding: 60px 80px 0;
  }
}

@media (max-width: 1024px) {
  .related-posts-section {
    padding: 50px 60px 0;
  }
}

@media (max-width: 768px) {
  .related-posts-section {
    padding: 40px 36px 0;
  }
}

@media (max-width: 480px) {
  .related-posts-section {
    padding: 30px 20px 0;
  }
}

/* ─── Pagination ─────────────────────────────────────────── */
.provert-pagination {
  margin: 40px auto 80px;
  text-align: center;
}

.provert-pagination .nav-links {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.provert-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #e4e7ec;
  color: #344054;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.provert-pagination .page-numbers.current,
.provert-pagination .page-numbers:hover {
  background: #116E4A;
  color: #ffffff;
  border-color: #116E4A;
}

/* Linked WordPress thumbnails occupy the same grid area as reference images. */
.blog-image-link .blog-image { display: block; }

/* Preserve the reference button appearance on functional post links. */
.blog-post a.read-more { text-decoration: none; }
.blog-post a.read-more:hover { text-decoration: underline; }
