.blog_reviews_sec {
  padding: 4rem 0;
  background-color: #000;
  /* margin: 4rem 0 0; */
}

.footer-latest-blogs .footer-blogs-head {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.footer-blogs-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  margin: 0.75rem 0 0;
  line-height: 1.6;
}

.blog_reviews_sec h5 {
  font-weight: 600;
  font-size: 2.5rem;
  color: #fff;
  text-align: center;
}

.blog_slider-shell {
  width: min(1140px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.blog_slider-container {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.blog_slider-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.4s ease-in-out;
}

.blog_slide {
  min-width: 33.3333333333%;
  box-sizing: border-box;
  padding: 16px;
  background: none;
  display: flex;
}

.blog_arrow-left,
.blog_arrow-right {
  position: static;
  transform: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  background-color: #075bd9;
  border: 1px solid #075bd9;
  color: #fff;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
  z-index: 2;
}

.blog_arrow-left:hover,
.blog_arrow-right:hover {
  background-color: transparent;
  color: #fff;
  border: 1px solid #0b79be;
}

.blog_arrow-left {
  left: auto;
}

.blog_arrow-right {
  right: auto;
}

.blog_arrow-left i,
.blog_arrow-right i {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1;
}

.blog_card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  width: 100%;
  background: linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
  height: 100%;
  padding: 1rem;
  margin: 10px;
  border-radius: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog_card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 120, 190, 0.45);
  box-shadow: 0 16px 36px rgba(7, 91, 217, 0.18);
}

.blog_card_link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog_card a:hover,
.blog_card_link:hover {
  text-decoration: none !important;
}

.blog_card_media {
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  background: #0d0d0d;
}

.blog_card img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.blog_card:hover img {
  transform: scale(1.04);
}

.blog_card_a {
  color: #0a78be;
  padding: 0 !important;
}

.blog_card .blog_category_box {
  display: inline-block;
  width: fit-content;
  text-align: start;
  color: #f5f5f5;
  border: 0;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
  padding: 5px 10px;
  margin-top: 12px;
  background-color: rgba(134, 161, 225, 0.15);
}

.blog_card .blog_category_box:hover {
  color: #fff;
  background-color: #0a78be;
}

.blog_card h6 {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.1rem;
  line-height: 1.45;
  color: #fff;
  text-align: start;
  font-weight: 600;
  margin: 14px 0 9px;
  min-height: calc(1.45em * 2);
}

.blog_card p {
  font-size: 0.95rem;
  display: -webkit-box;
  line-clamp: 5;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  margin: 0 0 1rem;
  flex: 1;
}

.footer-blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-blog-author {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.footer-blog-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.footer-blog-author-name {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-blog-meta time {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-blogs-cta {
  text-align: center;
  margin-top: 1.5rem;
}

.footer-blogs-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid #075bd9;
  background: #075bd9;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer-blogs-view-all:hover {
  background: transparent;
  color: #fff;
  border-color: #0b79be;
  text-decoration: none;
}

@media only screen and (max-width: 991px) {
  .blog_slider-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: center;
    column-gap: 1rem;
    row-gap: 0.75rem;
  }

  .blog_slider-container {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
  }

  .blog_arrow-left {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
  }

  .blog_arrow-right {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  .blog_slide {
    min-width: 50%;
  }
}

@media only screen and (max-width: 768px) {
  .blog_slide {
    min-width: 100%;
    padding: 10px 6px;
  }

  .blog_card {
    margin: 0;
  }

  .blog_slider-shell {
    width: 100%;
    padding: 0 0.5rem;
  }

  .footer-blogs-cta {
    margin-top: 1rem;
    padding-bottom: 4.5rem;
  }
}
