/* 🔹 Hero Section */
.hero-blog {
  background: url('../images/blogs/hear.png') no-repeat top center / cover;
  min-height: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 15px;
}

.blog-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 700px;
}

.blog-content h1 {
  font-size: 195px;
  line-height: 227px;
  font-weight: 500;
  font-family: Goodly, sans-serif;
  filter: drop-shadow(-5px 0 6.5px rgba(0, 0, 0, .18));
  text-transform: capitalize;
  color: transparent;
  -webkit-text-stroke: 2px #ffffffbf;
}

.blog-content p {
  max-width: 475px;
  font-size: 22px;
  line-height: 28px;
  color: #e1eaea;
  font-family: "Gordita";
  text-align: left;
}

/* 🔹 Blog Detail Background */
.is-blog-detail {
  background-image: url('../images/blogs/bg-grids.png');
  background-repeat: repeat-y;
  background-size: contain;
}

/* 🔹 Blog Detail Headings */
.blogs .blog-details-wrapper h3:not(.ck-content h3) {
  font-family: "Goodly";
  font-size: 56px;
  line-height: 67px;
  color: #dfecec;
  font-weight: 600;
  margin-bottom: 20px;
}

/* 🔹 Date Section */
.blogs .date-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.blogs .date-wrap label {
  font-size: 17px;
  line-height: 15px;
  text-decoration: underline;
  color: #a5a6a6;
  font-family: "Gordita";
  text-align: center;
}

.blogs .date-wrap .date {
  display: flex;
}

.blogs .date-wrap .date span {
  background: url('../images/blogs/date-bg.png') no-repeat center / contain;
  width: 18px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1px;
  font-size: 18px;
  color: #1e2326;
  font-weight: 600;
}

/* 🔹 Blog Details Module */
.blog-details-modules {
  margin: 50px 0;
  max-width: 939px;
  width: 100%;
  padding: 0 15px;
}

.blog-details-modules .blogs-headlines-title h5 {
  font-size: 33px;
  line-height: 47px;
  color: #dfecec;
  font-weight: bold;
  font-family: "Gilroy";
}

.blog-details-modules .blogs-headlines-title p {
  opacity: 0.9;
  font-size: 22px;
  line-height: 39px;
  color: #dfecec;
  font-family: "Gordita";
}

/* 🔹 RELATED ARTICLE SECTION */
.blogs .related-article .owl-item {
  display: grid !important;
  grid-template-columns: 1fr; /* default */
  justify-items: center;
  align-items: start;
  gap: 20px;
  padding-bottom: 60px;
}

