/* =========================================================
   BLOG PAGE
   
   ========================================================= */


/* ---------------------------------------------------------
   SECTION
   --------------------------------------------------------- */

.mif-blog-page {
  background: #ffffff;
  padding: 80px 0;
  overflow: hidden;
}




/* ---------------------------------------------------------
   MAIN HEADING
   --------------------------------------------------------- */

.mif-blog-page .mif-h1 {
  margin: 0 0 13px;
  font-size:36px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: #000000;
}


/* ---------------------------------------------------------
   LEAD TEXT
   --------------------------------------------------------- */

.mif-blog-page .mif-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
}


/* =========================================================
   SEARCH
   ========================================================= */

.mif-blog-page .mif-search {
  display: flex;
  
  max-width: 680px;
  margin-top: 20px;
  border: 2px solid #000000;
  background: #ffffff;
  border-radius:30px;
}


.mif-blog-page .mif-search__field {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding: 0 16px;
}


.mif-blog-page .mif-search__field i {
  flex-shrink: 0;
  margin-right: 13px;
  font-size: 16px;
  color: #000000;
}


.mif-blog-page .mif-search input {
  width: 100%;

  height: 48px;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #000000;
}


.mif-blog-page .mif-search input::placeholder {
  color: #000000;
  opacity: 0.55;
}


.mif-blog-page .mif-search .mif-btn {
  border: 0;
  border-left: 2px solid #000000;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  font-size: 15px;
}


/* =========================================================
   FILTERS
   ========================================================= */

.mif-blog-page .mif-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 35px 0 30px;
  padding: 0;
  list-style: none;

}


.mif-blog-page .mif-filters li {
  margin: 0;
}


.mif-blog-page .mif-filters a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border: 2px solid #000000;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #000000;
  background: #ffffff;
  transition: all 0.25s ease;
  border-radius: 20px;
}


.mif-blog-page .mif-filters a:hover,
.mif-blog-page .mif-filters a.is-on {
  background: #000000;
  color: #ffffff;
}


/* =========================================================
   FEATURED ARTICLE
   ========================================================= */

.mif-blog-page .mif-feat {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-bottom: 70px;
  border: 2px solid #000000;
  background: #000000;
  overflow: hidden;
}

.mif-blog-page .mif-feat__content {
  position: relative;
  z-index: 2;
  padding: 40px;
}


.mif-blog-page .mif-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 12px;
  background: #e97136;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}


.mif-blog-page .mif-tag i {
  font-size: 14px;
}


.mif-blog-page .mif-feat .mif-h2 {
 
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}


.mif-blog-page .mif-feat .mif-p {
  max-width: 680px;
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.5;
  color: #ffffff;
}


.mif-blog-page .mif-feat .mif-btn {
  background: #e97136;
  border-color: #e97136;
  color: #ffffff;
}


.mif-blog-page .mif-feat .mif-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}


.mif-blog-page .mif-feat__number {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 28%;
  padding: 45px;
  text-align: right;
}


.mif-blog-page .mif-feat__number span {
  display: block;
  font-size: 88px;
  font-weight: 800;
  line-height: 0.9;
  color: #e97136;
}


.mif-blog-page .mif-feat__number p {
  margin: 14px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #ffffff;
}


/* =========================================================
   BLOG GRID
   ========================================================= */

.mif-blog-page .mif-grid--3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}


/* =========================================================
   BLOG CARD
   ========================================================= */

.mif-blog-page .mif-post {
  display: flex;
  flex-direction: column;
  height: 100%;
  
  text-decoration: none;
  border-radius:10px;
  color: #000000;
  background: #ffffff;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
    
    

} 


.mif-blog-page .mif-post:hover {
  transform: translateY(-8px);
  box-shadow: 8px 8px 0 #000000;
  color: #000000;
}


/* ---------------------------------------------------------
   CARD IMAGE
   Replace placeholder with actual background images later
   --------------------------------------------------------- */

.mif-blog-page .mif-post__img {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 220px;
  
  background-color: #e97136;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}


.mif-blog-page .mif-post__img img{
 width: 100%;
}




/* image backgrounds */


/* .mif-blog-page .mif-post__img--dealership {
  background-image: url("../images/blog/dealership-approval.jpg");
} */



/* ---------------------------------------------------------
   CARD CONTENT
   --------------------------------------------------------- */

.mif-blog-page .mif-post__body {
  display: flex;
  flex-direction: column;
  padding: 26px 25px 20px;
  flex: 1;
  
}


.mif-blog-page .mif-post__cat {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #e97136;
  margin: 0;
  text-transform: uppercase;
}


.mif-blog-page .mif-post__title {
  margin:0;
  padding-block: 5px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #000000;
  
}


.mif-blog-page .mif-post__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: #000000;
  opacity: 0.65;
  margin: 0px;
   margin-top: auto;
}


