/* ==========================================================================
   SuperFX – About, Contacts, Magazine, Products pages (+ shared blocks)
   Figma frame "About" = 2560px wide. Sizes = design px × --sfx-u
   (--sfx-u, colours and fonts are defined in superfx-projects.css).
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Reset Elementor defaults inside the pages (.sfx-pg = About, Contacts, …) (spacing comes from this file)
   -------------------------------------------------------------------------- */

.sfx-pg.e-con,
.sfx-pg .e-con {
	--padding-top: 0;
	--padding-right: 0;
	--padding-bottom: 0;
	--padding-left: 0;
	--padding-block-start: 0;
	--padding-block-end: 0;
	--padding-inline-start: 0;
	--padding-inline-end: 0;
	--gap: 0;
	--row-gap: 0;
	--column-gap: 0;
	--min-height: 0;
	min-height: 0;
}

/* Sections are simply stacked (block layout, full content height) */
.sfx-pg.e-con,
.sfx-ab :is(.sfx-ab-tl, .sfx-ab-values, .sfx-acc, .sfx-acc__item, .sfx-ab-numbers).e-con,
.sfx-ct :is(.sfx-ct-offices).e-con {
	display: block;
}

/* The site header is absolute (over the page), so every page starts at y = 0
   and the top spaces below are the Figma distances from the top of the frame.
   Fine-tune per page with --sfx-top-about / -contacts / -magazine / -products /
   -product (Site Settings → Custom CSS). flow-root: no margin collapsing. */
.sfx-pg.e-con {
	display: flow-root;
	overflow-x: clip;
	background: #1d1d1f;
	color: var(--sfx-white);
	font-family: var(--sfx-font);
}

.elementor .sfx-pg .elementor-widget:not(:last-child) {
	margin-block-end: 0;
}

.elementor .sfx-pg .elementor-widget > .elementor-widget-container {
	height: auto;
}

.elementor .sfx-pg :is(.elementor-heading-title, .elementor-widget-text-editor) {
	font-family: var(--sfx-font);
	letter-spacing: 0;
	text-transform: none;
	color: inherit;
}

.elementor .sfx-pg .elementor-widget-text-editor p {
	margin: 0;
}

.elementor .sfx-pg .elementor-widget-text-editor p + p {
	margin-top: 1em;
}

/* --------------------------------------------------------------------------
   1. Timeline (STORIA) – year + short text on a vertical line with dots
   Figma: texts 1045 wide, 40px Bold, dot 26px under the text, 162px between
   items; the line runs from the first dot down behind "THIS IS SUPERFX".
   Any number of items: each item draws its own piece of the line.
   -------------------------------------------------------------------------- */

.sfx-ab .sfx-ab-tl.e-con {
	position: relative;
	padding-top: var(--sfx-top-about, calc(496 * var(--sfx-u)));
}

.elementor.elementor .sfx-ab .sfx-tl__item {
	--sfx-tl-gap: calc(162 * var(--sfx-u));
	--sfx-tl-dot: max(10px, calc(26 * var(--sfx-u)));
	position: relative;
	width: calc(1045 * var(--sfx-u));
	max-width: calc(100% - 32px);
	margin: 0 auto;
	padding-bottom: calc(47 * var(--sfx-u)); /* room for the dot */
	font-size: max(15px, calc(40 * var(--sfx-u)));
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
}

.elementor .sfx-ab .sfx-tl__item:not(:last-child) {
	margin-bottom: var(--sfx-tl-gap);
}

/* Text above the line */
.elementor .sfx-ab .sfx-tl__item > :is(.elementor-widget-container, p) {
	position: relative;
	z-index: 1;
}

/* Line piece: top of the item → top of the next one */
.elementor .sfx-ab .sfx-tl__item::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	bottom: calc(-1 * var(--sfx-tl-gap));
	width: var(--sfx-line);
	margin-left: calc(var(--sfx-line) / -2);
	background: rgba(255, 255, 255, .2);
	pointer-events: none;
}

/* First item: the line starts at its dot */
.elementor .sfx-ab .sfx-tl__item:is(:first-child, .sfx-ab-tl__title + .sfx-tl__item)::before {
	top: calc(100% - var(--sfx-tl-dot) / 2);
}

/* Last item: the line continues behind the title */
.elementor .sfx-ab .sfx-tl__item:last-child::before {
	bottom: calc(-162 * var(--sfx-u));
}

.elementor .sfx-ab .sfx-tl__item:is(:first-child, .sfx-ab-tl__title + .sfx-tl__item):last-child::before {
	top: calc(100% - var(--sfx-tl-dot) / 2);
}

/* Dot */
.elementor .sfx-ab .sfx-tl__item::after {
	content: "";
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: 0;
	width: var(--sfx-tl-dot);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--sfx-grey);
	transform: translateX(-50%);
}

/* Scroll reveal (only when JS is running: .sfx-reveal is added by the script) */
.sfx-ab-tl.sfx-reveal .sfx-tl__item > :is(.elementor-widget-container, p) {
	opacity: 0;
	transform: translateY(calc(40 * var(--sfx-u)));
	transition: opacity .8s var(--sfx-ease), transform .8s var(--sfx-ease);
}

.sfx-ab-tl.sfx-reveal .sfx-tl__item.is-in > :is(.elementor-widget-container, p) {
	opacity: 1;
	transform: none;
}

/* --------------------------------------------------------------------------
   2. "THIS IS SUPERFX" + video + red text
   -------------------------------------------------------------------------- */

.elementor .sfx-ab .sfx-ab-title {
	position: relative;
	z-index: 1;
	margin-top: calc(54 * var(--sfx-u));
	text-align: center;
}

.elementor .sfx-ab .sfx-ab-title .elementor-heading-title {
	font-size: 12.5vw; /* 320 / 2560 – one line at every width */
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
	text-transform: uppercase;
	color: var(--sfx-red);
}

.elementor.elementor .sfx-ab .sfx-ab-video {
	position: relative;
	z-index: 2;
	width: calc(1623 * var(--sfx-u));
	max-width: 100%;
	margin: calc(-103 * var(--sfx-u)) auto 0;
}

