/*--------------------------------------------------------------
# Custom ACF Blocks SCSS
--------------------------------------------------------------*/

/* Event speakers */
:root {
	--fancybox-bg: rgba(29, 88, 129, 0.3);
}

.block-event-speakers * {
	color: inherit;
}

@media all and (min-width: 768px) {
	.block-event-speakers-list-item-container {
		display: flex;
		flex-direction: column;
		height: 100%;
	}
}

.block-event-speakers-block-title {
	text-align: center;
}

.block-event-speakers-list-container {
	/*overflow: hidden;*/
}

.block-event-speakers-list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0 -47px;
	justify-content: center;
}

.block-event-speakers-list-item {
	padding: 0 47px 40px;
	width: 100%;
}

@media all and (min-width: 768px) {
	.block-event-speakers-list-item {
		width: 50%;
	}
}

.block-event-speakers-list-item-photo {
	border-radius: 20px;
	box-shadow: 0 30px 60px #345CB21A;
	overflow: hidden;
}

.block-event-speakers-list-item-photo img {
	width: 100%;
}

.block-event-speakers-list-item-name {
	font-size: 24px;
	font-weight: bold;
	font-style: normal;
	letter-spacing: normal;
	line-height: 1.66;
	margin-top: 17px;
}

.block-event-speakers-list-item-description,
.block-event-speakers-list-item-description * {
	font-size: 24px;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.33;
}

.block-event-speakers-list-item-description-bio {
	font-size: 20px;
	line-height: 1.6;
}

.block-event-speakers-list-item-description {
	margin-top: 9px;
	margin-bottom: 17px;
}

.block-event-speakers-list-item-description-more {
	display: none;
	box-shadow: 0 30px 60px rgba(52, 92, 178, 0.1);
	border-radius: 20px;
	background-color: #ffffff;
	max-width: 900px;
}

@media all and (min-width: 768px) {
	.block-event-speakers-list-item-bio-link {
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
	}
}

.block-event-speakers-list-item-bio-link,
.block-event-speakers-list-item-bio-link * {
	font-size: 24px;
	line-height: 1.33;
	font-weight: 400;
}

.block-event-speakers-list-item-bio-link a {
	text-decoration: underline;
}

.block-event-speakers-list-item-bio-link a:hover {
	text-decoration: none;
}

@media all and (min-width: 768px) {
	.block-event-speakers-list-item-description-more__container {
		display: flex;
	}

	.block-event-speakers-list-item-description-more__container > *:not(:first-child) {
		margin-left: 40px;
	}

	.block-event-speakers-list-item-description-more__left {
		flex: 1;
		min-width: 300px;
		max-width: 300px;
		margin-top: 2px;
	}
}

.block-event-speakers-list-item-description-more__left * {
	color: #0A2440;
}

@media all and (max-width: 767px) {
	.block-event-speakers-list-item-description-more .block-event-speakers-list-item-photo {
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
	}
}

.block-event-speakers-list-item-description-more .block-event-speakers-list-item-photo img {
	width: 100%;
}

.block-event-speakers-list-item-description-more .block-event-speakers-list-item-description,
.block-event-speakers-list-item-description-more .block-event-speakers-list-item-description * {
	font-size: 20px;
	line-height: 1.6;
}

.block-event-speakers-list-item-description-more .block-event-speakers-list-item-description {
	margin-top: 4px;
}

.block-event-speakers-list-item-description-more .is-close svg {
	display: none !important;
}

.block-event-speakers-list-item-description-more .carousel__button.is-close {
	width: 29px;
	height: 29px;
	overflow: hidden;
	outline: none;
}

.block-event-speakers-list-item-description-more .carousel__button.is-close:before,
.block-event-speakers-list-item-description-more .carousel__button.is-close:after {
	display: block;
	content: '';
	background-color: #10243e;
	position: absolute;
	left: 50%;
	top: 50%;
	width: 200%;
	height: 1px;
	transform: translateX(-50%) translateY(-50%) rotateZ(45deg);
}

.block-event-speakers-list-item-description-more .carousel__button.is-close:after {
	transform: translateX(-50%) translateY(-50%) rotateZ(-45deg);
}

.fancybox__content.block-event-speakers-list-item-description-more {
	padding: 65px 25px 10px;
}

@media all and (min-width: 768px) {
	.fancybox__content.block-event-speakers-list-item-description-more {
		padding: 48px 70px 3px 50px;
	}
}

.fancybox__content.block-event-speakers-list-item-description-more > .carousel__button.is-close {
	border-radius: 0;
	right: 20px;
	top: 20px;
}
