html.neto-portfolio-lock,
body.neto-portfolio-lock {
	overflow: hidden;
}


.neto-portfolio {
	position: relative;
	z-index: 1;
	padding-block: var(--neto-section-y, clamp(3.5rem, 8vh, 6rem));
	margin: 0;
	background: transparent;
	color: var(--neto-ink);
	font-family: var(--neto-font);
}

.neto-portfolio__wrap {
	position: relative;
	z-index: 1;
	min-width: 0;
	width: min(100% - 1.75rem, var(--neto-content-max, 1300px));
	max-width: none;
	margin-inline: auto;
	padding-inline: 0;
}

@media (max-width: 640px) {
	.neto-portfolio__wrap {
		width: min(100% - 1.25rem, var(--neto-content-max, 1300px));
	}
}

.neto-portfolio__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin: 0 0 clamp(1.75rem, 4vh, 2.75rem);
}

.neto-portfolio__head-main {
	max-width: 42rem;
	min-width: 0;
	text-align: right;
}

.neto-portfolio__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 1rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--neto-muted);
}

.neto-portfolio__eyebrow-line {
	display: inline-block;
	width: 2.25rem;
	height: 2px;
	border-radius: 999px;
	background: var(--neto-eyebrow-line, var(--neto-accent));
}

html[data-neto-ui-theme="dark"] .neto-portfolio__eyebrow-line {
	background: #00d7ff;
}

.neto-portfolio__eyebrow [lang="en"] {
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.85;
}

.neto-portfolio__eyebrow-fa {
	color: var(--neto-ink);
	font-weight: 700;
	letter-spacing: 0;
}

.neto-portfolio__title {
	margin: 0;
	font-size: clamp(1.2rem, 1.85vw, 1.5rem);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.55;
	color: var(--neto-ink);
	text-wrap: balance;
}

.neto-portfolio__lead {
	margin: 0.75rem 0 0;
	font-size: 0.95rem;
	line-height: 1.8;
	color: var(--neto-muted);
}

.neto-portfolio__lead p { margin: 0; }

.neto-portfolio__page-lead {
	margin: 0 0 1.5rem;
	max-width: 42rem;
	margin-inline: auto;
	text-align: center;
	font-size: 0.95rem;
	line-height: 1.75;
	color: var(--neto-muted);
}

.neto-portfolio__page-lead p {
	margin: 0;
}

.neto-portfolio--page {
	padding-block-start: clamp(1.25rem, 3vh, 2rem);
}

/* Match page-head / header shell width (not padded neto-ui-wrap) */
.neto-portfolio--page .neto-portfolio__wrap {
	width: min(100% - 1.75rem, var(--neto-content-max, 1300px));
	max-width: none;
	padding-inline: 0;
	margin-inline: auto;
}

@media (max-width: 640px) {
	.neto-portfolio--page .neto-portfolio__wrap {
		width: min(100% - 1.25rem, var(--neto-content-max, 1300px));
	}
}

.neto-portfolio__seo {
	position: relative;
	margin-top: clamp(2.25rem, 5vh, 3.25rem);
	padding-top: 1.5rem;
	border-top: 1px solid var(--neto-line);
}

html[data-neto-ui-theme="dark"] .neto-portfolio__seo {
	border-top-color: #27272a;
}

.neto-portfolio__seo-text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.9;
	color: var(--neto-muted);
	text-align: justify;
	text-justify: inter-word;
	display: -webkit-box;
	-webkit-line-clamp: 7;
	-webkit-box-orient: vertical;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
}

.neto-portfolio__seo.is-expanded .neto-portfolio__seo-text {
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
	-webkit-mask-image: none;
	mask-image: none;
}

.neto-portfolio__seo-text p {
	margin: 0 0 0.75rem;
}

.neto-portfolio__seo-text p:last-child {
	margin-bottom: 0;
}