.sfx-ab-video .elementor-wrapper {
	--video-aspect-ratio: 1.6053;
	position: relative;
	aspect-ratio: 1623 / 1011;
	height: auto;
}

.sfx-ab-video :is(.elementor-wrapper, .elementor-custom-embed-image-overlay) {
	background-color: #000;
}

/* Play button: black ring (240) + black triangle (Figma) */
.sfx-ab-video .elementor-custom-embed-play {
	width: max(64px, calc(240 * var(--sfx-u)));
	height: max(64px, calc(240 * var(--sfx-u)));
	border: max(2px, calc(3 * var(--sfx-u))) solid #000;
	border-radius: 50%;
	opacity: 1;
	transition: transform .4s var(--sfx-ease), background-color .3s var(--sfx-ease);
}

.sfx-ab-video .elementor-custom-embed-play > * {
	display: none;
}

.sfx-ab-video .elementor-custom-embed-play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	width: 42%;
	height: 48%;
	background: #000;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
	transform: translate(-50%, -50%);
}

.sfx-ab-video .elementor-custom-embed-image-overlay:is(:hover, :focus-visible) .elementor-custom-embed-play {
	transform: translate(-50%, -50%) scale(1.08);
	background-color: rgba(255, 255, 255, .2);
}

.elementor.elementor .sfx-ab .sfx-ab-text {
	width: calc(2259 * var(--sfx-u));
	max-width: calc(100% - 32px);
	margin: calc(70 * var(--sfx-u)) auto 0;
	font-size: max(16px, calc(50 * var(--sfx-u)));
	font-weight: 700;
	line-height: 1;
	text-align: center;
	color: var(--sfx-red);
}

/* --------------------------------------------------------------------------
   3. Values – accordion "We don't make project, we make SUPER projects:"
   -------------------------------------------------------------------------- */

.sfx-ab .sfx-ab-values.e-con {
	margin-top: calc(69 * var(--sfx-u));
	padding: calc(78 * var(--sfx-u)) 0 calc(164 * var(--sfx-u));
	background: linear-gradient(#000 0, #000 60%, rgba(0, 0, 0, 0) 100%);
}

.elementor .sfx-ab .sfx-ab-values__title {
	padding: 0 16px;
	text-align: center;
}

.elementor .sfx-ab :is(.sfx-ab-values__title, .sfx-ab-team__title, .sfx-ab-numbers__title) .elementor-heading-title {
	font-size: max(18px, calc(50 * var(--sfx-u)));
	font-weight: 900;
	line-height: 1;
}

.sfx-ab .sfx-acc.e-con {
	width: calc(2308 * var(--sfx-u));
	max-width: calc(100% - 32px);
	margin: calc(107 * var(--sfx-u)) auto 0;
	border-top: max(1px, calc(3 * var(--sfx-u))) solid var(--sfx-white);
}

.sfx-ab .sfx-acc__item.e-con {
	position: relative;
	padding: calc(71 * var(--sfx-u)) calc(160 * var(--sfx-u)) calc(71 * var(--sfx-u)) calc(37 * var(--sfx-u));
	border-bottom: max(1px, calc(3 * var(--sfx-u))) solid var(--sfx-white);
}

.elementor .sfx-ab .sfx-acc__title .elementor-heading-title {
	font-size: max(20px, calc(80 * var(--sfx-u)));
	font-weight: 900;
	line-height: 1;
	cursor: pointer;
}

.elementor .sfx-ab .sfx-acc__title :is(strong, b) {
	font-weight: 900;
}

/* Figma: title 80 Heavy + tagline 40 Bold Italic on the same baseline */
.elementor .sfx-ab .sfx-acc__title :is(em, i) {
	display: inline-block;
	margin-left: .35em;
	font-size: .5em;
	font-style: italic;
	font-weight: 700;
	transition: opacity .35s var(--sfx-ease);
}

/* Open item: only the title (Figma "Variant2") */
.sfx-acc__item.is-open .sfx-acc__title :is(em, i) {
	opacity: 0;
}

/* Open content: image 916×507 + text 1251 wide */
.sfx-ab .sfx-acc__body.e-con {
	display: grid;
	grid-template-columns: calc(916 * var(--sfx-u)) minmax(0, 1fr);
	column-gap: calc(60 * var(--sfx-u));
	align-items: start;
	padding: 0 0 0 calc(5 * var(--sfx-u)); /* vertical space = widget margins, so height 0 is really closed */
}

.elementor .sfx-ab .sfx-acc__body > .elementor-widget {
	width: auto;
	max-width: none;
	margin: calc(84 * var(--sfx-u)) 0 calc(55 * var(--sfx-u));
}

.elementor .sfx-ab .sfx-acc__img img {
	display: block;
	width: 100%;
	aspect-ratio: 916 / 507;
	height: auto;
	object-fit: cover;
}

.elementor .sfx-ab .sfx-acc__text {
	max-width: calc(1251 * var(--sfx-u));
	font-size: max(15px, calc(40 * var(--sfx-u)));
	font-weight: 700;
	line-height: 1;
}

/* JS: closed items hide their content – smooth height + fade/slide of the content */
.sfx-ab {
	--sfx-acc-ease: cubic-bezier(.65, 0, .35, 1);
	--sfx-acc-time: .7s;
}

.sfx-acc--ready .sfx-acc__body.e-con {
	overflow: hidden;
	transition: height var(--sfx-acc-time) var(--sfx-acc-ease);
}

.sfx-acc--ready .sfx-acc__body > .elementor-widget {
	transition: opacity .5s var(--sfx-ease) .15s, transform .7s var(--sfx-ease) .1s;
}

.sfx-acc--ready .sfx-acc__item:not(.is-open) .sfx-acc__body.e-con {
	height: 0;
}

.sfx-acc--ready .sfx-acc__item:not(.is-open) .sfx-acc__body > .elementor-widget {
	opacity: 0;
	transform: translateY(calc(-30 * var(--sfx-u)));
	transition: opacity .25s var(--sfx-ease), transform .4s var(--sfx-ease);
}

/* +/× button (added by JS): ring 60, plus 34 */
.sfx-acc__btn {
	all: unset;
	position: absolute;
	top: calc(79 * var(--sfx-u));
	right: calc(39 * var(--sfx-u));
	box-sizing: border-box;
	width: max(28px, calc(60 * var(--sfx-u)));
	height: max(28px, calc(60 * var(--sfx-u)));
	border: max(1.5px, calc(3 * var(--sfx-u))) solid var(--sfx-white);
	border-radius: 50%;
	cursor: pointer;
	transition: transform var(--sfx-acc-time, .7s) var(--sfx-acc-ease, ease), background-color .3s var(--sfx-ease);
}

.sfx-acc__btn::before,
.sfx-acc__btn::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 57%;
	height: max(1px, calc(2 * var(--sfx-u)));
	background: var(--sfx-white);
	transform: translate(-50%, -50%);
}

