/* stylelint-disable indentation */
/* stylelint-enable indentation */
.has-lines {
    display: inline-block;
    position: relative;
}
.has-lines::before, .has-lines::after {
    content: "";
    display: block;
    height: var(--lines-size, 1.5px);
    left: 0;
    background: var(--lines-color, currentColor);
    position: absolute;
    user-select: none;
    right: 0;
    top: 50%;
}
.has-lines::before {
    transform: translateY(calc(-1 * var(--lines-offset, 0.75em)));
}
.has-lines::after {
    transform: translateY(var(--lines-offset, 0.75em));
}

.has-lines2, .c-custom-media-text-block__heading h2 {
    display: inline-block;
    position: relative;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}
.has-lines2::before, .c-custom-media-text-block__heading h2::before, .has-lines2::after, .c-custom-media-text-block__heading h2::after {
    content: "";
    display: block;
    height: var(--lines-size, 1.5px);
    left: 0;
    background: var(--lines-color, currentColor);
    position: absolute;
    user-select: none;
    right: 0;
}
.has-lines2::before, .c-custom-media-text-block__heading h2::before {
    top: 0 !important;
    transform: none !important;
}
.has-lines2::after, .c-custom-media-text-block__heading h2::after {
    top: unset !important;
    transform: none !important;
    bottom: 0 !important;
}

.c-custom-media-text-block {
  display: grid;
  grid-template-areas: "heading" "image" "content";
  grid-template-rows: auto;
}
@media screen and (min-width: 80em) {
  .c-custom-media-text-block {
      gap: 0 4.375rem;
      --content-padding: 0 100px 0 0;
    grid-template-areas: "image heading" "image content";
      grid-template-columns: 1.05fr 0.95fr;
  }
}
@media screen and (max-width: 79.99em) {
    .c-custom-media-text-block.t-project .c-custom-media-text-block__heading h2 {
        font-size: 2.1875rem !important;
        line-height: 2.5625rem !important;
    }
}
@media screen and (min-width: 80em) {
  .c-custom-media-text-block.t-project {
      gap: 0 5rem;
      --content-padding: 0 20px;
      grid-template-columns: 1.05fr 0.95fr;
  }
}
@media screen and (min-width: 80em) {
  .c-custom-media-text-block.t-image-right {
      --content-padding: 0 0 0 120px;
    grid-template-areas: "heading image" "content image";
      grid-template-columns: 0.85fr 1.15fr;
  }
}
@media screen and (min-width: 80em) {
  .c-custom-media-text-block.t-image-right.t-project {
    grid-template-columns: 0.85fr 1.15fr;
  }
}
@media screen and (min-width: 80em) {
    .c-custom-media-text-block.t-image-right2 {
        --content-padding: 0 0 0 120px;
        grid-template-areas: "heading image" "content image";
        grid-template-columns: 0.85fr 1.15fr;
    }
}
@media screen and (min-width: 89.375em) {
    .c-custom-media-text-block.t-image-right2 {
        --content-padding: 0;
    }
}
.c-custom-media-text-block__image {
  grid-area: image;
}
@media screen and (max-width: 79.99em) {
  .c-custom-media-text-block__image {
    margin-bottom: 1.875rem;
      margin-left: calc(-0.5 * var(--bs-gutter-x));
      margin-right: calc(-0.5 * var(--bs-gutter-x));
  }
}
.c-custom-media-text-block__image-img {
  margin: auto !important;
}
.c-custom-media-text-block__heading {
  grid-area: heading;
  margin-top: auto;
  margin-bottom: 2.1875rem;
}
@media screen and (min-width: 80em) {
  .c-custom-media-text-block__heading {
      padding: var(--content-padding);
    margin-bottom: 4.6875rem;
  }
}
.c-custom-media-text-block__heading h2 {
    padding: 0.625rem 0;
}

.c-custom-media-text-block__content {
  grid-area: content;
  margin-bottom: auto;
}
@media screen and (min-width: 80em) {
  .c-custom-media-text-block__content {
      padding: var(--content-padding);
    max-width: 43.75rem;
  }
}
