.tm-centre-locator {
	display: grid;
	grid-template-columns: minmax(300px, 450px) minmax(0, 1fr);
	gap: 60px;
	width: 100%;
	padding: 80px 20px;
	box-sizing: border-box;
	max-width: 2000px;
	margin: 0 auto;
}

.tm-centre-locator *,
.tm-centre-locator *::before,
.tm-centre-locator *::after {
	box-sizing: border-box;
}



.tm-centre-result__icon {
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
    align-self: start;
}

.tm-centre-result__icon img {
	display: block;
	width: 28px;
	height: 28px;
}

.tm-centre-results {
	margin-top: 35px;
}

.tm-centre-results__heading {
	margin: 0 0 16px;
	color: #47244f;
	font-size: 20px;
	font-weight: 400;
}

.tm-centre-result {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) 24px;
	gap: 16px;
	align-items: center;
	width: 100%;
	padding: 18px 0;
	border: 0;
	border-bottom: 1px dotted rgba(63, 31, 75, 0.35);
	background: transparent;
	color: inherit;
	text-align: left;
	cursor: pointer;
}

.tm-centre-result__content {
	display: block;
	min-width: 0;
}

.tm-centre-result__name,
.tm-centre-result__distance,
.tm-centre-result__telephone {
	display: block;
}

.tm-centre-result__name {
	margin-bottom: 4px;
	color: #47244f;
	font-family: Georgia, serif;
	font-size: 19px;
	font-style: italic;
}

.tm-centre-result__distance,
.tm-centre-result__telephone {
	color: #715f74;
	font-size: 14px;
	line-height: 1.5;
}

.tm-centre-result__arrow {
	color: #47244f;
	font-size: 28px;
	line-height: 1;
}

.tm-centre-result:hover .tm-centre-result__name {
	text-decoration: underline;
}





/* Left panel */

.tm-centre-locator__panel {
	position: relative;
	min-width: 0;
	padding: 20px 0;
}

.tm-centre-locator__search-view h2 {
	margin: 0 0 14px;
	font-size: 30px;
	line-height: 1.15;
	font-weight: 400;
	color: #47244f;
    padding-bottom: 10px;
}

.tm-centre-locator__search-view h2 em {
	font-family: Georgia, serif;
	font-weight: 400;
}

.tm-centre-locator__search-view > p {
	margin: 0 0 28px;
	font-size: 16px;
	line-height: 1.5;
	color: #654d69;
}

.tm-centre-locator__search {
	display: flex;
	align-items: center;
	gap: 18px;
	padding-bottom: 13px;
}

#tm-centre-postcode {
	flex: 1;
	min-width: 0;
}

#tm-centre-postcode gmp-place-autocomplete {
	width: 100%;
	min-height: 50px;
	border: 0;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 4px 14px rgba(56, 29, 64, 0.1);
}

.tm-centre-locator__location {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	padding: 0;
	border: 0;
	border-bottom: 1px solid currentColor;
	background: none;
	color: #47244f;
	font: inherit;
	cursor: pointer;
}

.tm-centre-locator__location span {
	font-size: 17px;
}

.tm-centre-search__error {
	margin: 12px 0 0;
	color: #a33c3c;
}

.tm-centre-nearby__heading { padding: 35px 0px 20px; font-family: Louize Italic; font-size: 23px; }
.tm-centre-nearby { padding: 10px 0 40px; }
.tm-centre-nearby__name { padding-right: 0; max-width: 200px; white-space: nowrap; overflow: hidden; }
.tm-centre-nearby__distance { padding-right: 5px; white-space: nowrap; }
.tm-centre-talk__datetime { padding: 5px 0; font-size: 16px; }

.tm-centre-talk__weekday,
.tm-centre-talk__day,
.tm-centre-talk__month { font-size: 16px; }

.tm-centre-nearby__item {
	display: block;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    font: inherit;
    cursor: pointer;
    margin: 0px 0 10px;
    font-size: 16px;
    color: #462850;
    text-decoration: underline;
    text-align: left;
}

.tm-centre-talks__show-more {
	display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 9px 17px;
    border: 0;
    border-radius: 999px;
    background: #a8cce4;
    color: #2f1540;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    margin: 20px 0 40px;
    font-size: 16px;
}


/* Centre view */

.tm-centre-locator__centre-view {
	position: relative;
	height: 100%;
	padding-right: 24px;
    overflow-y: scroll;
    max-height: 740px;
}

.tm-centre-locator__close {
	position: absolute;
	top: 0;
	right: 8px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: none;
	color: #7a647d;
	font-size: 34px;
	font-weight: 200;
	line-height: 1;
	cursor: pointer;
}

.tm-centre-card {
	padding-bottom: 28px;
	border-bottom: 1px dotted rgba(63, 31, 75, 0.35);
}

.tm-centre-card__title {
	margin: 0 40px 8px 0;
	font-family: Louize Italic;
	font-size: 32px;
	line-height: 1.25;
	color: #47244f;
}

