/* Brighton Backgammon — Tournaments */

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

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

.bb-tournaments-template .container p {
	margin-bottom: 15px;
	line-height: 1.6;
}

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

.bb-tournaments-template .tournament-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-tournaments-template .tournament-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.bb-tournaments-template .tournament-content {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.bb-tournaments-template .tournament-title {
	font-size: 1.4rem;
	color: #005a8d;
	margin-bottom: 10px;
	font-weight: 600;
}

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

.bb-tournaments-template .tournament-location {
	font-size: 0.95rem;
	line-height: 1.5;
	margin-bottom: 15px;
}

.bb-tournaments-template .tournament-link {
	margin-top: auto;
	display: inline-block;
	background: #005a8d;
	color: #ffffff !important;
	padding: 12px 20px;
	border-radius: 5px;
	text-decoration: none !important;
	font-weight: 600;
	text-align: center;
}

.bb-tournaments-template .tournament-link:hover {
	background: #00456b;
	color: #ffffff !important;
}

.bb-tournaments-template .tournaments-intro {
	margin-bottom: 10px;
}

.bb-tournaments-template .tournaments-intro p:last-child {
	margin-bottom: 0;
}

.bb-tournaments-template .container a {
	color: #005a8d;
	text-decoration: none;
}

.bb-tournaments-template .container a:hover {
	text-decoration: underline;
}

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