/* Camp cards ([camp_set_cards]) */

.cbrw-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 28px;
	max-width: 1180px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.55;
	color: #1f2430;
}

.cbrw-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(16, 24, 40, 0.07);
}

.cbrw-card__img {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f8fafc;
}

.cbrw-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.cbrw-card:hover .cbrw-card__img img {
	transform: scale(1.03);
}

.cbrw-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 14px;
	padding: 22px 24px 24px;
}

.cbrw-cards .cbrw-card__title {
	margin: 0;
	font-family: "Poppins", sans-serif;
	font-size: 21px !important;
	font-weight: 700;
	line-height: 1.3;
}

.cbrw-card__title a {
	color: #1f2430;
	text-decoration: none;
}

.cbrw-card__facts {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cbrw-card__facts li {
	margin: 0 0 4px;
	padding: 0;
	color: #475569;
}

.cbrw-card__facts strong {
	display: inline-block;
	min-width: 52px;
	font-weight: 600;
	color: #1f2430;
}

.cbrw-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid #e5e7eb;
}

.cbrw-card__from {
	margin: 0;
	color: #64748b;
}

.cbrw-card__from strong {
	font-family: "Poppins", sans-serif;
	font-size: 19px;
	color: #1f2430;
}

.cbrw-cards .cbrw-card__btn {
	display: inline-block;
	padding: 11px 20px;
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	background: #a31647;
	border-radius: 10px;
	transition: background 0.2s ease;
}

.cbrw-cards .cbrw-card__btn:hover,
.cbrw-cards .cbrw-card__btn:focus-visible {
	color: #fff;
	background: #8a1239;
}

.cbrw-cards__empty {
	max-width: 680px;
	margin: 0 auto;
	font-size: 18px;
	text-align: center;
}

@media (max-width: 480px) {
	.cbrw-cards {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.cbrw-card__body {
		padding: 18px 18px 20px;
	}
}
