.inner-banner-sec{
  min-height: 400px;
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  margin: 0 0 50px;
  font-family: "Raleway", Sans-serif;
}

.inner-banner-sec:before{
  background: rgba(49, 47, 72, 0.35);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  content: "";
  height: 100%;
  width: 100%;
  opacity: 0.8;
}

.search-site-main {
  max-width: 100% !important;
  font-family: "Raleway", Sans-serif;
  padding: 0 !important;
}

.main{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}


.inner-banner-content{
  text-align: center;
  position: relative;
  z-index: 1;
  color: #fff;
}

.inner-banner-content h1{
  color: #fff;
  font-family: "Raleway", Sans-serif;
}


.search-count{
padding: 0 0 30px;
}

.search-count h4{
font-size: 20px;
text-transform: uppercase;
border-bottom: 1px solid #e5e5e5;
padding: 0 0 20px;
}


/* Search Results Styling */


.search-result-item {
  display: flex;
  margin-bottom: 40px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 40px;
}

.search-result-image {
  flex: 0 0 40%;
  margin-right: 30px;
}

.search-result-image a{
  display: block;
  transition: all 0.3s ease-in-out;
}

.search-result-image a:hover , .search-result-image a:focus{
  opacity: 0.7;
}

.search-result-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}


.search-result-content {
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
}

.search-result-category {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.search-result-title {
  font-size: 28px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.search-result-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.search-result-title a:hover {
  color: #666;
}

.search-result-excerpt {
  color: #666;
  line-height: 1.6;
}

.search-result-excerpt p {
  margin-top: 0;
}

.entry-title {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
}

.no-results {
  text-align: center;
  padding: 40px 0;
  font-size: 18px;
  color: #666;
}

/* Pagination styling */
.pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;  
}

.pagination-nav-wrap{
  padding: 50px 0;
}

.nav-previous a, .nav-next a {
  display: inline-block;
  padding: 8px 16px;
  background-color: #303049;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  text-transform: capitalize;
}

.nav-previous a:hover, .nav-next a:hover {
  background-color: #707AB7;
}

/* Responsive styles */
@media (max-width: 768px) {
  .search-result-item {
      flex-direction: column;
  }
  
  .search-result-image {
      flex: 0 0 100%;
      margin-right: 0;
      margin-bottom: 20px;
  }
  
  .search-result-content {
      flex: 0 0 100%;
  }
  
  .search-result-title {
      font-size: 24px;
  }
}