/* Blog Main wrapper */
.archive-blog {
  position: relative;
}

.archive-blog .inner-wrapper {
  display: flex;
  margin-bottom: 60px;
}

.left-col {
  width: 25%;
}

.right-col {
  width: 75%;
}

/* Blog Sidebar */
.archive-blog .left-col {
  padding: 0 10px;
}

.archive-blog .left-col .div-inner {
  border: 1px solid #92acbf;
  background-color: #ffffff;

  display: flex;
  flex-direction: column;
}

/* Blog Search section */
.search-articles {
  background-color: #bed6e4;
}

.search-main-title {
  text-align: center;
}

.search-articles form {
  padding: 0 10px 20px;
}

.search-articles input {
  width: 100%;
  height: 25px;

  text-align: left;
  border: 0;
  background: transparent;
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
  border-bottom: 1px solid #000000;
  width: 100%;
}

.search-articles input:focus-visible {
  outline: none;
}

/* Blog Filter Section */
.filter-articles-div {
  padding: 0 10px;
}

.filter-articles-div li {
  font-size: 14px;
}

.filter-articles-div .filter-title {
  margin: 20px 0 10px;
}

/* BLOG GRID */
.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* BLOG CARD */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
}

/* IMAGE FIX (KEY PART) */
.blog-card-img {
  width: 100%;
  height: 230px !important; /* SAME HEIGHT FOR ALL */
  overflow: hidden;
}

.blog-card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover; /* MAGIC */
  display: block;
}

/* CONTENT */
.blog-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-size: 20px;
  margin-bottom: 10px;
}

/* PUSH BUTTON TO BOTTOM */
.blog-card-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* RESPONSIVE */

@media screen and (min-width: 2560px) {
  /* Blog inner Banner */
  .inner-banner .main-slider-wrapper {
    height: 1000px !important;
  }
}

@media screen and (min-width: 1920px) and (max-width: 2559px) {
  /* Blog inner Banner */
  .inner-banner .main-slider-wrapper {
    height: 900px !important;
  }
}

@media screen and (min-width: 1920px) and (max-width: 2320px) {
  /* Blog inner Banner */
  .archive-blog {
    margin-top: -100px;
  }
}

@media screen and (min-width: 1600px) and (max-width: 1919px) {
  /* Blog inner Banner */
  .inner-banner .main-slider-wrapper {
    height: 680px !important;
  }
}

@media screen and (min-width: 1366px) and (max-width: 1599px) {
  /* Blog inner Banner */
  .inner-banner .main-slider-wrapper {
    height: 600px !important;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1365px) {
  /* Blog inner Banner */
  .inner-banner .main-slider-wrapper {
    height: 500px !important;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  /* Blog inner Banner */
  .inner-banner .main-slider-wrapper {
    height: 500px !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  /* Blog inner Banner */
  .inner-banner .main-slider-wrapper {
    height: 500px !important;
  }
}

@media screen and (min-width: 576px) and (max-width: 767px) {
  /* Blog inner Banner */
  .inner-banner .main-slider-wrapper {
    height: 500px !important;
  }
}

@media screen and (min-width: 481px) and (max-width: 575px) {
  /* Blog inner Banner */
  .inner-banner .main-slider-wrapper {
    height: 500px !important;
  }
}

@media screen and (max-width: 480px) {
  /* Blog inner Banner */
  .inner-banner .main-slider-wrapper {
    height: 500px !important;
  }
}

@media (min-width: 1600px) {
  /* Blog Main wrapper */
  .archive-blog .inner-wrapper {
    gap: 30px;
  }

  /* Blog Sidebar */
  .archive-blog .left-col {
    padding: 0 30px;
  }

  /* Blog GRID */
  .blog-card-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Search Form */
  .search-articles form {
    padding: 0 30px 20px;
  }

  /* filter section */
  .filter-articles-div {
    padding: 0 30px;
  }
}

@media (min-width: 1200px) {
  /* Blog Main wrapper */
  .archive-blog .inner-wrapper {
    gap: 30px;
  }
}

@media (min-width: 992px) {
  /* Blog Main wrapper */
  .archive-blog .inner-wrapper {
    gap: 20px;
  }
}

@media only screen and (max-width: 1599px) {
  .blog-card-title {
    font-size: 1.4rem;
  }

  .blog-card .blog-card-excerpt {
    font-size: 1.2rem;
  }
}

@media only screen and (max-width: 1199px) {
  .filter-articles-div ul {
    padding-inline-start: 20px;
  }

  .search-main-title {
    font-size: 1.5rem;
  }

  .filter-title {
    font-size: 1.2rem;
  }

  .filter-articles-div li {
    font-size: 1rem;
  }

  .blog-card-content {
    padding: 15px;
  }

  .blog-card-title {
    font-size: 1.2rem;
  }

  .blog-card-excerpt {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 991px) {
  .blog-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Blog Main wrapper */
  .archive-blog .inner-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .right-col {
    width: 100%;
  }

  .left-col {
    width: 100%;
    order: 2;
  }

  .blog-inner-wrapper {
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 575px) {
  .blog-card-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-img {
    height: 200px;
  }
}
/* END BLOG ARCHIVE PAGE */

/* SINGLE POST PAGE */
/* HEADER */
.single-post .header .header-main .main-wrapper {
  padding-bottom: 0;
}

/* main warpper */
.single-blog-main {
  position: relative;
}

.single-blog-main .inner-wrapper {
  display: flex;
  margin-bottom: 60px;
  margin-top: 60px;
}

/* Blog Sidebar */
.single-blog-main .left-col {
  padding: 0 10px;
}

.single-blog-main .left-col .div-inner {
  border: 1px solid #92acbf;
  background-color: #ffffff;

  display: flex;
  flex-direction: column;
}

/* BANNER */
.single-post-banner {
  min-height: 420px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 160px;
  
  position: relative;
}

.space-line{
	padding-top: 100px;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.75)
  );
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.banner-title {
  color: #fff;
  font-size: 48px;
  line-height: 1.2;
  margin-top: 12px;
}

.breadcrumb {
  color: #fff;
  font-size: 14px;
  opacity: 0.9;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
}

/* meta categories */
.single-blog-meta{
  margin-top: 30px;
}

/* RESPONSIVE */
@media screen and (min-width: 1920px) and (max-width: 2320px) {
  /* Blog inner Banner */
  .single-blog-main {
    margin-top: -100px;
  }
}

@media (min-width: 1600px) {
  /* Blog Main wrapper */
  .single-blog-main .inner-wrapper {
    gap: 30px;
  }

  /* Blog Sidebar */
  .single-blog-main .left-col {
    padding: 0 30px;
  }
}

@media (min-width: 1200px) {
  /* Blog Main wrapper */
  .single-blog-main .inner-wrapper {
    gap: 30px;
  }
}

@media (min-width: 992px) {
  /* Blog Main wrapper */
  .single-blog-main .inner-wrapper {
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .banner-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .single-post-banner {
    min-height: 300px;
  }

  .banner-title {
    font-size: 28px;
  }
}

@media only screen and (max-width: 991px) {
  /* Blog Main wrapper */
  .single-blog-main .inner-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}