/* Portfolio listing + single project */
body.nynglobal-portfolio-page .hero-wrap {
	background: #fff;
	min-height: auto;
	padding-top: 0;
	overflow: visible;
}

body.nynglobal-portfolio-page .hero-wrap::before,
body.nynglobal-portfolio-page .hero-wrap::after,
body.nynglobal-portfolio-page .hero-silhouettes {
	display: none;
}

.portfolio-page-main {
	background: #fff;
}

.portfolio-hero {
	position: relative;
	padding: 140px 0 90px;
	text-align: center;
	color: #fff;
	background:
		linear-gradient(rgba(17, 6, 42, 0.82), rgba(17, 6, 42, 0.9)),
		url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

.portfolio-hero-kicker {
	margin: 0 auto 12px;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--indo-orange-light, #ff9f43);
}

.portfolio-hero h1 {
	font-size: clamp(1.85rem, 4vw, 2.75rem);
	font-weight: 800;
	max-width: 900px;
	margin: 0 auto 16px;
	line-height: 1.25;
}

.portfolio-hero p,
.portfolio-hero-description {
	max-width: 680px;
	margin: 0 auto;
	font-size: 1.05rem;
	opacity: 0.95;
	line-height: 1.7;
}

.portfolio-hero-single {
	padding: 140px 0 70px;
	text-align: left;
}

.portfolio-hero-single .container {
	max-width: 900px;
}

.portfolio-hero-single h1 {
	margin-left: 0;
	margin-right: 0;
	text-align: left;
}

.portfolio-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	opacity: 0.9;
}

.portfolio-back:hover {
	color: var(--indo-orange-light, #ff9f43);
}

.portfolio-single-cat {
	display: inline-block;
	margin-bottom: 14px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 111, 0, 0.2);
	color: #ffd7b0;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.portfolio-single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 18px;
	font-size: 0.95rem;
	opacity: 0.9;
}

.portfolio-single-meta i {
	margin-right: 6px;
	color: var(--indo-orange, #ff6f00);
}

.portfolio-single-meta a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.portfolio-single-meta a:hover {
	color: var(--indo-orange-light, #ff9f43);
}

.portfolio-listing {
	padding: 56px 0 90px;
}

.portfolio-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 36px;
}

.portfolio-filter {
	display: inline-flex;
	align-items: center;
	padding: 8px 40px;
	border-radius: 999px;
	border: 1px solid rgba(17, 6, 42, 0.12);
	background: #fff;
	color: var(--indo-purple-dark, #11062a);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.portfolio-filter:hover,
.portfolio-filter.is-active {
	/*background: var(--indo-purple, #6d28d9);*/
	border-color: var(--indo-purple, #f58f1d);
	color: #fff;
	background: linear-gradient(270deg, #eb5f24 0%, #f58f1d 98.82%) !important;
}

.portfolio-project-card {
	height: 100%;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(17, 6, 42, 0.08);
	background: #efeaf8;
}

.portfolio-project-media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
}

.portfolio-project-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease;
}

.portfolio-project-card:hover .portfolio-project-media img,
.portfolio-project-media:focus-visible img {
	transform: scale(1.06);
}

.portfolio-project-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--indo-purple, #6d28d9);
	font-size: 2rem;
}

.portfolio-project-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 24px;
	text-align: center;
	background: rgba(17, 6, 42, 0.72);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.portfolio-project-card:hover .portfolio-project-overlay,
.portfolio-project-media:focus-visible .portfolio-project-overlay {
	opacity: 1;
}

.portfolio-project-client {
	color: #fff;
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.3;
}

.portfolio-project-view {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 18px;
	border-radius: 999px;
	background: var(--indo-orange, #ff6f00);
	color: #fff;
	font-size: 0.88rem;
	font-weight: 700;
}

@media (hover: none) {
	.portfolio-project-overlay {
		opacity: 1;
		justify-content: flex-end;
		padding-bottom: 18px;
		background: linear-gradient(to top, rgba(17, 6, 42, 0.88) 0%, rgba(17, 6, 42, 0.2) 55%, transparent 100%);
	}
}

.portfolio-empty {
	max-width: 560px;
	margin: 20px auto 10px;
	text-align: center;
}

.portfolio-empty h2 {
	font-size: 1.6rem;
	font-weight: 800;
	margin-bottom: 10px;
}

.portfolio-empty p {
	color: var(--text-light, #64748b);
}

.portfolio-pagination {
	margin-top: 48px;
}

.portfolio-pagination ul,
.portfolio-pagination .page-numbers {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.portfolio-pagination li {
	display: inline-flex;
}

.portfolio-pagination .page-numbers,
.portfolio-pagination a.page-numbers,
.portfolio-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 10px;
	border: 1px solid rgba(17, 6, 42, 0.1);
	color: var(--indo-purple-dark, #11062a);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
}

.portfolio-pagination .page-numbers.current,
.portfolio-pagination a.page-numbers:hover {
	background: var(--indo-orange, #ff6f00);
	border-color: var(--indo-orange, #ff6f00);
	color: #fff;
}

.portfolio-single-body {
	padding: 50px 0 90px;
}

.portfolio-single-featured {
	margin-bottom: 28px;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(17, 6, 42, 0.1);
}

.portfolio-single-featured img {
	width: 100%;
	display: block;
	object-fit: cover;
	max-height: 480px;
}

.portfolio-single-content {
	color: #334155;
	font-size: 1.05rem;
	line-height: 1.85;
}

.portfolio-single-content > *:first-child {
	margin-top: 0;
}

.portfolio-single-content h2,
.portfolio-single-content h3,
.portfolio-single-content h4 {
	color: var(--indo-purple-dark, #11062a);
	font-weight: 700;
	margin-top: 1.75em;
	margin-bottom: 0.6em;
}

.portfolio-single-content a {
	color: var(--indo-purple, #6d28d9);
}

.portfolio-single-content img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}

.portfolio-post-nav {
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid rgba(17, 6, 42, 0.08);
}

.portfolio-post-nav .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.portfolio-post-nav .nav-previous,
.portfolio-post-nav .nav-next {
	padding: 16px 18px;
	border-radius: 12px;
	border: 1px solid rgba(17, 6, 42, 0.08);
	background: #f8f6fc;
}

.portfolio-post-nav .nav-next {
	text-align: right;
}

.portfolio-post-nav a {
	text-decoration: none;
	color: var(--indo-purple-dark, #11062a);
	display: block;
}

.portfolio-post-nav .nav-label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--indo-orange, #ff6f00);
	margin-bottom: 4px;
}

.portfolio-post-nav .nav-title {
	display: block;
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.4;
}

@media (max-width: 767.98px) {
	.portfolio-hero,
	.portfolio-hero-single {
		padding: 120px 0 60px;
	}

	.portfolio-listing,
	.portfolio-single-body {
		padding: 40px 0 60px;
	}

	.portfolio-post-nav .nav-links {
		grid-template-columns: 1fr;
	}

	.portfolio-post-nav .nav-next {
		text-align: left;
	}
}
