.mgseo-box {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin: 0 -50vw;
  background-color: #f7f7f7;
}

.mgseo-box .mgseo-content {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.mgseo-box .mgseo-content::after {
  display: none;
}

.mgseo-box .mgseo-content .mgseo-img img {
  height: 100%;
  max-height: 250px;
}

.mgseo-box .mgseo-content h1,
.mgseo-box .mgseo-content h2,
.mgseo-box .mgseo-content h3 {
  max-width: 460px;
  margin: 16px 0;
  text-transform: none;
  color: #000;
}

.mgseo-box .mgseo-content h1 {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.mgseo-box .mgseo-content h2 {
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
}

.mgseo-box .mgseo-content h3,
.mgseo-box .mgseo-content h4,
.mgseo-box .mgseo-content h5 {
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

.mgseo-box .mgseo-content p {
  font-size: 16px;
  line-height: 22px;
  margin: 16px 0;
  font-weight: 300;
  color: #000;
}

.mgseo-box .mgseo-content a {
  text-decoration: underline;
  color: #000;
}
.mgseo-box .mgseo-content .mgseo-cta {
  margin-top: 32px;
}
.mgseo-box .mgseo-content .mgseo-cta a {
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--main-color, #000);
  color: #fff;
  text-decoration: none;
}

@media (min-width: 768px) {
  .mgseo-box .mgseo-content .mgseo-cta a {
    max-width: 240px;
  }
}

@media (min-width: 992px) {
  .mgseo-box .mgseo-content {
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
  }

  .mgseo-box .mgseo-content .mgseo-text {
    max-width: 800px;
  }

  .mgseo-box .mgseo-content .mgseo-img img {
    max-height: 100%;
    max-width: 400px;
  }
}
