/* ═══════════════════════════════════════════════════════
   RSS PICTURE SLIDER — Lamar Cardinals Sports
   ═══════════════════════════════════════════════════════ */

#lcs-rss-slider {
  background: #0e0e0e;
  border-bottom: 3px solid var(--lcs-red);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 200px;
}

/* Red "LATEST NEWS" label on the left */
.lcs-slider-label { display: none; }

/* Scrollable slide track */
#lcs-slider-track {
  display: flex;
  overflow: hidden;
  flex: 1;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
  align-items: stretch;
}

/* Individual slide */
.lcs-slide {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #1a1a1a;
  background: #111;
  transition: background 0.2s;
  cursor: pointer;
}
.lcs-slide:hover {
  background: #161616;
}
.lcs-slide:hover .lcs-slide-title {
  color: #ffcccc !important;
}

/* Image container — fixed 16:9 */
.lcs-slide-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  flex-shrink: 0;
  background: #1a1a1a;
}
.lcs-slide-img-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.lcs-slide:hover .lcs-slide-img-wrap img {
  transform: scale(1.04);
}

/* Placeholder when no image */
.lcs-slide-img-placeholder {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
}

/* Category badge overlaid on image */
.lcs-slide-cat-overlay {
  position: absolute;
  bottom: 7px;
  left: 7px;
  background: var(--lcs-red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 7px;
  border-radius: 3px;
  font-family: var(--font-display);
  text-transform: uppercase;
  z-index: 1;
}

/* Dark gradient over bottom of image */
.lcs-slide-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  pointer-events: none;
}

/* Text body below image */
.lcs-slide-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.lcs-slide-date {
  font-size: 9px;
  color: #555;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.lcs-slide-title {
  color: #e8e8e8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  display: block;
  text-decoration: none;
  transition: color 0.15s;
}
.lcs-slide-title:hover {
  color: #ffcccc;
}
.lcs-slide-excerpt {
  font-size: 10px;
  color: #555;
  line-height: 1.5;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Prev/Next arrow buttons */
.lcs-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  z-index: 10;
  transition: background 0.15s, border-color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lcs-slider-btn:hover {
  background: var(--lcs-red);
  border-color: var(--lcs-red);
}

/* Dot indicators */
#lcs-slider-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
}
.lcs-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.lcs-dot.active {
  background: var(--lcs-red);
  transform: scale(1.3);
}

/* Pause on hover indicator */
#lcs-rss-slider:hover .lcs-slider-btn { opacity: 1; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .lcs-slide { flex: 0 0 200px; }
  .lcs-slider-label { min-width: 76px; }
}
@media (max-width: 600px) {
  .lcs-slide { flex: 0 0 170px; }
  .lcs-slider-label { min-width: 60px; }
  .lcs-slider-label span:first-child { font-size: 10px; }
  .lcs-slide-title { font-size: 11px; }
  #lcs-rss-slider { min-height: 170px; }
}
