/* TH Filmes — Portfólio v2 */
:root {
	--th-bg: #050505;
	--th-surface: #111;
	--th-text: #f2f2ef;
	--th-muted: #9a9a96;
	--th-line: rgba(255, 255, 255, 0.18);
	--th-accent: #f36b21;
	--th-shell: 1120px;
}

body.th-custom-cursor-enabled,
body.th-custom-cursor-enabled :where(a, button) {
	cursor: none !important;
}

.th-custom-cursor {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 2147483646;
	width: 40px;
	height: 40px;
	border: solid 1px #fff;
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
	transform: translate3d(-80px, -80px, 0);
	transition: opacity 120ms ease;
	will-change: transform;
	mix-blend-mode: difference;
}

.th-custom-cursor.is-visible {
	opacity: 1;
}

.th-portfolio,
.th-portfolio * {
	box-sizing: border-box;
}

.th-portfolio-main,
.th-work {
	background: var(--th-bg);
	color: var(--th-text);
}

.th-work {
	width: 100%;
	overflow: clip;
	font-family: inherit;
}

.th-work-shell {
	width: min(calc(100% - 40px), var(--th-shell));
	margin-inline: auto;
}

.th-work-hero {
	display: grid;
	min-height: min(74vh, 820px);
	padding: clamp(88px, 12vw, 180px) 0 clamp(72px, 9vw, 132px);
	place-items: center;
	text-align: center;
}

.th-work-hero__inner {
	max-width: 980px;
}

.th-work-eyebrow {
	margin: 0 0 18px;
	color: var(--th-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.th-work-title {
	margin: 0;
	color: var(--th-text);
	font-size: clamp(44px, 7vw, 96px);
	font-weight: 400;
	letter-spacing: -0.045em;
	line-height: 0.98;
}

.th-work-subtitle {
	margin: 24px 0 0;
	color: var(--th-muted);
	font-size: clamp(15px, 1.5vw, 20px);
}

.th-work-intro {
	max-width: 840px;
	margin: 36px auto 0;
	color: #b5b5b0;
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.65;
}

.th-work-intro p:last-child {
	margin-bottom: 0;
}

.th-work-section {
	padding: clamp(64px, 9vw, 128px) 0;
	background: var(--th-bg);
	color: var(--th-text);
}

.th-work-video-section {
	padding-top: 0;
}

.th-section-title {
	margin: 0 0 clamp(32px, 5vw, 64px);
	color: var(--th-text);
	font-size: clamp(28px, 4vw, 56px);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 1;
	text-transform: uppercase;
}

.th-video-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--th-surface);
}

.th-video-frame iframe,
.th-video-frame video,
.th-video-frame > div {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
}

.th-video-fallback {
	display: grid;
	width: 100%;
	height: 100%;
	color: var(--th-text);
	place-items: center;
}

.th-gallery {
	column-count: 3;
	column-gap: 5px;
}

.th-gallery-item {
	display: block;
	width: 100%;
	margin: 0 0 5px;
	overflow: hidden;
	break-inside: avoid;
	background: var(--th-surface);
	color: inherit;
	aspect-ratio: var(--th-photo-ratio, 3 / 2);
}

.th-gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 260ms ease, transform 500ms cubic-bezier(0.2, 0.7, 0, 1);
}

.th-gallery-item:hover img {
	transform: scale(1.025);
}

.th-gallery-item:focus-visible {
	outline: 3px solid var(--th-accent);
	outline-offset: -3px;
}

.th-drive-action {
	display: flex;
	justify-content: center;
	margin-top: clamp(36px, 5vw, 64px);
}

