/*
Theme Name: NEWPIC Bridge Child
Description: Update-safe accessibility and design-system foundation for NEWPIC on Bridge.
Author: NEWPIC
Template: bridge
Version: 0.5.21
Text Domain: newpic-bridge-child
*/

:root {
	--newpic-focus-width: 3px;
	--newpic-focus-offset: 3px;
}

.newpic-skip-link {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100000;
	padding: 0.75rem 1rem;
	background: #fff;
	color: #111;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	transform: translateY(-150%);
}

.newpic-skip-link:focus {
	outline: var(--newpic-focus-width) solid currentColor !important;
	outline-offset: 0;
	transform: translateY(0);
}

.newpic-main {
	display: block;
}

/* Bridge's default gray makes the current EU link unreadable in the dark Impressum. */
body.page-id-484 .elementor-widget-text-editor a[href="https://consumer-redress.ec.europa.eu/index_de"] {
	color: #ff66b3 !important;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

body.page-id-484 .elementor-widget-text-editor a[href="https://consumer-redress.ec.europa.eu/index_de"]:focus-visible {
	outline: 3px solid #ff66b3 !important;
	outline-offset: 3px;
}

/* Bridge's default body-link gray is unreadable on dark portfolio backgrounds. */
body.single-portfolio_page .portfolio_single_text_holder :is(
	a[href="/leistungen/industriefotografie-produktion-technik/"],
	a[href="/en/services/industrial-photography-production-technology/"],
	a[href="/es/servicios/fotografia-industrial-produccion-tecnologia/"]
) {
	color: #ff66b3;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

body.single-portfolio_page .portfolio_single_text_holder :is(
	a[href="/leistungen/industriefotografie-produktion-technik/"],
	a[href="/en/services/industrial-photography-production-technology/"],
	a[href="/es/servicios/fotografia-industrial-produccion-tecnologia/"]
):focus-visible {
	outline: 3px solid #ff66b3 !important;
	outline-offset: 3px;
}

/* Keep editorial sentence case in Spanish portfolio titles. */
html[lang^="es"] body.single-portfolio_page .title h1 {
	text-transform: none;
}

/* Bridge's native portfolio titles can contain words wider than a phone. */
@media (max-width: 600px) {
	body.single-portfolio_page .title h1 {
		hyphens: auto;
		overflow-wrap: anywhere;
	}
}

@media (max-width: 480px) {
	body.single-portfolio_page .title h1 {
		font-size: clamp(1.35rem, 7.2vw, 1.9rem);
		line-height: 1.2;
	}
}

/* Bridge absolutely positions unbroken project titles, which makes them overlap. */
body.single-portfolio_page .portfolio_navigation.navigation_title {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
	align-items: start;
	gap: clamp(0.75rem, 2vw, 2rem);
	text-align: left;
}

body.single-portfolio_page .portfolio_navigation.navigation_title :is(.portfolio_prev, .portfolio_next, .portfolio_button) {
	position: static;
	width: auto;
	height: auto;
	min-width: 0;
	line-height: normal;
}

body.single-portfolio_page .portfolio_navigation.navigation_title .portfolio_button {
	justify-self: center;
}

body.single-portfolio_page .portfolio_navigation.navigation_title .portfolio_button a {
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	margin: 0;
	background-position: center;
}

body.single-portfolio_page .portfolio_navigation.navigation_title :is(.portfolio_prev, .portfolio_next) a {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	height: auto;
	margin: 0;
	line-height: 1.25;
	white-space: normal;
}

body.single-portfolio_page .portfolio_navigation.navigation_title .portfolio_next a {
	justify-content: flex-end;
}

body.single-portfolio_page .portfolio_navigation.navigation_title .post_info {
	display: block;
	flex: 1;
	min-width: 0;
	padding: 0;
}

body.single-portfolio_page .portfolio_navigation.navigation_title .post_info .h5 {
	font-size: clamp(1rem, 1.45vw, 1.25rem);
	line-height: 1.25;
	overflow-wrap: anywhere;
}

body.single-portfolio_page .portfolio_navigation.navigation_title a:focus-visible {
	outline: 3px solid #ff3399 !important;
	outline-offset: 4px;
}

@media (max-width: 700px) {
	body.single-portfolio_page .portfolio_navigation.navigation_title {
		grid-template-columns: minmax(0, 1fr) 44px;
		align-items: center;
	}

	body.single-portfolio_page .portfolio_navigation.navigation_title .portfolio_prev {
		grid-column: 1;
		grid-row: 1;
	}

	body.single-portfolio_page .portfolio_navigation.navigation_title .portfolio_next {
		grid-column: 1;
		grid-row: 2;
	}

	body.single-portfolio_page .portfolio_navigation.navigation_title .portfolio_button {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	body.single-portfolio_page .portfolio_navigation.navigation_title .portfolio_next .post_info {
		text-align: left;
	}
}

/* Existing Home portfolio: native keyboard controls, without changing its filter algorithm. */
body.home #work .newpic-portfolio-filters ul {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0.5rem;
}

body.home #work .newpic-portfolio-filters li.newpic-portfolio-filter-item {
	display: block;
	float: none;
	margin: 0;
	padding: 0;
	max-width: 100%;
}

body.home #work .newpic-portfolio-filter-control {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 48px;
	max-width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid #666;
	border-radius: 0;
	background: #0b0b0b;
	color: #fff;
	font: inherit;
	cursor: pointer;
}

body.home #work .newpic-portfolio-filter-control > span {
	padding: 0;
	font-size: 0.875rem;
	line-height: 1.4;
	letter-spacing: 0.04em;
	overflow-wrap: anywhere;
}

body.home #work .newpic-portfolio-filter-control[aria-pressed='true'] {
	border-color: #ff3399;
	background: #222;
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

/* Bridge navigation controls need at least a 44 x 44 CSS-pixel target. */
.mobile_menu_button,
.mobile_menu_button > span,
a.popup_menu {
	min-width: 44px;
	min-height: 44px;
}

