body.single-portfolio-item .edgtf-title-holder,
body.single-portfolio-item .edgtf-title,
body.single-portfolio-item .edgtf-page-title {
	display: none !important;
}

body.single-portfolio-item .edgtf-content {
	margin-top: 0 !important;
}

body.single-portfolio-item .edgtf-wrapper,
body.single-portfolio-item .edgtf-wrapper-inner,
body.single-portfolio-item .edgtf-content,
body.single-portfolio-item .edgtf-content-inner {
	overflow: visible !important;
}

body.single-portfolio-item #edgtf-back-to-top {
	display: none !important;
}

/* =========================================================
   LFD Single Gallery Entry
   ========================================================= */

.lfd-single-entry {
	--lfd-black: #050505;
	--lfd-muted: rgba(0,0,0,.62);
	--lfd-line: rgba(0,0,0,.14);
	--lfd-soft: #f6f6f6;

	position: relative;
	width: 100%;
	max-width: 1680px;
	margin: 0 auto;
	padding: 24px 56px 74px;
	background: #fff;
	color: var(--lfd-black);
	box-sizing: border-box;
	overflow: visible !important;
	isolation: isolate;
}

.lfd-single-entry:before {
	display: none !important;
}

.lfd-single-entry *,
.lfd-single-entry *:before,
.lfd-single-entry *:after {
	box-sizing: border-box;
}

/* =========================================================
   Desktop layout
   ========================================================= */

.lfd-single-layout {
	position: relative;
	z-index: 2;
	display: grid !important;
	grid-template-columns: 360px minmax(0, 1fr);
	gap: 56px;
	align-items: start;
	overflow: visible !important;
}

.lfd-single-main {
	position: relative;
	z-index: 2;
	grid-column: 2;
	min-width: 0;
}

.lfd-single-panel {
	position: relative;
	grid-column: 1;
	align-self: start;
	padding: 6px 36px 40px 0;
	border-right: 1px solid var(--lfd-line);
	background: rgba(255,255,255,.88);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	z-index: 10;
	box-sizing: border-box;
	scrollbar-width: none;
}

.lfd-single-panel::-webkit-scrollbar {
	display: none;
}

.lfd-single-panel > * {
	position: relative;
	z-index: 2;
}

.lfd-single-back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	margin: 0 0 44px;
	padding: 0 0 8px;
	border-bottom: 1px solid currentColor;
	color: var(--lfd-black) !important;
	font-size: 12px;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .14em;
	font-weight: 800;
	text-decoration: none !important;
}

.lfd-single-back span {
	font-size: 17px;
	line-height: 1;
	transform: translateY(-1px);
}

.lfd-single-panel-main {
	position: relative;
	max-width: 300px;
}

.lfd-single-panel-main:before {
	content: "LFD";
	position: absolute;
	left: -8px;
	top: -8px;
	z-index: -1;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(140px, 13vw, 260px);
	line-height: .72;
	letter-spacing: -0.08em;
	font-weight: 700;
	color: rgba(0,0,0,.035);
	pointer-events: none;
	user-select: none;
	white-space: nowrap;
}

.lfd-single-season {
	margin: 0 0 16px;
	color: rgba(0,0,0,.48);
	font-size: 10px;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .26em;
	font-weight: 800;
}

.lfd-single-title {
	margin: 0 0 24px !important;
	padding: 0 !important;
	color: var(--lfd-black);
	font-size: clamp(40px, 4.2vw, 70px) !important;
	line-height: .86 !important;
	letter-spacing: -0.065em !important;
	text-transform: uppercase;
	font-weight: 950 !important;
}

.lfd-single-description {
	margin: 0 0 28px !important;
	max-width: 280px;
	color: rgba(0,0,0,.66);
	font-size: 15px;
	line-height: 1.6;
}

/* =========================================================
   Share
   ========================================================= */

.lfd-single-share {
	margin-top: 30px;
}

.lfd-share-label {
	display: block;
	margin-bottom: 16px;
	color: rgba(0,0,0,.46);
	font-size: 10px;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .22em;
	font-weight: 800;
}

.lfd-single-share .edgtf-social-share-holder,
.lfd-single-share .edgtf-social-share-holder ul {
	margin: 0 !important;
	padding: 0 !important;
}

.lfd-single-share .edgtf-social-share-holder ul {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	list-style: none !important;
}

