/* The shortcodes in tour and page texts. Colours fall back so they work with any theme. */

.ia-icon {
	width: 20px;
	height: 20px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ia-tick {
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-right: 8px;
	vertical-align: -2px;
	background: var(--wp--preset--color--green, #01cb68);
	-webkit-mask: var(--ia-tick) center / contain no-repeat;
	mask: var(--ia-tick) center / contain no-repeat;
	--ia-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='4'%3E%3Cpath d='M3 13l6 6L21 6'/%3E%3C/svg%3E");
}

.ia-tick--off {
	background: #c44;
	--ia-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='4'%3E%3Cpath d='M5 5l14 14M19 5L5 19'/%3E%3C/svg%3E");
}

.ia-timeline__item {
	position: relative;
	display: flex;
	gap: 20px;
	padding-bottom: 24px;
}

.ia-timeline__item:not(:last-child)::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 21px;
	width: 2px;
	background: #e4e4e4;
	content: "";
}

.ia-timeline__number {
	position: relative;
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	font-weight: 700;
	color: #333;
	background: #fff;
	border: 2px solid #e4e4e4;
	border-radius: 50%;
	box-sizing: border-box;
}

.ia-timeline__body {
	min-width: 0;
	flex: 1;
}

.ia-timeline__body h3 {
	margin: 8px 0;
	font-size: 1.2rem;
}

.ia-contact {
	margin: 20px 0;
	padding: 0;
	list-style: none;
}

.ia-contact li {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 4px 0;
}

.ia-social {
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 12px 0;
}

.ia-sc-subtitle {
	margin-top: 0;
}

.ia-sc-icon {
	margin-bottom: 24px;
}

.ia-sc-icon .ia-icon {
	width: 48px;
	height: 48px;
	color: var(--wp--preset--color--accent, #e59d0d);
}

.ia-map {
	display: block;
	width: 100%;
	border: 0;
}

.ia-reviews {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}

.ia-review {
	padding: 20px;
	background: #fff;
	border-radius: 3px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.ia-review__by {
	margin: 8px 0 0;
	font-weight: 700;
}

.ia-faq-group {
	margin-bottom: 40px;
	padding: 30px 40px;
	background: #fff;
	border-radius: 3px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.ia-faq-group .ia-title {
	margin: -30px -40px 24px;
	padding: 24px 40px 18px;
}

.ia-faq {
	padding: 18px 0;
	border-bottom: 1px solid #eee;
}

.ia-faq:last-child {
	border-bottom: 0;
}

.ia-faq summary {
	display: flex;
	gap: 14px;
	align-items: center;
	min-height: 48px;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.ia-faq summary::-webkit-details-marker {
	display: none;
}

.ia-faq summary::before {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	font-size: 1.3rem;
	color: #fff;
	background: var(--wp--preset--color--accent, #e59d0d);
	border-radius: 50%;
	content: "?";
}

.ia-faq[open] summary::before {
	background: var(--wp--preset--color--green, #01cb68);
	content: "i";
}

.ia-faq__answer {
	padding: 8px 0 0 62px;
}

@media (max-width: 600px) {
	.ia-faq-group {
		padding: 20px;
	}

	.ia-faq-group .ia-title {
		margin: -20px -20px 16px;
		padding: 18px 20px 14px;
	}

	.ia-faq__answer {
		padding-left: 0;
	}
}