.mobile_menu_button > span,
a.popup_menu {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

nav.mobile_menu ul li a,
nav.popup_menu ul li a {
	display: flex;
	align-items: center;
	min-height: 48px;
}

/* Compact existing Bridge header; admin toolbar never covers its controls. */
.wp-child-theme-newpic-bridge-child header.page_header.regular {
	height: 80px;
	top: var(--newpic-adminbar-offset, 0px) !important;
}

header.page_header.regular .header_bottom {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 80px;
	padding-inline: clamp(1rem, 3vw, 3rem);
	background: #0b0b0b !important;
}

header.page_header.regular .header_inner_left {
	position: static !important;
	float: none !important;
	width: auto;
	max-width: calc(100% - 9rem);
}

header.page_header.regular .header_bottom::before,
header.page_header.regular .header_bottom::after,
body.newpic-single-menu header.page_header nav.main_menu {
	display: none;
}

header.page_header.regular .header_inner_right {
	position: static;
	float: none;
	margin-left: auto;
}

header.page_header.regular :is(.logo_wrapper, .side_menu_button) {
	height: 80px !important;
}

.wp-child-theme-newpic-bridge-child .wrapper_inner > .content {
	margin-top: var(--newpic-adminbar-offset, 0px) !important;
}

.newpic-header-brand {
	display: flex !important;
	align-items: center;
	position: static !important;
	left: auto !important;
	float: none !important;
	transform: none !important;
}

.newpic-header-brand a {
	color: #fff;
	font-size: clamp(1rem, 2vw, 1.35rem);
	font-weight: 600;
	letter-spacing: -0.035em;
	/* The compact header reserves room for the menu control. Keep the brand
	 * readable as one unit instead of wrapping at 320 CSS pixels. */
	white-space: nowrap;
	text-transform: lowercase;
}

header.page_header.regular a.newpic-header-cta { display: none; }

@media (min-width: 640px) {
	header.page_header.regular .side_menu_button_wrapper.newpic-header-cta-host {
		display: flex;
		align-items: center;
		gap: 1rem;
		height: 80px;
	}

	header.page_header.regular .side_menu_button_wrapper.newpic-header-cta-host .side_menu_button {
		display: flex;
		align-items: center;
		height: 80px !important;
	}

	header.page_header.regular a.newpic-header-cta {
		box-sizing: border-box;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 48px;
		padding: 0.65rem 1rem;
		background: #ff3399;
		color: #111;
		font-size: 1rem;
		font-weight: 700;
		line-height: 1.25;
		text-decoration: none;
	}

	header.page_header.regular a.newpic-header-cta:hover { background: #fff; }

	header.page_header.regular a.newpic-header-cta:focus-visible {
		outline: 3px solid #fff !important;
		outline-offset: 4px;
	}
}

body.newpic-single-menu .mobile_menu_button,
body.newpic-single-menu nav.mobile_menu {
	display: none !important;
}

header.page_header a.popup_menu {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	min-height: 48px;
	padding: 0.25rem 0.65rem;
	border: 1px solid #666;
	background: #111;
	color: #fff;
	font-size: 1rem;
	line-height: 1.2;
}

.newpic-menu-label {
	font-size: 1rem;
	font-weight: 600;
}

.newpic-menu-close {
	position: absolute;
	top: calc(11px + var(--newpic-adminbar-offset, 0px));
	right: clamp(1rem, 3vw, 3rem);
	z-index: 1;
	min-height: 48px;
	padding: 0.65rem 1rem;
	border: 1px solid #888;
	background: #111;
	color: #fff;
	font: inherit;
	font-size: 1rem;
	cursor: pointer;
}

/* Bridge's header is z-index 110. The enhanced dialog must cover it. */
body.newpic-single-menu .popup_menu_holder_outer {
	z-index: 120;
	/* Bridge adds the header height to its inline dialog height. Keep the
	 * scrollport inside the actual viewport, including short landscape screens. */
	height: 100vh !important;
	height: 100dvh !important;
	overflow-y: auto !important;
	overscroll-behavior-y: contain;
	scroll-padding-block: calc(80px + var(--newpic-adminbar-offset, 0px)) 1rem;
}

body.newpic-single-menu .newpic-menu-close {
	position: fixed;
}

body.popup_menu_opened header.page_header a.popup_menu {
	visibility: hidden;
	/* Bridge explicitly makes its inner SVG visible; hide the whole layer. */
	opacity: 0;
}

header.page_header a.popup_menu :is(.qode-popup-menu-opener, .qode-popup-menu-closer) {
	position: static !important;
	transform: none !important;
	margin: 0 !important;
	align-items: center;
}

body:not(.popup_menu_opened) header.page_header .qode-popup-menu-closer,
body.popup_menu_opened header.page_header .qode-popup-menu-opener {
	display: none !important;
}

body:not(.popup_menu_opened) header.page_header .qode-popup-menu-opener,
body.popup_menu_opened header.page_header .qode-popup-menu-closer {
	display: inline-flex !important;
}

.popup_menu_holder_outer {
	box-sizing: border-box;
	padding-top: calc(80px + var(--newpic-adminbar-offset, 0px));
	overflow-y: auto !important;
}

.popup_menu_holder_outer .popup_menu_holder_inner {
	padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* Remove decorative vertical space before reducing any touch target. */
@media (max-height: 700px) {
	body.newpic-single-menu .popup_menu_holder_outer .popup_menu_holder_inner {
		padding-block: 1rem;
	}

	body.newpic-single-menu nav.popup_menu ul li a {
		box-sizing: border-box;
		min-height: 48px;
	}
}

nav.popup_menu ul li a {
	justify-content: center;
	padding: 0.5rem;
	font-size: clamp(1.25rem, 4.5vw, 2rem) !important;
	line-height: 1.3 !important;
	text-align: center;
}

nav.popup_menu ul li a span {
	font-size: inherit !important;
	line-height: inherit !important;
}

/* These labels are emitted only for strictly classified language menu items. */
nav:is(.popup_menu, .mobile_menu) .newpic-menu-language-label {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0.5rem;
	color: #fff;
	font-size: 1rem;
	line-height: 1.4;
	letter-spacing: normal;
	text-transform: none;
	cursor: default;
}

nav:is(.popup_menu, .mobile_menu) .newpic-menu-language-name {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

nav:is(.popup_menu, .mobile_menu) .newpic-menu-language-status {
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.4;
}

nav.mobile_menu .newpic-menu-language-label {
	justify-content: flex-start;
	color: #111;
}

/* A verified current-language marker binds CTA styling to its language menu. */
nav.popup_menu ul:has(> li.newpic-menu-language-current > .newpic-menu-language-label[aria-current="true"]) > li.newpic-menu-cta > a,
nav.mobile_menu ul:has(> li.newpic-menu-language-current > .newpic-menu-language-label[aria-current="true"]) > li.newpic-menu-cta > a {
	box-sizing: border-box;
	min-height: 48px;
	margin: 1rem auto 0.5rem;
	padding: 0.75rem 1.25rem;
	width: fit-content;
	max-width: calc(100% - 12px);
	border: 2px solid #ff3399;
	background: #ff3399;
	color: #111 !important;
	font-size: 1rem !important;
	font-weight: 700;
	line-height: 1.4 !important;
	text-transform: none;
}

nav.popup_menu ul:has(> li.newpic-menu-language-current > .newpic-menu-language-label[aria-current="true"]) > li.newpic-menu-cta > a:focus-visible {
	outline-color: #fff !important;
}

nav.mobile_menu ul:has(> li.newpic-menu-language-current > .newpic-menu-language-label[aria-current="true"]) > li.newpic-menu-cta > a:focus-visible {
	outline-color: #111 !important;
}

/* A compact link index, not eight additional landingpage sections on Home23. */
body.home .newpic-home-services {
	box-sizing: border-box;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 1.5rem 1rem !important;
	gap: 1rem;
}

body.home .newpic-home-services h2.elementor-heading-title {
	margin: 0;
	color: #fff;
	font-size: clamp(1.5rem, 3vw, 2rem) !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.025em;
	text-transform: none !important;
}

body.home .newpic-home-services ul.newpic-home-services-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.home .newpic-home-services-list > li {
	min-width: 0;
	margin: 0;
	padding: 0;
}

body.home .newpic-home-services a.newpic-home-service-link {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem;
	box-sizing: border-box;
	min-height: 100px;
	height: 100%;
	padding: 0.75rem;
	border: 1px solid #666;
	background: #171717;
	color: #fff !important;
	text-decoration: none;
}

body.home .newpic-home-service-link .newpic-home-service-label {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

body.home .newpic-home-service-link .newpic-home-service-benefit {
	font-size: 0.875rem;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

body.home .newpic-home-services a.newpic-home-service-link--featured {
	border-color: #ff3399;
	background: #ff3399;
	color: #111 !important;
}

body.home .newpic-home-services a.newpic-home-service-link:hover {
	background: #fff;
	border-color: #fff;
	color: #111 !important;
}

body.home .newpic-home-services a.newpic-home-service-link:focus-visible {
	outline-color: #fff !important;
}

/* One direct industry route after the eight-card grid, without an orphan ninth card. */
body.home .newpic-home-services p.newpic-home-industry {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.5rem 1rem;
	margin: 0.75rem 0 0;
	padding: 0.5rem 0.75rem;
	border: 1px solid #666;
	border-left: 3px solid #ff3399;
	background: #101010;
}

body.home .newpic-home-industry-label {
	color: #ff3399;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

body.home .newpic-home-services a.newpic-home-industry-link {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	color: #fff !important;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

body.home .newpic-home-services a.newpic-home-industry-link:hover {
	color: #ff3399 !important;
}

body.home .newpic-home-services a.newpic-home-industry-link:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@media (max-width: 600px) {
	body.home .newpic-home-services p.newpic-home-industry {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 900px) {
	body.home .newpic-home-services ul.newpic-home-services-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.5rem;
	}
}

/* Compact service cards on small screens; text may always grow without clipping. */
@media (max-width: 600px) {
	body.home .newpic-home-services {
		padding: 1rem 1rem !important;
	}

	body.home .newpic-home-services a.newpic-home-service-link {
		min-height: 88px;
		padding: 0.5rem 0.625rem;
	}
}

/* Give long translated service names full width on the smallest phones. */
@media (max-width: 359px) {
	body.home .newpic-home-services ul.newpic-home-services-list {
		grid-template-columns: minmax(0, 1fr);
	}

	body.home .newpic-home-services a.newpic-home-service-link {
		min-height: 76px;
		gap: 0.25rem;
		padding: 0.625rem 0.75rem;
	}
}

#back_to_top.newpic-back-to-top {
	position: static;
	display: flex;
	width: max-content;
	height: auto;
	min-height: 48px;
	align-items: center;
	margin: 1rem auto;
	padding: 0.25rem 1rem;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	color: #fff;
	font-size: 1rem;
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

/* Keep the original SR7 film/logo; fix only its oversized legacy layer geometry. */
body.home .elementor-element-ed36955 {
	--newpic-hero-height: clamp(28rem, 70svh, 58rem);
	position: relative;
	/* Reuse the slider's own transparent wordmark during its JS startup gap. */
	background-color: #000;
	background-image: url("../../uploads/2025/02/1-NP_4c_trans.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: min(86vw, 75rem) auto;
}

body.home .elementor-element-ed36955 :is(#SR7_1_1, sr7-adjuster, sr7-content, sr7-bg) {
	height: var(--newpic-hero-height) !important;
}

body.home .elementor-element-ed36955 #SR7_1_1-1-1 {
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	transform: none !important;
}

body.home .elementor-element-ed36955 #SR7_1_1-1-2 {
	left: 50% !important;
	top: 50% !important;
	width: min(86%, 75rem) !important;
	height: auto !important;
	aspect-ratio: 8 / 3;
	transform: translate(-50%, -50%) !important;
	background-size: contain !important;
	box-shadow: none !important;
}

/* Native, Elementor-editable Home variant; inert until its section is marked. */
body.home .elementor-element-ed36955.newpic-native-hero,
body.home .elementor-element-ed36955.newpic-native-hero > .elementor-container,
body.home .elementor-element-ed36955.newpic-native-hero .elementor-column,
body.home .elementor-element-ed36955.newpic-native-hero .elementor-widget-wrap {
	height: var(--newpic-hero-height);
	min-height: var(--newpic-hero-height);
}

body.home .elementor-element-ed36955.newpic-native-hero > .elementor-container {
	max-width: none;
	width: 100%;
}

body.home .elementor-element-ed36955.newpic-native-hero .elementor-widget-wrap {
	position: relative;
	padding: 0;
}

body.home .elementor-element-ed36955.newpic-native-hero .newpic-native-hero-video {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	margin: 0;
}

body.home .elementor-element-ed36955.newpic-native-hero .newpic-native-hero-video .elementor-widget-container,
body.home .elementor-element-ed36955.newpic-native-hero .newpic-native-hero-video .elementor-wrapper {
	width: 100%;
	height: 100%;
	padding: 0 !important;
	aspect-ratio: auto;
	overflow: hidden;
}

body.home .elementor-element-ed36955.newpic-native-hero .newpic-native-hero-video .elementor-wrapper::before {
	display: none;
}

body.home .elementor-element-ed36955.newpic-native-hero .newpic-native-hero-video video.elementor-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
}

body.home .elementor-element-ed36955.newpic-native-hero .newpic-native-hero-logo {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 2;
	width: min(86%, 75rem);
	margin: 0;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

body.home .elementor-element-ed36955.newpic-native-hero .newpic-native-hero-logo img {
	display: block;
	width: 100%;
	height: auto;
}

/* Show the offer in the first desktop viewport and avoid tablet wordmark cropping. */
@media (min-width: 701px) {
	body.home .newpic-pilot-hero {
		padding-top: clamp(1rem, 2vw, 2rem) !important;
	}
}

@media (min-width: 701px) and (max-width: 1099px) {
	body.home .elementor-element-ed36955 {
		--newpic-hero-height: clamp(18rem, 50svh, 32rem);
	}

	body.home .elementor-element-ed36955 #SR7_1_1-1-1_video_html5 {
		object-fit: contain !important;
		background-color: #000;
	}

	body.home .elementor-element-ed36955.newpic-native-hero .newpic-native-hero-video video.elementor-video {
		object-fit: contain;
	}
}

@media (min-width: 1100px) {
	body.home .newpic-pilot-hero h1.elementor-heading-title {
		max-width: none;
		font-size: clamp(2.5rem, 4.2vw, 4.25rem) !important;
	}
}

.newpic-hero-video-toggle {
	position: absolute;
	left: clamp(1rem, 3vw, 3rem);
	bottom: 1rem;
	z-index: 20;
	min-height: 48px;
	padding: 0.6rem 1rem;
	border: 1px solid #fff;
	background: rgba(0, 0, 0, 0.85);
	color: #fff;
	font: inherit;
	font-size: 1rem;
	cursor: pointer;
}

.newpic-hero-video-toggle[hidden] { display: none; }

.newpic-hero-frame-paused #SR7_1_1-1-1_video {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.newpic-hero-frame-paused #SR7_1_1-1-1_poster { display: none !important; }

@media (max-width: 700px) {
	body.home .elementor-element-ed36955 {
		/* Keep the film visible while bringing the enquiry CTA into the first phone viewport. */
		--newpic-hero-height: clamp(18rem, 40svh, 20rem);
	}

	body.home .elementor-element-ed36955 #SR7_1_1-1-1_video_html5 {
		object-fit: contain !important;
		background-color: #000;
	}

	body.home .elementor-element-ed36955.newpic-native-hero .newpic-native-hero-video video.elementor-video {
		object-fit: contain;
	}

	body.home .newpic-pilot-hero {
		padding-top: 2rem !important;
	}
}

@media (max-width: 420px) and (max-height: 780px) {
	/* On short phones, put the existing enquiry link directly after the H1. */
	body.home .newpic-pilot-hero .elementor-element-a11c005 { order: 1; }
	body.home .newpic-pilot-hero .elementor-element-a11c004 { order: 2; }
	body.home .newpic-pilot-hero .elementor-element-c050002 { order: 3; }
}

.newpic-pilot-hero {
	background: #0b0b0b !important;
	color: #fff;
	padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 5vw, 5rem) !important;
}

.newpic-pilot-hero h1.elementor-heading-title {
	max-width: 16ch;
	margin: 0 !important;
	color: #fff !important;
	font-size: clamp(2.5rem, 5.2vw, 5rem) !important;
	font-weight: 600 !important;
	line-height: 1.08 !important;
	letter-spacing: -0.035em !important;
	text-transform: none !important;
}

.newpic-pilot-hero .newpic-pilot-subline {
	max-width: 52ch;
	margin: 1.5rem 0 0 !important;
	color: #dedede !important;
	font-size: clamp(1rem, 1.5vw, 1.2rem) !important;
	line-height: 1.65 !important;
}

.newpic-pilot-hero .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 1.25rem;
	padding: 0.75rem 1.25rem;
	background: #ff3399 !important;
	border: 2px solid #ff3399 !important;
	border-radius: 0 !important;
	color: #111 !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	text-transform: none !important;
}

.newpic-pilot-hero .elementor-button:hover {
	background: #fff !important;
	border-color: #fff !important;
}

.newpic-pilot-hero .elementor-button:focus-visible {
	outline: 3px solid #fff !important;
	outline-offset: 4px;
}

.newpic-pilot-hero > .elementor-container {
	align-items: center;
	gap: clamp(1.5rem, 4vw, 4rem);
	max-width: 1440px;
}

.newpic-pilot-hero .newpic-home-brand img {
	width: 11rem;
	height: auto;
	display: block;
	margin: 0 0 1.75rem;
}

.newpic-pilot-hero .newpic-home-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.newpic-pilot-hero .newpic-home-secondary a {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding-block: 0.5rem;
	color: #fff;
	font-size: 1rem;
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

.newpic-existing-intro,
.newpic-existing-form {
	box-sizing: border-box;
	max-width: 1200px;
	margin-inline: auto;
	padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem) !important;
	color: #f5f5f5;
}

.newpic-existing-intro h1.elementor-heading-title,
.newpic-existing-intro h2.elementor-heading-title {
	color: #fff !important;
	font-size: clamp(2rem, 4.2vw, 3.5rem) !important;
	line-height: 1.15 !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: -0.025em;
}

.newpic-existing-intro p {
	max-width: 62ch;
	color: #dedede !important;
	font-size: 1.125rem !important;
	line-height: 1.7 !important;
}

#projekt-anfragen {
	scroll-margin-top: 6rem;
}

.newpic-photoactions h2.elementor-heading-title {
	margin-top: 2rem;
	color: #fff !important;
	font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
}

.newpic-pilot-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.newpic-pilot-form__field,
.newpic-pilot-form__field label,
.newpic-pilot-form__field .wpcf7-form-control-wrap {
	display: block;
}

.newpic-pilot-form__field--full {
	grid-column: 1 / -1;
}

.newpic-pilot-form label {
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.newpic-pilot-form input:not([type='checkbox']),
.newpic-pilot-form select,
.newpic-pilot-form textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
}

.newpic-pilot-form textarea {
	min-height: 10rem;
}

.newpic-pilot-form .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
}

.newpic-pilot-form .wpcf7-acceptance input {
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.15rem;
}

.newpic-pilot-form .wpcf7-submit {
	min-width: 10rem;
}

/*
 * Draft-only core components.
 *
 * These classes style content stored in Elementor/WordPress on Staging. They
 * add no asset request and do not change existing pages unless an editor
 * explicitly assigns a newpic-core-* class.
 */
.newpic-core-page {
	--newpic-core-bg: #0b0b0b;
	--newpic-core-surface: #171717;
	--newpic-core-text: #f7f7f4;
	--newpic-core-muted: #c8c8c2;
	--newpic-core-accent: #ff3399;
	--newpic-core-border: #4d4d48;
	background: var(--newpic-core-bg);
	color: var(--newpic-core-text);
}

.newpic-core-page :where(h1, h2, h3, p, li, summary, strong),
.newpic-core-section :where(h1, h2, h3, p, li, summary, strong) {
	color: var(--newpic-core-text, #f7f7f4) !important;
}

/* Legal drafts reuse the dark page surface; Bridge's default links are too dark. */
.newpic-legal-draft a:link,
.newpic-legal-draft a:visited {
	color: #ff66b3 !important;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.newpic-legal-draft a:hover {
	color: #fff !important;
}

.newpic-legal-draft a:focus-visible {
	outline: 3px solid #ff66b3 !important;
	outline-offset: 3px;
}

@media (max-width: 480px) {
	.newpic-legal-draft :where(h1, h2, h3) {
		hyphens: auto;
		overflow-wrap: anywhere;
	}

	.newpic-legal-draft h1 {
		font-size: clamp(1.5rem, 7vw, 2rem);
		line-height: 1.2;
	}
}

.newpic-core-section {
	box-sizing: border-box;
	width: 100%;
	max-width: 80rem;
	margin-inline: auto;
	padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 5rem);
}

.newpic-core-section + .newpic-core-section {
	border-top: 1px solid var(--newpic-core-border, #4d4d48);
}

.newpic-core-hero {
	min-height: min(46rem, 80vh);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.newpic-core-hero h1 {
	max-width: 18ch;
	margin: 0;
	font-size: clamp(2.5rem, 7vw, 6.5rem);
	line-height: 0.98;
}

.newpic-core-eyebrow {
	margin-bottom: 1rem;
	color: var(--newpic-core-accent) !important;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.newpic-core-lead {
	max-width: 64ch;
	color: var(--newpic-core-muted) !important;
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	line-height: 1.55;
}

.newpic-core-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 2rem);
}

.newpic-core-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.newpic-core-card,
.newpic-core-step,
.newpic-core-price,
.newpic-core-contact {
	box-sizing: border-box;
	padding: clamp(1.25rem, 3vw, 2.25rem);
	border: 1px solid var(--newpic-core-border);
	background: var(--newpic-core-surface);
}

.newpic-core-card :where(h2, h3),
.newpic-core-step :where(h2, h3),
.newpic-core-price :where(h2, h3) {
	margin-top: 0;
}

.newpic-core-list {
	margin: 1.5rem 0 0;
	padding-left: 1.35rem;
}

.newpic-core-list li + li {
	margin-top: 0.75rem;
}

.newpic-core-faq details {
	padding: 1.25rem 0;
	border-top: 1px solid var(--newpic-core-border);
}

.newpic-core-faq details:last-child {
	border-bottom: 1px solid var(--newpic-core-border);
}

.newpic-core-faq summary {
	cursor: pointer;
	font-weight: 700;
}

.newpic-core-cta {
	background: var(--newpic-core-accent);
	color: #111;
}

.newpic-core-cta :where(h1, h2, h3, p, li, summary, strong) {
	color: #111 !important;
}

.newpic-core-disabled-link {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0.75rem 1.25rem;
	border: 2px solid currentColor;
	color: var(--newpic-core-text) !important;
	font-weight: 700;
}

.newpic-core-cta .newpic-core-disabled-link {
	color: #111 !important;
}

.newpic-core-draft-note,
.newpic-core-todo {
	padding: 0.75rem 1rem;
	border-left: 4px solid var(--newpic-core-accent);
	background: #242424;
	color: var(--newpic-core-text) !important;
}

/*
 * German content drafts.
 *
 * These rules are scoped to explicitly assigned newpic-content-* classes.
 * They add no font, image, script or stylesheet request and do not affect
 * existing published pages.
 */
.newpic-content-page {
	font-size: clamp(1rem, 1.2vw, 1.125rem);
	line-height: 1.65;
}

.newpic-content-page h2 {
	max-width: 22ch;
	margin: 0 0 1.5rem;
	font-size: clamp(2rem, 5vw, 4.5rem);
	line-height: 1.05;
}

.newpic-content-page h3 {
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	line-height: 1.2;
}

.newpic-content-page p {
	max-width: 70ch;
}

.newpic-content-page :where(h1, h2, h3, h4, p, li, summary, small, span, a) {
	overflow-wrap: anywhere;
}

.newpic-content-page :where(.e-con-inner, .elementor-widget, .elementor-widget-container, .newpic-core-grid > *) {
	min-width: 0;
	max-width: 100%;
}

.newpic-content-hero {
	gap: clamp(1.25rem, 3vw, 2.5rem);
}

.newpic-content-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.5rem 0;
	padding: 0;
	list-style: none;
}

.newpic-content-pills li {
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--newpic-core-border);
	border-radius: 999px;
	background: var(--newpic-core-surface);
	font-size: 0.875rem;
	font-weight: 700;
}

