.realisations-page .projects-hero {
  --projects-hero-copy-size: .875rem;
  --projects-hero-copy-color: #d0d2da;
  --projects-hero-shade: linear-gradient(180deg, rgba(15, 17, 26, .35), rgba(15, 17, 26, .42) 45%, rgba(15, 17, 26, .9));
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: clamp(25rem, 64svh, 42rem);
  box-sizing: border-box;
  padding: 3rem max(1.25rem, calc((100% - 1160px) / 2)) 2rem;
  overflow: hidden;
  background: var(--color-background, #0f111a);
}

.projects-hero-poster,
.projects-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.projects-hero-poster {
  object-fit: cover;
  object-position: 65% 58%;
  z-index: -3;
}

.projects-hero::after {
  content: "";
  background: var(--projects-hero-shade);
  z-index: -1;
}

.realisations-page .projects-hero .showcase-heading {
  align-self: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1rem 0;
}

.projects-hero .showcase-heading h1 {
  padding-bottom: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .6);
}

.projects-hero-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.projects-hero-summary {
  max-width: 65ch;
  margin: 0;
  font-size: var(--projects-hero-copy-size);
  line-height: 1.65;
  color: var(--projects-hero-copy-color);
}

@media (max-width: 599px) {
  .realisations-page .projects-hero {
    --projects-hero-copy-size: .75rem;
    min-height: clamp(23rem, 62svh, 34rem);
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .projects-hero-meta {
    gap: 1rem;
  }
}

@media (orientation: landscape) and (max-height: 540px) {
  .realisations-page .projects-hero {
    min-height: 18rem;
    padding-top: 1.5rem;
    padding-bottom: 1.25rem;
  }
}

/* Copyright (c) Rzu-Informatique. Tous droits reserves. */
