/* Visitor counter — styling and layout */

.visitor-counter {
  display: block;
  font-size: 14px;
  color: #8c8c8c;
  margin-bottom: 0px;
}

.visitor-counter-text {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.02em;
}

.visitor-counter-num {
  color: #222222;
  font-weight: 700;
  white-space: nowrap;
}

.visitor-counter-num sup {
  font-size: 0.6em;
  line-height: 0;
}

/* Dark footer variant (privacy / terms / project pages) */
.visitor-counter--dark .visitor-counter-text {
  color: #8c8c8c;
}

.visitor-counter--dark .visitor-counter-num {
  color: #ffffff;
}

/* Flex layout that arranges them on the same line/level on desktop, stacks on mobile */
.footer-rights {
  padding-top: 15px;
}

/* We want relative positioning on the container to place the absolute child */
.footer-rights-container {
  position: relative;
  display: block;
  width: 100%;
}

.footer-rights .copyright,
.copyright {
  text-align: center !important;
  margin: 0;
  padding: 0;
}

.footer-rights .copyright p,
.copyright p {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .visitor-counter {
    position: absolute;
    right: 15px; /* Alignment inside the container */
    bottom: 2px; /* Vertically align with the copyright text line */
    text-align: right;
  }
}

@media (max-width: 767px) {
  .visitor-counter {
    text-align: center;
    margin-top: 10px;
  }
}