.lfd-single-share .edgtf-social-share-holder li {
	margin: 0 !important;
	padding: 0 !important;
}

.lfd-single-share .edgtf-social-share-holder a {
	color: var(--lfd-black) !important;
	font-size: 15px !important;
	text-decoration: none !important;
	transition: opacity .22s ease, transform .22s ease;
}

.lfd-single-share .edgtf-social-share-holder a:hover {
	opacity: .55;
	transform: translateY(-1px);
}

.lfd-single-share-mobile {
	display: none;
}

/* =========================================================
   Gallery
   ========================================================= */

.lfd-single-gallery {
	position: relative;
	z-index: 2;
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	width: 100%;
	align-items: start;
}

.lfd-single-photo {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 2 / 3;
	margin: 0;
	background: #f3f3f3;
	overflow: hidden;
	text-decoration: none !important;
	transform: translateZ(0);
}

.lfd-single-photo img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	opacity: 1 !important;
	transform: translateZ(0);
	transition: filter .35s ease !important;
	will-change: filter;
}

.lfd-single-photo:hover img {
	filter: grayscale(8%) contrast(1.04);
}

/* =========================================================
   Previous / Next
   ========================================================= */

.lfd-single-entry-nav {
	position: relative;
	z-index: 5;
	width: min(720px, 100%);
	max-width: 720px;
	margin: 38px auto 0;
	padding: 7px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 30px;
	background: rgba(5,5,5,.92);
	backdrop-filter: blur(24px) saturate(1.25);
	-webkit-backdrop-filter: blur(24px) saturate(1.25);
	box-shadow: 0 22px 60px rgba(0,0,0,.20);
}

.lfd-entry-nav-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 72px;
	padding: 10px 13px;
	border: 0;
	border-radius: 22px;
	background: transparent;
	color: #fff !important;
	text-decoration: none !important;
	overflow: hidden;
	transition: background .25s ease, transform .25s ease;
}

.lfd-entry-nav-card:hover {
	background: rgba(255,255,255,.08);
	transform: translateY(-1px);
}

.lfd-entry-nav-thumb {
	width: 44px;
	height: 56px;
	flex: 0 0 44px;
	border-radius: 12px;
	background-size: cover;
	background-position: center;
}

.lfd-entry-nav-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.lfd-entry-nav-text em {
	margin-bottom: 6px;
	color: rgba(255,255,255,.70);
	font-size: 8px;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .14em;
	font-style: normal;
	font-weight: 800;
}

