.past-project-item .project-brand img {
  width: 100%;
  max-width: 200px;
}
.past-project-item .card-body {
  overflow: hidden;
}
.past-project-item .card-body img {
  max-height: 100%;
  object-fit: cover;
  display: block;
}
.past-project-item .project-description {
  font-size: 14px;
}

.embla-hide {
  display: none !important;
}

#past-project-category-list {
  flex-wrap: nowrap;
  overflow-y: auto;
}
#past-project-category-list .nav-link {
  font-size: 14px;
  border: solid 1px;
  white-space: nowrap;
}

/* behavior that only apply to project list */
.past-projects-initialized {
  height: 100%;
}
.past-projects-initialized body {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #F3F4F6;
}
.past-projects-initialized #page-main {
  flex: 1 0 auto;
}
.past-projects-initialized .main-content-interior {
  height: calc(100% - 50px);
}
.past-projects-initialized .main-content-interior > section {
  height: 100%;
}
.past-projects-initialized .main-content-interior #content_bottom {
  height: 100%;
}
.past-projects-initialized #crown {
  background-color: transparent;
  border: none;
  min-height: unset;
  height: 50px;
}
.past-projects-initialized #crown .navbar-brand img {
  display: none;
}
.past-projects-initialized #interior-header {
  margin: 0 !important;
  height: 50px;
  padding: 0 1.5rem;
}
.past-projects-initialized #interior-header #page-title {
  margin: 0 !important;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 800;
}
.past-projects-initialized #page-header #hero,
.past-projects-initialized #content_bottom {
  margin: 0 !important;
}
.past-projects-initialized #hero-images-slider .embla__viewport,
.past-projects-initialized #interior-header nav[aria-label=breadcrumb],
.past-projects-initialized #content_body,
.past-projects-initialized #page-footer,
.past-projects-initialized #whatsapp-widget {
  display: none;
}
.past-projects-initialized #past-projects {
  height: 100%;
  padding-top: 1rem;
}
.past-projects-initialized #past-projects .embla {
  height: 100%;
  padding: 0 0.5rem;
}
.past-projects-initialized #past-projects .embla__viewport {
  overflow: hidden;
  height: 100%;
}
.past-projects-initialized #past-projects .embla__container {
  max-height: calc(90vh - (50px + 6rem));
}
.past-projects-initialized #past-projects .embla.full-height .past-project-item {
  min-height: calc(90vh - (50px + 6rem));
}
.past-projects-initialized #past-projects .embla .past-project-item {
  opacity: 0.35;
}
.past-projects-initialized #past-projects .embla .past-project-item.embla-active {
  opacity: 1;
}
.past-projects-initialized #past-projects .embla .past-project-item .project-brand img {
  max-width: 100px;
}
.past-projects-initialized #past-projects .embla .past-project-item .project-title {
  font-size: 1rem !important;
}