.sfx-acc__btn::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.sfx-acc__btn:focus-visible {
	outline: 2px solid var(--sfx-red);
	outline-offset: 4px;
}

@media (hover: hover) {
	.sfx-acc__btn:hover {
		background-color: rgba(255, 255, 255, .15);
	}
}

/* Open: + turns into × and slides to the bottom right (shift set by JS) */
.sfx-acc__item.is-open .sfx-acc__btn {
	transform: translateY(var(--sfx-acc-shift, 0px)) rotate(45deg);
}

/* --------------------------------------------------------------------------
   4. Red band – "Think Big? We Think SUPER." + numbers marquee
   -------------------------------------------------------------------------- */

.sfx-ab .sfx-ab-numbers.e-con {
	padding: calc(145 * var(--sfx-u)) 0 calc(94 * var(--sfx-u));
	background: var(--sfx-red);
	color: var(--sfx-black);
	text-align: center;
}

.elementor .sfx-ab .sfx-ab-numbers__title {
	padding: 0 16px;
}

.elementor .sfx-ab .sfx-ab-numbers .sfx-marquee {
	width: 100%;
	margin-top: calc(79 * var(--sfx-u));
	overflow: hidden;
}

.elementor .sfx-ab .sfx-ab-numbers .sfx-marquee .elementor-heading-title {
	display: block;
	font-size: max(34px, calc(120 * var(--sfx-u)));
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
	text-transform: uppercase;
	color: var(--sfx-black);
}

.sfx-ab-numbers .sfx-marquee__item {
	padding-right: .3em;
}

.elementor.elementor .sfx-ab .sfx-ab-numbers__text {
	width: calc(1743 * var(--sfx-u));
	max-width: calc(100% - 32px);
	margin: calc(53 * var(--sfx-u)) auto 0;
	font-size: max(14px, calc(30 * var(--sfx-u)));
	font-weight: 700;
	line-height: 1.15;
}

/* --------------------------------------------------------------------------
   5. Projects band – text · categories · SHOW ALL
   -------------------------------------------------------------------------- */

.sfx-ab .sfx-ab-projects.e-con {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	column-gap: calc(60 * var(--sfx-u));
	padding: calc(127 * var(--sfx-u)) calc(142 * var(--sfx-u)) calc(127 * var(--sfx-u)) calc(143 * var(--sfx-u));
	background: var(--sfx-black);
}

.elementor .sfx-ab .sfx-ab-projects > .elementor-widget {
	width: auto;
	max-width: none;
}

.elementor .sfx-ab .sfx-ab-projects__title .elementor-heading-title {
	max-width: calc(477 * var(--sfx-u));
	font-size: max(22px, calc(60 * var(--sfx-u)));
	font-weight: 900;
	line-height: 1;
	color: var(--sfx-red);
}

.elementor .sfx-ab .sfx-ab-projects__btn {
	justify-self: end;
}

.sfx-links {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.sfx-links a {
	display: inline-block;
	font-family: var(--sfx-font);
	font-size: max(15px, calc(40 * var(--sfx-u)));
	font-weight: 900;
	line-height: calc(59 / 40);
	text-transform: uppercase;
	text-decoration: none;
	color: var(--sfx-white);
	transition: color .25s var(--sfx-ease);
}

.sfx-links a:is(:hover, :focus-visible) {
	color: var(--sfx-red);
}

/* Red outline pill (226 × 65, stroke 2) */
.sfx-pill.sfx-pill--red {
	width: calc(226 * var(--sfx-u));
	height: calc(65 * var(--sfx-u));
	border-width: max(1.5px, calc(2 * var(--sfx-u)));
	border-color: var(--sfx-red);
	color: var(--sfx-red);
}

.sfx-pill.sfx-pill--red:is(:hover, :focus-visible) {
	background: var(--sfx-red);
	color: var(--sfx-black);
}

/* --------------------------------------------------------------------------
   6. Team
   -------------------------------------------------------------------------- */

.elementor .sfx-ab .sfx-ab-team__title {
	margin-top: calc(93 * var(--sfx-u));
	padding: 0 16px;
	text-align: center;
}

.elementor .sfx-ab .sfx-ab-team {
	margin-top: calc(99 * var(--sfx-u));
}

.sfx-team {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	row-gap: calc(91 * var(--sfx-u));
	margin: 0;
	padding: 0;
	list-style: none;
}

.sfx-team__media {
	overflow: hidden;
	aspect-ratio: 641 / 825;
	background: #2a2a2c;
}

.sfx-team .sfx-team__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s var(--sfx-ease);
}

@media (hover: hover) {
	.sfx-team__item:hover .sfx-team__photo {
		transform: scale(1.04);
	}
}

.sfx-team__name {
	margin: calc(36 * var(--sfx-u)) calc(42 * var(--sfx-u)) 0;
	font-family: var(--sfx-font);
	font-size: max(14px, calc(30 * var(--sfx-u)));
	font-weight: 900;
	line-height: 1.13;
	color: var(--sfx-white);
}

.sfx-team__role {
	display: block;
}

