/**
 * Venue Cards widget styles.
 *
 * @package PerranParthBeachWeddings
 */

.ppbw-venue-cards {
	--ppbw-venue-accent: #c5a54c;
	--ppbw-venue-cream: #fdf9f3;
	--ppbw-venue-text: #1a1a1a;
	--ppbw-venue-font: "Cormorant Garamond", "Playfair Display", "Times New Roman", serif;
	width: 100%;
	font-family: var(--ppbw-venue-font);
	color: var(--ppbw-venue-text);
}

.ppbw-venue-cards *,
.ppbw-venue-cards *::before,
.ppbw-venue-cards *::after {
	box-sizing: border-box;
}

.ppbw-venue-cards__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 40px;
	row-gap: 40px;
	align-items: stretch;
}

.ppbw-venue-cards__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: var(--ppbw-venue-cream);
	text-align: center;
}

.ppbw-venue-cards__media {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	height: 400px;
	margin-right: auto;
	margin-left: auto;
	flex-shrink: 0;
}

.ppbw-venue-cards__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center center;
}

.ppbw-venue-cards__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	padding: 30px 24px 34px;
}

.ppbw-venue-cards__title {
	margin: 0 0 16px;
	color: var(--ppbw-venue-text);
	font-family: inherit;
	font-size: 36px;
	font-weight: 400;
	line-height: 1.15;
}

.ppbw-venue-cards__description {
	width: 100%;
	max-width: 100%;
	margin: 0 0 18px;
	padding: 0 6px;
	color: var(--ppbw-venue-text);
	font-family: inherit;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.55;
}

.ppbw-venue-cards__capacity {
	margin: 0 0 26px;
	color: var(--ppbw-venue-text);
	font-family: inherit;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.4;
}

.ppbw-venue-cards__button {
	display: inline-block;
	margin-top: auto;
	padding: 12px 30px;
	border: 0;
	border-radius: 0;
	background-color: var(--ppbw-venue-accent);
	color: #ffffff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.ppbw-venue-cards__button:hover,
.ppbw-venue-cards__button:focus {
	text-decoration: none;
}

.ppbw-venue-cards__empty {
	margin: 0;
	text-align: center;
	font-size: 18px;
}

@media (max-width: 1024px) {
	.ppbw-venue-cards__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.ppbw-venue-cards__grid {
		grid-template-columns: 1fr;
	}

	.ppbw-venue-cards__card {
		width: 100%;
		max-width: 100%;
	}

	.ppbw-venue-cards__media {
		width: 100%;
		max-width: 100%;
		height: 300px;
	}

	.ppbw-venue-cards__body {
		padding: 32px 24px 36px;
	}

	.ppbw-venue-cards__title {
		margin-bottom: 18px;
		font-size: 34px;
	}

	.ppbw-venue-cards__description {
		margin-bottom: 20px;
		padding: 0 10px;
		font-size: 17px;
		line-height: 1.6;
	}

	.ppbw-venue-cards__capacity {
		margin-bottom: 28px;
	}

	.ppbw-venue-cards__button {
		min-width: 140px;
		padding: 13px 32px;
	}
}

@media (max-width: 480px) {
	.ppbw-venue-cards__media {
		height: 260px;
	}

	.ppbw-venue-cards__body {
		padding: 28px 18px 32px;
	}

	.ppbw-venue-cards__title {
		font-size: 30px;
	}

	.ppbw-venue-cards__description {
		padding: 0 4px;
		font-size: 16px;
	}

	.ppbw-venue-cards__capacity {
		font-size: 16px;
	}
}