.newpic-content-media {
	width: 100%;
	margin: clamp(1.5rem, 4vw, 3.5rem) 0 0;
	overflow: hidden;
	background: var(--newpic-core-surface);
}

.newpic-content-media__image,
.newpic-content-media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 48rem;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.newpic-content-target-grid,
.newpic-content-work-grid,
.newpic-content-gallery,
.newpic-content-price-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 2rem);
	margin-top: 2rem;
}

.newpic-content-work-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.newpic-content-target {
	display: flex;
	min-height: 7rem;
	box-sizing: border-box;
	flex-direction: column;
	justify-content: space-between;
	gap: 1rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--newpic-core-border);
	background: var(--newpic-core-surface);
	color: var(--newpic-core-text) !important;
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	font-weight: 700;
}

.newpic-content-target small {
	display: block;
	color: var(--newpic-core-muted) !important;
	font-size: 0.75rem;
	font-weight: 400;
}

.newpic-content-target--cta {
	display: inline-flex;
	width: auto;
	min-height: 48px;
	margin: 0.5rem 0.5rem 0.5rem 0;
	padding: 0.75rem 1.25rem;
	border: 2px solid currentColor;
	background: transparent;
}

.newpic-core-cta .newpic-content-target--cta {
	color: #111 !important;
}

