/*
 * Esplorare Marocco Archive Cards
 * Version 4.4.0
 */


/* =========================================================
   CARD
========================================================= */

.ema44-card {
	position: relative;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: hidden;
	box-sizing: border-box;
}


.ema44-card-link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 390px;
	margin: 0;
	padding: 0;
	overflow: hidden;

	color: inherit;
	text-decoration: none;

	box-sizing: border-box;
}


.ema44-card-link:hover,
.ema44-card-link:focus,
.ema44-card-link:active {
	color: inherit;
	text-decoration: none;
}


/* =========================================================
   MEDIA
========================================================= */

.ema44-media {
	position: relative;

	width: 100%;
	height: 100%;
	min-height: 390px;

	overflow: hidden;

	background: #24211c;

	box-sizing: border-box;
}


/* =========================================================
   IMAGE
========================================================= */

.ema44-image {
	display: block !important;

	width: 100% !important;
	height: 100% !important;

	min-height: 390px;

	margin: 0 !important;
	padding: 0 !important;

	border: 0 !important;
	border-radius: 0 !important;

	object-fit: cover;
	object-position: center;

	transform: scale(1);

	transition:
		transform .65s cubic-bezier(.2,.7,.2,1);
}


.ema44-card-link:hover .ema44-image {
	transform: scale(1.045);
}


/* =========================================================
   OVERLAY
========================================================= */

.ema44-overlay {
	position: absolute;

	inset: 0;

	z-index: 1;

	pointer-events: none;

	background:
		linear-gradient(
			180deg,
			rgba(18,16,13,.40) 0%,
			rgba(18,16,13,.08) 32%,
			rgba(18,16,13,.10) 46%,
			rgba(18,16,13,.90) 100%
		);
}


/* =========================================================
   TOP
========================================================= */

.ema44-top {
	position: absolute;

	top: 0;
	left: 0;
	right: 0;

	z-index: 3;

	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 15px;

	padding: 22px 22px 0;

	box-sizing: border-box;
}


/* =========================================================
   PRIVATE
========================================================= */

.ema44-private {
	display: inline-flex;
	align-items: center;

	gap: 8px;

	color: #fff;

	font-size: 11px;
	font-weight: 700;

	line-height: 1;

	letter-spacing: .14em;

	text-transform: uppercase;

	text-shadow:
		0 1px 7px rgba(0,0,0,.45);
}


.ema44-private-icon {
	color: #dfc16c;

	font-size: 10px;

	line-height: 1;
}


/* =========================================================
   STARS
========================================================= */

.ema44-stars {
	display: inline-flex;
	align-items: center;

	gap: 2px;

	color: #ffde21;

	font-size: 15px;

	line-height: 1;

	text-shadow:
		0 1px 8px rgba(0,0,0,.55);
}


/* =========================================================
   CONTENT
========================================================= */

.ema44-content {
	position: absolute;

	left: 0;
	right: 0;
	bottom: 0;

	z-index: 3;

	padding: 28px 24px 23px;

	box-sizing: border-box;
}


/* =========================================================
   TITLE
========================================================= */

.ema44-title {
	display: block;

	margin: 0 0 17px !important;
	padding: 0 !important;

	color: #fff !important;

	font-family: inherit;

	font-size: clamp(
		20px,
		2vw,
		28px
	) !important;

	font-weight: 700 !important;

	line-height: 1.15 !important;

	letter-spacing: -.01em;

	text-shadow:
		0 2px 12px rgba(0,0,0,.48);

	box-sizing: border-box;
}


/* =========================================================
   META
========================================================= */

.ema44-meta {
	display: flex;

	align-items: stretch;

	flex-wrap: wrap;

	gap: 10px 22px;

	margin: 0 0 19px;

	box-sizing: border-box;
}


.ema44-info {
	display: flex;

	align-items: center;

	gap: 9px;

	min-width: 0;
}


.ema44-icon {
	display: inline-flex;

	align-items: center;
	justify-content: center;

	width: 27px;
	height: 27px;

	flex: 0 0 27px;

	color: #dfc16c;

	font-size: 21px;

	line-height: 1;
}


.ema44-info-text {
	display: flex;

	flex-direction: column;

	gap: 3px;

	min-width: 0;
}


.ema44-label {
	color: rgba(255,255,255,.66);

	font-size: 9px;

	font-weight: 700;

	line-height: 1;

	letter-spacing: .13em;

	text-transform: uppercase;
}


.ema44-value {
	display: block;

	max-width: 220px;

	overflow: hidden;

	color: #fff;

	font-size: 13px;

	font-weight: 600;

	line-height: 1.2;

	white-space: nowrap;

	text-overflow: ellipsis;
}


/* =========================================================
   ACTION
========================================================= */

.ema44-action {
	display: flex;

	align-items: center;

	justify-content: space-between;

	gap: 15px;

	width: 100%;

	padding-top: 14px;

	border-top: 1px solid rgba(255,255,255,.23);

	color: #fff;

	font-size: 12px;

	font-weight: 700;

	line-height: 1;

	letter-spacing: .07em;

	text-transform: uppercase;

	box-sizing: border-box;
}


.ema44-arrow {
	color: #dfc16c;

	font-size: 22px;

	font-weight: 400;

	line-height: .7;

	transform: translateX(0);

	transition:
		transform .3s ease;
}


.ema44-card-link:hover .ema44-arrow {
	transform: translateX(6px);
}


/* =========================================================
   BLOCKSY OVERRIDES
========================================================= */

.ema44-card *,
.ema44-card *::before,
.ema44-card *::after {
	box-sizing: border-box;
}


.ema44-card img {
	max-width: none !important;
}


.ema44-card h1,
.ema44-card h2,
.ema44-card h3,
.ema44-card h4,
.ema44-card p {
	box-sizing: border-box;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

	.ema44-card-link,
	.ema44-media,
	.ema44-image {
		min-height: 350px;
	}


	.ema44-top {
		padding: 18px 18px 0;
	}


	.ema44-content {
		padding: 25px 19px 19px;
	}


	.ema44-title {
		font-size: 22px !important;
	}

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

	.ema44-card-link,
	.ema44-media,
	.ema44-image {
		min-height: 330px;
	}


	.ema44-top {
		padding: 16px 16px 0;
	}


	.ema44-private {
		font-size: 9px;
	}


	.ema44-stars {
		font-size: 13px;
	}


	.ema44-content {
		padding: 22px 16px 17px;
	}


	.ema44-title {
		margin-bottom: 14px !important;

		font-size: 20px !important;

		line-height: 1.16 !important;
	}


	.ema44-meta {
		gap: 9px 15px;

		margin-bottom: 15px;
	}


	.ema44-icon {
		width: 24px;
		height: 24px;

		flex-basis: 24px;

		font-size: 19px;
	}


	.ema44-value {
		max-width: 145px;

		font-size: 12px;
	}


	.ema44-action {
		padding-top: 12px;

		font-size: 10px;
	}

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.ema44-card-link:focus-visible {
	outline: 2px solid #dfc16c;
	outline-offset: -3px;
}