#page-google .solution-header img:last-child {
  z-index: -2;
}

#page-google .grid-container {
  max-width: 1160px;
}

#page-google .grid-item-header h2 {
  margin-bottom: 0;
}

#page-google .grid-item .background-highlight {
  border-radius: var(--border-radius);
}

#page-google .grid-item img {
  margin-top: -5em;
  width: 100%;
}

#page-google #sem .background-highlight > div,
#page-google #se0 .background-highlight > div {
  margin: 0 auto;
}

#page-google #youtube-marketing .img {
  margin: 0 auto;
}

#page-google #youtube-marketing img {
  max-width: 100%;
}

#page-google #youtube-marketing img.anim {
  margin-top: 0;
}

@media only screen and (min-width: 961px) {
  #page-google #youtube-marketing .background-highlight {
    margin-top: 15em;
  }

  #page-google #youtube-marketing {
    margin-top: -17em;
  }

  #page-google #youtube-marketing .grid-item-header-large,
  #page-google #youtube-marketing .grid-item-content {
    width: 560px;
    padding-left: 0;
    padding-right: 0;
  }
}

@media only screen and (max-width: 960px) {
  #page-google .grid-container {
    width: 90%;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 960px) and (min-width: 769px) {
  #page-google #youtube-marketing .grid-item-header-large,
  #page-google #youtube-marketing .grid-item-content {
    padding-left: max(5%, 30px);
    padding-right: max(5%, 30px);
  }
}

@media only screen and (min-width: 769px) {
  .grid-item.col-6 {
    grid-column: span 6;
  }

  #page-google #sem .background-highlight {
    margin-bottom: 1em;
  }

  #page-google #sem .grid-item-header-large,
  #page-google #seo .grid-item-header-large {
    padding-top: 7em;
  }

  #page-google #sem .grid-item-content,
  #page-google #seo .grid-item-content {
    padding-bottom: 7em;
  }

  #page-google .solution-header img {
    max-width: 580px;
  }

  #page-google #youtube-marketing .background-highlight {
    background: transparent;
    position: relative;
  }

  #page-google #youtube-marketing .background-highlight:before {
    content: "";
    position: absolute;
    z-index: -1;
    background: var(--gradient-to-right);
    width: 100%;
    height: 80%;
    bottom: 0;
    left: 0;
    border-radius: var(--border-radius);
  }

  #page-google #youtube-marketing .grid-item-header-large {
    padding-top: 0;
  }

  #page-google #youtube-marketing .background-highlight > div:last-child {
    /* max-width: 780px; */
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    margin-top: -3em;
  }

  #page-google #youtube-marketing .img {
    margin-top: -9.5em;
    width: 120%;
    max-width: 560px;
  }

  #page-google #youtube-marketing img {
    max-width: 120%;
    width: 120%;
    margin-left: -10%;
  }
}

@media only screen and (max-width: 768px) {
  #page-google br {
    display: none;
  }

  #page-google .grid-item .img {
    width: 90vw;
    max-width: 450px;
    margin: 2em auto 0;
  }

  #page-google .grid-item img {
    margin-top: 0;
  }

  #page-google .grid-item .background-highlight {
    background: transparent;
  }

  #page-google .grid-item {
    border-radius: var(--border-radius);
    background: var(--gradient-to-right);
  }

  #page-google #youtube-marketing .background-highlight {
    display: flex;
    flex-direction: column;
  }

  #page-google #youtube-marketing .background-highlight *:nth-child(1) {
    order: 3;
  }

  #page-google #youtube-marketing img.anim {
    margin-left: 10px;
  }

  #page-google .grid-item .background-highlight > div {
    max-width: 460px;
    margin: 0 auto;
  }

  #page-google .grid-item .grid-item-header-large {
    padding: var(--header-padding) 30px var(--header-padding-narrow);
  }

  #page-google .solutions .grid-item .grid-item-content {
    padding: 0 30px var(--header-padding-narrow);
  }
}

/* Chinese */
.language-cn .h4 {
  line-height: 1.3;
  font-size: 1.3em;
}
.language-cn .h5 {
  margin-top: 0;
  font-size: 1.2em;
}

@media only screen and (max-width: 480px) {
  .language-cn #page-google #youtube-marketing h4 {
    max-width: 190px;
    line-height: 1.4;
  }
  .language-cn #page-google .solutions h4 {
    margin-top: 5px;
    margin-bottom: 20px;
  }
}
