/* type `g2-sticky-cards` — include/internet-advertising-sections/g2-sticky-cards.php */

.g2-sticky-cards__label {
  margin-top: 40px;
}

.g2-sticky-cards__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.g2-sticky-cards__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  background: var(--background-light);
}

.iad-sec--light .g2-sticky-cards__item {
  background: var(--background-white);
}

.iad-sec--dark .g2-sticky-cards__item {
  background: var(--outher-dark-gray);
}

.iad-sec .g2-sticky-cards__item-title {
  margin: 0;
  color: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.g2-sticky-cards__item-text {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

@media screen and (max-width: 1024px) {
  .g2-sticky-cards {
    gap: 40px;
  }
}

@media screen and (max-width: 640px) {
  .g2-sticky-cards__label {
    margin-top: 24px;
  }

  .g2-sticky-cards__list {
    gap: 16px;
  }

  .g2-sticky-cards__item {
    gap: 16px;
    padding: 24px;
  }

  .iad-sec .g2-sticky-cards__item-title {
    font-size: 18px;
  }
}
