/******************************************************************************
 * LOCATIONS PAGE
 ******************************************************************************/

.locations-page {
	

	padding: 34px 40px 52px;

	background-color: var(--locations-background);
	background-color: var(--color-bg-main);
	color: var(--locations-text-color);
}

.locations-page__container {
	width: min(100%, 1320px);
	margin: 0 auto;
}

/******************************************************************************
 * PAGE HEADER
 ******************************************************************************/

.locations-page__header {
	margin-bottom: 34px;

	text-align: center;
}

.locations-page__title {
	margin: 0;

	color: var(--locations-color);

	font-family: "Bodoni XT", Georgia, "Times New Roman", serif;
	font-size: clamp(2.8rem, 5vw, 4rem);
	font-size: clamp(3rem, 4vw, 5rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.locations-page__separator {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;

	margin: 10px 0 22px;
}

.locations-page__separator span {
	display: block;

	width: 105px;
	height: 1px;

	background-color: var(--locations-divider-color);
}

.locations-page__separator i {
	display: block;

	width: 6px;
	height: 6px;

	border-radius: 50%;
	background-color: var(--locations-color);
}

.locations-page__intro {
	margin: 0;

	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: .93rem;
	line-height: 1.5;
}

/******************************************************************************
 * LOCATION
 ******************************************************************************/

.location {
	display: grid;
	grid-template-columns:
		minmax(260px, .78fr)
		minmax(400px, 1.45fr)
		minmax(320px, 1.13fr);
	grid-template-columns:
		minmax(330px, 1fr)
		minmax(330px, 1fr)
		minmax(330px, 1fr);
	align-items: stretch;
	gap: 14px;

	padding: 16px 0;
}

.location + .location {
	border-top: 1px solid rgba(109, 7, 26, .12);
}

/******************************************************************************
 * LOCATION CONTENT
 ******************************************************************************/

.location__content {
	display: flex;
	flex-direction: column;
	justify-content: center;

	padding: 4px 34px;
}

.location__city {
	margin: 0 0 10px;

	color: var(--locations-color);

	font-family: Georgia, "Times New Roman", serif;
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.location__name {
	margin: 0;

	color: var(--locations-color);

	font-family: "Bodoni XT", Georgia, "Times New Roman", serif;
	font-size: clamp(1.75rem, 2.4vw, 2.25rem);
	font-size: clamp(1.5rem, 2.4vw, 1.75rem);
	font-size: clamp(1.5rem, 2.4vw, 1.5rem);
	font-size: clamp(1.125rem, 2.4vw, 1.125rem);
	font-weight: lighter;
	line-height: 1.08;
}

/******************************************************************************
 * LOCATION SEPARATOR
 ******************************************************************************/

.location__separator {
	display: flex;
	align-items: center;
	gap: 9px;

	margin: 18px 0;
}

.location__separator span {
	display: block;

	width: 76px;
	height: 1px;

	background-color: rgba(109, 7, 26, .34);
}

.location__separator i {
	display: block;

	width: 5px;
	height: 5px;

	transform: rotate(45deg);

	background-color: var(--locations-color);
}

/******************************************************************************
 * DESCRIPTION
 ******************************************************************************/

.location__description {
	max-width: 290px;
	margin: 0 0 20px;

	font-size: .84rem;
	line-height: 1.55;
}

/******************************************************************************
 * ADDRESS
 ******************************************************************************/

.location__address {
	display: flex;
	align-items: center;
	gap: 18px;
}

.location__pin {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 48px;

	width: 48px;
	height: 48px;

	border-radius: 50%;

	background-color: rgba(109, 7, 26, .07);
}

.location__pin span {
	position: relative;

	display: block;

	width: 17px;
	height: 22px;
}

.location__pin span::before {
	content: "";

	position: absolute;
	top: 0;
	left: 50%;

	width: 15px;
	height: 15px;

	transform: translateX(-50%) rotate(-45deg);

	border-radius: 50% 50% 50% 0;
	background-color: var(--locations-color);
}

.location__pin span::after {
	content: "";

	position: absolute;
	top: 5px;
	left: 50%;

	width: 5px;
	height: 5px;

	transform: translateX(-50%);

	border-radius: 50%;
	background-color: #fff;
}

.location__address-content address {
	margin: 0 0 8px;

	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: .8rem;
	font-style: normal;
	line-height: 1.4;
}

.location__directions,
.location__directions:visited {
	color: var(--locations-color);

	font-size: .83rem;
	text-decoration: none;
}

.location__directions:hover,
.location__directions:visited:hover {
	color: #8f142a;
	text-decoration: underline;
}

.location__directions span {
	display: inline-block;
	margin-left: 4px;

	transition: transform .2s ease;
}

.location__directions:hover span {
	transform: translateX(4px);
}

/******************************************************************************
 * PHOTO
 ******************************************************************************/

.location__photo {
	min-width: 0;
	overflow: hidden;

	border-radius: 8px;
	background-color: #ececec;
}

.location__photo img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;
	object-position: center;
}

/******************************************************************************
 * GOOGLE MAP
 ******************************************************************************/

.location__map {
	min-width: 0;
	overflow: hidden;

	border-radius: 8px;
	background-color: #ececec;
}

.location__map iframe {
	display: block;

	width: 100%;
	height: 100%;

	border: 0;
}

/******************************************************************************
 * DESKTOP
 ******************************************************************************/

@media screen and (min-width: 1001px) {

	.location__photo,
	.location__map {
		height: 285px;
	}

}

/******************************************************************************
 * MEDIUM SCREENS
 ******************************************************************************/

@media screen and (max-width: 1150px) {

	.locations-page {
		padding-right: 28px;
		padding-left: 28px;
	}

	.location {
		grid-template-columns:
			minmax(240px, .8fr)
			minmax(340px, 1.3fr)
			minmax(280px, 1fr);
	}

	.location__content {
		padding-right: 20px;
		padding-left: 20px;
	}

	.location__description {
		font-size: .8rem;
	}

}

/******************************************************************************
 * TABLET
 ******************************************************************************/

@media screen and (max-width: 900px) {

	.locations-page {
		padding: 32px 24px 44px;
	}

	.location {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;

		padding: 28px 0;
	}

	.location__content {
		grid-column: 1 / -1;

		align-items: center;

		padding: 0 30px 8px;

		text-align: center;
	}

	.location__separator {
		justify-content: center;
	}

	.location__description {
		max-width: 600px;
	}

	.location__address {
		justify-content: center;

		text-align: left;
	}

	.location__photo,
	.location__map {
		height: 290px;
	}

}

/******************************************************************************
 * MOBILE
 ******************************************************************************/

@media screen and (max-width: 600px) {

	.locations-page {
		padding: 28px 18px 36px;
	}

	.locations-page__header {
		margin-bottom: 20px;
	}

	.locations-page__title {
		font-size: 2.5rem;
	}

	.locations-page__separator span {
		width: 72px;
	}

	.locations-page__intro {
		font-size: .88rem;
	}

	.location {
		grid-template-columns: 1fr;
		gap: 14px;

		padding: 26px 0;
	}

	.location__content {
		grid-column: auto;

		padding: 0 4px 12px;
	}

	.location__name {
		font-size: 1.9rem;
	}

	.location__description {
		max-width: none;

		font-size: .86rem;
	}

	.location__address {
		align-items: flex-start;
	}

	.location__photo,
	.location__map {
		height: 260px;
	}

}

/******************************************************************************
 * SMALL MOBILE
 ******************************************************************************/

@media screen and (max-width: 380px) {

	.locations-page {
		padding-right: 14px;
		padding-left: 14px;
	}

	.locations-page__title {
		font-size: 2.15rem;
	}

	.location__name {
		font-size: 1.65rem;
	}

	.location__address {
		gap: 12px;
	}

	.location__pin {
		flex-basis: 42px;

		width: 42px;
		height: 42px;
	}

}