.trend .navbar .nav-link {
 color: var(--white);
}

.trend-1 {
 background: var(--dark-grad) , url(/img/trend-bg.jpg) no-repeat 50% 50%;
 background-size: cover;
 padding: 240px 0px;
}

.trend-3 .search-card {
 display: flex;
 align-items: center;
 flex-direction: row;
}

.trend-3 .search-card input {
 padding: 8px;
 border-top-left-radius: 5px;
 border-bottom-left-radius: 5px;
 border: 2px solid #cccccc49;
}

.trend-3 .search-card a {
 background: var(--primary);
 color: var(--white);
 padding: 10px;
 border-top-right-radius: 5px;
 border-bottom-right-radius: 5px;
}

.trend-3 .categories {
 margin-top: 30px;
}

.trend-3 .categories h3 {
 color: var(--primary);
 margin-bottom: 15px;
}


.trend-3 .categories ul li {
 border-bottom: 1px solid var(--primary);
 margin-bottom: 15px;
}


.trend-3 .card {
 margin: 20px 0px;
}

.trend-3 .card .card-title {
 color: var(--primary);
}

.trend-3 .card .read-more {
 color: var(--primary);
}

.trend-3 .card .read-more a {
 color: var(--primary);
}

.trend-3 .card .fa-chevron-right {
 font-size: 12px;
}

.trend-3 .card .card-footer {
 background-color: var(--white);
}



.relate h3 {
  color: #c92a2a;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.relate .post-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.relate .post {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-width: 200px;
  max-width: 350px;
}

.relate .post img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.relate .post:hover img {
  transform: scale(1.05);
}

.relate .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 90%);
  color: #fff;
}

.relate .overlay h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.relate .meta {
  font-size: 0.8rem;
  color: #ddd;
}

@media (max-width: 992px) {
  .relate .post img {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .relate .post {
    flex: 1 1 100%;
  }
  .relate .post img {
    height: 340px;
  }
}