.gs-child-listing {
	margin-top: 32px;
}

.gs-cards-widget__title {
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 20px;
	text-align: center;
}

.gs-child-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.gs-child-card {
	aspect-ratio: 1 / 1;
	background: #fff;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	color: inherit;
	display: block;
	min-height: 100%;
	overflow: hidden;
	position: relative;
	text-decoration: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.gs-child-card:hover,
.gs-child-card:focus {
	border-color: #8f8f8f;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
	color: inherit;
	outline: none;
	transform: translateY(-2px);
}

.gs-child-card__image,
.gs-child-card__placeholder {
	background: #f1f3f5;
	display: grid;
	height: 100%;
	inset: 0;
	place-items: center;
	position: absolute;
	width: 100%;
}

.gs-child-card__image img {
	display: block;
	height: 100% !important;
	object-fit: cover !important;
	width: 100% !important;
}

.gs-child-card__placeholder {
	color: #555;
	font-size: 0;
	font-weight: 700;
	line-height: 1.35;
	padding: 18px;
	text-align: center;
}

.gs-child-card__title {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0));
	bottom: 0;
	color: #fff;
	display: flex;
	font-size: 18px;
	font-weight: 700;
	left: 0;
	line-height: 1.35;
	min-height: 45%;
	padding: 18px;
	position: absolute;
	right: 0;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
	top: auto;
	align-items: flex-end;
}

.gs-terminal-offer {
	margin-top: 32px;
}

h1 {
	font-size: 34px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 24px;
	text-align: center;
}

.gs-iframe-wrapper {
	background: #f5f5f5;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	overflow: hidden;
	width: 100%;
}

.gs-iframe-wrapper iframe {
	border: 0;
	display: block;
	min-height: 900px;
	width: 100%;
}

.gs-iframe-missing {
	background: #fff8e5;
	border: 1px solid #f0d481;
	border-radius: 8px;
	color: #5c4600;
	padding: 14px 16px;
}

.gs-terminal-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	margin-top: 20px;
}

.gs-reserve-button {
	appearance: none;
	background: #bb3e3e;
	background: linear-gradient(to bottom, #bb3e3e 0%, #9f3535 100%);
	border: none;
	border-radius: 4px;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.25;
	min-height: 60px;
	min-width: 260px;
	padding: 16px 34px;
	text-transform: none;
}

.gs-reserve-button:hover,
.gs-reserve-button:focus {
	background: #9f3535;
	background: linear-gradient(to bottom, #c74949 0%, #8f3030 100%);
	outline: 2px solid rgba(187, 62, 62, 0.25);
	outline-offset: 2px;
}

.gs-external-link {
	display: none;
}

.gs-external-link--disabled {
	color: #777;
	text-decoration: none;
}

.gs-modal {
	display: none;
	inset: 0;
	position: fixed;
	z-index: 99999;
}

.gs-modal.is-open {
	display: block;
}

.gs-modal__overlay {
	background: rgba(0, 0, 0, 0.62);
	inset: 0;
	position: absolute;
}

.gs-modal__dialog {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
	left: 50%;
	max-height: calc(100vh - 40px);
	max-width: 720px;
	overflow: auto;
	padding: 28px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 32px);
}

.gs-modal__close {
	align-items: center;
	appearance: none;
	background: #f1f1f1;
	border: 1px solid #d5d5d5;
	border-radius: 8px;
	color: #222;
	cursor: pointer;
	display: flex;
	font-size: 28px;
	height: 40px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: 14px;
	top: 14px;
	width: 40px;
}

.gs-modal__title {
	margin: 0 48px 18px 0;
}

.gs-modal__content {
	line-height: 1.5;
}

body.gs-modal-open {
	overflow: hidden;
}

@media (max-width: 700px) {
	.gs-child-grid {
		grid-template-columns: 1fr;
	}

	.gs-iframe-wrapper iframe {
		min-height: 620px;
	}

	.gs-modal__dialog {
		padding: 22px;
		width: calc(100% - 20px);
	}
}