.lfd-entry-nav-text strong {
	color: #fff;
	font-size: 11px;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-weight: 900;
	max-width: 170px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lfd-entry-nav-text small {
	margin-top: 5px;
	color: rgba(255,255,255,.55);
	font-size: 9px;
	line-height: 1;
}

.lfd-entry-nav-arrow {
	color: #fff;
	flex: 0 0 auto;
	font-size: 15px;
	line-height: 1;
}

.lfd-entry-nav-card.lfd-next {
	justify-content: flex-end;
	text-align: right;
}

.lfd-entry-nav-card.lfd-next .lfd-entry-nav-text {
	align-items: flex-end;
}

/* =========================================================
   Tablet
   ========================================================= */

@media only screen and (max-width: 1300px) {
	.lfd-single-entry {
		padding: 24px 36px 72px;
	}

	.lfd-single-layout {
		grid-template-columns: 320px minmax(0, 1fr);
		gap: 38px;
	}

	.lfd-single-panel-main:before {
		font-size: 160px;
	}

	.lfd-single-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* =========================================================
   Mobile hard reset
   ========================================================= */

@media only screen and (max-width: 1024px) {
	body.single-portfolio-item .edgtf-wrapper,
	body.single-portfolio-item .edgtf-wrapper-inner,
	body.single-portfolio-item .edgtf-content,
	body.single-portfolio-item .edgtf-content-inner {
		overflow: hidden !important;
	}

	.lfd-single-entry {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 22px 16px 42px !important;
		overflow: hidden !important;
	}

	.lfd-single-layout {
		display: block !important;
		width: 100% !important;
		overflow: hidden !important;
	}

	.lfd-single-main {
		display: block !important;
		width: 100% !important;
		grid-column: auto !important;
		min-width: 0 !important;
	}

	.lfd-single-panel {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		width: 100% !important;
		max-width: none !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 0 0 22px !important;
		border-right: 0 !important;
		border-bottom: 1px solid rgba(0,0,0,.14) !important;
		background: transparent !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		overflow: visible !important;
		transform: none !important;
	}

	.lfd-single-panel-main {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.lfd-single-panel-main:before {
		display: none !important;
		content: none !important;
	}

	.lfd-single-back {
		margin: 0 0 26px !important;
		font-size: 11px !important;
		letter-spacing: .12em !important;
	}

	.lfd-single-season {
		margin: 0 0 12px !important;
		font-size: 10px !important;
		letter-spacing: .22em !important;
		color: rgba(0,0,0,.48) !important;
	}

	.lfd-single-title {
		margin: 0 !important;
		padding: 0 !important;
		font-size: clamp(32px, 9vw, 44px) !important;
		line-height: .92 !important;
		letter-spacing: -0.045em !important;
		max-width: 100% !important;
		border-bottom: 1px solid rgba(0,0,0,.12) !important;
		padding-bottom: 18px !important;
	}

	.lfd-single-description {
		display: none !important;
	}

	.lfd-single-share-desktop {
		display: none !important;
	}

	.lfd-single-gallery {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 6px !important;
		padding-top: 22px !important;
		width: 100% !important;
		overflow: visible !important;
	}

	.lfd-single-photo {
		aspect-ratio: 2 / 3 !important;
		margin: 0 !important;
		width: 100% !important;
	}

	.lfd-single-photo img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
		object-position: center !important;
	}

	.lfd-single-photo:hover img {
		filter: none !important;
	}

	.lfd-single-share-mobile {
		display: block !important;
		margin: 28px 0 0 !important;
		padding-top: 18px !important;
		border-top: 1px solid rgba(0,0,0,.14) !important;
		text-align: center !important;
		width: 100% !important;
	}

	.lfd-single-share-mobile .lfd-share-label {
		text-align: center !important;
		margin-bottom: 16px !important;
	}

	.lfd-single-share-mobile .edgtf-social-share-holder,
	.lfd-single-share-mobile .edgtf-social-share-holder ul {
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.lfd-single-share-mobile .edgtf-social-share-holder ul {
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		gap: 22px !important;
		list-style: none !important;
	}

	.lfd-single-share-mobile .edgtf-social-share-holder li {
		margin: 0 !important;
		padding: 0 !important;
	}

	.lfd-single-share-mobile .edgtf-social-share-holder a {
		font-size: 15px !important;
		color: #050505 !important;
	}

	.lfd-single-entry-nav {
		width: 100% !important;
		max-width: none !important;
		margin: 18px 0 0 !important;
		padding: 6px !important;
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 1px !important;
		border: 1px solid rgba(255,255,255,.12) !important;
		border-radius: 24px !important;
		background: rgba(5,5,5,.92) !important;
		backdrop-filter: blur(20px) !important;
		-webkit-backdrop-filter: blur(20px) !important;
		box-shadow: 0 18px 45px rgba(0,0,0,.22) !important;
	}

	.lfd-entry-nav-card {
		min-height: 64px !important;
		padding: 10px 10px !important;
		border: 0 !important;
		border-radius: 18px !important;
		background: transparent !important;
		color: #fff !important;
		gap: 9px !important;
		text-decoration: none !important;
	}

	.lfd-entry-nav-card:hover {
		transform: none !important;
		background: rgba(255,255,255,.08) !important;
	}

	.lfd-entry-nav-thumb {
		width: 34px !important;
		height: 44px !important;
		flex: 0 0 34px !important;
		border-radius: 8px !important;
		background-size: cover !important;
		background-position: center !important;
	}

	.lfd-entry-nav-text em {
		color: rgba(255,255,255,.7) !important;
		font-size: 8px !important;
		letter-spacing: .12em !important;
		margin-bottom: 5px !important;
	}

	.lfd-entry-nav-text strong {
		color: #fff !important;
		font-size: 10px !important;
		line-height: 1.1 !important;
		max-width: 92px !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
	}

	.lfd-entry-nav-text small {
		color: rgba(255,255,255,.55) !important;
		font-size: 9px !important;
	}

	.lfd-entry-nav-arrow {
		color: #fff !important;
		font-size: 14px !important;
	}
}

@media only screen and (max-width: 420px) {
	.lfd-single-entry {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}

	.lfd-single-gallery {
		gap: 5px !important;
	}

	.lfd-single-entry-nav {
		gap: 1px !important;
	}
}