/* Webinar Card 1 Styles */
.webinar-card-1-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
	padding: 20px 0;
	max-width: 1400px;
	margin: 0 auto;
}

.webinar-card-1 {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	transition: box-shadow 0.3s ease;
	max-width: 420px;
	width: 100%;
	justify-self: center;
}

.webinar-card-1:hover {
	box-shadow: 0 8px 25px rgba(0,132,201,0.2);
}

.webinar-card-1-image {
	position: relative;
	height: 220px;
	overflow: hidden;
}

.webinar-card-1-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.webinar-card-1-date-badge {
	position: absolute;
	top: 15px;
	right: 15px;
	background: #0084c9;
	color: white;
	padding: 8px 15px;
	border-radius: 8px;
	text-align: center;
	font-family: 'Ruda', sans-serif;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.webinar-badge-day {
	display: block;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
}

.webinar-badge-month {
	display: block;
	font-size: 12px;
	font-weight: 600;
	margin-top: 2px;
}

.webinar-card-1-content {
	padding: 25px;
}

.webinar-card-1-title {
	font-family: 'Ruda', sans-serif;
	font-size: 22px;
	color: #0084c9;
	margin-bottom: 0px;
	font-weight: 700;
	line-height: 1.3;
}

.webinar-card-1-subtitle {
	font-family: 'Ruda', sans-serif;
	font-size: 15px;
	color: #595959;
	margin-bottom: 12px;
	font-weight: 500;
}

.webinar-card-1-author {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	color: #00a5db;
	margin-bottom: 0px;
	font-weight: 600;
}

.webinar-card-1-title-role {
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	color: #999999;
	margin-bottom: 15px;
	font-weight: 400;
	font-style: italic;
}

.webinar-card-1-description {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 20px;
}

.webinar-card-1-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid #eee;
	padding-top: 20px;
	gap: 15px;
}

.webinar-card-1-datetime {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.webinar-datetime-date {
	font-size: 14px;
	color: #595959;
	font-weight: 600;
	font-family: 'Ruda', sans-serif;
}

.webinar-datetime-time {
	font-size: 13px;
	color: #666;
	font-weight: 400;
}

.webinar-card-1-btn {
	background: #0084c9;
	color: white;
	border: none;
	padding: 10px 24px;
	border-radius: 6px;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.3s ease;
	white-space: nowrap;
}

.webinar-card-1-btn:hover {
	background: #00a5db;
}

.webinar-card-1-full-description {
	display: none;
}

.webinar-datetime-duration {
	font-size: 13px;
	color: #666;
	font-weight: 400;
}

@media (max-width: 768px) {
	.webinar-card-1-grid {
		grid-template-columns: 1fr;
	}
	
	.webinar-card-1 {
		max-width: 100%;
	}
	
	.webinar-card-1-footer {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.webinar-card-1-btn {
		width: 100%;
	}
}

/* Webinar Modal Styles */
.webinar-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 1000;
	overflow-y: auto;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.webinar-modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	opacity: 1;
}

.webinar-modal-content {
	background: #ffffff;
	border-radius: 16px;
	max-width: 800px;
	width: 100%;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	padding: 50px 45px 40px;
	margin: auto;
	animation: webinarSlideUp 0.4s ease;
}

@keyframes webinarSlideUp {
	from {
		transform: translateY(50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.webinar-modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	border: none;
	background: #f5f5f5;
	color: #595959;
	font-size: 28px;
	cursor: pointer;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	line-height: 1;
	padding: 0;
}

.webinar-modal-close:hover {
	background: #0084c9;
	color: #ffffff;
	transform: rotate(90deg);
}

.webinar-modal-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 0px;
	padding: 0;
}

.webinar-modal-title-section {
	flex-grow: 1;
	padding: 0;
	margin: 0;
}

.webinar-modal-date-badge {
	background: linear-gradient(135deg, #0084c9 0%, #00a5db 100%);
	color: #ffffff;
	padding: 12px 18px;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0, 132, 201, 0.3);
	margin-left: 20px;
	flex-shrink: 0;
}

.webinar-modal-badge-day {
	display: block;
	font-family: 'Ruda', sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
}

.webinar-modal-badge-month {
	display: block;
	font-family: 'Ruda', sans-serif;
	font-size: 13px;
	font-weight: 600;
	margin-top: 4px;
	letter-spacing: 1px;
}

.webinar-modal-title {
	font-family: 'Ruda', sans-serif;
	font-size: 32px;
	color: #0084c9;
	margin: 0 0 10px 0;
	padding: 0;
	font-weight: 700;
	line-height: 1.2;
}

.webinar-modal-subtitle {
	font-family: 'Ruda', sans-serif;
	font-size: 18px;
	color: #595959;
	margin: 0 0 15px 0;
	padding: 0;
	font-weight: 500;
}

.webinar-modal-author {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	color: #00a5db;
	margin: 0 0 3px 0;
	padding: 0;
	font-weight: 600;
}

.webinar-modal-title-role {
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	color: #999999;
	margin: 0 0 20px 0;
	padding: 0;
	font-weight: 400;
	font-style: italic;
}

.webinar-modal-meta {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	padding: 20px 0;
	border-top: 2px solid #f0f0f0;
	border-bottom: 2px solid #f0f0f0;
	margin: 0 0 25px 0;
}

.webinar-modal-meta-item {
	padding: 0;
	margin: 0;
}

.webinar-modal-meta-label {
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	color: #999999;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 6px 0;
	padding: 0;
	font-weight: 600;
}

.webinar-modal-date {
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	color: #595959;
	font-weight: 400;
	margin: 0;
	padding: 0;
}

.webinar-modal-time {
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	color: #595959;
	font-weight: 400;
	margin: 0;
	padding: 0;
}

.webinar-modal-duration {
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	color: #595959;
	font-weight: 400;
	margin: 0;
	padding: 0;
}

.webinar-modal-description {
	font-size: 16px;
	line-height: 1.8;
	color: #666666;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
}

.webinar-modal-description p {
	margin: 0 0 15px 0;
	padding: 0;
	font-size: 16px;
	line-height: 1.8;
	color: #666666;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
}

.webinar-modal-description p:last-child {
	margin-bottom: 0;
}

.webinar-modal-footer {
	padding-top: 25px;
	border-top: 2px solid #f0f0f0;
	margin: 0;
}

.webinar-modal-register-btn {
	width: 100%;
	background: linear-gradient(135deg, #0084c9 0%, #00a5db 100%);
	color: #ffffff;
	border: none;
	padding: 16px;
	border-radius: 8px;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0;
	line-height: 1;
}

.webinar-modal-register-btn:hover {
	background: linear-gradient(135deg, #00a5db 0%, #00db6d 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 132, 201, 0.4);
}

@media (max-width: 768px) {
	.webinar-modal-content {
		padding: 30px 25px;
	}
	
	.webinar-modal-close {
		top: 15px;
		right: 15px;
		width: 35px;
		height: 35px;
		font-size: 24px;
	}
	
	.webinar-modal-header {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.webinar-modal-title {
		font-size: 24px;
	}
	
	.webinar-modal-meta {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	
	.webinar-modal-date-badge {
		display: none;
	}
}