.blog__hero {
  background: #1a1a2d;
  padding: 100px 0 60px;
  text-align: center;
}

.blog__pill {
  display: inline-block;
  color: #94bf58;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 24px;
}

.blog__pill::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #5DEB3C;
}

.blog__hero-title {
  color: #fff;
  font-size: clamp(28px, 3vw + 0.5rem, 46px);
  line-height: 1.15;
  margin: 0 0 16px;
}

.blog__hero-title-light {
  font-weight: 300;
}

.blog__hero-title-bold {
  font-weight: 700;
}

.blog__hero-subtitle {
  color: #fff;
  font-size: 16px;
  max-width: 492px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.blog__search-form {
  max-width: 540px;
  margin: 0 auto;
}

.blog__search-wrap {
  display: flex;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  overflow: hidden;
}

.blog__search-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: none;
  padding: 14px 20px;
  color: #fff;
  font-size: 16px;
  font-family: 'Work Sans', sans-serif;
  outline: none;
}

.blog__search-input::placeholder {
  color: #41B9C0;
  font-size: 12px;
  font-weight: 600;
}

.blog__search-input:focus {
  background: rgba(255,255,255,0.12);
}

.blog__search-submit {
  background: #43B02A;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Work Sans', sans-serif;
  padding: 14px 28px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s;
}

.blog__search-submit:hover {
  background: #379a22;
}

.blog__categories {
  background: #1c1e26;
  padding: 24px 0;
}

.blog__category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.blog__category-pill {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 24px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
}

.blog__category-pill:hover,
.blog__category-pill--active {
  background: #43B02A;
  border-color: #43B02A;
  color: #fff;
}

.blog__listing {
  background: #fff;
  padding: 60px 0 80px;
}

.blog__result-count {
  color: #999;
  font-size: 14px;
  margin-bottom: 24px;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog__card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.blog__card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.blog__card-image-link {
  display: block;
}

.blog__card-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog__card-image--placeholder {
  background: #1a1a2d;
  position: relative;
}

.blog__card-image--placeholder::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 2px solid #94bf58;
  opacity: 0.3;
}

.blog__card-body {
  padding: 24px;
}

.blog__card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
}

.blog__card-category {
  display: inline-block;
  background: #94bf58;
  color: #fff;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.blog__card-date {
  color: #999;
}

.blog__card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 10px;
}

.blog__card-title a {
  color: #1a1a2d;
  text-decoration: none;
  transition: color 0.2s;
}

.blog__card-title a:hover {
  color: #94bf58;
}

.blog__card-excerpt {
  color: #4D4D4D;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.blog__card-readmore {
  color: #94bf58;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.blog__card-readmore:hover {
  color: #37579e;
}

.blog__pagination {
  margin-top: 48px;
  text-align: center;
}

.blog__pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 3px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #4D4D4D;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}

.blog__pagination .page-numbers:hover {
  border-color: #94bf58;
  color: #94bf58;
}

.blog__pagination .page-numbers.current {
  background: #43B02A;
  border-color: #43B02A;
  color: #fff;
}

.blog__pagination .page-numbers.next,
.blog__pagination .page-numbers.prev {
  padding: 8px 18px;
}

.blog__empty {
  text-align: center;
  padding: 80px 0;
  color: #4D4D4D;
}

.blog__empty h2 {
  color: #1a1a2d;
  font-size: 24px;
  margin-bottom: 8px;
}

/* Single Post */
.blog-single__hero {
  background: #1a1a2d;
  padding: 60px 0;
  text-align: center;
}

.blog-single__back {
  display: inline-block;
  color: #94bf58;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.blog-single__back:hover {
  color: #5DEB3C;
}

.blog-single__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 13px;
}

.blog-single__category {
  display: inline-block;
  background: #94bf58;
  color: #fff;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.blog-single__date {
  color: rgba(255,255,255,0.5);
}

.blog-single__title {
  color: #fff;
  font-size: clamp(26px, 3vw + 0.5rem, 42px);
  font-weight: 700;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto;
}

.blog-single__featured {
  margin-top: 40px;
}

.blog-single__featured-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.blog-single__content {
  background: #fff;
  padding: 80px 0 60px;
}

.blog-single__content .wrap {
  max-width: 780px;
}

.blog-single__body {
  font-family: 'Work Sans', sans-serif;
  color: #4D4D4D;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
}

