/* 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");
}

/* Sizes, colours and breakpoints copied from the old theme's timeline. */
.ia-timeline__item {
	position: relative;
	display: flex;
	gap: 50px;
	padding-bottom: 12px;
	line-height: 1.8;
}

.ia-timeline__item:not(:last-child)::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 33px;
	border-left: 4px dotted #e59d0d;
	content: "";
}

.ia-timeline__number {
	position: relative;
	z-index: 1;
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	font-family: "Indie Flower", cursive;
	font-size: 22px;
	line-height: 1;
	color: #fff;
	background: #e59d0d;
	border-radius: 50%;
	box-sizing: border-box;
}

.ia-timeline__number::before {
	position: absolute;
	inset: 5px;
	border: 3px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	content: "";
}

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

.ia-timeline__body h3 {
	margin: 20px 0;
	font-family: Oxygen, sans-serif;
	font-size: 22px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.5;
}

@media (max-width: 767px) {
	.ia-timeline__item {
		gap: 30px;
	}
}

@media (max-width: 500px) {
	.ia-timeline__item:not(:last-child)::before {
		left: 28px;
		border-left-width: 3px;
	}

	.ia-timeline__number {
		width: 60px;
		height: 60px;
	}

	.ia-timeline__body h3 {
		margin: 10px 0 20px;
	}
}

@media (max-width: 450px) {
	.ia-timeline__item {
		display: block;
		padding-bottom: 0;
		margin-bottom: 30px;
		overflow: hidden;
	}

	.ia-timeline__item:not(:last-child)::before {
		display: none;
	}

	.ia-timeline__number {
		float: left;
		margin: 0 10px 10px 0;
	}
}

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

.ia-contact li {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 0 0 6px;
	font-family: Oxygen, sans-serif;
	font-weight: 700;
}

.ia-contact .ia-icon {
	flex: none;
	box-sizing: border-box;
	width: 25px;
	height: 25px;
	padding: 6px;
	color: #fff;
	background: #e59d0d;
	border-radius: 50%;
}

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

.ia-social a[class] {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #fff;
	background: #e59d0d;
	border-radius: 3px;
	opacity: 0.8;
	transition: opacity 0.2s;
}

.ia-social a[class]:hover {
	opacity: 1;
}

.ia-social a.ia-social__facebook {
	background: #3b5998;
}

.ia-social a.ia-social__twitter {
	background: #00acee;
}

.ia-social a.ia-social__instagram {
	background: #3f729b;
}

.ia-social a.ia-social__youtube {
	background: #cd201f;
}

.ia-social .ia-icon {
	width: 22px;
	height: 22px;
}

.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;
	font-size: 1.333rem;
}

.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;
	}
}
