/**
 * City pages (templates/city/*): /<city>-party-rentals.html and /<city>-<category>.html.
 * Built of the site blocks (b-productCard, b-equipmentCard, b-simpleArticle, b-faq, b-btn); here - only what they lack.
 */
.l-city {
	--city-green: #8AC53F;
	--city-black: #1B1C1C;
	--city-gray: #6D7173;
	--city-line: #EAEAEA;
	--city-bg: #F9F9F9;
	padding: 0 16px clamp(48px, 6vw, 96px);
	box-sizing: border-box;
	width: 100%;
	font-family: 'Plus Jakarta Sans', sans-serif;
	color: var(--city-black);
}

.b-city {
	margin: 0 auto;
	max-width: 1224px;
}

.b-city__section {
	margin-top: clamp(40px, 5vw, 72px);
}

.b-city__title {
	margin: 0 0 clamp(18px, 3vw, 28px);
	text-align: center;
	font-size: clamp(24px, 3vw, 36px);
	line-height: 1.25;
	font-weight: 700;
}

/* Breadcrumbs */
.b-cityCrumbs {
	padding: clamp(16px, 2vw, 24px) 0 0;
	font-size: 14px;
	line-height: 1.5;
	/* Fallbacks: the breadcrumbs of the catalog pages are outside .l-city */
	color: var(--city-gray, #6D7173);
	font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Catalog subcategory page (templates/category/show.php): the breadcrumbs above the top text */
.b-productsList > .b-cityCrumbs {
	padding-top: 0;
	margin-bottom: clamp(16px, 2vw, 24px);
}

.b-cityCrumbs__list {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.b-cityCrumbs__item + .b-cityCrumbs__item:before {
	content: '›';
	margin: 0 8px;
}

.b-cityCrumbs__link {
	color: var(--city-green, #8AC53F);
	text-decoration: none;
}

.b-cityCrumbs__link:hover {
	text-decoration: underline;
}

/* Title, introduction, photo, buttons */
.b-cityHero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
	margin-top: clamp(20px, 3vw, 36px);
}

.b-cityHero.-noPhoto {
	grid-template-columns: minmax(0, 1fr);
	margin-left: auto;
	margin-right: auto;
	max-width: 900px;
	text-align: center;
}

.b-cityHero__title {
	margin: 0 0 clamp(14px, 2vw, 20px);
	font-size: clamp(28px, 4vw, 52px);
	line-height: 1.15;
	font-weight: 700;
}

.b-cityHero__intro {
	color: var(--city-gray);
	font-size: clamp(15px, 1.4vw, 18px);
	line-height: 1.6;
}

.b-cityHero__intro > :first-child {
	margin-top: 0;
}

.b-cityHero__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
}

@media screen and (max-width: 768px) {
	.b-cityHero {
		grid-template-columns: minmax(0, 1fr);
	}
	.b-cityHero__photo {
		order: -1;
	}
}

.b-cityCta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(18px, 2vw, 24px);
}

.b-cityCta.-center,
.b-cityHero.-noPhoto .b-cityCta {
	justify-content: center;
}

.b-cityCta .b-btn {
	text-decoration: none;
}

.b-cityCta .b-btn.-white {
	background: #fff;
	box-shadow: inset 0 0 0 2px var(--city-green);
}

.b-cityCta .b-btn.-white .b-btn__text {
	color: var(--city-black);
}

/* Category tiles: the home page equipment list without its own margins */
.b-cityTiles {
	margin: 0;
}

/* "Load More" */
.b-cityMore {
	display: flex;
	justify-content: center;
	margin-top: clamp(24px, 3vw, 40px);
}

/* Parks & venues, events */
.b-cityPlaces {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(24px, 4vw, 56px);
}

.b-cityPlaces__title {
	margin: 0 0 16px;
	font-size: clamp(22px, 2.5vw, 30px);
	font-weight: 700;
}

.b-cityPlaces__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.b-cityPlaces__item {
	padding: 14px 18px;
	border: 1px solid var(--city-line);
	border-radius: 8px;
	background: var(--city-bg);
}

.b-cityPlaces__name {
	font-weight: 700;
	color: var(--city-black);
	text-decoration: none;
}

a.b-cityPlaces__name {
	color: var(--city-green);
}

a.b-cityPlaces__name:hover {
	text-decoration: underline;
}

.b-cityPlaces__text {
	margin-top: 4px;
	color: var(--city-gray);
	font-size: 15px;
	line-height: 1.5;
}

/* Map */
.b-cityMap__frame {
	display: block;
	width: 100%;
	height: clamp(280px, 40vw, 450px);
	border: 0;
	border-radius: 16px;
}

/* Gallery */
.b-cityGallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(12px, 2vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media screen and (max-width: 768px) {
	.b-cityGallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.b-cityGallery__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.b-cityGallery__caption {
	margin-top: 6px;
	color: var(--city-gray);
	font-size: 14px;
	text-align: center;
}

/* FAQ accordion on the b-faq styles (faq.min.css) */
.b-cityFaq .b-faq {
	margin-top: 0;
}

.b-cityFaq__item + .b-cityFaq__item .b-faq__question {
	border-top: 1px solid var(--city-line);
}

.b-cityFaq .b-faq__question {
	cursor: pointer;
	list-style: none;
}

.b-cityFaq .b-faq__question::-webkit-details-marker {
	display: none;
}

.b-cityFaq .b-faq__question:after {
	content: '+';
	position: absolute;
	top: 50%;
	right: clamp(18px, 3vw, 28px);
	transform: translateY(-50%);
	color: var(--city-green);
	font-size: 28px;
	font-weight: 400;
}

.b-cityFaq .b-faq__question {
	padding-right: 56px;
}

.b-cityFaq__item[open] .b-faq__question:after {
	content: '−';
}

/* Link lists: blog articles, cities, the same category in other cities */
.b-cityLinks {
	display: grid;
	gap: 10px;
	margin: 0 auto;
	padding: 0;
	max-width: 808px;
	list-style: none;
	text-align: center;
}

.b-cityLinks.-inline {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 14px;
	max-width: none;
}

.b-cityLinks a {
	color: var(--city-green);
	font-weight: 700;
	text-decoration: none;
}

.b-cityLinks a:hover {
	text-decoration: underline;
}

.b-cityLinks.-inline .b-cityLinks__item a {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid rgba(138, 197, 63, .35);
	border-radius: 30px;
	background: rgba(138, 197, 63, .1);
}

/* Final call */
.b-cityFinal {
	padding: clamp(28px, 4vw, 48px) 16px;
	border-radius: 16px;
	background: var(--city-bg);
}

.b-cityFinal .b-city__title {
	margin-bottom: 0;
}

/* Lists of the texts: .b-simpleArticle > * is 100% wide, the list indent made them wider than the column */
.l-city .b-simpleArticle > ul,
.l-city .b-simpleArticle > ol {
	box-sizing: border-box;
}
