.project-card.card {
  border: 1px solid  #c8c8c8;
  box-shadow: 0 2px 12px rgba(234, 88, 12, 0.07);
  background: var(--card-bg, #fff);
 
  overflow: hidden;
  position: relative;
}
.project-card .carousel-inner img {
  border-radius: 1.5rem 1.5rem 0 0;
  object-fit: cover;
  height: 200px;
  width: 100%;
  display: block;
}
.project-card .carousel-control-prev, .project-card .carousel-control-next {
  width: 2.5rem;
  height: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  opacity: 1;
  transition: background 0.2s;
}
.project-card .carousel-control-prev:hover, .project-card .carousel-control-next:hover {
  background: rgba(234,88,12,0.8);
}
.project-card .carousel-control-prev-icon, .project-card .carousel-control-next-icon {
  background-size: 1.5rem 1.5rem;
  filter: invert(0.7) sepia(1) saturate(5) hue-rotate(-20deg);
}
.project-card .carousel-control-prev:hover .carousel-control-prev-icon,
.project-card .carousel-control-next:hover .carousel-control-next-icon {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(-20deg);
}
.card-title {
  color: #ffff;
  font-weight: 700;
}
.btn-link {
  color: var(--primary-color, #ea580c);
  font-weight: 600;
  text-decoration: underline;
}
.btn-link:hover {
  color: var(--secondary-color, #fb923c);
}
.collapse {
  transition: height 0.3s;
}
.search-container .form-control {
  border-radius: 2rem 0 0 2rem !important;
  border: 2px solid var(--primary-color, #ea580c);

}
.search-container .input-group-text {
  border-radius: 0 2rem 2rem 0 !important;
  border: 2px solid var(--primary-color, #ea580c);
  border-left: none;
}
.search-container .form-control:focus {
  box-shadow: 0 0 0 2px var(--accent-color, #fed7aa);
  border-color: var(--primary-color, #ea580c);
}
.project-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 2.5rem;
  position: relative;
}
.project-card .btn-link {
  position: absolute;
  right: 1.25rem;
  bottom: 0rem;
  margin-top: auto;
  text-align: right;
 
  font-weight: 500;
}
@media (max-width: 767.98px) {
  .project-card.card {
    border-radius: 1rem;
  }
  .project-card .carousel-inner img {
    height: 150px;
    border-radius: 1rem 1rem 0 0;
  }
  .project-card .carousel-control-prev, .project-card .carousel-control-next {
    width: 2rem;
    height: 2rem;
  }
  .project-card .carousel-control-prev-icon, .project-card .carousel-control-next-icon {
    background-size: 1.2rem 1.2rem;
  }
} 

/* "Read More" on the Innovative Schemes and Schemes & Projects cards (district home,
   /Innovation, /SchemsAndProjects). On hover the text faded to nothing: Bootstrap's
   .btn:hover sets background-color to var(--bs-btn-hover-bg), which is transparent for a
   plain .btn, while the text stays forced white - white text on the white card, about
   1:1 against the 4.5:1 GIGW/WCAG 1.4.3 needs (hover and focus states are checked too).
   The fill is kept on every state; the theme colour, not a fixed hex, so it follows the
   active theme. .btn.btn-scheme-more:hover (0,3,0) outranks Bootstrap's .btn:hover (0,2,0).
   The brightness(0.9) the views add on hover only darkens the fill, so contrast rises. */
.btn.btn-scheme-more:hover,
.btn.btn-scheme-more:focus,
.btn.btn-scheme-more:focus-visible,
.btn.btn-scheme-more:active {
    background-color: var(--button-primary, var(--nav-bg, #095a6f)) !important;
    border-color: var(--button-primary, var(--nav-bg, #095a6f)) !important;
    color: #fff !important;
}