.modal-search-button svg {
	transform: rotate(270deg);
}

.modal {
	position: fixed;
	z-index: 1050;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.15s linear, visibility 0.15s linear;
	overflow-x: hidden;
	overflow-y: auto;
}
.modal.open,
.modal--is-visible {
	opacity: 1;
	visibility: visible;
}
.modal.hidden {
	display: none;
}

/* Bootstrap-like Modal Dialog */
.modal-dialog {
	position: relative;
	width: auto;
	margin: 1.75rem auto;
	max-width: 500px;
	pointer-events: none;
	transform: scale(0.8);
	transition: transform 0.3s ease-out;
}
.modal--is-visible .modal-dialog {
	transform: scale(1);
}
@media (max-width: 576px) {
	.modal-dialog {
		max-width: calc(100% - 2rem);
		margin: 1rem;
	}
}

/* Team Member Modal - Larger Width */
.modal-dialog--team-member {
	max-width: 800px;
}
@media (max-width: 768px) {
	.modal-dialog--team-member {
		max-width: calc(100% - 2rem);
	}
}

/* Bootstrap-like Modal Content */
.modal-content {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	pointer-events: auto;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 0.3rem;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
	outline: 0;
}

/* Modal Close Button - Positioned Absolutely */
.modal-close-btn {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 10;
	padding: 0;
	background-color: transparent;
	border: 0;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	opacity: 0.5;
	cursor: pointer;
	transition: opacity 0.15s ease;
}
.modal-close-btn:hover {
	opacity: 0.75;
}
.modal-close-btn span {
	display: inline-block;
	width: 1em;
	height: 1em;
}

/* Team Member Modal Body - Side by Side Layout */
.modal-body--team-member {
	position: relative;
	flex: 1 1 auto;
	padding: 0;
}
.modal-body--team-member .modal-body__inner {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-height: 400px;
}
@media (min-width: 768px) {
	.modal-body--team-member .modal-body__inner {
		flex-direction: row;
		min-height: 500px;
	}
}

/* Team Member Modal Image - Left Side (40%) */
.modal-body--team-member .modal-body__image {
	flex: 0 0 40%;
	min-width: 0;
	overflow: hidden;
}
.modal-body--team-member .modal-body__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	display: block;
}
@media (max-width: 767px) {
	.modal-body--team-member .modal-body__image {
		flex: 0 0 auto;
		height: 300px;
	}
	.modal-body--team-member .modal-body__image img {
		border-radius: 0.3rem 0.3rem 0 0;
	}
}

/* Team Member Modal Content - Right Side (60%) */
.modal-body--team-member .modal-body__content {
	flex: 0 0 60%;
	padding: 2rem;
	display: flex;
	flex-direction: column;
}
@media (max-width: 767px) {
	.modal-body--team-member .modal-body__content {
		flex: 1 1 auto;
		padding: 1.5rem;
	}
}

/* Team Member Modal Name */
.modal-name {
	margin: 0 0 0.5rem 0;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
	color: #212529;
}
@media (max-width: 767px) {
	.modal-name {
		font-size: 1.5rem;
	}
}

/* Team Member Modal Position */
.modal-position {
	margin: 0 0 1rem 0;
	font-size: 1rem;
	font-weight: 400;
	color: #6c757d;
	text-transform: none;
	letter-spacing: normal;
}

/* Team Member Modal LinkedIn Indicator */
.modal-linkedin-indicator {
	margin: 0 0 1.5rem 0;
}
.modal-linkedin-link {
	display: inline-block;
	text-decoration: none;
	color: #7ae15a;
	font-weight: 600;
	font-size: 1rem;
	transition: opacity 0.15s ease;
}
.modal-linkedin-link:hover {
	opacity: 0.8;
	text-decoration: none;
	color: #7ae15a;
}
.modal-linkedin-text {
	display: inline-block;
}

/* Team Member Modal Blurb */
.modal-blurb {
	color: #212529;
	line-height: 1.6;
	font-size: 1rem;
	flex: 1;
}
.modal-blurb p {
	margin-bottom: 1rem;
}
.modal-blurb p:last-child {
	margin-bottom: 0;
}

/* Standard Modal Body (for other modals) */
.modal-body {
	position: relative;
	flex: 1 1 auto;
	padding: 1rem;
}
.modal-body__inner {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.modal-body__inner {
		flex-direction: row;
		align-items: flex-start;
	}
}
.modal-body__image {
	flex-shrink: 0;
}
.modal-body__image img {
	width: 150px;
	height: 150px;
	object-fit: cover;
	border-radius: 50%;
	margin: 0 auto;
	display: block;
}
@media (min-width: 768px) {
	.modal-body__image {
		margin-right: 0rem;
	}
	.modal-body__image img {
		margin: 0;
	}
}
.modal-body__content {
	flex: 1;
}

/* Bootstrap-like Modal Footer */
.modal-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	padding: 0.75rem;
	border-top: 1px solid #dee2e6;
	border-bottom-right-radius: calc(0.3rem - 1px);
	border-bottom-left-radius: calc(0.3rem - 1px);
}