.sfx-team .sfx-team__email {
	display: block;
	margin-top: calc(12 * var(--sfx-u));
	font-size: max(12px, calc(24 * var(--sfx-u)));
	font-weight: 400;
	line-height: 1.2;
	overflow-wrap: anywhere;
	color: var(--sfx-white);
	text-decoration: none;
	transition: color .25s var(--sfx-ease);
}

.sfx-team .sfx-team__email + .sfx-team__email {
	margin-top: 0;
}

.sfx-team .sfx-team__email:is(:hover, :focus-visible) {
	color: var(--sfx-red);
}

/* Timeline: year above the text */
.elementor .sfx-ab .sfx-tl__item :is(strong, b) {
	display: block;
	margin-bottom: calc(10 * var(--sfx-u));
	font-weight: 900;
	color: var(--sfx-red);
}

/* "STORIA" above the timeline */
.elementor .sfx-ab .sfx-ab-tl__title {
	padding-bottom: calc(110 * var(--sfx-u));
	text-align: center;
}

.elementor .sfx-ab .sfx-ab-tl__title .elementor-heading-title {
	font-size: max(18px, calc(50 * var(--sfx-u)));
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   7. Magazine strip – intro left, cards scroll to the right
   Figma: intro at x80 (661 wide), cards 820×1027 from x821, gap 19
   -------------------------------------------------------------------------- */

.elementor .sfx-ab .sfx-ab-mag {
	margin-top: calc(131 * var(--sfx-u));
	padding-bottom: calc(212 * var(--sfx-u));
}

.sfx-mag {
	display: grid;
	grid-template-columns: calc(741 * var(--sfx-u)) minmax(0, 1fr);
	padding-left: calc(80 * var(--sfx-u));
	font-family: var(--sfx-font);
	color: var(--sfx-white);
}

.sfx-mag__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: calc(37 * var(--sfx-u)) calc(40 * var(--sfx-u)) calc(67 * var(--sfx-u)) 0;
}

.sfx-mag__title {
	margin: 0;
	font-family: var(--sfx-font);
	font-size: max(32px, calc(120 * var(--sfx-u)));
	font-weight: 700;
	line-height: calc(100 / 120);
	text-transform: uppercase;
	color: var(--sfx-white);
}

.sfx-mag__text {
	max-width: calc(541 * var(--sfx-u));
	margin: calc(31 * var(--sfx-u)) 0 0;
	font-size: max(14px, calc(30 * var(--sfx-u)));
	font-weight: 400;
	line-height: 1;
}

.sfx-mag__intro .sfx-pill {
	width: calc(303 * var(--sfx-u));
	height: calc(65 * var(--sfx-u));
	margin-top: auto;
	border-width: max(1.5px, calc(2 * var(--sfx-u)));
}

.sfx-mag__track {
	display: flex;
	gap: calc(19 * var(--sfx-u));
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	cursor: grab;
}

.sfx-mag__track::-webkit-scrollbar {
	display: none;
}

.sfx-mag__track.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}

.sfx-mag__track.is-dragging a {
	pointer-events: none;
}

.sfx-mag__track:focus-visible {
	outline: 2px solid var(--sfx-red);
	outline-offset: 4px;
}

.sfx-mag__item {
	flex: 0 0 calc(820 * var(--sfx-u));
	scroll-snap-align: start;
}

/* Post card – also used on the Magazine page.
   Sized from its own width (container query): 1 design px = card width / 820,
   so the card keeps the Figma proportions in a strip, a grid or on mobile. */
.sfx-post {
	container-type: inline-size;
	height: 100%;
	font-family: var(--sfx-font);
}

.sfx-post__link {
	--c: calc(100cqi / 820);
	position: relative;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	aspect-ratio: 820 / 1027;
	padding: 0 calc(64 * var(--c)) calc(67 * var(--c));
	overflow: hidden;
	background: #000;
	color: var(--sfx-white);
	text-decoration: none;
}

.sfx-post__media {
	position: absolute;
	inset: 0 0 auto;
	height: calc(634 * var(--c));
	overflow: hidden;
}

/* Image fades into black at the bottom (Figma gradient) */
.sfx-post__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(0, 0, 0, 0) 45%, #000 100%);
}

.sfx-post .sfx-post__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s var(--sfx-ease);
}

.sfx-post__title {
	position: relative;
	margin: calc(548 * var(--c)) 0 0 calc(-3 * var(--c));
	font-family: var(--sfx-font);
	font-size: max(20px, calc(60 * var(--c)));
	font-weight: 700;
	line-height: 1;
	color: var(--sfx-white);
}

.sfx-post__excerpt {
	position: relative;
	max-width: calc(541 * var(--c));
	margin: calc(16 * var(--c)) 0 0;
	font-size: max(13px, calc(30 * var(--c)));
	font-weight: 400;
	line-height: 1.05;
}

.sfx-post__foot {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}

.sfx-post__tags {
	display: flex;
	flex-wrap: wrap;
	gap: calc(16 * var(--c));
	margin: 0;
	padding: 0;
	list-style: none;
}

.sfx-post__tags li {
	padding: calc(15 * var(--c)) calc(15 * var(--c)) calc(13 * var(--c));
	border-radius: 50px;
	background: #1e1e1e;
	font-size: max(9px, calc(20 * var(--c)));
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .4);
}

.sfx-post__arrow {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: max(30px, calc(60 * var(--c)));
	aspect-ratio: 1;
	border: max(1.5px, calc(3 * var(--c))) solid var(--sfx-white);
	border-radius: 50%;
	transition: background-color .3s var(--sfx-ease), color .3s var(--sfx-ease);
}

.sfx-post__arrow .sfx-icon {
	width: 50%;
	height: auto;
}

@media (hover: hover) {
	.sfx-post__link:hover .sfx-post__img {
		transform: scale(1.04);
	}

	.sfx-post__link:hover .sfx-post__arrow {
		background: var(--sfx-white);
		color: #000;
	}
}

