.mc-modal__backdrop[hidden],
.mc-modal__panel[hidden] {
	display: none;
}

.mc-modal__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 9998;
}

.mc-modal__panel {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: min(1200px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	overflow: auto;
	background: rgba(106, 25, 26, 0.91);
	color: #fff !important;
	padding: 16px;
	z-index: 9999;
	border-radius: 8px;
	margin: 50px 5px 50px; /* phone top and phone button bottom */
}

.mc-modal__close {
	margin-bottom: 12px;
	margin-left: auto;
	display: block;
}

.mc-modal__trigger {
	background-color: var(--wp--preset--color--red);
	border-radius: 48px;
	color: var(--wp--preset--color--white);
	font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.25), 18px);
	font-weight: 500;
	padding-top: 10px;
	padding-bottom: 10px;
	border: 0;
	padding-right: 12px;
	padding-left: calc(1.333em + 2px);
}
.mc-modal__trigger::after {
	content: "";
	background: #fff url(../../themes/chbadvisors/assets/images/icon-black-arrow-right.svg) no-repeat center;
	border-radius: 100%;
	display: inline-block;
	height: 37px;
	width: 37px;
	margin-left: 10px;
	vertical-align: middle;
}

/* temporary */
.field-is-excerpt {
	max-height: 80px;
	overflow: hidden;
}