/* Body scroll lock when modal is open */
body.modal-open,
body.no-scroll {
	overflow: hidden;
	padding-right: 0;
}
.modal__image-area {
	background-color: var(--color-black-mid);
}
.modal__image-area .modal-photo__tm-photo-large {
	height: 100%;
	width: 100%;
	object-fit: cover;
}
@media screen and (max-width: 1024px) {
	.modal__image-area {
		display: none;
	}
}
.modal__content {
	position: relative;
	padding: 8rem 6rem;
	max-width: 640px;
	width: 100%;
	overflow-y: auto;
}
@media screen and (max-width: 640px) {
	.modal__content {
		padding: 3rem 2rem;
	}
}
.modal__content-container {
	max-width: 60rem;
}
@media screen and (max-width: 640px) {
	.modal__content-container {
		overflow-y: scroll;
	}
}
.modal__content-container .modal-profile__macil-logo {
	max-width: 19rem;
	height: auto;
	margin-bottom: 8rem;
}
@media screen and (max-width: 1024px) {
	.modal__content-container .modal-profile__macil-logo {
		display: none;
	}
}
.modal__content-container .modal-profile__tm-photo {
	display: none;
	width: 18rem;
	height: 18rem;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 4rem;
}
@media screen and (max-width: 1024px) {
	.modal__content-container .modal-profile__tm-photo {
		display: block;
	}
}
@media screen and (max-width: 640px) {
	.modal__content-container .modal-profile__tm-photo {
		width: 12rem;
		height: 12rem;
		margin-bottom: 2rem;
	}
}
.modal__content-container .modal-profile__position {
	display: block;
	font-family: var(--font-primary);
	font-size: 1.6rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 4rem;
}

button[data-modal-close] {
	cursor: pointer;
	appearance: none;
	border: none;
	background-color: transparent;
	position: fixed;
	top: 8rem;
	right: 6rem;
	transition: all 0.2s ease;
}
@media screen and (max-width: 640px) {
	button[data-modal-close] {
		top: 3rem;
		right: 2rem;
	}
}
button[data-modal-close]:hover {
	transform: scale(1.2);
}
button[data-modal-close] > * {
	height: 40px;
	width: 40px;
}

@keyframes slideDown {
	from {
		transform: scaleY(90%) translateY(-10px);
		opacity: 0;
	}
	to {
		transform: scaleY(100%) translateY(0px);
		opacity: 1;
	}
}
.page--single-event--fi {
	aspect-ratio: 16/9;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 64px;
	max-width: 720px;
	margin: 0 auto 64px auto;
}
.page--single-event--fi img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.modal .wp-element-button,
.modal .wp-block-button__link {
	border-radius: 0;
}

.icon-event {
	height: 20px;
	width: 20px;
}
.share-link {
	background-color: #3b5998;
	overflow: hidden;
	padding: 4px 4px;
	color: #fff;
	border-radius: 3px;
	text-decoration: none;
	display: inline-flex;
	gap: 16px;
}
.share-link .share-link-icon {
	margin-left: 10px;
	font-weight: 600;
	font-size: 27px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	line-height: 1.1;
}
.share-link .share-link-text {
	font-size: 14px;
	margin-right: 10px;
	font-weight: 600;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

input,
textarea,
select {
	border-radius: 0;
	font-family: var(--font-body);
	border: 0px solid #000;
	border-radius: 0px;
	color: #000;
	letter-spacing: 0.5px;
	font-size: 1rem;
	line-height: 1.5;
}
input:focus,
textarea:focus,
select:focus {
	outline: 0;
}

input[type='submit'] {
	cursor: pointer;
	background-color: var(--wp--preset--color--contrast);
	border-radius: 32px;
	border-width: 0;
	color: var(--wp--preset--color--base);
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	padding: calc(0.667em + 2px) calc(1.333em + 2px);
	text-decoration: none;
}
input[type='submit']:hover {
	background-color: #8080b6;
	color: var(--wp--preset--color--base);
}

input[type='radio'] {
	display: inline-flex;
	appearance: none;
	border: 1px solid #000;
	height: 16px;
	width: 16px;
}
input[type='radio']:checked {
	border-width: 8px;
}

textarea {
	resize: vertical;
}

.wp-block-real-utilities-rich-text {
	overflow: hidden;
}

.extend-img-left {
	display: flex;
	width: 200%;
	right: 0;
	position: relative;
	float: right;
	height: 400px;
	overflow: hidden;
}

.extend-img-left img {
	width: 100%;
	object-fit: cover;
	object-position: center;
}

.extend-img-right {
	display: flex;
	width: 200%;
	left: 0;
	position: relative;
	float: left;
	height: 400px;
	overflow: hidden;
}

.extend-img-right img {
	width: 100%;
	object-fit: cover;
	object-position: center;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
}

.wp-block-button.tab-button > .wp-block-button__link {
	background-color: transparent;
	color: var(--wp--preset--color--contrast);
	border-bottom: 4px solid transparent;
}

.wp-block-button.tab-button:not(.active):hover > .wp-block-button__link {
	background-color: transparent;
	color: var(--wp--preset--color--contrast);
	border-bottom: 4px solid rgba(122, 225, 90, 0.5);
}

.wp-block-button.tab-button.active > .wp-block-button__link {
	background-color: transparent;
	color: var(--wp--preset--color--contrast);
	border-bottom: 4px solid #7ae15a;
}
