/* Shared rounded blog card images — match Latest Blogs style */
.ob-blog-card-media,
.latest_blog_wrapper .more_guides_box figure,
.blog_list .more_guides_box figure,
.explore_categories .more_guides_box figure,
.trending_blogs .more_guides_box figure {
  display: block;
  margin: 0 auto 24px;
  width: 100%;
  aspect-ratio: 1000 / 562;
  overflow: hidden;
  border-radius: 10px;
  background: #f1f5f9;
  line-height: 0;
}

.ob-blog-card-media img,
.latest_blog_wrapper .more_guides_box figure img,
.blog_list .more_guides_box figure img,
.explore_categories .more_guides_box figure img,
.trending_blogs .more_guides_box figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  margin: 0 !important;
  border-radius: 10px;
}

.latest_blog_wrapper .more_guides_box,
.blog_list .more_guides_box,
.explore_categories .more_guides_box,
.trending_blogs .more_guides_box {
  display: block;
  margin-bottom: 16px;
}

.latest_blog_wrapper .blog_row > [class*="col-"],
.latest_blog_wrapper .ob-blog-latest-grid > .ob-blog-latest-cell,
.blog_list .blog_row > [class*="col-"] {
  display: flex;
}

/* Latest Blogs — internal gradient separators (footer logo divider style) */
.latest_blog_wrapper .ob-blog-latest-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  gap: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

@media (min-width: 768px) {
  .latest_blog_wrapper .ob-blog-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .latest_blog_wrapper .ob-blog-latest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.latest_blog_wrapper .ob-blog-latest-grid > .ob-blog-latest-cell {
  position: relative;
  background: #fff;
  padding: 28px 24px;
  width: 100%;
  max-width: 100%;
  flex: none;
}

.latest_blog_wrapper .ob-blog-latest-grid > .ob-blog-latest-cell .more_guides_box {
  margin-bottom: 18px;
}

/* Horizontal divider — fades at left/right edges */
.latest_blog_wrapper .ob-blog-latest-grid > .ob-blog-latest-cell::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #fa4721 25%, #f29a1c 50%, transparent 100%);
  pointer-events: none;
}

@media (min-width: 992px) {
  .latest_blog_wrapper .ob-blog-latest-grid > .ob-blog-latest-cell:nth-last-child(-n + 3)::before {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .latest_blog_wrapper .ob-blog-latest-grid > .ob-blog-latest-cell:nth-last-child(-n + 2)::before {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .latest_blog_wrapper .ob-blog-latest-grid > .ob-blog-latest-cell {
    padding: 22px 18px;
  }

  .latest_blog_wrapper .ob-blog-latest-grid > .ob-blog-latest-cell::before {
    left: 18px;
    right: 18px;
  }

  .latest_blog_wrapper .ob-blog-latest-grid > .ob-blog-latest-cell:last-child::before {
    display: none;
  }
}

/* Vertical divider — fades at top/bottom like footer .about-widget::after */
@media (min-width: 768px) and (max-width: 991.98px) {
  .latest_blog_wrapper .ob-blog-latest-grid > .ob-blog-latest-cell:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 28px;
    right: 0;
    bottom: 28px;
    width: 3px;
    background: linear-gradient(0deg, transparent 0%, #fa4721 25%, #f29a1c 50%, transparent 100%);
    pointer-events: none;
  }

  .latest_blog_wrapper .ob-blog-latest-grid > .ob-blog-latest-cell:last-child:nth-child(odd)::after {
    display: none;
  }
}

@media (min-width: 992px) {
  .latest_blog_wrapper .ob-blog-latest-grid > .ob-blog-latest-cell:not(:nth-child(3n))::after {
    content: "";
    position: absolute;
    top: 28px;
    right: 0;
    bottom: 28px;
    width: 3px;
    background: linear-gradient(0deg, transparent 0%, #fa4721 25%, #f29a1c 50%, transparent 100%);
    pointer-events: none;
  }
}

.blog_list .alm-listing.ob-blog-category-grid > .ob-blog-grid-cell {
  display: flex;
}

.latest_blog_wrapper .more_guides_details,
.blog_list .more_guides_details,
.explore_categories .more_guides_details,
.trending_blogs .more_guides_details {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.latest_blog_wrapper .more_guides_des,
.blog_list .more_guides_des {
  flex-grow: 1;
}

@media (max-width: 767.98px) {
  .ob-blog-card-media,
  .latest_blog_wrapper .more_guides_box figure,
  .blog_list .more_guides_box figure,
  .explore_categories .more_guides_box figure,
  .trending_blogs .more_guides_box figure {
    aspect-ratio: 16 / 9;
  }
}

/* Explore Our Categories — gradient grid separators */
.explore_categories .ob-blog-home-category-grid {
  --ob-line-gradient: linear-gradient(
    135deg,
    rgba(255, 94, 20, 0.15) 0%,
    rgba(255, 142, 107, 0.55) 28%,
    rgba(50, 202, 202, 0.65) 72%,
    rgba(255, 94, 20, 0.15) 100%
  );
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--ob-line-gradient);
  border: 1px solid rgba(255, 94, 20, 0.14);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 2, 72, 0.07);
}

@media (min-width: 768px) {
  .explore_categories .ob-blog-home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .explore_categories .ob-blog-home-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.explore_categories .ob-blog-home-category-grid > .ob-blog-home-category-cell {
  background: #fff;
  padding: 28px 24px;
  min-width: 0;
  position: relative;
  width: 100%;
  max-width: 100%;
  flex: none;
}

.explore_categories .ob-blog-home-category-grid > .ob-blog-home-category-cell .more_guides_box {
  margin-bottom: 18px;
}

/* Horizontal separators */
.explore_categories .ob-blog-home-category-grid > .ob-blog-home-category-cell::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 94, 20, 0.3) 12%,
    rgba(50, 202, 202, 0.5) 50%,
    rgba(255, 94, 20, 0.3) 88%,
    transparent 100%
  );
  pointer-events: none;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .explore_categories .ob-blog-home-category-grid > .ob-blog-home-category-cell:nth-last-child(-n + 2)::before {
    display: none;
  }
}

