/* =========================================================================
   ПОДВАЛ: строка разработчика (Vrezerve Soft)
   Разметка: inc/developer-credit.php
   ========================================================================= */

.rs-devcredit {
  padding: 14px 0;
  border-top: 1px solid var(--rs-line);
  font-family: var(--rs-font);
}

.rs-devcredit__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.rs-devcredit__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--rs-muted) !important;
  font-size: 12px;
  line-height: 1;
  text-decoration: none !important;
  transition: color var(--rs-dur-fast) var(--rs-ease);
}

.rs-devcredit__label {
  letter-spacing: 0.02em;
}

.rs-devcredit__logo {
  display: block;
  width: 132px;
  height: auto;
  color: var(--rs-ink);
  opacity: 0.72;
  transition: opacity var(--rs-dur-fast) var(--rs-ease), transform var(--rs-dur) var(--rs-ease);
}

.rs-devcredit__link:hover,
.rs-devcredit__link:focus-visible {
  color: var(--rs-ink) !important;
}

.rs-devcredit__link:hover .rs-devcredit__logo,
.rs-devcredit__link:focus-visible .rs-devcredit__logo {
  opacity: 1;
  transform: translateY(-1px);
}

.rs-devcredit__name {
  color: var(--rs-ink);
  font-weight: 700;
}

/* Тёмный подвал (если фон подвала в настройках Porto тёмный — добавьте
   класс rs-footer-dark к body или подвалу) */
.rs-footer-dark .rs-devcredit {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.rs-footer-dark .rs-devcredit__link {
  color: rgba(255, 255, 255, 0.6) !important;
}

.rs-footer-dark .rs-devcredit__logo {
  color: #fff;
}

.rs-footer-dark .rs-devcredit__link:hover {
  color: #fff !important;
}

@media (max-width: 767px) {
  .rs-devcredit {
    padding: 16px 0 18px;
  }

  .rs-devcredit__inner {
    justify-content: center;
  }

  .rs-devcredit__logo {
    width: 116px;
  }
}