.th-button {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: var(--th-text) !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.th-button:hover,
.th-button:focus-visible {
	border-color: var(--th-accent);
	background: var(--th-accent);
	color: #fff !important;
}

.th-button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.th-portfolio.th-photography .th-lightbox {
	all: unset;
	position: fixed !important;
	inset: 0 !important;
	z-index: 2147483000 !important;
	box-sizing: border-box !important;
	width: 100vw !important;
	max-width: none !important;
	height: 100vh !important;
	height: 100dvh !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #000 !important;
	color: #fff !important;
	color-scheme: dark;
	font-family: "Neue Montreal", "Helvetica Neue", Arial, sans-serif !important;
	overscroll-behavior: contain;
}

.th-portfolio.th-photography .th-lightbox:not([open]) {
	display: none !important;
}

.th-portfolio.th-photography .th-lightbox[open] {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	align-items: center !important;
}

.th-portfolio.th-photography .th-lightbox::backdrop {
	background: #000 !important;
}

.th-portfolio.th-photography .th-lightbox:focus {
	outline: none !important;
}

.th-lightbox > .th-lightbox-figure {
	all: unset;
	display: grid !important;
	grid-template-rows: minmax(0, 1fr) auto !important;
	box-sizing: border-box !important;
	width: 100% !important;
	height: 100vh !important;
	height: 100dvh !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: clamp(64px, 7vh, 92px) clamp(72px, 7vw, 112px) 30px !important;
	place-items: center !important;
	overflow: hidden !important;
}

.th-lightbox > .th-lightbox-figure > img {
	all: unset;
	display: block !important;
	box-sizing: border-box !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: calc(100vh - 132px) !important;
	max-height: calc(100dvh - 132px) !important;
	object-fit: contain !important;
	opacity: 1;
	transition: opacity 180ms ease;
}

.th-lightbox.is-loading > .th-lightbox-figure > img {
	opacity: 0;
}

.th-lightbox > .th-lightbox-figure > figcaption {
	all: unset;
	display: block !important;
	box-sizing: border-box !important;
	max-width: min(72vw, 960px) !important;
	margin-top: 12px !important;
	overflow: hidden !important;
	color: rgba(255, 255, 255, 0.58) !important;
	font-size: 12px !important;
	font-style: normal !important;
	font-weight: 400 !important;
	letter-spacing: 0.02em !important;
	line-height: 1.3 !important;
	text-align: center !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

.th-lightbox > .th-lightbox-counter {
	all: unset;
	position: fixed !important;
	top: 32px !important;
	left: 32px !important;
	z-index: 20 !important;
	display: block !important;
	color: rgba(255, 255, 255, 0.62) !important;
	font-size: 11px !important;
	font-weight: 400 !important;
	letter-spacing: 0.14em !important;
	line-height: 1 !important;
}

.th-lightbox > .th-lightbox-close,
.th-lightbox > .th-lightbox-nav {
	all: unset;
	position: fixed !important;
	z-index: 20 !important;
	display: grid !important;
	box-sizing: border-box !important;
	width: 48px !important;
	height: 48px !important;
	padding: 0 !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	border-radius: 50% !important;
	background: rgba(14, 14, 14, 0.72) !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: #fff !important;
	cursor: pointer !important;
	font-size: 0 !important;
	line-height: 0 !important;
	place-items: center !important;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease !important;
}

.th-lightbox > .th-lightbox-close:hover,
.th-lightbox > .th-lightbox-nav:hover {
	border-color: #fff !important;
	background: #fff !important;
}

.th-lightbox > .th-lightbox-close:focus-visible,
.th-lightbox > .th-lightbox-nav:focus-visible {
	outline: 2px solid #fff !important;
	outline-offset: 4px !important;
}

.th-lightbox > .th-lightbox-close {
	top: 24px !important;
	right: 24px !important;
}

.th-lightbox > .th-lightbox-nav {
	top: 50% !important;
	transform: translateY(-50%) !important;
}

.th-lightbox > .th-lightbox-nav:hover {
	transform: translateY(-50%) scale(1.04) !important;
}

.th-lightbox > .th-lightbox-prev {
	left: 20px !important;
}

.th-lightbox > .th-lightbox-next {
	right: 20px !important;
}

.th-lightbox > .th-lightbox-close > span,
.th-lightbox > .th-lightbox-nav > span {
	position: relative !important;
	display: block !important;
	box-sizing: border-box !important;
	width: 16px !important;
	height: 16px !important;
}

.th-lightbox > .th-lightbox-close > span::before,
.th-lightbox > .th-lightbox-close > span::after {
	position: absolute;
	top: 7px;
	left: 0;
	width: 16px;
	height: 1px;
	background: currentColor;
	content: "";
}

.th-lightbox > .th-lightbox-close > span::before {
	transform: rotate(45deg);
}

.th-lightbox > .th-lightbox-close > span::after {
	transform: rotate(-45deg);
}

.th-lightbox > .th-lightbox-nav > span {
	width: 11px !important;
	height: 11px !important;
	border-top: 1.5px solid currentColor !important;
	border-right: 1.5px solid currentColor !important;
}

.th-lightbox > .th-lightbox-prev > span {
	transform: translateX(2px) rotate(-135deg) !important;
}

.th-lightbox > .th-lightbox-next > span {
	transform: translateX(-2px) rotate(45deg) !important;
}

.th-lightbox > .th-lightbox-close:hover,
.th-lightbox > .th-lightbox-nav:hover {
	color: #000 !important;
}

.th-lightbox > .th-lightbox-close::before,
.th-lightbox > .th-lightbox-close::after,
.th-lightbox > .th-lightbox-nav::before,
.th-lightbox > .th-lightbox-nav::after {
	display: none !important;
	content: none !important;
}

.th-lightbox > .th-lightbox-cursor {
	all: unset;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	z-index: 2147483646 !important;
	display: block !important;
	box-sizing: border-box !important;
	width: 40px !important;
	height: 40px !important;
	border: 1px solid #fff !important;
	border-radius: 50% !important;
	opacity: 0 !important;
	pointer-events: none !important;
	transform: translate3d(-80px, -80px, 0);
	transition: opacity 120ms ease !important;
	will-change: transform !important;
	mix-blend-mode: difference !important;
}

.th-lightbox > .th-lightbox-cursor.is-visible {
	opacity: 1 !important;
}

.th-realtime-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.th-video-frame--vertical {
	aspect-ratio: 9 / 16;
}

.th-work-closing {
	padding: clamp(96px, 16vw, 220px) 0;
	background: var(--th-bg);
	color: var(--th-text);
}

.th-work-closing p {
	max-width: 760px;
	margin: 0;
	font-size: clamp(38px, 7vw, 92px);
	font-weight: 400;
	letter-spacing: -0.05em;
	line-height: 0.98;
	text-transform: uppercase;
}

.th-projects {
	position: relative;
	width: 100%;
	color: var(--th-text);
	--th-project-card-width: 630px;
	--th-project-card-width-desktop: var(--th-project-card-width);
	--th-project-card-width-tablet: var(--th-project-card-width-desktop);
	--th-project-card-width-mobile: var(--th-project-card-width-tablet);
	--th-project-card-width-active: var(--th-project-card-width-desktop);
	--th-project-card-height-desktop: auto;
	--th-project-card-height-tablet: var(--th-project-card-height-desktop);
	--th-project-card-height-mobile: var(--th-project-card-height-tablet);
	--th-project-card-height-active: var(--th-project-card-height-desktop);
	--th-projects-gap: 20px;
	--th-projects-gap-desktop: var(--th-projects-gap);
	--th-projects-gap-tablet: var(--th-projects-gap-desktop);
	--th-projects-gap-mobile: var(--th-projects-gap-tablet);
	--th-projects-gap-active: var(--th-projects-gap-desktop);
	--th-project-columns: 2;
	--th-project-columns-tablet: 2;
	--th-projects-arrow-x: 0px;
	--th-projects-arrow-y: 0px;
}

.th-projects-track {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--th-projects-gap-active);
}

.th-projects--grid .th-projects-track {
	grid-template-columns: repeat(var(--th-project-columns), minmax(0, 1fr));
}

.th-project-card {
	position: relative;
	width: 100%;
	height: var(--th-project-card-height-active);
	min-width: 0;
	aspect-ratio: 16 / 9;
	margin: 0;
	overflow: hidden;
	background: var(--th-bg);
	isolation: isolate;
}

.th-project-card::after {
	position: absolute;
	inset: 0;
	z-index: 4;
	border: 1px solid rgba(255, 255, 255, 0.12);
	content: "";
	pointer-events: none;
	transition: border-color 240ms ease;
}

.th-project-card__link {
	display: grid;
	width: 100%;
	height: 100%;
	color: #fff !important;
	text-decoration: none !important;
}

.th-project-card__media,
.th-project-card__body {
	grid-area: 1 / 1;
}

.th-project-card__media {
	position: relative;
	display: block;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
}

.th-project-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.9) contrast(1.03);
	transition: filter 500ms ease, transform 800ms cubic-bezier(0.2, 0.7, 0, 1);
}