@media (min-width: 992px) {
  .explore_categories .ob-blog-home-category-grid > .ob-blog-home-category-cell:nth-last-child(-n + 3)::before {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .explore_categories .ob-blog-home-category-grid > .ob-blog-home-category-cell:last-child::before {
    display: none;
  }
}

/* Vertical separators — 2 columns */
@media (min-width: 768px) and (max-width: 991.98px) {
  .explore_categories .ob-blog-home-category-grid > .ob-blog-home-category-cell:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 28px;
    right: 0;
    bottom: 28px;
    width: 1px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(255, 94, 20, 0.35) 18%,
      rgba(50, 202, 202, 0.55) 50%,
      rgba(255, 94, 20, 0.35) 82%,
      transparent 100%
    );
    pointer-events: none;
  }

  .explore_categories .ob-blog-home-category-grid > .ob-blog-home-category-cell:last-child:nth-child(odd)::after {
    display: none;
  }
}

/* Vertical separators — 3 columns */
@media (min-width: 992px) {
  .explore_categories .ob-blog-home-category-grid > .ob-blog-home-category-cell:not(:nth-child(3n))::after {
    content: "";
    position: absolute;
    top: 28px;
    right: 0;
    bottom: 28px;
    width: 1px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(255, 94, 20, 0.35) 18%,
      rgba(50, 202, 202, 0.55) 50%,
      rgba(255, 94, 20, 0.35) 82%,
      transparent 100%
    );
    pointer-events: none;
  }
}

@media (max-width: 767.98px) {
  .explore_categories .ob-blog-home-category-grid > .ob-blog-home-category-cell {
    padding: 22px 18px;
  }

  .explore_categories .ob-blog-home-category-grid > .ob-blog-home-category-cell::before {
    left: 18px;
    right: 18px;
  }
}

/* Category / search listing — internal gradient separators (footer logo style) */
.blog_list .alm-listing.ob-blog-category-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  gap: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

@media (min-width: 992px) {
  .blog_list .alm-listing.ob-blog-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.blog_list .alm-listing.ob-blog-category-grid > .ob-blog-grid-cell {
  background: #fff;
  padding: 28px 24px;
  min-width: 0;
  position: relative;
}

.blog_list .ob-blog-list-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0;
}

.blog_list .ob-blog-list-card .more_guides_box {
  margin-bottom: 18px;
}

.blog_list .ob-blog-list-card .more_guides_title {
  margin-bottom: 12px;
  line-height: 1.45;
}

.blog_list .ob-blog-list-card .more_guides_des {
  margin-bottom: 16px;
}

.blog_list .ob-blog-list-card .more_guides_des p {
  margin-bottom: 0;
  color: #475569;
  line-height: 1.7;
}

.blog_list .ob-blog-list-card .mobile_app_user {
  margin-top: auto;
  padding-top: 4px;
}

.mobile_app_user .ob-blog-view-count {
  margin-left: auto;
}

.blog_list .alm-listing.ob-blog-category-grid > .ob-blog-grid-cell::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #fa4721 25%, #f29a1c 50%, transparent 100%);
  pointer-events: none;
}

@media (min-width: 992px) {
  .blog_list .alm-listing.ob-blog-category-grid > .ob-blog-grid-cell:nth-last-child(-n + 2)::before {
    display: none;
  }

  .blog_list .alm-listing.ob-blog-category-grid > .ob-blog-grid-cell:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 28px;
    right: 0;
    bottom: 28px;
    width: 3px;
    background: linear-gradient(0deg, transparent 0%, #fa4721 25%, #f29a1c 50%, transparent 100%);
    pointer-events: none;
  }

  .blog_list .alm-listing.ob-blog-category-grid > .ob-blog-grid-cell:last-child:nth-child(odd)::after {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .blog_list .alm-listing.ob-blog-category-grid > .ob-blog-grid-cell:last-child::before {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .blog_list .alm-listing.ob-blog-category-grid > .ob-blog-grid-cell {
    padding: 22px 18px;
  }

  .blog_list .alm-listing.ob-blog-category-grid > .ob-blog-grid-cell::before {
    left: 18px;
    right: 18px;
  }
}