/* Theme link colours (Hello: a:hover = blue) must not reach the card */
.sfx-post .sfx-post__link:is(:link, :visited, :hover, :focus, :active),
.sfx-post :is(.sfx-post__title, .sfx-post__excerpt) {
	color: var(--sfx-white);
}

.sfx-prod .sfx-prod__link:is(:link, :visited, :hover, :focus, :active) {
	color: var(--sfx-red);
}

.sfx-post__link:focus-visible {
	outline: 2px solid var(--sfx-red);
	outline-offset: -2px;
}

/* --------------------------------------------------------------------------
   Tablet (≤1024) and mobile (≤767)
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.sfx-ab .sfx-acc__item.e-con {
		padding-right: calc(110 * var(--sfx-u));
	}

	.elementor .sfx-ab .sfx-acc__title .elementor-heading-title {
		font-size: calc(56 * var(--sfx-u));
	}

	.sfx-ab .sfx-ab-projects.e-con {
		grid-template-columns: 1fr;
		justify-items: center;
		row-gap: calc(60 * var(--sfx-u));
		text-align: center;
	}

	.elementor .sfx-ab .sfx-ab-projects__title .elementor-heading-title {
		max-width: none;
	}

	.elementor .sfx-ab .sfx-ab-projects__btn {
		justify-self: center;
	}

	.sfx-mag {
		grid-template-columns: 1fr;
		padding-left: 0;
	}

	.sfx-mag__intro {
		padding: 0 16px calc(60 * var(--sfx-u));
	}

	.sfx-mag__intro .sfx-pill {
		margin-top: calc(40 * var(--sfx-u));
	}

	.sfx-mag__track {
		padding: 0 16px;
		scroll-padding-left: 16px;
	}

	.sfx-mag__item {
		flex-basis: min(80vw, 440px);
	}
}

@media (max-width: 767px) {
	.elementor.elementor .sfx-ab .sfx-tl__item {
		--sfx-tl-gap: calc(110 * var(--sfx-u));
	}

	.elementor.elementor .sfx-ab .sfx-ab-video {
		width: calc(100% - 32px);
		margin-top: calc(-30 * var(--sfx-u));
	}

	.sfx-ab-video .elementor-custom-embed-play {
		width: 64px;
		height: 64px;
	}

	.elementor.elementor .sfx-ab .sfx-ab-text {
		font-size: max(17px, calc(34 * var(--sfx-u)));
		line-height: 1.1;
	}

	.elementor .sfx-ab .sfx-acc__title .elementor-heading-title {
		font-size: calc(40 * var(--sfx-u));
	}

	.sfx-ab .sfx-acc__item.e-con {
		padding: calc(50 * var(--sfx-u)) calc(90 * var(--sfx-u)) calc(50 * var(--sfx-u)) 0;
	}

	.sfx-acc__btn {
		top: calc(46 * var(--sfx-u));
		right: 0;
	}

	.sfx-ab .sfx-acc__body.e-con {
		grid-template-columns: 1fr;
		row-gap: 16px;
		padding: 0;
		margin-right: calc(-90 * var(--sfx-u));
	}

	.elementor .sfx-ab .sfx-acc__body > .elementor-widget {
		margin: 0;
	}

	.elementor .sfx-ab .sfx-acc__body > .elementor-widget:first-child {
		margin-top: calc(50 * var(--sfx-u));
	}

	.elementor .sfx-ab .sfx-acc__body > .elementor-widget:last-child {
		margin-bottom: calc(110 * var(--sfx-u));
	}

	/* Tagline under the title on small screens */
	.elementor .sfx-ab .sfx-acc__title :is(em, i) {
		display: block;
		margin: .5em 0 0;
		font-size: .55em;
	}

	.sfx-acc__item.is-open .sfx-acc__title :is(em, i) {
		display: none;
	}

	.elementor .sfx-ab .sfx-acc__text {
		max-width: none;
		font-size: 16px;
		line-height: 1.2;
	}

	.sfx-team {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: calc(60 * var(--sfx-u));
	}

	.sfx-team__name {
		margin: 12px 12px 0;
	}

	.sfx-mag__item {
		flex-basis: 82vw;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sfx-ab-tl.sfx-reveal .sfx-tl__item > :is(.elementor-widget-container, p),
	.sfx-acc--ready .sfx-acc__body.e-con,
	.sfx-acc--ready .sfx-acc__body > .elementor-widget,
	.sfx-acc__btn,
	.sfx-team__photo,
	.sfx-post__img {
		transition: none;
	}
}

/* ==========================================================================
   Contacts – Figma frame "Contacts" (2560)
   ========================================================================== */

/* "WHERE TO FIND US" – white, 280 Heavy, one line at every width */
.elementor .sfx-ct .sfx-ct-title {
	padding-top: var(--sfx-top-contacts, calc(327 * var(--sfx-u)));
	text-align: center;
}

.elementor .sfx-ct .sfx-ct-title .elementor-heading-title {
	font-size: 10.94vw; /* 280 / 2560 */
	font-weight: 900;
	line-height: calc(359 / 280);
	white-space: nowrap;
	text-transform: uppercase;
}

/* Photo 2437 × 1155, radius 30 */
.elementor.elementor .sfx-ct .sfx-ct-image {
	width: calc(2437 * var(--sfx-u));
	max-width: calc(100% - 32px);
	margin: calc(-29 * var(--sfx-u)) auto 0;
}

.elementor .sfx-ct .sfx-ct-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2437 / 1155;
	object-fit: cover;
	border-radius: calc(30 * var(--sfx-u));
}

/* Two offices */
.sfx-ct .sfx-ct-offices.e-con {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: calc(60 * var(--sfx-u));
	margin-top: calc(60 * var(--sfx-u));
	padding: 0 calc(81 * var(--sfx-u));
}

.sfx-ct .sfx-ct-office.e-con {
	display: block;
}

.elementor .sfx-ct .sfx-ct-office__label .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: calc(12 * var(--sfx-u));
	font-size: max(13px, calc(30 * var(--sfx-u)));
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

