/* ==========================================================================
   2026 Intern Capstone slideshow
   Adapted from the Ten Year Holiday highlight slider. Scoped to
   #intern-capstone so it works on any page, independent of the body class.

   Three rules from the original are deliberately left out:
     - .slider-nav .slick-track { transform: none }  froze the strip; with 106
       thumbnails it has to scroll.
     - .slick-dots                                   assumed exactly 4 dots.
     - .fade-up                                      needs a scroll observer
       that only runs on the holiday template.
   ========================================================================== */

#intern-capstone {
	margin-bottom: 100px;
	text-align: center;
}

#intern-capstone h2 {
	margin-bottom: 50px;
}

/* --- main slider --- */

#intern-capstone .slider .slick-track .slick-slide {
	margin: 0 30px;
	height: 340px;
	position: relative;
}

#intern-capstone .slider .slick-track .slick-slide::before {
	content: "";
	background: rgba(0, 0, 0, 0.5);
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	z-index: 200;
	border-radius: 15px;
}

#intern-capstone .slider .slick-track .slick-slide.slick-current::before {
	display: none;
}

#intern-capstone .slider img {
	margin: 0 auto;
	border-radius: 15px;
	width: 100%;
	height: 100%;
	object-fit: cover;
    object-position: top;
}

/* --- thumbnail strip --- */

#intern-capstone .slider-nav {
	margin-top: 20px;
	margin-bottom: 20px;
}

#intern-capstone .slider-nav .image {
	margin: 0 5px;
	position: relative;
	border: 3px solid transparent;
	cursor: pointer;
}

#intern-capstone .slider-nav img {
	width: 100%;
	max-width: 163px;
	aspect-ratio: 1.5;
	object-fit: cover;
}

#intern-capstone .slider-nav .image::before {
	content: "";
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 100;
	background-color: rgba(0, 0, 0, 0.5);
}

#intern-capstone .slider-nav .image.slick-current {
	border: 3px solid #CF0000;
}

#intern-capstone .slider-nav .image.slick-current::before {
	display: none;
}

/* --- prev / next controls --- */

#intern-capstone .col.slideshow .drag.row {
	max-width: 1700px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 20px;
}

#intern-capstone .col.slideshow .drag img {
	width: 100%;
	max-width: 166px;
}

#intern-capstone .col.slideshow .drag ul {
	margin: 0;
	padding: 0;
}

#intern-capstone .col.slideshow .drag li {
	list-style: none;
	cursor: pointer;
}

/* --- mobile --- */

@media screen and (max-width: 833px) {
	#intern-capstone .slider .slick-track .slick-slide {
		margin: 0 10px;
		height: 280px;
	}

	#intern-capstone .slider-nav img {
		max-width: 90px;
	}

	#intern-capstone .col.slideshow .drag img {
		max-width: 100px;
	}
}
