/* =========================================================
   LSTC VIDEO LIBRARY
   ========================================================= */

.lstc-video-library {
	width: 100%;
	max-width: 1290px;
	margin: 0 auto;
}


/* =========================================================
   FILTER BUTTONS
   ========================================================= */

.lstc-video-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin: 0 0 2rem;
}

.lstc-video-filter {
	border: 2px solid #044221;
	border-radius: 999px;
	background: #FFFFFF;
	color: #044221;
	padding: 0.65rem 1rem;
	font-weight: 700;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

.lstc-video-filter:hover,
.lstc-video-filter:focus,
.lstc-video-filter.is-active {
	background: #044221;
	color: #FFFFFF;
	border-color: #044221;
}


/* =========================================================
   VIDEO GRID
   ========================================================= */

.lstc-video-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.75rem;
}


/* =========================================================
   VIDEO CARD
   ========================================================= */

.lstc-video-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #D9DEDB;
	border-top: 5px solid #044221;
	border-radius: 12px;
	background: #FFFFFF;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.lstc-video-card:hover {
	transform: translateY(-3px);
	border-color: #628D62;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.lstc-video-card.is-hidden {
	display: none;
}


/* =========================================================
   THUMBNAIL
   ========================================================= */

.lstc-video-thumbnail-link {
	position: relative;
	display: block;
	overflow: hidden;
	background: #F3F5F4;
	aspect-ratio: 16 / 9;
}

.lstc-video-thumbnail {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.lstc-video-card:hover .lstc-video-thumbnail {
	transform: scale(1.025);
}


/* =========================================================
   PLAY ICON
   ========================================================= */

.lstc-video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #FFD11A;
	color: #171717;
	font-size: 1.7rem;
	line-height: 1;
	transform: translate(-50%, -50%);
	box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.lstc-video-thumbnail-link:hover .lstc-video-play,
.lstc-video-thumbnail-link:focus .lstc-video-play {
	background: #E6B900;
	transform: translate(-50%, -50%) scale(1.05);
}


/* =========================================================
   CONTENT
   ========================================================= */

.lstc-video-card-content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: 1.35rem;
}

.lstc-video-category {
	margin: 0 0 0.5rem;
	color: #628D62;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.lstc-video-title {
	margin: 0 0 1.2rem;
	color: #171717;
	font-size: 1.25rem;
	line-height: 1.35;
}


/* =========================================================
   WATCH BUTTON
   ========================================================= */

.lstc-video-button {
	display: inline-block;
	margin-top: auto;
	padding: 0.8rem 1.15rem;
	border-radius: 8px;
	background: #FFD11A;
	color: #171717;
	font-weight: 700;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.lstc-video-button:hover,
.lstc-video-button:focus {
	background: #E6B900;
	color: #171717;
	transform: translateY(-1px);
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.lstc-video-empty {
	margin: 2rem 0 0;
	text-align: center;
	font-weight: 700;
	color: #044221;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

	.lstc-video-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem;
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

	.lstc-video-filters {
		justify-content: flex-start;
	}

	.lstc-video-grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.lstc-video-card-content {
		padding: 1.15rem;
	}

	.lstc-video-title {
		font-size: 1.15rem;
	}

}