/*
 Theme Name: Astra Child
 Template: astra
*/

.featured-employers-marquee {
  background-color: #4162EB;
  padding: 2em 1em;
  border-radius: 10px;
  overflow: hidden;
  margin: 3em auto;
  max-width: 100%;
}

.featured-title {
  text-align: center;
  color: #fff;
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 1.2em;
}

.scrolling-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3em;
  width: max-content;
  animation: scroll-left 25s linear infinite;
}

.employer-logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  text-decoration: none;
  min-width: 100px;
}

.employer-logo-link img {
  height: 50px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  margin-bottom: 0.4em;
  filter: brightness(100%) contrast(105%);
  transition: transform 0.3s ease;
}

.employer-logo-link img:hover {
  transform: scale(1.05);
}

.employer-logo-link span {
  font-size: 0.85em;
  margin-top: 0.2em;
  white-space: nowrap;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .featured-title {
    font-size: 1.4em;
  }

  .marquee-track {
    gap: 1.5em;
  }

  .employer-logo-link img {
    height: 40px;
  }

  .employer-logo-link span {
    font-size: 0.75em;
  }
}
