.page-advertisement {
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 12px 30px;
  background-color: var(--page-advertisement-bg-initial, #000);
  transition: width 3s, height 3s, background-color 3s, transform 3s;
}

.page-advertisement.is-active {
  background-color: var(--page-advertisement-bg-active, #1a1a1a);
}

.page-advertisement__inner {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.page-advertisement__icon {
  display: flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.page-advertisement__icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.page-advertisement__center,
.page-advertisement__action {
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-advertisement__center {
  min-width: 0;
  color: var(--page-advertisement-center-color, #fff);
  text-align: center;
}

.page-advertisement__action {
  flex: 0 1 auto;
  max-width: 40%;
  color: var(--page-advertisement-link-color, #00a9f4);
}

.page-advertisement__action a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}

.page-advertisement__action a span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-advertisement__action i {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-block-start: 1px solid currentcolor;
  border-inline-end: 1px solid currentcolor;
  transform: rotate(45deg);
}

.page-advertisement__action a:hover {
  text-decoration: underline;
}

.page-advertisement__action a:focus-visible {
  outline: revert;
  outline-offset: 2px;
}

@media (max-width: 959px) {
  .page-advertisement {
    padding: 12px 30px;
  }

  .page-advertisement__inner {
    gap: 6px;
    flex-wrap: nowrap;
  }

  .page-advertisement__center,
  .page-advertisement__action {
    font-size: 12px;
    line-height: 18px;
  }

  .page-advertisement__action {
    max-width: 38%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-advertisement {
    transition: none;
  }
}
