/**
 * Chellaram Foundation CSR Video Section - Styles
 * All classes prefixed with cfcsr- to avoid theme conflicts.
 */

.cfcsr-wrap {
	position: relative;
	overflow: hidden;
	padding: 60px 0;
	box-sizing: border-box;
}

.cfcsr-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.cfcsr-heading-wrap {
	text-align: center;
	margin-bottom: 40px;
}

.cfcsr-tagline {
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 10px 0;
	line-height: 1.2;
}

.cfcsr-subtitle {
	font-size: 18px;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.7);
	margin: 0;
}

.cfcsr-content-section {
	padding: 20px 0;
}

.cfcsr-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.cfcsr-thumbnail-wrapper {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.cfcsr-thumbnail-container {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	cursor: pointer;
}

.cfcsr-thumbnail-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cfcsr-play-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	cursor: pointer;
}

.cfcsr-play-button {
	width: 80px;
	height: 80px;
	background: #4A90E2;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
	box-shadow: 0 4px 20px rgba(74, 144, 226, 0.4);
}

.cfcsr-play-button::before {
	content: '';
	width: 0;
	height: 0;
	border-left: 20px solid #fff;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	margin-left: 4px;
}

.cfcsr-play-overlay:hover .cfcsr-play-button {
	transform: scale(1.1);
	box-shadow: 0 6px 30px rgba(74, 144, 226, 0.6);
	background: #5BA0F2;
}

.cfcsr-thumbnail-container.cfcsr-hidden {
	display: none;
}

.cfcsr-video-wrapper {
	display: none;
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 12px;
}

.cfcsr-video-wrapper.cfcsr-active {
	display: block;
}

.cfcsr-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.cfcsr-info-content {
	padding: 20px 0;
}

.cfcsr-presents {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 15px;
	color: rgba(0, 0, 0, 0.6);
}

.cfcsr-info-title {
	font-size: 48px;
	font-weight: 700;
	font-family: 'Oswald', 'Arial Black', 'Arial Bold', Impact, sans-serif;
	font-stretch: condensed;
	margin: 0 0 15px 0;
	line-height: 1.1;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.cfcsr-info-title .cfcsr-world-text {
	color: #8B0000;
	font-weight: 900;
}

.cfcsr-director {
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 1px;
	margin-bottom: 20px;
	color: rgba(0, 0, 0, 0.7);
}

.cfcsr-info-description {
	font-size: 16px;
	line-height: 1.8;
	margin: 0 0 30px 0;
	color: #333;
}

.cfcsr-watch-btn {
	display: inline-block;
	background: #4A90E2;
	color: #fff !important;
	padding: 14px 35px;
	font-weight: 600;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
	border: none;
}

.cfcsr-watch-btn:hover {
	background: #5BA0F2;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
	color: #fff !important;
}

@media (max-width: 768px) {
	.cfcsr-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.cfcsr-col-video {
		order: 1;
	}

	.cfcsr-col-info {
		order: 2;
	}

	.cfcsr-play-button {
		width: 60px;
		height: 60px;
	}

	.cfcsr-play-button::before {
		border-left-width: 14px;
		border-top-width: 8px;
		border-bottom-width: 8px;
	}

	.cfcsr-info-title {
		font-size: 28px;
	}

	.cfcsr-info-description {
		font-size: 14px;
	}

	.cfcsr-content-section {
		padding: 20px 0;
	}

	.cfcsr-tagline {
		font-size: 1.5rem;
	}

	.cfcsr-subtitle {
		font-size: 16px;
	}
}
