/* Brighton Backgammon — Events */

.bb-events-template .container {
	max-width: 1300px;
	margin: auto;
	background: #ffffff;
	padding: 30px;
	border-radius: 5px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.bb-events-template .container h1 {
	color: #005a8d;
	border-bottom: 2px solid #005a8d;
	padding-bottom: 10px;
}

.bb-events-template .events-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 20px;
}

.bb-events-template .event-card {
	border-radius: 8px;
	overflow: hidden;
	background: #f9f9f9;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bb-events-template .event-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.bb-events-template .event-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	background: #dddddd;
}

.bb-events-template .event-content {
	padding: 20px;
	flex: 1;
}

.bb-events-template .event-title {
	font-size: 1.4rem;
	color: #005a8d;
	margin-bottom: 10px;
}

.bb-events-template .event-date {
	font-weight: bold;
	margin-bottom: 8px;
	color: #333333;
}

.bb-events-template .event-location {
	font-size: 0.95rem;
	line-height: 1.5;
}

@media (max-width: 600px) {
	.bb-events-template .container {
		padding: 20px;
	}
}