/* Flag after the country (41 × 27) – SVG files from flag-icons (MIT) in assets/flags */
.sfx-flag .elementor-heading-title::after {
	content: "";
	flex: 0 0 auto;
	width: max(18px, calc(41 * var(--sfx-u)));
	aspect-ratio: 4 / 3; /* flag-icons 4x3 files – no stretching */
	background: center / contain no-repeat;
}

.sfx-flag--it .elementor-heading-title::after {
	background-image: url("flags/it.svg");
}

.sfx-flag--sa .elementor-heading-title::after {
	background-image: url("flags/sa.svg"); /* official flag – flag-icons (MIT), assets/flags */
}

.elementor .sfx-ct .sfx-ct-office__title {
	margin-top: calc(8 * var(--sfx-u));
}

.elementor .sfx-ct .sfx-ct-office__title .elementor-heading-title {
	font-size: max(26px, calc(80 * var(--sfx-u)));
	font-weight: 700;
	line-height: calc(103 / 80);
}

.elementor .sfx-ct .sfx-ct-office__text {
	font-size: max(14px, calc(30 * var(--sfx-u)));
	font-weight: 400;
	line-height: 1;
}

.elementor .sfx-ct .sfx-ct-office__text a {
	color: inherit;
	text-decoration: none;
}

.elementor .sfx-ct .sfx-ct-office__text a:is(:hover, :focus-visible) {
	color: var(--sfx-red);
}

/* "GET IN TOUCH" – red marquee, 375 Heavy */
.elementor .sfx-ct .sfx-ct-marquee {
	width: 100%;
	margin-top: calc(64 * var(--sfx-u));
	overflow: hidden;
}

.elementor .sfx-ct .sfx-ct-marquee .elementor-heading-title {
	display: block;
	font-size: calc(375 * var(--sfx-u));
	font-weight: 900;
	line-height: calc(359 / 375);
	white-space: nowrap;
	text-transform: uppercase;
	color: var(--sfx-red);
}

.sfx-ct-marquee .sfx-marquee__item {
	padding-right: .45em;
}

.elementor .sfx-ct .sfx-ct-cta {
	margin-top: calc(38 * var(--sfx-u));
	padding: 0 16px calc(185 * var(--sfx-u));
	text-align: center;
}

.elementor .sfx-ct .sfx-ct-cta .elementor-heading-title {
	font-size: max(18px, calc(50 * var(--sfx-u)));
	font-weight: 700;
	line-height: 1.1;
}

.elementor .sfx-ct .sfx-ct-cta a {
	color: inherit;
	text-decoration: none;
	transition: color .25s var(--sfx-ease);
}

.elementor .sfx-ct .sfx-ct-cta a:is(:hover, :focus-visible) {
	color: var(--sfx-red);
}

@media (max-width: 767px) {
	.sfx-ct .sfx-ct-offices.e-con {
		grid-template-columns: 1fr;
		row-gap: 36px;
		padding: 0 16px;
	}

	.elementor .sfx-ct .sfx-ct-marquee .elementor-heading-title {
		font-size: 30vw;
	}

	.elementor.elementor .sfx-ct .sfx-ct-image {
		margin-top: 8px;
	}

	.elementor .sfx-ct .sfx-ct-office__title .elementor-heading-title {
		line-height: 1.05;
		margin-bottom: 8px;
	}
}

/* ==========================================================================
   Magazine – Figma frame "Magazine" (2560)
   ========================================================================== */

.elementor .sfx-mg .sfx-mg-title {
	padding-top: var(--sfx-top-magazine, calc(327 * var(--sfx-u)));
	text-align: center;
}

.elementor .sfx-mg .sfx-mg-title .elementor-heading-title {
	font-size: 10.35vw; /* 265 / 2560 */
	font-weight: 900;
	line-height: calc(359 / 265);
	white-space: nowrap;
	text-transform: uppercase;
}

/* Intro left, FILTER right (bottom aligned) */
.sfx-mg .sfx-mg-head.e-con {
	position: relative;
	z-index: 10; /* dropdown above the cards */
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-top: calc(-60 * var(--sfx-u));
	padding: 0 calc(69 * var(--sfx-u)) 0 calc(81 * var(--sfx-u));
}

.elementor .sfx-mg .sfx-mg-head > .elementor-widget {
	width: auto;
	max-width: none;
}

.elementor .sfx-mg .sfx-mg-intro {
	max-width: calc(1255 * var(--sfx-u));
	font-size: max(20px, calc(80 * var(--sfx-u)));
	font-weight: 400;
	line-height: 1;
}

.sfx-mg .sfx-mg-filter {
	flex: 0 0 auto;
	margin-bottom: calc(-7 * var(--sfx-u));
}

/* Magazine filter: panel opens to the left (button is on the right) */
.sfx-filter--mag {
	flex-direction: row-reverse;
}

.sfx-filter--mag .sfx-filter__panel {
	left: auto;
	right: 0;
}

.sfx-filter--mag .sfx-filter__close {
	left: auto;
	right: 0;
}

/* Grid 3 × 820, gap 25 / 20 */
.elementor .sfx-mg .sfx-mg-posts {
	margin-top: calc(95 * var(--sfx-u));
	padding: 0 calc(25 * var(--sfx-u)) calc(155 * var(--sfx-u));
}

.sfx-mag-grid__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: calc(20 * var(--sfx-u)) calc(25 * var(--sfx-u));
	margin: 0;
	padding: 0;
	list-style: none;
	transition: opacity .25s var(--sfx-ease);
}

.sfx-mag-grid.is-loading .sfx-mag-grid__list {
	opacity: .4;
}

.sfx-mag-grid__more {
	margin-top: calc(60 * var(--sfx-u));
	text-align: center;
}

.sfx-mag-grid__btn {
	all: unset;
	cursor: pointer;
	font-family: var(--sfx-font);
	font-size: max(14px, calc(30 * var(--sfx-u)));
	font-weight: 700;
	line-height: 1;
	color: var(--sfx-white);
	text-decoration: underline transparent;
	text-underline-offset: .25em;
	transition: text-decoration-color .25s var(--sfx-ease), color .25s var(--sfx-ease);
}