.blog-single__body h2 {
  font-family: 'Work Sans', sans-serif;
  color: #37579e;
  font-size: 32px;
  font-weight: 700;
  margin: 48px 0 16px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.blog-single__body h3 {
  font-family: 'Work Sans', sans-serif;
  color: #37579e;
  font-size: 24px;
  font-weight: 700;
  margin: 36px 0 14px;
  line-height: 1.3;
}

.blog-single__body h4 {
  font-family: 'Work Sans', sans-serif;
  color: #1a1a2d;
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 10px;
  line-height: 1.35;
}

.blog-single__body h5,
.blog-single__body h6 {
  font-family: 'Work Sans', sans-serif;
  color: #1a1a2d;
  font-weight: 700;
  margin: 24px 0 10px;
  line-height: 1.4;
}

.blog-single__body h5 { font-size: 16px; }
.blog-single__body h6 { font-size: 14px; }

.blog-single__body p {
  margin-bottom: 24px;
  font-weight: 400;
}

.blog-single__body p strong {
  color: #1a1a2d;
  font-weight: 700;
}

.blog-single__body a {
  color: #43B02A;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(67, 176, 42, 0.3);
  transition: border-color 0.2s, color 0.2s;
}

.blog-single__body a:hover {
  color: #379a22;
  border-color: #379a22;
}

.blog-single__body blockquote {
  border-left: 4px solid #5DEB3C;
  padding: 24px 32px;
  margin: 36px 0;
  background: #f7fafd;
  color: #4D4D4D;
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
  border-radius: 0 6px 6px 0;
}

.blog-single__body blockquote p {
  margin-bottom: 0;
}

.blog-single__body blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  color: #37579e;
}

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

.blog-single__body ul {
  list-style: none;
}

.blog-single__body ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 10px;
  color: #4D4D4D;
}

.blog-single__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: #94bf58;
  border-radius: 50%;
}

.blog-single__body ol li {
  margin-bottom: 10px;
  color: #4D4D4D;
  padding-left: 4px;
}

.blog-single__body ol {
  list-style: decimal;
  color: #37579e;
}

.blog-single__body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 24px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

.blog-single__body figcaption {
  text-align: center;
  font-size: 13px;
  color: #999;
  margin-top: 8px;
}

.blog-single__body hr {
  border: none;
  height: 1px;
  background: #e0e0e0;
  margin: 40px 0;
}

.blog-single__body pre {
  background: #1a1a2d;
  color: #e8e8e8;
  padding: 24px;
  border-radius: 6px;
  overflow-x: auto;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
}

.blog-single__body code {
  background: #f0f4f0;
  color: #37579e;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 14px;
  font-family: 'Courier New', monospace;
  font-weight: 600;
}

.blog-single__body pre code {
  background: none;
  color: #e8e8e8;
  padding: 0;
  font-weight: 400;
}

.blog-single__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.blog-single__body th {
  background: #1a1a2d;
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-single__body td {
  padding: 12px 16px;
  border-bottom: 1px solid #e8e8e8;
  color: #4D4D4D;
}

.blog-single__body tr:hover td {
  background: #f7fafd;
}

.blog-single__tags {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-single__tags-label {
  color: #4D4D4D;
  font-size: 13px;
  font-weight: 600;
  margin-right: 4px;
}

.blog-single__tag {
  display: inline-block;
  padding: 4px 12px;
  background: #f0f0f0;
  border-radius: 16px;
  color: #555;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s;
}

.blog-single__tag:hover {
  background: #94bf58;
  color: #fff;
}

.blog-single__share {
  margin-top: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #4D4D4D;
  font-weight: 600;
}

.blog-single__share a {
  color: #37579e;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-single__share a:hover {
  color: #94bf58;
}

.blog-single__related {
  background: #f9f9f9;
  padding: 60px 0 80px;
}

.blog-single__related-title {
  color: #37579e;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
}

@media (max-width: 991px) {
  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .blog__hero {
    padding: 80px 0 48px;
  }

  .blog-single__content .wrap {
    max-width: 100%;
    padding: 0 24px;
  }
}

@media (max-width: 767px) {
  .blog__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog__listing {
    padding: 40px 0 60px;
  }

  .blog__hero {
    padding: 60px 0 36px;
  }

  .blog__search-wrap {
    flex-direction: column;
  }

  .blog__category-list {
    gap: 6px;
  }

  .blog__category-pill {
    padding: 6px 14px;
    font-size: 11px;
  }

  .blog-single__hero {
    padding: 40px 0;
  }

  .blog-single__content {
    padding: 40px 0 30px;
  }

  .blog-single__body {
    font-size: 16px;
  }

  .blog-single__body h2 { font-size: 26px; }
  .blog-single__body h3 { font-size: 20px; }
  .blog-single__body h4 { font-size: 16px; }

  .blog-single__body blockquote {
    padding: 16px 20px;
    font-size: 16px;
  }
}