.th-project-card__placeholder {
	background:
		linear-gradient(115deg, transparent 49.5%, rgba(255, 255, 255, 0.05) 50%, transparent 50.5%),
		radial-gradient(circle at 70% 18%, rgba(243, 107, 33, 0.25), transparent 26%),
		#101010;
}

.th-project-card__body {
	position: relative;
	z-index: 2;
	display: flex;
	min-width: 0;
	align-items: flex-start;
	justify-content: flex-end;
	padding: clamp(30px, 5vw, 68px) clamp(30px, 5vw, 68px) 50px;
	background:
		linear-gradient(90deg, rgba(2, 3, 8, 0.72) 0%, rgba(2, 3, 8, 0.42) 48%, rgba(2, 3, 8, 0.14) 82%),
		linear-gradient(0deg, rgba(2, 3, 8, 0.42), transparent 62%);
	flex-direction: column;
}

.th-project-card__content {
	display: flex;
	max-width: 82%;
	min-width: 0;
	flex-direction: column;
}

.th-project-card__title {
	font-family: "Avenir Next", "Century Gothic", Futura, sans-serif;
	font-size: clamp(27px, 2.7vw, 42px);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 1;
	text-wrap: balance;
}

.th-project-card__cta {
	display: flex;
	width: max-content;
	max-width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: clamp(18px, 2vw, 24px);
	padding: 11px 22px;
	border: 1px solid rgba(255, 255, 255, 0.82);
	font-size: clamp(11px, 1vw, 14px);
	font-weight: 400;
	letter-spacing: 0;
	white-space: nowrap;
	text-transform: uppercase;
	transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.th-project-card__cta i {
	display: inline-block;
	font-size: 20px;
	font-style: normal;
	line-height: 1;
	transition: transform 220ms ease;
}

.th-project-card__link:hover .th-project-card__image {
	filter: saturate(1.04) contrast(1.03);
	transform: scale(1.045);
}

.th-project-card__link:hover .th-project-card__cta {
	border-color: #fff;
	background: #fff;
	color: #050505;
}

.th-project-card__link:hover .th-project-card__cta i {
	transform: translateX(5px);
}

.th-project-card:hover::after {
	border-color: rgba(255, 255, 255, 0.34);
}

.th-project-card__link:focus-visible {
	outline: 3px solid var(--th-accent);
	outline-offset: -3px;
}

.th-projects--carousel {
	overflow: visible !important;
	clip-path: polygon(0% 0%, 100% -1000%, 1000% 100%, 0% 100%);
}

.th-projects--carousel .swiper,
.th-projects--carousel .swiper-container {
	overflow: visible !important;
	clip-path: polygon(0% 0%, 100% -1000%, 1000% 100%, 0% 100%);
}

.th-projects--carousel .th-projects-track {
	display: flex;
	width: calc(100% + max(0px, 50vw - 50%));
	gap: var(--th-projects-gap-active);
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.th-projects--carousel .th-projects-track::-webkit-scrollbar {
	display: none;
}

.th-projects--carousel .th-projects-track:focus-visible {
	outline: 2px solid var(--th-accent);
	outline-offset: 4px;
}

.th-projects--carousel .th-projects-track.is-jumping {
	scroll-behavior: auto !important;
	scroll-snap-type: none !important;
}

.th-projects--carousel .th-project-card {
	flex: 0 0 min(var(--th-project-card-width-active), calc(100vw - 32px));
	scroll-snap-align: start;
}

.th-projects-controls {
	display: flex;
	gap: 8px;
	margin-top: 18px;
	transform: translate(var(--th-projects-arrow-x), var(--th-projects-arrow-y));
}

.th-portfolio.th-projects .th-projects-controls[hidden] {
	display: none !important;
}

.th-portfolio.th-projects .th-projects-controls > button {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: grid;
	width: 58px;
	height: 58px;
	align-items: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.28) !important;
	border-radius: 50% !important;
	background: rgba(0, 0, 0, 0.45) !important;
	box-shadow: none !important;
	color: #fff !important;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	outline: 0;
	place-items: center;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.th-portfolio.th-projects .th-projects-controls > button:focus,
.th-portfolio.th-projects .th-projects-controls > button:focus:not(:focus-visible) {
	border-color: rgba(255, 255, 255, 0.28) !important;
	background: rgba(0, 0, 0, 0.45) !important;
	box-shadow: none !important;
	color: #fff !important;
	outline: 0 !important;
	transform: none;
}

.th-portfolio.th-projects .th-projects-controls > button:hover,
.th-portfolio.th-projects .th-projects-controls > button:active {
	border-color: #fff !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #050505 !important;
	transform: scale(1.04);
}

.th-portfolio.th-projects .th-projects-controls > button:focus-visible {
	border-color: #fff !important;
	background: rgba(0, 0, 0, 0.45) !important;
	box-shadow: none !important;
	color: #fff !important;
	outline: 2px solid var(--th-accent) !important;
	outline-offset: 3px !important;
}

.th-portfolio.th-projects .th-projects-controls > button:disabled {
	opacity: 0.35;
	cursor: default !important;
	transform: none !important;
}

.th-projects--arrows-left .th-projects-controls {
	justify-content: flex-start;
}

.th-projects--arrows-center .th-projects-controls {
	justify-content: center;
}

.th-projects--arrows-right .th-projects-controls {
	justify-content: flex-end;
}

.th-projects--arrows-overlay-top .th-projects-controls,
.th-projects--arrows-overlay-center .th-projects-controls,
.th-projects--arrows-overlay-bottom .th-projects-controls {
	position: absolute;
	z-index: 6;
	width: max-content;
	margin: 0;
}

.th-projects--arrows-overlay-top .th-projects-controls {
	top: 20px;
}

.th-projects--arrows-overlay-center .th-projects-controls {
	top: 50%;
	transform: translate(var(--th-projects-arrow-x), calc(-50% + var(--th-projects-arrow-y)));
}

.th-projects--arrows-overlay-bottom .th-projects-controls {
	bottom: 20px;
}

.th-projects--arrows-overlay-top.th-projects--arrows-left .th-projects-controls,
.th-projects--arrows-overlay-center.th-projects--arrows-left .th-projects-controls,
.th-projects--arrows-overlay-bottom.th-projects--arrows-left .th-projects-controls {
	left: 20px;
}

.th-projects--arrows-overlay-top.th-projects--arrows-center .th-projects-controls,
.th-projects--arrows-overlay-center.th-projects--arrows-center .th-projects-controls,
.th-projects--arrows-overlay-bottom.th-projects--arrows-center .th-projects-controls {
	left: 50%;
	transform: translate(calc(-50% + var(--th-projects-arrow-x)), var(--th-projects-arrow-y));
}

.th-projects--arrows-overlay-center.th-projects--arrows-center .th-projects-controls {
	transform: translate(calc(-50% + var(--th-projects-arrow-x)), calc(-50% + var(--th-projects-arrow-y)));
}

.th-projects--arrows-overlay-top.th-projects--arrows-right .th-projects-controls,
.th-projects--arrows-overlay-center.th-projects--arrows-right .th-projects-controls,
.th-projects--arrows-overlay-bottom.th-projects--arrows-right .th-projects-controls {
	right: 20px;
}

.th-editorial-list {
	width: 100%;
	background: var(--th-bg);
	color: var(--th-text);
}

.th-portfolio-empty {
	margin: 0;
	padding: 42px 20px;
	border: 1px solid var(--th-line);
	color: var(--th-muted);
	text-align: center;
}

.th-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.th-lightbox-open {
	overflow: hidden !important;
}

@media (max-width: 900px) {
	.th-projects {
		--th-project-card-width-active: var(--th-project-card-width-tablet);
		--th-project-card-height-active: var(--th-project-card-height-tablet);
		--th-projects-gap-active: var(--th-projects-gap-tablet);
	}

	.th-gallery {
		column-count: 2;
	}

	.th-projects-track,
	.th-realtime-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.th-projects--grid .th-projects-track {
		grid-template-columns: repeat(var(--th-project-columns-tablet), minmax(0, 1fr));
	}

}

@media (max-width: 767px) {
	.th-projects {
		--th-project-card-width-active: var(--th-project-card-width-mobile);
		--th-project-card-height-active: var(--th-project-card-height-mobile);
		--th-projects-gap-active: var(--th-projects-gap-mobile);
	}

	.th-projects--grid .th-projects-track {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.th-work-shell {
		width: min(calc(100% - 28px), var(--th-shell));
	}

	.th-work-hero {
		min-height: auto;
		padding-top: 88px;
	}

	.th-gallery {
		column-count: 1;
		column-gap: 0;
	}

	.th-gallery-item {
		margin-bottom: 4px;
	}

	.th-realtime-grid,
	.th-projects-track {
		grid-template-columns: 1fr;
	}

	.th-portfolio.th-photography .th-lightbox[open] {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.th-lightbox > .th-lightbox-figure {
		padding: 72px 56px 26px !important;
	}

	.th-lightbox > .th-lightbox-figure > img {
		max-height: calc(100vh - 116px) !important;
		max-height: calc(100dvh - 116px) !important;
	}

	.th-lightbox > .th-lightbox-close,
	.th-lightbox > .th-lightbox-nav {
		width: 42px !important;
		height: 42px !important;
	}

	.th-lightbox > .th-lightbox-close {
		top: 14px !important;
		right: 14px !important;
	}

	.th-lightbox > .th-lightbox-prev {
		left: 7px !important;
	}

	.th-lightbox > .th-lightbox-next {
		right: 7px !important;
	}

	.th-lightbox > .th-lightbox-counter {
		top: 24px !important;
		left: 16px !important;
	}

	.th-lightbox > .th-lightbox-figure > figcaption {
		max-width: 64vw !important;
		font-size: 11px !important;
	}

	.th-projects--carousel .th-project-card {
		flex-basis: min(var(--th-project-card-width-active), calc(100vw - 28px));
	}

	.th-project-card {
		aspect-ratio: 4 / 3;
	}

	.th-project-card__body {
		padding: 24px 24px 50px;
	}

	.th-project-card__content {
		max-width: 100%;
	}

	.th-project-card__cta {
		gap: 16px;
	}

	.th-portfolio.th-projects .th-projects-controls > button {
		width: 48px;
		height: 48px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.th-custom-cursor {
		display: none !important;
	}

	.th-project-card::after,
	.th-project-card__cta,
	.th-project-card__cta i,
	.th-gallery-item img,
	.th-project-card__image,
	.th-projects--carousel .th-projects-track,
	.th-projects-controls button {
		scroll-behavior: auto;
		transition: none !important;
	}
}

@media (hover: none), (pointer: coarse) {
	.th-custom-cursor {
		display: none !important;
	}
}