.sfx-mag-grid__btn:is(:hover, :focus-visible) {
	text-decoration-color: currentColor;
}

.sfx-mag-grid__btn:focus-visible {
	outline: 2px solid var(--sfx-red);
	outline-offset: 6px;
}

.sfx-mag-grid__btn[hidden] {
	display: none;
}

@media (max-width: 1024px) {
	.sfx-mag-grid__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.sfx-mg .sfx-mg-head.e-con {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 0;
		padding: 0 16px;
	}

	.elementor .sfx-mg .sfx-mg-intro {
		font-size: 24px;
	}

	.sfx-filter--mag {
		flex-direction: row;
	}

	.sfx-filter--mag :is(.sfx-filter__panel, .sfx-filter__close) {
		left: 0;
		right: auto;
	}

	.elementor .sfx-mg .sfx-mg-posts {
		padding: 0 16px 60px;
	}

	.sfx-mag-grid__list {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

/* ==========================================================================
   Products – Figma frames "Products" and "Products – Single product" (2560)
   ========================================================================== */

/* Product card 473 × 530 – sized from its own width (1 design px = width / 473) */
.sfx-prods__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: calc(26 * var(--sfx-u)) calc(28 * var(--sfx-u));
	margin: 0;
	padding: 0 calc(37 * var(--sfx-u)) 0 calc(50 * var(--sfx-u));
	list-style: none;
}

.sfx-prod {
	container-type: inline-size;
}

.sfx-prod__link {
	--c: calc(100cqi / 473);
	position: relative;
	display: block;
	aspect-ratio: 473 / 530;
	background: #000;
	color: var(--sfx-red);
	text-decoration: none;
	overflow: hidden;
}

/* Image area: centred in the upper part of the card */
.sfx-prod__media {
	position: absolute;
	inset: calc(60 * var(--c)) calc(48 * var(--c)) calc(140 * var(--c));
	display: flex;
	align-items: center;
	justify-content: center;
}

.sfx-prod .sfx-prod__img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform .6s var(--sfx-ease);
}

.sfx-prod__foot {
	position: absolute;
	right: calc(20 * var(--c));
	bottom: calc(31 * var(--c));
	left: calc(20 * var(--c));
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: calc(16 * var(--c));
}

.sfx-prod__name {
	font-family: var(--sfx-font);
	font-size: max(13px, calc(40 * var(--c)));
	font-weight: 900;
	line-height: .91;
	text-transform: uppercase;
	color: var(--sfx-red);
}

.sfx-prod__arrow {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: max(24px, calc(39 * var(--c)));
	aspect-ratio: 1;
	border: max(1.5px, calc(3 * var(--c))) solid var(--sfx-white);
	border-radius: 50%;
	color: var(--sfx-white);
	transition: background-color .3s var(--sfx-ease), color .3s var(--sfx-ease);
}

.sfx-prod__arrow .sfx-icon {
	width: 50%;
	height: auto;
}

@media (hover: hover) {
	.sfx-prod__link:hover .sfx-prod__img {
		transform: scale(1.06);
	}

	.sfx-prod__link:hover .sfx-prod__arrow {
		background: var(--sfx-white);
		color: #000;
	}
}

.sfx-prod__link:focus-visible {
	outline: 2px solid var(--sfx-red);
	outline-offset: -2px;
}

/* ---------- Products page ---------- */

.elementor .sfx-pr .sfx-pr-title {
	padding-top: var(--sfx-top-products, calc(264 * var(--sfx-u)));
	text-align: center;
}

.elementor .sfx-pr .sfx-pr-title .elementor-heading-title {
	font-size: 18.75vw; /* 480 / 2560 */
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
	text-transform: uppercase;
}

.elementor .sfx-pr .sfx-pr-intro {
	max-width: calc(1182 * var(--sfx-u) + 81 * var(--sfx-u));
	margin-top: calc(49 * var(--sfx-u));
	padding: 0 16px 0 calc(81 * var(--sfx-u));
	font-size: max(22px, calc(80 * var(--sfx-u)));
	font-weight: 400;
	line-height: 1;
}

.sfx-pr .sfx-pr-filter {
	position: relative;
	z-index: 10;
	margin-top: calc(221 * var(--sfx-u));
	padding-left: calc(86 * var(--sfx-u));
}

.elementor .sfx-pr .sfx-pr-list {
	margin-top: calc(63 * var(--sfx-u));
	padding-bottom: calc(189 * var(--sfx-u));
}

.sfx-prods__section {
	padding-bottom: calc(60 * var(--sfx-u));
	border-top: var(--sfx-line) solid var(--sfx-white);
}

.sfx-prods__section[hidden] {
	display: none;
}

.sfx-prods__label {
	margin: calc(41 * var(--sfx-u)) 0 calc(19 * var(--sfx-u));
	padding-left: calc(86 * var(--sfx-u));
	font-family: var(--sfx-font);
	font-size: max(13px, calc(30 * var(--sfx-u)));
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
	color: var(--sfx-white);
}

/* ---------- Single product ---------- */

.sfx-pd__head {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: var(--sfx-top-product, calc(370 * var(--sfx-u))) 16px 0;
	text-align: center;
	font-family: var(--sfx-font);
	color: var(--sfx-white);
}

.sfx-pd .sfx-pd__back {
	position: absolute;
	top: calc(var(--sfx-top-product, calc(370 * var(--sfx-u))) + 60 * var(--sfx-u));
	left: calc(116 * var(--sfx-u));
}

/* Category pill 155 × 40 */
.sfx-pd__cat {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: calc(155 * var(--sfx-u));
	height: max(24px, calc(40 * var(--sfx-u)));
	padding: 0 calc(20 * var(--sfx-u));
	box-sizing: border-box;
	border: max(1px, calc(1.24 * var(--sfx-u))) solid var(--sfx-white);
	border-radius: 50px;
	font-size: max(11px, calc(18.5 * var(--sfx-u)));
	font-weight: 700;
	line-height: 1;
	/* CodecPro sits high in its line box: push the caps down to the optical centre */
	padding-top: .16em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--sfx-white);
	transition: background-color .3s var(--sfx-ease), color .3s var(--sfx-ease);
}

