.textmedia {
  display: grid;
  width: 100%;
  padding: 2rem 0 0 0 !important;
  grid-template-columns: 16px 1fr 16px;

  & .headline .-center {
    text-align: left;
  }
}
.textmedia.-left {
  & .headline .-center {
    text-align: right;
  }
}

.textmedia__content {
  grid-column: 2;
  padding: 0 0 var(--p) 1.5rem;
  align-self: center;
  position: relative;
}

.textmedia__image {
  grid-column: span 3;
  overflow: hidden;
  min-height: auto;
}

.textmedia__logo {
  margin-bottom: 40px;
  display: inline-block;
}

.textmedia__logo img {
  max-width: 180px;
  max-height: 60px;
  height: 100%;
  width: 100%;
}

.textmedia__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  position: relative;
  z-index: 100;
}

.textmedia__text {
  text-wrap: balance;
}

.textmedia.-left h3::before,
.textmedia.-right h3::before {
  content: "";
  position: absolute;
  left: -43.5rem;
  top: -0.5rem;
  z-index: 0;
  background: url(linecircle_textmedia.svg) no-repeat 0 0;
  -webkit-background-size: 620px 38px;
  -moz-background-size: 620px 38px;
  -o-background-size: 620px 38px;
  background-size: 620px 38px;
  width: 620px;
  height: 38px;
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 400px) {
  .textmedia {
    grid-template-columns: 4% 1fr 4%;
  }
}

@media (min-width: 500px) {
  .textmedia.-left h3::before,
.textmedia.-right h3::before {
  left: -42rem;
  top: -0.5rem;
}
}

@media (min-width: 640px) {
  .textmedia.-left h3::before,
  .textmedia.-right h3::before {
    left: -41rem;
    top: -0.5rem;
  }
}

@media (min-width: 800px) {
  .textmedia {
    grid-template-columns: 4% 1fr 0 1fr 4%;
    padding: 0 !important;
  }

  .textmedia__content {
    grid-column: 2;
    padding: 0;
  }

  .textmedia__image {
    grid-column: 4 / 6;
    min-height: 50vw;
  }

  .textmedia.-right {
    direction: rtl;
  }

  .textmedia.-left .textmedia__content {
    padding: 0 52px 0 0;
  }

  .textmedia.-right .textmedia__content {
    padding: 0 0 0 52px;
    direction: ltr;
  }

  .textmedia.-left h3::before{
    left: -40rem;
    top: -0.5rem;
  }

  .textmedia.-right h3::before {
    left: -37rem;
    top: -0.5rem;
  }
}

@media (min-width: 1024px) {
  .textmedia.-left h3::before {
    left: -39rem;
    top: -0.25rem;
  }

  .textmedia.-right h3::before {
    left: -36rem;
    top: -0.25rem;
  }
}

@media (min-width: 1280px) {
  .textmedia.-left .textmedia__content {
    padding: 0 52px;
  }

  .textmedia.-right .textmedia__content {
    padding: 0 0 0 140px;
  }

  .textmedia__image {
    min-height: 600px;
  }

  .textmedia.-left h3::before {
    left: -34rem;
    top: -0.25rem;
  }

  .textmedia.-right h3::before {
    left: -29rem;
    top: -0.25rem;
  }
}

@media (min-width: 1540px) {
  .textmedia {
    grid-template-columns: 1fr 696px 0 696px 1fr;
  }

  .textmedia__image img {
    aspect-ratio: 7 / 4;
  }
}

@media (min-width: 1580px) {
  .textmedia.-left h3::before {
    left: -32rem;
    top: 0;
  }

  .textmedia.-right h3::before {
    left: -27rem;
    top: 0;
  }
}