/**
 * Etraffic BMC — brand caravan selector
 * Scoped under .bmc-brand-page so theme CSS cannot restyle the grid.
 */

.bmc-brand-page {
	--bmc-accent: #bf8826;
	--bmc-accent-hover: #a67420;
	--bmc-accent-dark: #8f641c;
	--bmc-font: "AvantGardeLTMedium", AvantGarde, "Century Gothic", Arial, sans-serif;
	width: 100%;
	max-width: none;
	min-height: 50vh;
	box-sizing: border-box;
	margin: 0;
	padding: 48px 16px 64px;
	background: #f7f7f7;
	color: #111;
	font-family: var(--bmc-font);
	font-size: 15px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	isolation: isolate;
}

.bmc-brand-page *,
.bmc-brand-page *::before,
.bmc-brand-page *::after {
	box-sizing: border-box;
}

.bmc-brand-page h1,
.bmc-brand-page h2,
.bmc-brand-page h3,
.bmc-brand-page a,
.bmc-brand-page button,
.bmc-brand-page span,
.bmc-brand-page li,
.bmc-brand-page p {
	font-family: var(--bmc-font);
}

.bmc-brand-page ul,
.bmc-brand-page ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bmc-brand-page img {
	max-width: 100%;
	height: auto;
	border: 0;
}

.bmc-brand-page a {
	text-decoration: none;
	box-shadow: none;
}

.bmc-brand-wrap {
	width: 100%;
	max-width: 1450px;
	margin: 0 auto;
}

.bmc-brand-page__title {
	margin: 0 0 36px;
	padding: 0;
	color: #1a1a1a !important;
	font-family: var(--bmc-font);
	font-size: 34px !important;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-align: center;
	text-transform: none;
  }

.bmc-caravan-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 35px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bmc-caravan-card {
	box-sizing: border-box;
	width: calc(50% - 18px);
	max-width: 680px;
	margin: 0;
	padding: 36px 32px 40px;
	text-align: center;
	border: 1px solid #e9e9e9;
	border-radius: 45px;
	background: linear-gradient(to top, #eeeeee 0%, #ffffff 55%);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.bmc-caravan-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 220px;
	margin-bottom: 18px;
}

.bmc-caravan-card__media img {
	display: block;
	max-width: 100%;
	height: auto;
	max-height: 280px;
	object-fit: contain;
}

.bmc-caravan-card__title {
	margin: 0 0 26px;
	padding: 0;
	color: #1a1a1a !important;
	font-size: 30px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	letter-spacing: 0.02em !important;
	text-transform: uppercase;
	font-family: var(--bmc-font);
}

.bmc-caravan-card__build {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 190px;
	width: auto;
	margin: 0 auto;
	padding: 14px 24px;
	border: 2px solid var(--bmc-accent);
	border-radius: 4px;
	background: var(--bmc-accent);
	background-color: var(--bmc-accent);
	background-image: none;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
	font-family: var(--bmc-font);
	box-shadow: 0 4px 14px rgba(191, 136, 38, 0.28);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.bmc-caravan-card__build:hover,
.bmc-caravan-card__build:focus {
	background: var(--bmc-accent-hover);
	background-color: var(--bmc-accent-hover);
	border-color: var(--bmc-accent-hover);
	color: #ffffff;
	outline: none;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(191, 136, 38, 0.4);
}

.bmc-caravan-card__arrow {
	display: block;
	flex: 0 0 auto;
}

.bmc-empty,
.bmc-error {
	margin: 40px auto;
	text-align: center;
	color: #444;
	font-size: 16px;
}

@media only screen and (max-width: 1290px) {
	.bmc-caravan-card {
		width: calc(50% - 18px);
	}
}

@media only screen and (max-width: 991px) {
	.bmc-caravan-card__title {
		font-size: 22px !important;
	}

	.bmc-caravan-card__media {
		min-height: 180px;
	}
}

@media only screen and (max-width: 767px) {
	.bmc-brand-page {
		padding: 28px 12px 36px;
		overflow-x: hidden;
	}

	.bmc-brand-page__title {
		font-size: 24px !important;
		margin-bottom: 24px;
	}

	.bmc-caravan-grid {
		gap: 20px;
	}

	.bmc-caravan-card {
		width: 100%;
		max-width: 100%;
		padding: 24px 18px 28px;
		border-radius: 28px;
	}

	.bmc-caravan-card__title {
		font-size: 20px !important;
		margin-bottom: 18px;
	}

	.bmc-caravan-card__build {
		min-width: 0;
		width: 100%;
		max-width: 240px;
		padding: 14px 18px;
	}
}

@media only screen and (max-width: 660px) {
	.bmc-caravan-card {
		width: 100%;
		max-width: 100%;
	}

	.bmc-caravan-card__media {
		min-height: 150px;
	}

	.bmc-caravan-card__media img {
		max-height: 200px;
	}
}

/* Theme override shield */
.bmc-brand-page .bmc-caravan-card__build {
	background: var(--bmc-accent) !important;
	background-color: var(--bmc-accent) !important;
	background-image: none !important;
	color: #fff !important;
}

.bmc-brand-page .bmc-caravan-card__build:hover,
.bmc-brand-page .bmc-caravan-card__build:focus {
	background: var(--bmc-accent-hover) !important;
	background-color: var(--bmc-accent-hover) !important;
	color: #fff !important;
}