.newpic-content-work-card {
	border: 1px solid var(--newpic-core-border);
	background: var(--newpic-core-surface);
}

.newpic-content-work-card a {
	display: block;
	height: 100%;
	color: var(--newpic-core-text) !important;
	text-decoration: none;
}

.newpic-content-work-card .newpic-content-media {
	margin: 0;
}

.newpic-content-work-card .newpic-content-media__image,
.newpic-content-work-card .newpic-content-media img {
	aspect-ratio: 4 / 3;
}

.newpic-content-work-card > a > span {
	display: block;
	padding: 1rem;
	font-weight: 700;
}

/* Native portfolio archive: existing WordPress projects, without blog chrome. */
.newpic-portfolio-archive__inner {
	box-sizing: border-box;
	max-width: 87.5rem;
	margin-inline: auto;
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 5rem);
}

.newpic-portfolio-archive__heading {
	margin: 0 0 1rem;
	font-size: clamp(2.5rem, 7vw, 5.5rem);
	line-height: 1.05;
	letter-spacing: -0.035em;
	text-transform: none;
	overflow-wrap: anywhere;
}

.newpic-portfolio-archive__intro {
	max-width: 48rem;
	margin: 0;
	color: var(--newpic-core-text);
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.newpic-portfolio-archive__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 2.5rem);
	margin-block: 2.5rem;
}

