/* xeek.dev theme, slideshow.css: featured slideshow: slides, dots, arrows */

/* Featured slideshow */
.tile-featured {
  position: relative;
  justify-content: space-between;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: none;
}

.featured-slide {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 18px 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: inherit;
  background-size: cover;
  background-position: center;
}

.featured-slide.is-active { display: flex; position: relative; inset: auto; min-height: 100%; }

.featured-slide.glass-blue {
  background: linear-gradient(135deg, rgba(65, 132, 228, 0.2), rgba(65, 132, 228, 0.05));
  border-color: rgba(65, 132, 228, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.featured-slide.glass-green {
  background: linear-gradient(135deg, rgba(86, 211, 100, 0.16), rgba(86, 211, 100, 0.04));
  border-color: rgba(86, 211, 100, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.featured-slide-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.featured-count { font: 400 11px var(--font-body); color: var(--blue-soft); }

.featured-slide-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0;
}

/* On image slides the text carries its own soft black halo (layered text
   shadows radiating outward) so the label, title, and tag pill stay readable
   over any photo without banded scrims */
.featured-slide.has-image .tile-label,
.featured-slide.has-image .featured-count,
.featured-slide.has-image .tile-row-meta {
  text-shadow:
    0 0 3px rgba(0, 0, 0, 0.95),
    0 0 8px rgba(0, 0, 0, 0.85),
    0 1px 14px rgba(0, 0, 0, 0.7);
}

.featured-slide.has-image .featured-title {
  text-shadow:
    0 0 4px rgba(0, 0, 0, 0.95),
    0 0 12px rgba(0, 0, 0, 0.85),
    0 0 28px rgba(0, 0, 0, 0.7),
    0 2px 4px rgba(0, 0, 0, 0.9);
}

.featured-slide.has-image .tag {
  /* fully opaque so the photo never darkens the pill */
  background: var(--bg);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.featured-title {
  font: 700 26px/1.15 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--text-bright);
  text-wrap: pretty;
}

.featured-slide:hover .featured-title { color: var(--blue-bright); }

.featured-controls {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.featured-dots { display: flex; gap: 5px; align-items: center; }

.featured-dot {
  width: 4px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(220, 230, 240, 0.35);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.featured-dot.is-active { width: 14px; background: var(--text); }

.featured-arrows {
  display: flex;
  gap: 10px;
  align-items: center;
  font: 400 15px var(--font-body);
  color: #8ba0b4;
}

.featured-arrow {
  background: none;
  border: 0;
  padding: 0 2px;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.featured-arrow:hover { color: var(--text); }

.featured-pivot { font-size: 11px; color: var(--green); }

@media (max-width: 720px) {
  /* Featured stacks above Latest on mobile */
  .tile-featured { order: -1; min-height: 170px; }
}