.neto-portfolio__seo-text a {
	color: inherit !important;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.neto-portfolio__seo-more {
	display: block;
	width: fit-content;
	margin: 0.85rem auto 0;
	padding: 0.42rem 0.95rem;
	border: 1px solid color-mix(in srgb, var(--neto-line) 80%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, #fff 55%, transparent) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.65),
		0 6px 18px rgba(5, 43, 66, 0.08);
	color: var(--neto-brand) !important;
	font-family: inherit;
	font-size: 0.84rem;
	font-weight: 700;
	cursor: pointer;
	line-height: 1.35;
	text-decoration: none !important;
}

html[data-neto-ui-theme="dark"] .neto-portfolio__seo-more {
	border-color: #27272a;
	background: rgba(25, 25, 25, 0.55) !important;
	color: #00d7ff !important;
}

.neto-portfolio__seo-more:hover,
.neto-portfolio__seo-more:focus-visible {
	outline: none;
	text-decoration: none !important;
}

.neto-portfolio__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.65rem 1.1rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--neto-brand) 35%, var(--neto-line));
	background: transparent;
	color: var(--neto-brand) !important;
	text-decoration: none !important;
	font-size: 0.86rem;
	font-weight: 700;
	white-space: nowrap;
}

.neto-portfolio__cta svg { transform: scaleX(-1); }

html[data-neto-ui-theme="dark"] .neto-portfolio__cta {
	border-color: #27272a;
	background: #191919;
	color: #fafafa !important;
}

.neto-portfolio__cta:hover,
.neto-portfolio__cta:focus-visible {
	background: var(--neto-brand);
	border-color: var(--neto-brand);
	color: #fff !important;
	outline: none;
}

html[data-neto-ui-theme="dark"] .neto-portfolio__cta:hover,
html[data-neto-ui-theme="dark"] .neto-portfolio__cta:focus-visible {
	border-color: #00d7ff;
	background: #1f1f1f;
	color: #fafafa !important;
}

/* Home peek rail */
.neto-portfolio__rail {
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	cursor: grab;
	/* موبایل: سوایپ افقی native + اسکرول عمودی صفحه */
	touch-action: pan-x pan-y;
	user-select: none;
}

.neto-portfolio__rail::-webkit-scrollbar { display: none; }

.neto-portfolio__rail:active,
.neto-portfolio__rail.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	scroll-behavior: auto;
}

.neto-portfolio__rail.is-dragging .neto-portfolio__open {
	pointer-events: none;
}

.neto-portfolio__track {
	display: flex;
	gap: 0.9rem;
	margin: 0;
	padding: 0.25rem 0 0.4rem;
	list-style: none;
}

.neto-portfolio__slide {
	/* ۴ کارت کامل + نیمه‌ی کارت پنجم */
	flex: 0 0 calc((100% - 3.6rem) / 4.5);
	scroll-snap-align: start;
	min-width: 0;
}

/* Full page grid */
.neto-portfolio__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.neto-portfolio__card {
	margin: 0;
	height: 100%;
	border-radius: 1.2rem;
	border: 1px solid var(--neto-line);
	background: var(--neto-card, #fff);
	overflow: hidden;
	transition:
		transform 0.3s ease,
		border-color 0.3s ease,
		box-shadow 0.3s ease;
}

html[data-neto-ui-theme="dark"] .neto-portfolio__card {
	background: #191919;
	border-color: #27272a;
}

.neto-portfolio__open {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	text-align: right;
	cursor: pointer;
	font: inherit;
}

.neto-portfolio__open:focus-visible {
	outline: 2px solid var(--neto-brand);
	outline-offset: 2px;
}

.neto-portfolio__media {
	position: relative;
	margin: 0;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	container-type: size;
	background: color-mix(in srgb, var(--neto-brand) 8%, transparent);
}

html[data-neto-ui-theme="dark"] .neto-portfolio__media {
	background: #111113;
}

.neto-portfolio__img {
	position: absolute;
	top: 0;
	inset-inline: 0;
	width: 100% !important;
	height: auto !important;
	min-height: 100%;
	max-width: none !important;
	object-fit: cover;
	object-position: top center;
	transform: translate3d(0, 0, 0);
	transition: transform 0.7s ease;
	will-change: transform;
}

.neto-portfolio__card:hover .neto-portfolio__img,
.neto-portfolio__card:focus-within .neto-portfolio__img {
	/* scroll long screenshot top → bottom while hovering */
	transform: translate3d(0, calc(-100% + 100cqh), 0);
	transition: transform 5s linear;
}

.neto-portfolio__ph {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--neto-accent) 22%, transparent), transparent 55%),
		linear-gradient(135deg, color-mix(in srgb, var(--neto-brand) 18%, transparent), transparent);
}

html[data-neto-ui-theme="dark"] .neto-portfolio__ph {
	background:
		radial-gradient(circle at 30% 30%, rgba(0, 215, 255, 0.12), transparent 55%),
		#151517;
}

