.aksia-photo-info {
	display: block;
	position: relative;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.aksia-photo-info.wide-panel {
	overflow: hidden;
}

.aksia-photo-info .front-face {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	z-index: 2;
}

.aksia-photo-info.wide-panel .front-face {
	padding-bottom: 50%;
	z-index: 1;
}

.aksia-photo-info .front-face .thumbnail {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 0;
	padding: 0;
	margin: 0;
}

.aksia-photo-info .front-face .thumbnail .image-container {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.aksia-photo-info .front-face .thumbnail .image-container img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.aksia-photo-info .front-face .thumbnail .image-container:after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: var( --aksia-dark-blue, #243645 );
	opacity: .55;
	mix-blend-mode: multiply;
}

.aksia-photo-info .front-face .content {
	position: relative;
	z-index: 2;
	color: white;
	padding: 220px var( --container-padding, 80px ) 0;
}

.aksia-photo-info.wide-panel .front-face .content {
	width: 50%;
}

.aksia-photo-info .front-face h2 {
	text-align: left;
	font-size: 17px; 
	margin: 0;
	text-transform: uppercase;
}

.aksia-photo-info .front-face p {
	margin: 8px 0 36px;
	font-size: 24px;
}

.aksia-photo-info .content a span:after {
	content: "More";
}

.aksia-photo-info.more-open .content a span:after {
	content: "Less";
}

.aksia-photo-info .back-face {
	display: block;
	position: absolute;
	left: 0%;
	top: 0%;
	width: 100%;
	height: 100%;
	z-index: 1;
	transition: all .5s ease;
	padding: var( --container-padding, 80px );
	background-color: var( --aksia-mid-blue, #4d7391 );
	color: white;
	font-size: 16px;
	line-height: 1.25;
}

.aksia-photo-info.wide-panel .back-face {
	width: 50%;
	left: 100%;
}

.aksia-photo-info.more-open {
	z-index: 2;
}

.aksia-photo-info.more-open .back-face {
	left: 100%;
	transition: all .5s ease;
}

.aksia-photo-info.slides-left.more-open .back-face {
	left: -100%;
	transition: all .5s ease;
}

.aksia-photo-info.wide-panel.more-open .back-face {
	left: 50%;
}

.aksia-photo-info .back-face .closer {
	display: block;
	position: absolute;
	width: 34px;
	height: 34px;
	top: 18px;
	right: 18px;
	cursor: pointer;
}

.aksia-photo-info .back-face .closer path {
	fill: #a6b9c8;
}

.aksia-photo-info .back-face .closer line {
	stroke: #fff;
	stroke-linecap: round;
	stroke-width: 2px;
}

.aksia-photo-info.more-open .button.more-arrow.aksia-arrow:after {
	transform: rotate( 180deg );
}

#Photo-Panels .wp-block-column {
	transition: z-index .5s ease 0.5s;
	z-index: 1;
}

#Photo-Panels .wp-block-column.more-open {
	transition: z-index .5s ease 0s;
	z-index: 2;
}

/* Overrides for block editor */

.block-editor .aksia-photo-info {
	--container-padding: 20px;
}

.block-editor .aksia-photo-info .front-face .content {
	padding: var( --container-padding, 80px );
}

.block-editor .aksia-photo-info .back-face {
	position: relative;
	left: 0%;
}



/******************/
/* RESPONSIVENESS */
/******************/

/* Phone & Small Tablet */

@media ( max-width: 859.9px ) {

	.aksia-photo-info .front-face .content {
		padding-top: var( --padding, 16px );
	}
	
	.aksia-photo-info .back-face {
		padding-right: 70px;
		font-size: inherit;
	}
}

/* Mobiles */

@media ( max-width: 600px ) {
	
	.aksia-photo-info {
		overflow: hidden;
	}

	.aksia-photo-info .back-face {
		left: 100%;
		z-index: 2;
	}
	
	.aksia-photo-info.wide-panel .back-face {
		width: 100%;
	}
	
	.aksia-photo-info.more-open .back-face {
		left: 0% !important;
	}
	
	.aksia-photo-info.wide-panel .front-face {
		padding-bottom: 100%;
	}
	
	.aksia-photo-info .front-face .content {
		width: 100% !important;
	}
	

}

/* Extra hack for tablets */

@media ( min-width: 600.1px ) and ( max-width: 859.9px ) {
	
	#Photo-Panels .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:only-child) {
		flex-basis: 50% !important;
	}

}

/* Tablet */

@media ( min-width: 860px ) and ( max-width: 1023.9px ) {

}