.tm-centre-card__meta {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.45;
	color: #715f74;
}

.tm-centre-card__meta a {
	margin-left: 8px;
	color: #47244f;
	text-decoration: underline;
}

.tm-centre-card__button {
	color: #47244f;
	font-size: 16px;
	margin-right: 10px;
}

.tm-map-pin__glyph {
	display: block;
	color: #efc563;
	font-size: 8px;
	line-height: 1;
}


.tm-centre-locator a[href^="tel"] { text-decoration: underline; }

/* Talk groups */

.tm-centre-talks {
	padding-top: 28px;
}

.tm-centre-talks__heading {
	margin: 0 0 18px;
	font-family: Louize Italic;
	font-size: 23px;
	color: #47244f;
}

.tm-centre-talk {
	padding: 20px 0;
	border-bottom: 1px dotted rgba(63, 31, 75, 0.35);
}

.tm-centre-talk__summary {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr) 13px;
	gap: 16px;
	align-items: start;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	text-align: left;
	cursor: pointer;
}

.tm-centre-talk__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	border-radius: 16px;
	background: #fcfbef;
}

.tm-centre-talk__content {
	min-width: 0;
}

.tm-centre-talk__location_type { margin: 0 0 6px 0; }
.tm-centre-talk__location_type_label {
	font-size: 15px;
	text-transform: capitalize;
	padding: 6px 10px 6px 10px;
	margin: 0 0 6px 0;
	border-radius: 15px;
	background: #ebe6de;
	display: inline-block;
}

.tm-centre-talk__type img { max-width: 100%; border-radius: 16px; }

.tm-centre-talk__type,
.tm-centre-talk__date,
.tm-centre-talk__time,
.tm-centre-talk__title {
	display: block;
}

.tm-centre-talk__type,
.tm-centre-talk__date,
.tm-centre-talk__time {
	font-size: 16px;
	line-height: 1.45;
}

.tm-centre-talk__title {
	margin-top: 2px;
    font-size: 19px;
    font-style: italic;
    line-height: 1.3;
    font-family: Louize Italic;
}

.tm-centre-talk__arrow {
	font-size: 28px;
	line-height: 1;
}

.tm-centre-talk__body {
	display: none;
	padding: 18px 0 0 92px;
}

.tm-centre-talk.is-open .tm-centre-talk__body {
	display: block;
}

.tm-centre-talk.is-open .tm-centre-talk__arrow {
	transform: rotate(90deg);
}


/* Booking form */

.tm-centre-booking {
	padding: 28px 22px 20px;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(71, 36, 79, 0.08);
}

.tm-centre-booking__field {
	margin-bottom: 24px;
}

.tm-centre-booking label {
	display: block;
	margin-bottom: 8px;
	font-size: 16px;
	color: #756978;
}

.tm-centre-booking input {
	width: 100%;
	padding: 8px 0 10px;
	border: 0;
	border-bottom: 1px solid #b9aebe;
	border-radius: 0;
	background: transparent;
	font: inherit;
	outline: none;
}

.tm-centre-booking input:focus {
	border-bottom-color: #47244f;
}

.tm-centre-booking button {
	width: 100%;
	min-height: 54px;
	border: 0;
	border-radius: 999px;
	background: #a8cce4;
	color: #2f1540;
	font: inherit;
	font-size: 17px;
	cursor: pointer;
}


/* Map */

.tm-centre-locator__map-wrap {
	min-width: 0;
}

#tm-centre-map {
	width: 100%;
	height: min(760px, calc(100vh - 130px));
	min-height: 600px;
	border-radius: 28px;
	overflow: hidden;
	background: #d8dfe5;
}


/* Google autocomplete cleanup */

gmp-place-autocomplete {
	--gmp-mat-color-surface: #ffffff;
	--gmp-mat-color-on-surface: #47244f;
	--gmp-mat-color-primary: #47244f;
}


/* Tablet */

@media (max-width: 1100px) {

	.tm-centre-locator {
		grid-template-columns: 340px minmax(0, 1fr);
		gap: 24px;
	}

	.tm-centre-locator__search {
		align-items: stretch;
		flex-direction: column;
	}

	.tm-centre-locator__location {
		align-self: flex-start;
	}

}


/* Mobile */

@media (max-width: 767px) {

	.tm-centre-locator {
		display: block;
		padding: 20px;
	}

	.tm-centre-locator__panel {
		padding: 0 0 24px;
	}

	.tm-centre-locator__centre-view {
		max-height: none;
		padding-right: 0;
		overflow: visible;
	}

	#tm-centre-map {
		height: 420px;
		min-height: 420px;
		border-radius: 18px;
	}

	.tm-centre-talk__summary {
		grid-template-columns: 64px minmax(0, 1fr) 20px;
		gap: 12px;
	}

	.tm-centre-talk__icon {
		width: 64px;
		height: 64px;
	}

	.tm-centre-talk__body {
		padding-left: 0;
	}

}