/**
 * Single project page styles (Sholty Family Partners Projects).
 * Loaded only on singular project views. Scope rules under .sholty-single-project.
 */

.sholty-single-project-header {
  display: flex;
  flex-direction: column;
}

.sholty-single-project-header__back {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid #e5e5e5;
  background-color: #fff;
}

.sholty-single-project-header__back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  color: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.sholty-single-project-header__back-link:hover {
  opacity: 0.75;
  text-decoration: none;
}

.sholty-single-project-header__back-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.sholty-single-project-header__hero {
  position: relative;
  display: flex;
  min-height: 31.25rem;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.sholty-single-project-header__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #1a1a1a;
  background-position: center;
  background-size: cover;
}

.sholty-single-project-header__media--fallback {
  background-color: #2d2d2d;
}

.sholty-single-project-header__hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgb(0 0 0 / 85%) 0%, rgb(0 0 0 / 45%) 45%, transparent 100%);
  pointer-events: none;
}

.sholty-single-project-header__content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0 3rem;
}

.sholty-single-project-header__inner {
  max-width: 56rem;
}

.sholty-single-project-header__tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.375rem 0.75rem;
  background-color: #e5dcd1;
  color: #2d2d2d;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.sholty-single-project-header__title {
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

.sholty-single-project-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
}

.sholty-single-project-header__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}

.sholty-single-project-header__meta-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .sholty-single-project-header__hero {
    min-height: 34rem;
  }

  .sholty-single-project-header__content {
    padding: 3rem 0 3.5rem;
  }
}
