.ftc-pe {
	--pe-navy: #0f172a;
	--pe-blue: #003974;
	--pe-orange: #f57c00;
	--pe-line: #d1d5db;
	--pe-sticky-gap: 1.25rem;
	--pe-sticky-top: calc(var(--ftc-header-sticky-top, 0px) + var(--ftc-header-height, 5.5rem) + var(--pe-sticky-gap));
	max-width: 1500px;
	margin: 1.75rem auto 3rem;
	padding: 0 clamp(1rem, 3vw, 2rem);
}

.ftc-pe-toggle {
	display: none;
	width: 100%;
	margin-bottom: 0.75rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--pe-line);
	border-radius: 10px;
	background: #fff;
	font: inherit;
	font-weight: 700;
	color: var(--pe-blue);
	cursor: pointer;
}

.ftc-pe-shell {
	display: grid;
	grid-template-columns: minmax(14rem, 16.5rem) minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
}

.ftc-pe-nav {
	position: sticky;
	top: var(--pe-sticky-top);
	max-height: calc(100vh - var(--pe-sticky-top) - var(--pe-sticky-gap));
	overflow: auto;
	background: #fff;
	border: 0;
	border-right: 1px solid var(--pe-line);
	border-radius: 0;
	padding: 0.25rem 1.1rem 0.5rem 0;
	box-shadow: none;
}

.ftc-pe-all,
.ftc-pe-nav ul a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0;
	border-radius: 0;
	text-decoration: none;
	color: var(--pe-navy);
	font-size: 0.92rem;
}

.ftc-pe-all {
	font-weight: 700;
	margin: 0 0 0.75rem;
	padding-bottom: 0.75rem;
	background: transparent;
	border-bottom: 1px solid var(--pe-line);
}

.ftc-pe-all:hover,
.ftc-pe-nav ul a:hover {
	color: var(--pe-orange);
}

.ftc-pe-all.is-active,
.ftc-pe-nav ul a.is-active {
	color: var(--pe-orange);
	font-weight: 700;
	box-shadow: none;
}

.ftc-pe-count {
	font-size: 0.75rem;
	color: #64748b;
	font-weight: 600;
}

.ftc-pe-cat {
	margin-top: 0.85rem;
}

.ftc-pe-cat + .ftc-pe-cat {
	margin-top: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--pe-line);
}

.ftc-pe-cat h3 {
	margin: 0 0 0.35rem;
	padding: 0;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
}

.ftc-pe-year {
	margin: 0.5rem 0 0.1rem;
	padding: 0;
	font-size: 0.75rem;
	font-weight: 700;
	color: #94a3b8;
}

.ftc-pe-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ftc-pe-admin {
	margin: 1rem 0 0;
	padding-top: 0.75rem;
	border-top: 1px solid var(--pe-line);
	font-size: 0.85rem;
}

.ftc-pe-admin a {
	color: var(--pe-blue);
}

.ftc-pe-main {
	min-width: 0;
	padding-top: 0.25rem;
}

.ftc-pe-head {
	margin-bottom: 1.1rem;
}

.ftc-pe-kicker {
	margin: 0 0 0.25rem;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pe-orange);
	font-weight: 700;
}

.ftc-pe-head h2 {
	margin: 0 0 0.25rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: var(--pe-navy);
}

.ftc-pe-head p {
	margin: 0;
	color: #64748b;
}

.ftc-pe-story {
	margin: 0.55rem 0 0;
	font-size: 0.9rem;
}

.ftc-pe-story a {
	color: #003974;
}

.ftc-pe-empty {
	padding: 2rem 1rem;
	border: 1px dashed var(--pe-line);
	border-radius: 12px;
	color: #64748b;
	text-align: center;
}

.ftc-pe-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 10px;
}

.ftc-pe-item {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 8px;
	background: #f1f5f9;
}

.ftc-pe-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ftc-pe-all-gallery .foogallery {
	width: 100%;
	max-width: 100%;
}

.ftc-pe-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(15, 23, 42, 0.88);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 4.5rem;
}

.ftc-pe-lightbox[hidden] {
	display: none;
}

.ftc-pe-lightbox img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 6px;
}

.ftc-pe-lightbox__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 88px;
	border: 0;
	border-radius: 8px;
	background: rgba(15, 23, 42, 0.72);
	color: #fff;
	font-size: 1.6rem;
	cursor: pointer;
}

.ftc-pe-lightbox__prev {
	left: 12px;
}

.ftc-pe-lightbox__next {
	right: 12px;
}

.ftc-pe-lightbox__close {
	top: 16px;
	right: 16px;
	transform: none;
	height: 44px;
	width: 44px;
	font-size: 1.4rem;
}

.ftc-pe-lightbox__btn:hover {
	background: var(--pe-orange);
}

@media (max-width: 860px) {
	.ftc-pe-toggle {
		display: block;
	}

	.ftc-pe-shell {
		grid-template-columns: 1fr;
	}

	.ftc-pe-nav {
		position: static;
		max-height: none;
		display: none;
		border-right: 0;
		border-bottom: 1px solid var(--pe-line);
		padding: 0.5rem 0 1rem;
	}

	.ftc-pe.is-nav-open .ftc-pe-nav {
		display: block;
	}
}

@media (min-width: 1100px) {
	.ftc-pe-grid {
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	}
}