.neto-portfolio__wash {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, transparent 50%, rgba(5, 43, 66, 0.45) 100%);
}

html[data-neto-ui-theme="dark"] .neto-portfolio__wash {
	background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.65) 100%);
}

.neto-portfolio__chip {
	position: absolute;
	z-index: 2;
	top: 0.7rem;
	inset-inline-start: 0.7rem;
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(5, 43, 66, 0.55);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 600;
}

html[data-neto-ui-theme="dark"] .neto-portfolio__chip {
	background: rgba(9, 9, 11, 0.65);
	border-color: rgba(0, 215, 255, 0.28);
}

.neto-portfolio__body {
	display: grid;
	gap: 0.25rem;
	padding: 0.9rem 1rem 1.05rem;
}

.neto-portfolio__card-title {
	font-size: clamp(0.95rem, 1.05vw, 1.08rem);
	font-weight: 700;
	line-height: 1.45;
	color: var(--neto-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.neto-portfolio__card-client {
	font-size: 0.8rem;
	color: var(--neto-muted);
}

.neto-portfolio__card:hover,
.neto-portfolio__card:focus-within {
	border-color: color-mix(in srgb, var(--neto-brand) 28%, var(--neto-line));
	box-shadow: 0 14px 32px rgba(0, 77, 119, 0.1);
	transform: translateY(-3px);
}

html[data-neto-ui-theme="dark"] .neto-portfolio__card:hover,
html[data-neto-ui-theme="dark"] .neto-portfolio__card:focus-within {
	border-color: #27272a;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* Modal — redesigned editorial split */
.neto-portfolio__modal[hidden] {
	display: none !important;
}

.neto-portfolio__modal {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: grid;
	place-items: center;
	padding: clamp(0.65rem, 2vw, 1.25rem);
	font-family: var(--neto-font, "Vazirmatn FD", Vazirmatn, Tahoma, sans-serif);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--neto-ink);
	-webkit-font-smoothing: antialiased;
}

.neto-portfolio__modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 43, 66, 0.52);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

html[data-neto-ui-theme="dark"] .neto-portfolio__modal-backdrop {
	background: rgba(0, 0, 0, 0.72);
}

.neto-portfolio__modal-panel {
	position: relative;
	z-index: 1;
	width: min(1180px, 100%);
	max-height: min(90vh, 880px);
	display: flex;
	flex-direction: column;
	border-radius: 1.35rem;
	border: 1px solid var(--neto-line);
	background: var(--neto-card, #fff);
	box-shadow: 0 32px 90px rgba(5, 43, 66, 0.28);
	overflow: hidden;
}

html[data-neto-ui-theme="dark"] .neto-portfolio__modal-panel {
	background: #191919;
	border-color: #27272a;
	box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55);
}

.neto-portfolio__modal-x {
	position: absolute;
	z-index: 4;
	top: 0.85rem;
	inset-inline-end: 0.85rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	margin: 0;
	line-height: 0;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(9, 9, 11, 0.45);
	color: #fafafa;
	cursor: pointer;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: background 0.2s ease, border-color 0.2s ease;
}

.neto-portfolio__modal-x svg {
	display: block;
	width: 18px;
	height: 18px;
}

.neto-portfolio__modal-x:hover,
.neto-portfolio__modal-x:focus,
.neto-portfolio__modal-x:active,
.neto-portfolio__modal-x:focus-visible {
	background: rgba(9, 9, 11, 0.7);
	border-color: rgba(255, 255, 255, 0.35);
	color: #fafafa;
	outline: none;
}

.neto-portfolio__modal-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(17.5rem, 0.85fr);
	min-height: 0;
	max-height: min(90vh, 880px);
}

.neto-portfolio__shot {
	min-height: 0;
	max-height: min(90vh, 880px);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #0c1520;
	scrollbar-width: thin;
}

html[data-neto-ui-theme="dark"] .neto-portfolio__shot {
	background: #0c0c0e;
}

.neto-portfolio__shot-img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: top;
}

.neto-portfolio__info {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
	min-height: 0;
	max-height: min(90vh, 880px);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding: clamp(1.5rem, 3.2vw, 2.15rem);
	border-inline-start: 1px solid var(--neto-line);
	background: var(--neto-card, #fff);
}

html[data-neto-ui-theme="dark"] .neto-portfolio__info {
	border-inline-start-color: #27272a;
	background: #191919;
}

.neto-portfolio__info-top {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.65rem;
}

.neto-portfolio__m-tag {
	margin: 0;
	display: inline-flex;
	padding: 0.28rem 0.7rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--neto-brand) 22%, var(--neto-line));
	background: color-mix(in srgb, var(--neto-brand) 8%, transparent);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--neto-brand);
	line-height: 1.3;
}