/* Desktop: 3 columns */
@media (min-width: 992px) {
  .blogs .related-article .owl-item {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Tablet: 2 columns */
@media (min-width: 576px) and (max-width: 991px) {
  .blogs .related-article .owl-item {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Mobile: 1 column */
@media (max-width: 575px) {
  .blogs .blog-details-wrapper h3:not(.ck-content h3) {
    font-size: 38px;
    line-height: 50px;
  }
  .blogs .related-article .owl-item {
    grid-template-columns: 1fr !important;
  }
}

/* Grid inside each slide (item wrapper) */
.related-article .item {
  display: contents; /* Let owl-item grid handle the layout */
}

/* Make cards fill grid column */
.related-article .card {
  width: 100%;
  background: transparent !important;
  border-radius: 10px;
  box-shadow: inset 0 0 4px rgba(225, 234, 234, 0.27);
}

.blogs .related-article .card-body,
.blogs .tab-content-box .card-body {
  padding: 20px 1px;
}

.blogs .related-article .card-body p.card-text,
.blogs .tab-content-box .card-body p.card-text {
  font-size: 17px;
  line-height: 22px;
  color: #e1eaea;
  font-weight: 500;
  font-family: "Gordita";
  padding: 0 8px;
}

/* Tags & Buttons */
.blogs .related-article .card-body .d-flex.flex-wrap.gap-2.mb-3 span.badge.bg-light.text-dark,
.blogs .tab-content-box .card-body .d-flex.flex-wrap.gap-2.mb-3 span.badge.bg-light.text-dark {
  height: 27px;
  border-radius: 10px;
  background-color: #e1eaea !important;
  font-size: 15px;
  line-height: 19px;
  color: #1e2326;
  font-weight: 500;
  font-family: "Gordita";
}

.blogs .related-article .card-body a.btn.btn-outline-light,
.blogs .tab-content-box .card-body a.btn.btn-outline-light {
  margin: 0 auto;
  display: block;
  max-width: 166px;
  border: 1px dashed #e1eaea;
  font-size: 23px;
  line-height: 38px;
  color: #dcdadc;
  font-weight: 600;
  font-family: "Poppins";
  border-radius: 7px;
}

/* Owl Dots */
.is-blog-page .owl-theme .owl-dots {
  text-align: center;
  margin-top: 25px;
}

.is-blog-page .owl-theme .owl-dots .owl-dot {
  display: inline-block;
  margin: 0 5px;
}

.is-blog-page .owl-theme .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  background: #888888;
  display: block;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.is-blog-page .owl-theme .owl-dots .owl-dot.active span {
  background: transparent;
  transform: scale(1.2);
  border: 2px solid #f6c544;
}

/* Sticky Sidebar */
@media (min-width: 992px) {
  .blog-details-wrapper .col-lg-3 {
    position: sticky;
    top: 50px;
    align-self: flex-start;
    height: fit-content;
    transition: all 0.3s ease-in-out;
  }
}

/* Text Clamp for Titles */
.card-text {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
  .hero-blog {
    min-height: 500px;
  }
  .blog-content h1 {
    font-size: 120px;
    line-height: 140px;
  }
  .blog-content p {
    font-size: 18px;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .hero-blog {
    min-height: 400px;
  }
  .blog-content h1 {
    font-size: 80px;
    line-height: 90px;
  }
  .blog-content p {
    font-size: 16px;
    line-height: 22px;
    max-width: 300px;
  }
  .blogs .related-article .card-body p.card-text {
    font-size: 15px;
    padding: 0 5px;
  }
  .blogs .related-article .card-body a.btn.btn-outline-light {
    font-size: 18px;
    line-height: 28px;
    max-width: 140px;
  }
  .blogs .related-article .card-body .d-flex.flex-wrap.gap-2.mb-3 span.badge.bg-light.text-dark {
    font-size: 13px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .blog-content h1 {
    font-size: 60px;
    line-height: 70px;
  }
  .blog-content p {
    font-size: 14px;
    line-height: 20px;
  }
  .blogs .related-article .card-body a.btn.btn-outline-light {
    font-size: 16px;
    line-height: 24px;
    max-width: 120px;
  }
}

.bx-pager {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

.bx-pager .btn-act-pg.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.bx-pager-item {
  display: inline-block;
  margin: 0 5px;
}

.bx-pager-link {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

.bx-pager-item.active .bx-pager-link {
  color: red;
}

.btn-act-pg {
  background: transparent;
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-act-pg:hover {
  background: red;
  color: #000;
}
@media (max-width: 768px) {
  .bx-pager {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .bx-pager-item {
    margin: 4px 6px;
  }

  .bx-pager-link,
  .btn-act-pg {
    font-size: 15px;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .bx-pager {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 70px;
  }

  .bx-pager-item {
    width: 70px;
    max-width: 220px;
    margin: 3px 0;
  }

  .bx-pager-link,
  .btn-act-pg {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 15px;
    padding: 8px 0;
  }
}
.related-ban .related-article .owl-item {
  display: block !important;
  grid-template-columns: unset !important;
}
.related-ban .related-article .item {
  display: block !important;
}
.blogs .car--cirlce .car-appear {
  transform: translateY(20px);
  max-width: 100%;
  height: 307px;
  object-fit: contain;
  object-position: top;
}
@media screen and (max-width: 991.98px) {
  .blogs .jeep-grid {
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    border-radius: 50px;
    background-color: #dddbdd;
    background-image: none;
    min-height: 600px;
    margin: 0 auto 50px;
  }
}
.blogs .read-more-btn {
  border: 2px solid #fff;
  background: 0 0;
  transition: .3s;
  font-size: 24px;
  line-height: 50px;
  color: #dcdadc;
  font-weight: 600;
  width: 180px;
  height: 60px;
  border-radius: 10px;
  font-family: Poppins, sans-serif;
}
.blogs-grid .card-img-top {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px 12px 0 0;
  display: block;
}

/* Smaller screens: make height responsive */
@media (max-width: 992px) {
  .blogs-grid .card-img-top {
    height: 280px;
  }
}

@media (max-width: 576px) {
  .blogs-grid .card-img-top {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .blogs-grid .section-title {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .blogs .read-more-btn {
    display: block;
    margin: 10px auto 0;
    text-align: center;
  }
}
