.title-with-details-wrapper h1,
.title-with-details-wrapper h2 {
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 11.11vw;
  font-weight: 500;
  line-height: 8.89vw;
}

.detail-text p {
  margin: 0;
  margin-top: -0.56vw;
  font-size: 3.33vw;
  font-weight: 400;
  line-height: 3.83vw;
  letter-spacing: 0px;
}

.details-wrapper {
  padding-top: 85px;
  max-width: 800px;
  margin: auto;
}

/* Desktop / large tablet: lock headline size (must not override mobile rules below 993px) */
@media (min-width: 993px) {
  .title-with-details-wrapper h1,
  .title-with-details-wrapper h2 {
    font-size: 6rem;
    line-height: 5rem;
  }
}

@media screen and (max-width: 992px) {
  .title-with-details-wrapper h1,
  .title-with-details-wrapper h2 {
    font-size: 2.35rem;
    line-height: 2.75rem;
    font-weight: 700;
    max-width: 100%;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .subtitle {
    font-size: 0.9rem;
    line-height: 1rem;
  }

  .detail-text p {
    font-size: 1.0625rem;
    line-height: 1.65rem;
    font-weight: 400;
    letter-spacing: normal;
    max-width: min(22.5rem, calc(100vw - 2rem));
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 576px) {
  .title-with-details-wrapper h1,
  .title-with-details-wrapper h2 {
    font-size: 2rem;
    line-height: 2.4rem;
  }

  .detail-text {
    margin-top: 32px !important;
    max-width: 22.5rem;
    margin-left: auto;
    margin-right: auto;
  }

  .detail-text p {
    max-width: 100%;
    text-align: center;
    font-size: 1rem;
    line-height: 1.55rem;
    font-weight: 400;
    padding: 0 0.5rem;
    box-sizing: border-box;
  }

  .details-wrapper {
    padding-top: 32px !important;
  }
}

@media (min-width: 576px) {
  .details-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (min-width: 2780px){
	.details-wrapper{
		max-width: 983px;
		gap: 66px;
	}
}