.mif-blog-page .mif-post__meta span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e97136;
}


/* =========================================================
   BUTTON
   ========================================================= */

.mif-blog-page .mif-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  border: 2px solid #e97136;
  border-radius: 0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s ease;
}


.mif-blog-page .mif-btn--pri {
  background: #e97136;
  color: #ffffff;
}


.mif-blog-page .mif-btn--pri:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}


.mif-blog-page .mif-btn--sm {
  min-height: 46px;
  
}


/* =========================================================
   DEVELOPER NOTE
   ========================================================= */

.mif-blog-page .mif-note {
  margin-top: 40px;
  padding: 16px 28px;
  border-left: 4px solid #e97136;
  background: #000000;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
 
}


.mif-blog-page .mif-note p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #ffffff;
}


.mif-blog-page .mif-note strong {
  font-weight: 800;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199px) {

  .mif-blog-page .mif-h1 {
    font-size: 52px;
  }


  .mif-blog-page .mif-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


@media (max-width: 991px) {

  .mif-blog-page {
    padding: 80px 0;
  }


  .mif-blog-page .mif-h1 {
    font-size: 46px;
  }


  .mif-blog-page .mif-feat__content {
    width: 100%;
    padding: 42px;
  }


  .mif-blog-page .mif-feat__number {
    display: none;
  }


  .mif-blog-page .mif-feat::before {
    top: -170px;
    right: -170px;
  }

}


@media (max-width: 767px) {

  .mif-blog-page {
    padding: 65px 0;
  }


 


  /* Search */

  .mif-blog-page .mif-search {
    /* flex-direction: column; */
    border: 1px solid #000000;
  }


  .mif-blog-page .mif-search__field {
    /* border-bottom: 1px solid #000000; */
  }


  .mif-blog-page .mif-search .mif-btn {
    /* width: 100%; */
    border: 0;
  }


  /* Filters */

  .mif-blog-page .mif-filters {
    margin-bottom: 50px;
  }


  .mif-blog-page .mif-filters a {
    min-height: 38px;
    padding: 8px 13px;
    
  }


  /* Featured */

  .mif-blog-page .mif-feat {
    min-height: auto;
    margin-bottom: 50px;
  }


  .mif-blog-page .mif-feat__content {
    padding: 32px 25px;
  }


  


  /* Grid */

  .mif-blog-page .mif-grid--3 {
    grid-template-columns: 1fr;
    gap: 22px;
  }


  .mif-blog-page .mif-post__img {
    min-height: 210px;
  }


  .mif-blog-page .mif-post__body {
    min-height: 210px;
  }


  .mif-blog-page .mif-note {
    margin-top: 50px;
    padding: 20px;
  }

}

/* =========================================
   BLOG SEARCH AUTOCOMPLETE
========================================= */

.mif-search {
  position: relative;
}

.mif-search__field {
  position: relative;
  width: 100%;
}


/* Search suggestions dropdown */

.mif-search-suggestions {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;

  background: #ffffff;

  border: 1px solid #e5e5e5;
  border-radius: 4px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

  overflow: hidden;

  z-index: 9999;

  display: none;
}


/* Show suggestions */

.mif-search-suggestions.is-active {
  display: block;
}


/* Single suggestion */

.mif-search-suggestion {
  display: flex;

  /* align-items: center; */

  gap: 5px;

  width: 100%;

  padding: 13px 16px;

  text-decoration: none;

  background: #ffffff;

  border-bottom: 1px solid #eeeeee;

  transition: background 0.2s ease;
}


/* Remove border from last result */

.mif-search-suggestion:last-child {
  border-bottom: 0;
}


/* Hover */

.mif-search-suggestion:hover {
  background: #f7f7f7;

  text-decoration: none;
}


/* Search icon */

.mif-search-suggestion__icon {
  flex: 0 0 30px;

  width: 30px;
  height: 30px;

  display: flex;

  align-items: center;
  justify-content: center;

  color: #e97136;

  font-size: 14px;
}


/* Content */

.mif-search-suggestion__content {
  display: flex;

  flex-direction: column;

  min-width: 0;
}


/* Blog title */

.mif-search-suggestion__title {
  display: block;

  color: #222222;

  font-size: 15px;

  font-weight: 600;

  line-height: 1.4;
}


/* Category */

.mif-search-suggestion__category {
  display: block;

  margin-top: 3px;

  color: #888888;

  font-size: 12px;

  line-height: 1.4;
}


/* No result */

.mif-search-no-result {
  padding: 18px;

  color: #777777;

  font-size: 14px;

  text-align: left;

  background: #ffffff;
}


/* Mobile */

@media (max-width: 767px) {

  .mif-search-suggestions {
    max-height: 250px;

    overflow-y: auto;
  }

  .mif-search-suggestion {
    padding: 12px;
  }

  .mif-search-suggestion__title {
    font-size: 14px;
  }

}