.newpic-portfolio-archive__card {
	min-width: 0;
	border: 1px solid var(--newpic-core-border);
	background: var(--newpic-core-surface);
}

.newpic-portfolio-archive__link {
	display: flex;
	box-sizing: border-box;
	flex-direction: column;
	height: 100%;
	color: var(--newpic-core-text);
	text-decoration: none;
}

.newpic-portfolio-archive__link:focus-visible {
	outline: 3px solid #fff !important;
	outline-offset: 4px;
}

.newpic-portfolio-archive__link img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.newpic-portfolio-archive__title {
	margin: 0;
	padding: 1.25rem 1.25rem 0.75rem;
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	overflow-wrap: anywhere;
}

.newpic-portfolio-archive__link:hover .newpic-portfolio-archive__title {
	text-decoration: underline;
	text-decoration-color: var(--newpic-core-accent);
	text-underline-offset: 0.2em;
}

.newpic-portfolio-archive__excerpt {
	margin: 0;
	padding: 0 1.25rem 1.25rem;
	font-size: 1rem;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.newpic-portfolio-archive .navigation {
	margin-top: 3rem;
}

.newpic-portfolio-archive .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.newpic-portfolio-archive .page-numbers {
	display: inline-flex;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 48px;
	padding: 0.5rem 0.875rem;
	border: 1px solid var(--newpic-core-border);
	color: var(--newpic-core-text);
	font-size: 1rem;
	line-height: 1.5;
	text-decoration: none;
}

.newpic-portfolio-archive .page-numbers.current {
	border-color: var(--newpic-core-accent);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.newpic-portfolio-archive .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.newpic-portfolio-archive__contact {
	display: flex;
	justify-content: center;
	margin: clamp(2.5rem, 5vw, 4rem) 0 0;
}

.newpic-portfolio-archive__contact-link,
.newpic-portfolio-single__contact-link {
	display: inline-flex;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.75rem 1.25rem;
	border: 2px solid var(--newpic-core-accent, #ff3399);
	background: var(--newpic-core-accent, #ff3399);
	color: #111 !important;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
}

.newpic-portfolio-archive__contact-link:hover,
.newpic-portfolio-single__contact-link:hover {
	border-color: #fff;
	background: #fff;
}

.newpic-portfolio-archive__contact-link:focus-visible,
.newpic-portfolio-single__contact-link:focus-visible {
	outline: 3px solid #fff !important;
	outline-offset: 4px;
}

.newpic-portfolio-single__contact {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 clamp(1.25rem, 3vw, 2.25rem);
}

body.single-portfolio_page .newpic-portfolio-single__lede {
	max-width: 68ch;
	margin: 0 0 1.25rem;
}

body.single-portfolio_page .newpic-portfolio-single__category-links {
	display: flex;
	box-sizing: border-box;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	max-width: 68ch;
	margin: 1.5rem 0 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #777;
	color: #e8e8e8;
	line-height: 1.5;
}

body.single-portfolio_page .newpic-portfolio-single__category-links span {
	flex-basis: 100%;
}

body.single-portfolio_page .newpic-portfolio-single__category-links a {
	display: inline-flex;
	box-sizing: border-box;
	align-items: center;
	min-height: 48px;
	padding: 0.5rem 0.875rem;
	border: 1px solid #aaa;
	background: transparent;
	color: #fff !important;
	line-height: 1.4;
	text-decoration: none;
}

body.single-portfolio_page .newpic-portfolio-single__category-links a:hover {
	border-color: var(--newpic-core-accent, #ff3399);
	background: var(--newpic-core-accent, #ff3399);
	color: #111 !important;
}

body.single-portfolio_page .newpic-portfolio-single__category-links a:focus-visible {
	outline: 3px solid #fff !important;
	outline-offset: 4px;
}

@media (max-width: 600px) {
	.newpic-portfolio-single__contact-link {
		width: 100%;
	}
}

@media (max-width: 1000px) {
	.newpic-portfolio-archive__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 639px) {
	.newpic-portfolio-archive__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.newpic-content-gallery .newpic-content-media {
	margin: 0;
}

.newpic-content-gallery .newpic-content-media__image,
.newpic-content-gallery .newpic-content-media img {
	aspect-ratio: 4 / 3;
}

.newpic-content-placeholder {
	box-sizing: border-box;
	min-height: 12rem;
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px dashed var(--newpic-core-accent);
	background: var(--newpic-core-surface);
}

.newpic-content-placeholder strong {
	display: block;
	margin-bottom: 0.75rem;
	color: var(--newpic-core-accent) !important;
}

.newpic-content-price-grid .newpic-core-price {
	padding: clamp(1.5rem, 4vw, 3rem);
}

.newpic-content-price {
	margin: 1rem 0;
	font-size: clamp(2rem, 5vw, 4rem);
	font-weight: 700;
	line-height: 1;
}

.newpic-content-price small {
	display: block;
	margin-top: 0.5rem;
	color: var(--newpic-core-muted) !important;
	font-size: 0.875rem;
	font-weight: 400;
}

.newpic-content-faq details {
	padding: 1.25rem 0;
	border-top: 1px solid var(--newpic-core-border);
}

.newpic-content-faq details:last-child {
	border-bottom: 1px solid var(--newpic-core-border);
}

.newpic-content-faq summary {
	cursor: pointer;
	font-weight: 700;
}

.newpic-content-section .wpcf7 {
	max-width: 60rem;
}

/* Existing Elementor landingpage drafts only: no change to the home hero. */
.page_container_inner:has(> .newpic-main > .elementor > .newpic-landingpage) {
	width: 100% !important;
	max-width: 1280px;
	padding-top: 0;
}

.newpic-landingpage,
.newpic-landingpage .newpic-landing-copy {
	padding: 0 !important;
}

.newpic-landingpage .newpic-core-section {
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 4rem) !important;
}

.newpic-landingpage h1.elementor-heading-title {
	max-width: 20ch;
	font-size: clamp(2rem, 3vw, 3rem) !important;
	font-weight: 600 !important;
	line-height: 1.08 !important;
	letter-spacing: -0.035em !important;
	text-transform: none !important;
}

/* Keep long landing titles readable on narrow screens without fixed text breaks. */
@media (max-width: 360px) {
	.newpic-landingpage h1.elementor-heading-title {
		font-size: 1.75rem !important;
	}
}

.newpic-landingpage h2.elementor-heading-title {
	max-width: 27ch;
	font-size: clamp(1.8rem, 3vw, 3rem) !important;
	font-weight: 600 !important;
	line-height: 1.15 !important;
	letter-spacing: -0.025em !important;
	text-transform: none !important;
}

.newpic-landingpage :is(h1, h2, h3) {
	overflow-wrap: normal;
	hyphens: auto;
}

/* Landing hero titles should wrap at words before splitting them mid-line. */
.newpic-landingpage .newpic-landing-hero h1.elementor-heading-title {
	overflow-wrap: break-word;
	hyphens: none;
}

.newpic-landingpage h3 {
	font-size: clamp(1.2rem, 1.7vw, 1.5rem) !important;
	line-height: 1.25 !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.newpic-landingpage p,
.newpic-landingpage li,
.newpic-landingpage summary {
	font-size: 1rem;
	line-height: 1.65;
}

.newpic-landingpage .newpic-core-lead {
	font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.newpic-landingpage .newpic-landing-hero,
.newpic-landingpage .newpic-landing-hero > .e-con-inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(1.5rem, 4vw, 4rem);
	min-height: auto;
}

.newpic-landingpage .newpic-landing-hero:has(> .e-con-inner) {
	display: flex !important;
}

.newpic-landingpage .newpic-landing-hero .newpic-content-media {
	margin: 0;
}

.newpic-landingpage .newpic-landing-hero .newpic-content-media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.newpic-landingpage .newpic-landing-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.newpic-landingpage a.newpic-landing-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 48px;
	padding: 0.75rem 1.15rem;
	border: 2px solid #ff3399;
	background: #ff3399;
	color: #111 !important;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.newpic-landingpage a.newpic-landing-button--secondary {
	background: transparent;
	border-color: currentColor;
	color: #fff !important;
}

.newpic-landingpage a.newpic-landing-button:hover {
	background: #fff;
	border-color: #fff;
	color: #111 !important;
}

/* Dark button text must not turn its focus ring dark on our dark surfaces. */
.newpic-landingpage a.newpic-landing-button:focus-visible {
	outline-color: #fff !important;
}

.newpic-landingpage .newpic-core-cta a.newpic-landing-button {
	background: #111;
	border-color: #111;
	color: #fff !important;
}

.newpic-landingpage a:not(.newpic-landing-button) {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* Editorial text links use their readable paragraph colour, including magenta CTA sections. */
.newpic-landingpage .elementor-widget-text-editor :is(p, li) a[href]:not(.newpic-landing-button) {
	color: inherit;
}

.newpic-landingpage summary {
	min-height: 44px;
	padding-block: 0.5rem;
}

.newpic-landingpage .newpic-landing-plan img {
	aspect-ratio: auto;
	object-fit: contain;
	max-height: none;
}

/* Keep the existing About portrait's head in view, not a landscape hero crop. */
.newpic-landingpage .newpic-landing-hero .newpic-about-portrait img {
	aspect-ratio: 3 / 4;
	object-position: center top;
}

@media (max-width: 900px) {
	.newpic-landingpage .newpic-landing-hero,
	.newpic-landingpage .newpic-landing-hero > .e-con-inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Curated native Elementor content on the existing /photobooth/ page. */
.newpic-photoactions.newpic-landingpage {
	width: 100% !important;
	align-items: stretch !important;
	gap: 0 !important;
}

.newpic-photoactions.newpic-landingpage h2.elementor-heading-title {
	margin-top: 0;
}

.newpic-photoactions.newpic-landingpage h1.elementor-heading-title {
	hyphens: none;
}

.newpic-photoactions [id] {
	scroll-margin-top: 6rem;
}

.newpic-photoactions .newpic-action-selector {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.newpic-photoactions .newpic-action-selector a {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 1.25rem;
	border: 1px solid #555;
	border-top: 3px solid #ff3399;
	color: #fff;
	text-decoration: none;
}

.newpic-photoactions .newpic-action-selector a:hover {
	background: #242424;
}

.newpic-photoactions .newpic-action-selector strong {
	font-size: 1.5rem;
}

.newpic-photoactions .newpic-action-gallery,
.newpic-photoactions .newpic-action-videos {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	padding: 0 !important;
}

.newpic-photoactions .newpic-action-gallery--single {
	grid-template-columns: minmax(0, 1fr);
	max-width: 54rem;
}

.newpic-photoactions .newpic-action-videos {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.newpic-photoactions .newpic-action-figure {
	min-width: 0;
	padding: 0;
	gap: 0.5rem;
}

.newpic-photoactions .newpic-action-figure .newpic-content-media {
	margin: 0;
}

.newpic-photoactions .newpic-action-figure img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: contain;
	background: #111;
}

.newpic-photoactions p.newpic-action-caption {
	font-size: 0.875rem;
	color: #c8c8c8;
}

.newpic-photoactions video {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: contain;
}

@media (max-width: 700px) {
	.newpic-photoactions .newpic-action-selector,
	.newpic-photoactions .newpic-action-gallery,
	.newpic-photoactions .newpic-action-videos {
		grid-template-columns: minmax(0, 1fr);
	}
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus {
	outline: var(--newpic-focus-width) solid currentColor !important;
	outline-offset: var(--newpic-focus-offset);
}

/* Decorative portfolio overlays must not hide the native project link from
 * pointer input. Keep any real overlay controls interactive. */
body.home #work .projects_holder article .image_holder > .text_holder {
	pointer-events: none;
}

body.home #work .projects_holder article .image_holder > .text_holder :is(a[href], button) {
	pointer-events: auto;
}

/* A multiline inline title has unlinked gaps inside its bounding box. */
body.home #work .projects_holder article .portfolio_title > a[href] {
	display: block;
}

/* Bridge hides these existing titles on touch devices. Keep the native title
 * below its image, in normal flow, so no hover or duplicate content is needed. */
html.touchevents body.home #work .projects_holder article .image_holder > .text_holder {
	display: block !important;
	height: auto !important;
	width: 100% !important;
	opacity: 1 !important;
	visibility: visible !important;
	position: relative;
	bottom: auto;
	left: auto;
	background: #111;
}

html.touchevents body.home #work .projects_holder article .text_holder > .text_outer,
html.touchevents body.home #work .projects_holder article .text_holder > .text_outer > .text_inner {
	display: block;
	height: auto;
	text-align: left;
}

html.touchevents body.home #work .projects_holder article .portfolio_title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.4;
	text-transform: none;
	letter-spacing: .01em;
}

html.touchevents body.home #work .projects_holder article .portfolio_title > a[href] {
	padding: .75rem .9rem;
	min-height: 48px;
	box-sizing: border-box;
}

/* The image holder clips outer outlines; draw the caption focus inside it. */
html.touchevents body.home #work .projects_holder article .portfolio_title > a[href]:focus-visible {
	outline-offset: -3px;
}

html.touchevents body.home #work .projects_holder article .image_holder:hover .image img {
	transform: none;
}

/* Bridge clips image holders and paints images/hover overlays above the anchor.
 * Keep a two-colour keyboard ring inside that clip and above both layers. */
body.home #work .image_holder:focus-within > .text_holder {
	opacity: 1;
}