html[data-neto-ui-theme="dark"] .neto-portfolio__m-tag {
	border-color: #27272a;
	background: #111113;
	color: #00d7ff;
}

.neto-portfolio__m-title {
	margin: 0;
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.4;
	color: var(--neto-ink);
	text-wrap: balance;
}

html[data-neto-ui-theme="dark"] .neto-portfolio__m-title {
	color: #fafafa;
}

.neto-portfolio__facts {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-radius: 0.95rem;
	border: 1px solid var(--neto-line);
	background: color-mix(in srgb, var(--neto-page, #f4f7fd) 70%, transparent);
	overflow: hidden;
}

html[data-neto-ui-theme="dark"] .neto-portfolio__facts {
	border-color: #27272a;
	background: #151517;
}

.neto-portfolio__facts[hidden] {
	display: none !important;
}

.neto-portfolio__fact[hidden] {
	display: none !important;
}

.neto-portfolio__fact {
	display: grid;
	grid-template-columns: 6.75rem minmax(0, 1fr);
	gap: 0.55rem 0.85rem;
	align-items: baseline;
	padding: 0.78rem 0.95rem;
	border-top: 1px solid var(--neto-line);
}

.neto-portfolio__fact:first-child {
	border-top: 0;
}

html[data-neto-ui-theme="dark"] .neto-portfolio__fact {
	border-top-color: #27272a;
}

.neto-portfolio__fact-k {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--neto-muted);
	line-height: 1.45;
}

.neto-portfolio__fact-v {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--neto-ink);
	word-break: break-word;
}

html[data-neto-ui-theme="dark"] .neto-portfolio__fact-v {
	color: #fafafa;
}

.neto-portfolio__meta-link {
	display: inline-block;
	max-width: 100%;
	color: var(--neto-brand) !important;
	text-decoration: none !important;
	font-weight: 600;
	word-break: break-all;
}

.neto-portfolio__meta-link:hover,
.neto-portfolio__meta-link:focus-visible {
	text-decoration: underline !important;
	text-underline-offset: 0.18em;
	outline: none;
}

html[data-neto-ui-theme="dark"] .neto-portfolio__meta-link {
	color: #00d7ff !important;
}

.neto-portfolio__text {
	position: relative;
	flex: 0 0 auto;
	min-height: 0;
	padding-bottom: 1.35rem;
}

.neto-portfolio__text.is-expanded {
	padding-bottom: 0.35rem;
}

.neto-portfolio__info-lead {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.85;
	color: var(--neto-muted);
	text-align: justify;
	text-justify: inter-word;
	display: -webkit-box;
	-webkit-line-clamp: 10;
	-webkit-box-orient: vertical;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}

.neto-portfolio__text.is-expanded .neto-portfolio__info-lead,
.neto-portfolio__info-lead.is-expanded {
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
	-webkit-mask-image: none;
	mask-image: none;
}

.neto-portfolio__info-lead p {
	margin: 0 0 0.55rem;
	text-align: justify;
	text-justify: inter-word;
}

.neto-portfolio__info-lead p:last-child {
	margin-bottom: 0;
}

