.petitweb-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;

  &.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.petitweb-advertising {
  display: flex;
  flex-direction: column;
  align-items: center;

  span {
    display: block;
    font-size: 0.7em;
    margin-bottom: 0.1em;
    text-align: center;
    letter-spacing: 0.5px;
  }

  a {
    display: flex;
    padding: 0;
    margin: 0;


    img {
      margin: auto;
    }
  }
}

.petitweb-advertising-post {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: clamp(140px, 100%, 250px);

    .has-white-color {
      color: #fff !important;
    }

    .has-black-color {
      color: #333 !important;
    }

    .has-blue-color {
      color: #007bff !important;
    }

    .has-red-color {
      color: #dc3545 !important;
    }

    .has-green-color {
      color: #28a745 !important;
    }

    .has-yellow-color {
      color: #ffc107 !important;
    }

    .has-orange-color {
      color: #fd7e14 !important;
    }

    .has-purple-color {
      color: #6f42c1 !important;
    }

    .has-pink-color {
      color: #e83e8c !important;
    }
}

.advertising_skyscraper {
  position: relative;
}

@media only screen and (max-width: 426px) {
  .petitweb-ad {
    &.grid {
      grid-template-columns: repeat(1, 1fr);
    }
  }
}