.book-a-call {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 100;
	width: 408px;
	border-radius: 24px 24px 0 24px;
	padding: 28px 24px 24px;
	overflow: hidden;
}

.book-a-call::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--wp--preset--color--brand-primary);
	border-radius: 24px 24px 0 24px;
	-webkit-mask-image:
		linear-gradient(#000, #000),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cpath d='M88 24H128V128H24V88A64 64 0 0 1 88 24Z' fill='%23fff'/%3E%3Cpath d='M 0 0 L 24 0 A 24 24 0 0 0 0 24 Z' fill='%23fff' transform='translate(0,104) rotate(180 12 12)'/%3E%3Cpath d='M 0 0 L 24 0 A 24 24 0 0 0 0 24 Z' fill='%23fff' transform='translate(104,0) rotate(180 12 12)'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat, no-repeat;
	-webkit-mask-size:
		100% 100%,
		128px 128px;
	-webkit-mask-position:
		0 0,
		100% 100%;
	-webkit-mask-composite: destination-out;
	mask-image:
		linear-gradient(#000, #000),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cpath d='M88 24H128V128H24V88A64 64 0 0 1 88 24Z' fill='%23fff'/%3E%3Cpath d='M 0 0 L 24 0 A 24 24 0 0 0 0 24 Z' fill='%23fff' transform='translate(0,104) rotate(180 12 12)'/%3E%3Cpath d='M 0 0 L 24 0 A 24 24 0 0 0 0 24 Z' fill='%23fff' transform='translate(104,0) rotate(180 12 12)'/%3E%3C/svg%3E");
	mask-repeat: no-repeat, no-repeat;
	mask-size:
		100% 100%,
		128px 128px;
	mask-position:
		0 0,
		100% 100%;
	mask-composite: subtract;
}

.book-a-call--dismissed {
	display: none;
}

.book-a-call__dismiss {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: none;
	border-radius: 50%;
	background: none;
	color: var(--wp--preset--color--neutral-900);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.book-a-call__dismiss:hover,
.book-a-call__dismiss:focus-visible {
	background: rgba(255, 255, 255, 0.15);
}

.book-a-call h4,
.book-a-call p,
.book-a-call .wp-block-button {
	position: relative;
	z-index: 1;
}

.book-a-call h4 {
	font-size: 24px;
	line-height: 1.2;
	margin-bottom: 12px;
}

.book-a-call p {
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 20px;
}

.book-a-call__text {
	max-width: 312px;
}

.book-a-call__overlay {
	position: absolute;
	right: -6px;
	bottom: -6px;
	width: 104px;
	height: 104px;
	z-index: 1;
}

.book-a-call__photo {
	position: absolute;
	inset: 6px;
	border-radius: 50%;
	overflow: hidden;
}

.book-a-call__photo figure {
	margin: 0;
	width: 100%;
	height: 100%;
}

.book-a-call__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-color: var(--wp--preset--color--brand-primary);
}

@media (max-width: 480px) {
	.book-a-call {
		right: 16px;
		bottom: 16px;
		left: 16px;
		width: auto;
	}

	.book-a-call__text {
		max-width: none;
	}
}
