/* Main container */
.video-library-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Totally remove video-single-title and video-single-subheadline in frontend */
.video-single-title,
.video-single-subheadline,
.single-video .video-single-title,
.single-video .video-single-subheadline,
.f005a771-single .video-single-title,
.f005a771-single .video-single-subheadline {
	display: none !important;
}

/* Typography */
.video-archive-title {
	color: #0b2341;
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 10px;
	text-align: center;
	line-height: 1.2;
}

.video-archive-header p {
	color: #6b7280;
	font-size: 1.25rem;
	text-align: center;
	margin-top: 0;
	margin-bottom: 40px;
}

/* Grid for Archive */
.video-grid.f005a771 {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}

/* Video Card */
.video-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
	transition: transform 0.2s, box-shadow 0.2s;
	border: 1px solid #e5e7eb;
}
.video-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}
.video-card-link {
	text-decoration: none;
	color: inherit;
	display: block;
}
.video-card-link:hover, .video-card-link:focus {
	outline: none;
	box-shadow: none;
}

/* Thumbnails */
.video-card-thumb {
	width: 100%;
	aspect-ratio: 16/9;
	background-size: cover;
	background-position: center;
	position: relative;
}

.video-thumbnail-container {
	width: 100%;
	aspect-ratio: 16/9;
	background-size: cover;
	background-position: center;
	border-radius: 16px;
	position: relative;
	cursor: pointer;
	border: 1px solid #e5e7eb;
	box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Play Icon */
.play-icon-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	background: rgba(11, 35, 65, 0.8);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s, transform 0.3s;
}
.play-icon-overlay svg {
	width: 30px;
	height: 30px;
	margin-left: 4px; /* optical center */
}
.video-thumbnail-container:hover .play-icon-overlay,
.video-card:hover .play-icon-overlay {
	background: #0056b3;
	transform: translate(-50%, -50%) scale(1.1);
}

.play-icon-overlay.large {
	width: 80px;
	height: 80px;
}
.play-icon-overlay.large svg {
	width: 40px;
	height: 40px;
	margin-left: 6px;
}

/* Card Content */
.video-card-content {
	padding: 20px;
}
.video-card-title {
	font-size: 1.25rem;
	margin: 0 0 8px 0;
	color: #111827;
	font-weight: 600;
	line-height: 1.3;
}
.video-card-subheadline {
	font-size: 0.95rem;
	color: #6b7280;
	margin: 0;
	line-height: 1.5;
}

/* Single View Video Area */
.video-player-wrapper.f005a771 {
	margin: 0 auto 40px auto;
	width: 100%;
}

.video-embed-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	overflow: hidden;
	border-radius: 16px;
	background: #000;
	box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.video-embed-container iframe,
.video-embed-container video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* CTA Buttons Container */
.video-cta-wrapper.f005a771 {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	margin-bottom: 40px;
}
.video-cta-button {
	display: inline-block;
	background-color: #0b2341;
	color: #ffffff;
	padding: 12px 24px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	transition: background-color 0.2s, transform 0.2s;
	border: 2px solid transparent;
}
.video-cta-button:hover {
	background-color: #0056b3;
	color: #ffffff;
	transform: translateY(-2px);
}

.video-cta-button.secondary-btn {
	background-color: transparent;
	color: #0b2341;
	border-color: #0b2341;
}
.video-cta-button.secondary-btn:hover {
	background-color: #0b2341;
	color: #ffffff;
}

.video-cta-button.tertiary-btn {
	background-color: #2b6cb0;
	color: #ffffff;
}
.video-cta-button.tertiary-btn:hover {
	background-color: #1a4f7c;
}

/* Pagination */
.video-pagination.f005a771 {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 40px;
}
.video-pagination .page-numbers {
	padding: 8px 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	color: #111827;
	text-decoration: none;
}
.video-pagination .page-numbers.current {
	background: #0b2341;
	color: #fff;
	border-color: #0b2341;
}

.video-single-content {
	color: #374151;
	line-height: 1.7;
	font-size: 1.1rem;
}
