.product-support {
  background-color: rgba(81, 46, 109, 1);
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 32px 0;

  @media screen and (max-width: 768px) {
    margin: 16px 0;
  }
}

.product-support-content {
  width: 70%;
  position: relative;
  z-index: 1;
  padding: 24px;

  @media screen and (max-width: 768px) {
    width: 100%;
    padding: 24px 96px 24px 16px;
  }
}

.product-support img {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  padding: 0;
  margin: 0;
  height: 101%;
  width: 350px;
  object-fit: cover;

  @media screen and (max-width: 768px) {
    right: -150px;
  }
}

.block-title {
  font-size: 26px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px; /* 123.077% */
  letter-spacing: 0.354px;
}

.block-text {
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 133.333% */
  letter-spacing: -0.45px;
  margin-top: 8px;
}

.block-button {
  margin-top: 24px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  color: #000;
  background-color: #fff;

  cursor: pointer;
  padding: 10px 16px;
  /* text-transform: capitalize; */
  width: fit-content;
  border: 1px solid #fff;
  border-radius: 25px;

  font-weight: 400;
  font-size: 14px;
  line-height: 20px; /* 142.857% */
  letter-spacing: -0.154px;

  &:hover {
    background-color: #000;
    color: #fff;
    border-color: #000;
  }

  &:active {
    background-color: #333;
    color: #fff;
    border-color: #333;
  }
}

.button.black-button {
  background-color: #000;
  border-color: #000;
  color: #fff;

  &:hover {
    background-color: #333;
    color: #fff;
    border-color: #333;
  }

  &:active {
    background-color: #000;
    color: #fff;
    border-color: #000;
  }
}

.button.black-stroke-button {
  color: #000;
  border-color: #000;

  &:hover {
    background-color: #000;
    color: #fff;
    border-color: #000;
  }

  &:active {
    background-color: #333;
    color: #fff;
    border-color: #333;
  }
}

/*  */
.cards-section {
  display: flex;
  gap: 32px;

  @media screen and (max-width: 1024px) {
    flex-direction: column;
    gap: 16px;
  }
}

.card-item,
.card-item-lg {
  flex: 1;
  align-self: stretch;
  background-color: rgba(242, 242, 242, 1);
  padding: 24px;

  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  /* 150% */

  @media screen and (max-width: 768px) {
    padding: 16px;
  }

  img {
    padding: 0;
  }

  .button:not(.black-button) {
    background-color: transparent;

    &:hover {
      background-color: #000;
    }
  }
}

.card-body {
  display: flex;
  gap: 16px;
  word-break: break-word;
}

.card-body-lg {
  display: flex;
  gap: 32px;

  @media screen and (max-width: 768px) {
    gap: 16px;

    &.mt-10 {
      margin-top: 0;
    }
  }
}

.card-body img,
.card-body .empty-cell {
  height: 48px;
  width: 48px;
  min-width: 48px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  height: 100%;

  .card-title {
    font-family: Proxima Nova;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    /* 127.273% */
    letter-spacing: 0.352px;

    @media screen and (max-width: 768px) {
      font-size: 18px;
      line-height: 24px;
      /* 133.333% */
      letter-spacing: -0.45px;
    }
  }

  .phone p {
    margin: 0 0 5px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 142.857% */
    letter-spacing: -0.154px;
    color: var(--text-text-secondary, #555);
  }

  .phone a {
    display: inline-block;
    width: 100%;
    white-space: nowrap;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    /* 127.273% */
    letter-spacing: 0.352px;
    color: #000;
    text-decoration: none;

    @media screen and (max-width: 768px) {
        font-size: 18px;
        line-height: 24px;
        /* 133.333% */
        letter-spacing: -0.45px;
      }
  }

  .card-footer {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.154px;
    color: #000;
  }

  .card-footer img {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }
}

.email-link {
  align-self: center;
  text-decoration: none;
  font-weight: 600;
  line-height: 24px;
}

.email-link:hover,
.phone a:hover {
  opacity: .7;
}

.card-item-lg {
  margin-bottom: 32px;
}

.article-page .site-body {
  margin: 0;
}

.article-body hr {
  display: none;
}

h1 {
  margin: 0;
}

/* safari and mobile fix */
.card-content {
  position: relative;
  z-index: 101;
}

.card-buttons {
  display: flex;
  gap: 16px;
}

.detail-wrapper .card-buttons {
  width: 100%;
  justify-content: space-between;
}

.detail-wrapper .card-item .button {
  width: 50%;
}

.card-description {
  color: var(--text-text-secondary, #555);
}

.card-item-lg .card-body .product-support-mobile-view img {
  display: none;
}


@media screen and (max-width: 768px) {
  .card-item-lg {
    margin-bottom: 16px;
  }

  .card-item-lg .card-body .product-support-mobile-view {
    display: flex;
    gap: 16px;
  }

  .card-item-lg .card-body .product-support-mobile-view img {
    display: block;
  }

  .block-title {
    font-size: 22px;
    line-height: 28px; /* 127.273% */
  }

  .block-text {
    font-size: 16px;
  }

  .card-item .button {
    flex: auto;
  }

  .card-buttons {
    width: 100%;
    justify-content: space-between;
  }

  .card-description {
    font-size: 14px;
    line-height: 20px; /* 142.857% */
    letter-spacing: -0.154px;
  }

  .card-body .empty-cell {
    display: none;
  }

  .card-item-lg .card-body > img {
    display: none;
  }
}
