/* Building Plus - Projects carousel (independent of the older Owl carousel) */
.bp-project-carousel-strip { background: #fff; }
.bp-project-carousel, .bp-project-carousel * { box-sizing: border-box; }
.bp-project-carousel { width: 100%; min-width: 0; color: #2B353F; }
.bp-project-carousel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 27px;
}
.bp-project-carousel-heading-text h6 {
  /* Match the website's plain, uppercase eyebrow headings (e.g. WHAT WE DO). */
  color: #2B353F;
  margin: 0 0 12px;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
}
.bp-project-carousel-heading-text h3 {
  color: #2B353F;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.4px;
  text-transform: none;
  margin: 0 0 11px;
  padding: 0;
}
.bp-project-carousel-heading-text p {
  color: #52606a;
  max-width: 760px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}
.bp-project-carousel-controls {
  display: grid;
  grid-template-columns: repeat(2, 48px);
  gap: 9px;
  padding-bottom: 3px;
}
.bp-project-carousel-controls button {
  box-sizing: border-box;
  display: block;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #cbd3d6;
  border-radius: 0;
  background: #fff;
  color: #2B353F;
  font: inherit;
  font-size: 25px;
  line-height: 46px;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.bp-project-carousel-controls button:hover,
.bp-project-carousel-controls button:focus-visible {
  color: #fff;
  background: #609500;
  border-color: #609500;
}
.bp-project-carousel-controls button:disabled {
  cursor: not-allowed;
  background: #f1f3f3;
  color: #a7afb3;
  border-color: #e3e7e8;
}
.bp-project-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 0 2px;
}
.bp-project-carousel-track::-webkit-scrollbar { display: none; }
.bp-project-carousel-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #dbe0e2;
  display: grid;
  grid-template-rows: auto 1fr;
  scroll-snap-align: start;
  transition: box-shadow .2s ease;
}
.bp-project-carousel-card:hover { box-shadow: 0 7px 22px rgba(43,53,63,.12); }
.bp-project-carousel-image { display: block; overflow: hidden; }
.bp-project-carousel-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}
.bp-project-carousel-card:hover .bp-project-carousel-image img { transform: scale(1.025); }
.bp-project-carousel-card-body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 20px 20px 23px;
  min-height: 170px;
}
.bp-project-carousel-card-body h4 {
  color: #2B353F;
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -.2px;
  font-weight: 700;
  text-transform: none;
}
.bp-project-carousel-card-body p {
  color: #52606a;
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.45;
}
.bp-project-carousel-link,
.bp-project-carousel-link:link,
.bp-project-carousel-link:visited,
.bp-project-carousel-all,
.bp-project-carousel-all:link,
.bp-project-carousel-all:visited {
  color: #6A9E02;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.bp-project-carousel-link:hover,
.bp-project-carousel-link:focus-visible,
.bp-project-carousel-all:hover,
.bp-project-carousel-all:focus-visible {
  color: #6A9E02;
  text-decoration: underline;
}
.bp-project-carousel-bottom { text-align: right; margin-top: 20px; }
.bp-project-carousel-screen-reader {
  position: absolute;
  overflow: hidden;
  clip: rect(0,0,0,0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  white-space: nowrap;
}
.bp-project-carousel a:focus-visible,
.bp-project-carousel-track:focus-visible {
  outline: 3px solid #609500;
  outline-offset: 3px;
}
@media (max-width: 1200px) {
  .bp-project-carousel-track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; }
}
@media (max-width: 700px) {
  .bp-project-carousel-heading { grid-template-columns: minmax(0,1fr) auto; gap: 12px; margin-bottom: 20px; }
  .bp-project-carousel-heading-text h3 { font-size: 25px; }
  .bp-project-carousel-heading-text p { font-size: 18px; }
  .bp-project-carousel-controls { grid-template-columns: repeat(2, 40px); gap: 6px; }
  .bp-project-carousel-controls button { width: 40px; height: 40px; font-size: 21px; line-height: 38px; }
  .bp-project-carousel-track { grid-auto-columns: 100%; gap: 16px; }
  .bp-project-carousel-image img { height: 230px; }
  .bp-project-carousel-card-body { min-height: 145px; }
  .bp-project-carousel-bottom { text-align: left; }
}
@media (max-width: 480px) {
  .bp-project-carousel-heading { grid-template-columns: 1fr; }
  .bp-project-carousel-controls { justify-self: end; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-project-carousel-track { scroll-behavior: auto; }
  .bp-project-carousel-image img, .bp-project-carousel-card { transition: none; }
}
