/* The banner of css/pages/resources/case-studies.css */

.text-bnr {
  background-color: var(--grayscale-color-10);
  color: var(--grayscale-color-1);
  width: 100%;
  margin: 0 0 2.625rem;
  max-width: unset;
  padding: 12.875rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.text-bnr .inner {
  width: 85%;
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.text-bnr h1 {
  margin: 0 auto;
  font-size: clamp(1.75rem, 1.2949rem + 1.9417vw, 3.625rem);
  max-width: 800px;
}

.text-bnr .bnr-gradient {
  left: 50%;
  top: 50%;
  width: 50vw;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0.3;
}

@media screen and (max-width: 768px) {
  .text-bnr {
    margin-bottom: 2rem;
    padding: 9.75rem 0 3.75rem;
  }

  .text-bnr .bnr-gradient {
    opacity: 0.8;
  }
}