.sfx-pd__cat:is(:hover, :focus-visible) {
	background: var(--sfx-white);
	color: #000;
}

.sfx-pd__title {
	max-width: calc(1340 * var(--sfx-u));
	margin: calc(48 * var(--sfx-u)) 0 0;
	font-family: var(--sfx-font);
	font-size: max(34px, calc(120 * var(--sfx-u)));
	font-weight: 900;
	line-height: calc(110 / 120);
	text-transform: uppercase;
	color: var(--sfx-red);
}

.sfx-pd__text {
	max-width: calc(1164 * var(--sfx-u));
	margin: calc(48 * var(--sfx-u)) 0 0;
	font-size: max(14px, calc(30 * var(--sfx-u)));
	font-weight: 400;
	line-height: 1;
}

/* Specs left (917 wide), image right (984 × 574) */
.sfx-pd__body {
	display: grid;
	grid-template-columns: calc(917 * var(--sfx-u)) calc(984 * var(--sfx-u));
	justify-content: space-between;
	align-items: start; /* specs start right under the text (no extra space from centring) */
	/* Figma 338 / 272 minus 25px (less space above and below this block) */
	margin-top: var(--sfx-specs-top, calc(338 * var(--sfx-u) - 25px));
	padding: 0 calc(183 * var(--sfx-u)) 0 calc(161 * var(--sfx-u));
	font-family: var(--sfx-font);
	color: var(--sfx-white);
}

.sfx-pd__specs {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sfx-pd__specs li {
	padding: var(--sfx-specs-row, 25px) calc(4 * var(--sfx-u)); /* same space above and below each line */
	font-size: max(16px, calc(40 * var(--sfx-u)));
	font-weight: 400;
	line-height: 1;
}

.sfx-pd__specs li:first-child {
	padding-top: 0;
}

.sfx-pd__specs li:last-child {
	padding-bottom: 0;
}

.sfx-pd__specs li + li {
	border-top: var(--sfx-line) solid var(--sfx-white);
}

.sfx-pd__spec-label {
	display: block;
	margin-bottom: calc(6 * var(--sfx-u));
	font-weight: 900;
	text-transform: uppercase;
}

.sfx-pd__media {
	align-self: center;
	aspect-ratio: 984 / 574;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sfx-pd .sfx-pd__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain; /* fills the 984 × 574 box, even with a small PNG */
}

/* Red band "READY TO GO SUPER?" */
.sfx-pds .sfx-pds-cta.e-con {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: var(--sfx-specs-bottom, calc(272 * var(--sfx-u) - 25px));
	padding: calc(91 * var(--sfx-u)) 16px calc(42 * var(--sfx-u));
	background: var(--sfx-red);
	color: #000;
	text-align: center;
}

.elementor .sfx-pds .sfx-pds-cta__title .elementor-heading-title {
	font-size: max(44px, calc(190 * var(--sfx-u)));
	font-weight: 900;
	line-height: calc(150 / 190);
	text-transform: uppercase;
	color: #000;
}

.elementor .sfx-pds .sfx-pds-cta__text {
	margin-top: calc(28 * var(--sfx-u));
	font-size: max(18px, calc(50 * var(--sfx-u)));
	font-weight: 400;
	line-height: 1;
}

.elementor .sfx-pds .sfx-pds-cta__btn {
	margin-top: calc(61 * var(--sfx-u));
}

/* Black outline pill 279 × 72 */
.sfx-pill.sfx-pill--black {
	width: auto;
	min-width: calc(279 * var(--sfx-u));
	padding: 0 calc(36 * var(--sfx-u));
	border-color: #000;
	color: #000;
}

.sfx-pill.sfx-pill--black:is(:hover, :focus-visible) {
	background: #000;
	color: var(--sfx-red);
}

.elementor .sfx-pds .sfx-pds-more__title {
	margin-top: calc(121 * var(--sfx-u));
	padding: 0 16px;
	text-align: center;
}

.elementor .sfx-pds .sfx-pds-more__title .elementor-heading-title {
	font-size: max(24px, calc(60 * var(--sfx-u)));
	font-weight: 900;
	line-height: calc(59 / 60);
	letter-spacing: .01em;
	text-transform: uppercase;
}

.elementor .sfx-pds .sfx-pds-more {
	margin-top: calc(50 * var(--sfx-u));
	padding-bottom: calc(149 * var(--sfx-u));
}

@media (max-width: 1024px) {
	.sfx-prods__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.sfx-prods__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		padding: 0 16px;
	}

	.sfx-prods__label,
	.sfx-pr .sfx-pr-filter {
		padding-left: 16px;
	}

	.elementor .sfx-pr .sfx-pr-intro {
		padding-left: 16px;
	}

	/* Back arrow on its own line above the category (below the header) */
	.sfx-pd .sfx-pd__back {
		top: calc(var(--sfx-top-product, calc(370 * var(--sfx-u))) - 56px);
		left: 16px;
	}

	.sfx-pd__body {
		grid-template-columns: 1fr;
		row-gap: 40px;
		margin-top: 48px;
		padding: 0 16px;
	}

	.sfx-pd__media {
		order: -1;
	}

	.sfx-pd__specs li {
		padding: var(--sfx-specs-row, 20px) 0;
	}

	.sfx-pd__title {
		font-size: 11vw;
		overflow-wrap: anywhere;
	}

	.elementor .sfx-pds .sfx-pds-cta__title .elementor-heading-title {
		font-size: 14vw;
	}

	.elementor .sfx-pr .sfx-pr-intro {
		font-size: 26px;
	}
}

/* "SuperFX": the F is red (Magazine titles – Figma) */
.sfx-red,
.elementor .sfx-pg .elementor-heading-title .sfx-red,
.sfx-mag__title .sfx-red {
	color: var(--sfx-red);
}
