/* s7_featured.css - featured carousel for index.php
   Matches the ServicesPage card visual language: dark cards, yellow
   accents, Oswald display font. The rail is masked at both edges so
   cards fade in/out as they scroll past, and the track auto-scrolls
   leftward at ~30 px/sec (paused on hover). */

#s7-featured-wrap {
  margin: 56px 0 40px;
  padding: 0;
  user-select: none;
}
#s7-featured-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ccc;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1a1a1a;
  display: flex;
  align-items: center;
  gap: 10px;
}
#s7-featured-eyebrow::before {
  content: '';
  width: 3px;
  height: 12px;
  background: #FFE000;
  display: inline-block;
}
#s7-featured-rail {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
#s7-featured-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: s7-featured-scroll var(--s7-featured-duration, 120s) linear infinite;
  will-change: transform;
}
#s7-featured-rail:hover #s7-featured-track {
  animation-play-state: paused;
}
@keyframes s7-featured-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.s7-featured-card {
  flex: 0 0 240px;
  height: 140px;
  background: #080808;
  border: 1px solid #1a1a1a;
  padding: 18px 20px;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.15s, border-color 0.15s;
  position: relative;
  overflow: hidden;
}
.s7-featured-card:hover {
  background: #0f0f0f;
  border-color: #FFE000;
}
.s7-featured-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.s7-featured-icon {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #FFE000;
  padding: 3px 7px;
  border: 1px solid #FFE000;
  line-height: 1;
}
.s7-featured-badge {
  font-family: 'Oswald', sans-serif;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid #2a2a2a;
  color: #ccc;
  font-weight: 700;
  line-height: 1;
}
.s7-featured-badge.kind-tool       { border-color: #2a2a2a; color: #ccc;    }
.s7-featured-badge.kind-software   { border-color: #2a4a2a; color: #7CFC8C; }
.s7-featured-badge.kind-videogames { border-color: #4a2a2a; color: #ff8a6b; }

.s7-featured-name {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  margin-top: 8px;
}
.s7-featured-desc {
  font-size: 11px;
  color: #aaa;
  letter-spacing: 0.3px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
}