body.home #work a.portfolio_link_for_touch:focus-visible {
	outline: 3px solid #fff !important;
	outline-offset: -6px;
}

body.home #work a.portfolio_link_for_touch:focus-visible::after {
	content: "";
	position: absolute;
	inset: 3px;
	z-index: 201;
	pointer-events: none;
	border: 3px solid #fff;
	box-shadow: 0 0 0 3px #000;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus:not(:focus-visible) {
	outline: none !important;
}

@media (max-width: 767px) {
	.newpic-pilot-hero > .elementor-container {
		gap: 1.5rem;
	}

	.newpic-pilot-hero .elementor-column {
		width: 100% !important;
	}

	.newpic-pilot-hero .newpic-home-image img {
		aspect-ratio: 3 / 2;
	}

	.newpic-pilot-hero .elementor-column > .elementor-element-populated {
		padding: 0;
	}

	.newpic-pilot-form {
		grid-template-columns: 1fr;
	}

	.newpic-pilot-form__field,
	.newpic-pilot-form__field--full {
		grid-column: 1;
	}

	.newpic-core-grid,
	.newpic-core-grid--three,
	.newpic-content-target-grid,
	.newpic-content-work-grid,
	.newpic-content-gallery,
	.newpic-content-price-grid {
		grid-template-columns: 1fr;
	}

	.newpic-core-hero {
		min-height: auto;
	}

	/* Keep longer translated Work titles intact on narrow viewports. */
	.newpic-work-language .newpic-core-hero h1 {
		font-size: clamp(2rem, 9vw, 2.25rem);
		hyphens: none;
		overflow-wrap: normal;
		word-break: normal;
	}
}

@media (max-width: 360px) {
	.newpic-work-language .newpic-core-hero h1 {
		font-size: 1.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
