/* Home – latest blog posts */
.home-blog-section {
  position: relative;
  padding: 72px 0 78px;
  background: #ffffff;
  overflow: hidden;
}

.home-blog-section::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(13, 64, 69, 0.05);
  pointer-events: none;
}

.home-blog-section::after {
  content: "";
  position: absolute;
  bottom: -90px;
  right: -50px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(10, 25, 47, 0.04);
  pointer-events: none;
}

.home-blog-section .auto-container {
  position: relative;
  z-index: 2;
}

.home-blog-head {
  max-width: 640px;
  margin: 0 auto 42px;
  text-align: center;
}

.home-blog-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: var(--theme-color1);
  background: rgba(10, 25, 47, 0.06);
  border: 1px solid rgba(10, 25, 47, 0.08);
}

.home-blog-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0d4045;
}

.home-blog-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.22;
  font-weight: 700;
  color: var(--theme-color1);
}

.home-blog-intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(10, 25, 47, 0.72);
}

.home-blog-grid {
  --bs-gutter-x: 24px;
  --bs-gutter-y: 28px;
}

.home-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(10, 25, 47, 0.08);
  box-shadow: 0 8px 28px rgba(10, 25, 47, 0.05);
  overflow: hidden;
  text-decoration: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 64, 69, 0.18);
  box-shadow: 0 20px 44px rgba(10, 25, 47, 0.1);
}

.home-blog-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #eef3f4;
}

.home-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.home-blog-card:hover .home-blog-card__image img {
  transform: scale(1.06);
}

.home-blog-card__date {
  position: absolute;
  left: 16px;
  bottom: 16px;
  min-width: 52px;
  padding: 8px 10px;
  border-radius: 10px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  background: linear-gradient(135deg, var(--theme-color1) 0%, #0d4045 100%);
  box-shadow: 0 6px 18px rgba(10, 25, 47, 0.22);
}

.home-blog-card__date span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.92;
}

.home-blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 20px;
}

.home-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #0d4045;
}

.home-blog-card__meta li {
  position: relative;
  margin: 0;
  padding: 0;
}

.home-blog-card__meta li + li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: rgba(10, 25, 47, 0.28);
}

.home-blog-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.38;
  font-weight: 700;
  color: var(--theme-color1);
  transition: color 0.25s ease;
}

.home-blog-card:hover .home-blog-card__title {
  color: #0d4045;
}

.home-blog-card__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(10, 25, 47, 0.68);
  flex: 1;
}

.home-blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #0d4045;
}

.home-blog-card__link i {
  font-size: 11px;
  transition: transform 0.25s ease;
}

.home-blog-card:hover .home-blog-card__link i {
  transform: translateX(4px);
}

.home-blog-foot {
  margin-top: 36px;
  text-align: center;
}

.home-blog-foot .button-theme2 .theme-btn {
  background: linear-gradient(135deg, var(--theme-color1) 0%, #0d4045 100%);
  color: #fff;
}

@media (max-width: 991.98px) {
  .home-blog-section {
    padding: 58px 0 64px;
  }

  .home-blog-head {
    margin-bottom: 32px;
  }
}

@media (max-width: 575.98px) {
  .home-blog-section {
    padding: 48px 0 54px;
  }

  .home-blog-card__body {
    padding: 18px 16px 16px;
  }

  .home-blog-card__title {
    font-size: 17px;
  }
}