.neto-portfolio__info-lead a {
	color: inherit !important;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.neto-portfolio__info-lead table {
	width: 100%;
	margin: 0.75rem 0;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 0.86rem;
	line-height: 1.55;
	text-align: start;
}

.neto-portfolio__info-lead th,
.neto-portfolio__info-lead td {
	padding: 0.45rem 0.55rem;
	border: 1px solid var(--neto-line);
	vertical-align: top;
	word-break: break-word;
}

html[data-neto-ui-theme="dark"] .neto-portfolio__info-lead th,
html[data-neto-ui-theme="dark"] .neto-portfolio__info-lead td {
	border-color: #27272a;
}

.neto-portfolio__info-lead th {
	font-weight: 600;
	background: color-mix(in srgb, var(--neto-line) 18%, transparent);
	color: var(--neto-ink);
}

html[data-neto-ui-theme="dark"] .neto-portfolio__info-lead th {
	background: #111113;
	color: #fafafa;
}

.neto-portfolio__expand {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	z-index: 1;
	margin: 0;
	padding: 0.4rem 0.9rem;
	border: 1px solid color-mix(in srgb, var(--neto-line) 80%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, #fff 58%, transparent) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.65),
		0 6px 18px rgba(5, 43, 66, 0.08);
	color: var(--neto-brand);
	font-family: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	cursor: pointer;
	line-height: 1.35;
	white-space: nowrap;
	text-decoration: none;
}

html[data-neto-ui-theme="dark"] .neto-portfolio__expand {
	border-color: #27272a;
	background: rgba(25, 25, 25, 0.55) !important;
	color: #00d7ff;
}

.neto-portfolio__text.is-expanded .neto-portfolio__expand {
	position: static;
	transform: none;
	display: block;
	width: fit-content;
	margin: 0.85rem auto 0;
}

.neto-portfolio__expand:hover,
.neto-portfolio__expand:focus,
.neto-portfolio__expand:active,
.neto-portfolio__expand:focus-visible {
	color: var(--neto-brand);
	text-decoration: none;
	outline: none;
	background: color-mix(in srgb, #fff 72%, transparent) !important;
}

html[data-neto-ui-theme="dark"] .neto-portfolio__expand:hover,
html[data-neto-ui-theme="dark"] .neto-portfolio__expand:focus,
html[data-neto-ui-theme="dark"] .neto-portfolio__expand:active,
html[data-neto-ui-theme="dark"] .neto-portfolio__expand:focus-visible {
	color: #00d7ff;
	background: rgba(34, 34, 37, 0.72) !important;
}

.neto-portfolio__actions {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	flex: 0 0 auto;
	margin-top: 0;
	padding-top: 0;
}

.neto-portfolio__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	width: 100%;
	padding: 0.8rem 1.15rem;
	border-radius: 999px;
	text-decoration: none !important;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	transition:
		background 0.2s ease,
		filter 0.2s ease,
		transform 0.2s ease;
}

.neto-portfolio__btn svg {
	flex-shrink: 0;
	transform: none;
}

.neto-portfolio__btn--order {
	border: 1px solid var(--neto-brand);
	background: var(--neto-brand);
	color: #fff !important;
}

.neto-portfolio__btn--order:hover,
.neto-portfolio__btn--order:focus-visible {
	filter: brightness(1.06);
	transform: translateY(-1px);
	outline: none;
	color: #fff !important;
}

@media (max-width: 900px) {
	.neto-portfolio__slide {
		flex-basis: calc((100% - 0.9rem) / 2.5);
	}

	.neto-portfolio__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.neto-portfolio__modal-panel {
		max-height: min(94vh, 960px);
		overflow: hidden;
	}

	.neto-portfolio__modal-layout {
		grid-template-columns: 1fr;
		grid-template-rows: auto minmax(0, 1fr);
		max-height: min(94vh, 960px);
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.neto-portfolio__shot {
		max-height: min(40vh, 22rem);
		flex-shrink: 0;
	}

	.neto-portfolio__info {
		max-height: none;
		overflow: visible;
		border-inline-start: 0;
		border-block-start: 1px solid var(--neto-line);
	}

	html[data-neto-ui-theme="dark"] .neto-portfolio__info {
		border-block-start-color: #27272a;
	}

	.neto-portfolio__facts {
		flex-shrink: 0;
	}

	.neto-portfolio__fact {
		grid-template-columns: 1fr;
		gap: 0.2rem;
	}

	.neto-portfolio__fact[hidden] {
		display: none !important;
	}

	.neto-portfolio__facts:not(:has(.neto-portfolio__fact:not([hidden]))) {
		display: none;
	}

	.neto-portfolio__modal-x {
		top: 0.65rem;
		inset-inline-end: 0.65rem;
	}
}

@media (max-width: 640px) {
	.neto-portfolio__slide {
		flex-basis: min(82%, 18rem);
	}

	.neto-portfolio__grid {
		grid-template-columns: 1fr;
	}

	.neto-portfolio__head {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.neto-portfolio__head-main {
		text-align: center;
	}

	.neto-portfolio__eyebrow {
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.neto-portfolio__card,
	.neto-portfolio__img {
		transition: none;
	}

	.neto-portfolio__card:hover,
	.neto-portfolio__card:focus-within {
		transform: none;
	}

	.neto-portfolio__card:hover .neto-portfolio__img,
	.neto-portfolio__card:focus-within .neto-portfolio__img {
		transform: none;
	}
}
