/* ==========================================================================
   Jaba Theme - design tokens (extracted from the live Framer site)
   See /reference/style-tokens.md in the project repo for source values.
   ========================================================================== */

:root {
	--jaba-dark: #324347;
	--jaba-teal: #4a6e77;
	--jaba-sage: #c3d8d6;
	--jaba-white: #ffffff;
	--jaba-body-text: #324347;

	--font-display: "Gothic A1", "Gothic A1 Placeholder", sans-serif;
	--font-body: "Gothic A1", "Gothic A1 Placeholder", sans-serif;
	--font-ui: "Inter", "Inter Placeholder", sans-serif;

	--content-max-width: 1600px;
	--section-padding-y: 8rem;
	--section-padding-x: 2.5rem;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--jaba-body-text);
	background: var(--jaba-white);
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

/* Heading visual scale is a CSS class, independent from semantic level
   (h1/h2/h3), so every page can keep exactly one real <h1> for SEO while
   still looking identical to the old multi-h1 Framer markup. */
.h-display,
.is-style-jaba-display {
	font-family: var(--font-display);
	font-size: clamp(2.75rem, 6.25vw, 5rem);
	line-height: 1.2;
	letter-spacing: normal;
	margin: 0;
}

.h-display strong,
.is-style-jaba-display strong {
	font-weight: 900;
	display: block;
}

.h-display em,
.is-style-jaba-display em {
	font-weight: 300;
	font-style: normal;
	display: block;
}

/* Typewriter reveal: hide the display headings until JS types them in - only
   when JS is active and the visitor hasn't asked for reduced motion. A matching
   <head> snippet adds `js-type` before first paint (so there's no flash of the
   full heading) and removes it again if this script never loads; `tw-run` is
   added the instant a heading starts typing. */
@media (prefers-reduced-motion: no-preference) {
	.js-type .h-display {
		visibility: hidden;
	}

	.js-type .h-display.tw-run {
		visibility: visible;
	}
}

/* Blinking caret on the element currently being typed. */
.tw-cursor::after {
	content: "";
	display: inline-block;
	width: 0.06em;
	height: 0.95em;
	margin-left: 0.06em;
	background: currentColor;
	vertical-align: -0.08em;
	animation: tw-blink 0.9s steps(1) infinite;
}

@keyframes tw-blink {
	50% {
		opacity: 0;
	}
}

.h-label {
	font-family: var(--font-ui);
	font-size: 0.85rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 0.5rem;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
	width: 100%;
	padding: var(--section-padding-y) var(--section-padding-x);
}

/* Full-viewport-height banner: the hero and the home-page teasers each fill
   the whole screen with content vertically centered, matching the original
   site's one-screen-per-section rhythm. */
.section--banner {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 7rem;
	padding-bottom: 5rem;
}

/* Shorter centered band used for the cross-links at the bottom of subpages. */
.section--teaser {
	min-height: 55vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Full-screen teaser with the original's editorial asymmetry: a large heading
   pinned top-left and the paragraph + CTA offset diagonally into the opposite
   lower quadrant. `.teaser--left` drops the body under the heading (Servizi). */
.section--teaser-full {
	min-height: 100vh;
	display: flex;
	align-items: stretch;
	padding: 7rem var(--section-padding-x) 5rem;
}

.teaser__inner {
	width: 100%;
	max-width: var(--content-max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	column-gap: 4rem;
	row-gap: clamp(3rem, 13vh, 10rem);
	align-content: center;
}

.teaser__heading {
	grid-column: 1;
	grid-row: 1;
	align-self: start;
}

.teaser__body {
	grid-column: 2;
	grid-row: 2;
	align-self: start;
	max-width: 34rem;
}

.teaser--left .teaser__body {
	grid-column: 1;
}

.teaser__body p {
	line-height: 1.3;
	margin: 0 0 1rem;
}

/* Home Servizi teaser carries the oversized sage JABA mark bleeding off the
   top-right, with a wider copy column - matching the live site. */
.servizi-teaser {
	position: relative;
	overflow: hidden;
}

.servizi-teaser .teaser__inner {
	position: relative;
	z-index: 1;
}

.servizi-teaser .teaser__body {
	max-width: 46rem;
}

.servizi-teaser__mark {
	position: absolute;
	top: -27%;
	right: 6%;
	width: min(42vw, 602px);
	height: auto;
	transform: rotate(35deg);
	transform-origin: center center;
	z-index: 0;
	pointer-events: none;
	user-select: none;
}

/* Colour bands: the .section--* selectors drive the custom team/clients blocks;
   the .is-style-jaba-* selectors drive the same look on core/group + Spectra
   containers picked in the editor. Same declarations, so both render identically. */
.section--dark,
.is-style-jaba-dark {
	background: var(--jaba-dark);
	color: var(--jaba-sage);
}

.section--teal,
.is-style-jaba-teal {
	background: var(--jaba-teal);
	color: var(--jaba-white);
}

.section--sage,
.is-style-jaba-sage {
	background: var(--jaba-sage);
	color: var(--jaba-dark);
}

.section--white,
.is-style-jaba-white {
	background: var(--jaba-white);
	color: var(--jaba-body-text);
}

.section-inner {
	width: 100%;
	max-width: var(--content-max-width);
	margin: 0 auto;
}

.section-divider {
	border: none;
	border-top: 1px solid rgba(74, 110, 119, 0.3);
	margin: 3rem 0;
}

/* Servizi page: each named service is a big teal heading + description,
   separated by full-width hairlines. */
.service-block {
	padding: 4.5rem 0;
}

.service-block__title {
	color: var(--jaba-teal);
	margin-bottom: 1.75rem;
}

.service-block p {
	color: var(--jaba-teal);
	max-width: 43rem;
	line-height: 1.3;
	margin: 0 0 1rem;
}

.service-block p:last-child {
	margin-bottom: 0;
}

/* Contatti hero: heading + address/metro/email on the left, map on the right. */
.contatti-hero__inner {
	width: 100%;
	max-width: var(--content-max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	column-gap: 4rem;
	row-gap: clamp(2rem, 9vh, 6rem);
	align-content: center;
}

.contatti-hero__heading {
	grid-column: 1;
	grid-row: 1;
}

.contatti-hero__heading .h-display {
	color: var(--jaba-teal);
}

.contatti-hero__details {
	grid-column: 1;
	grid-row: 2;
	color: var(--jaba-teal);
}

.contatti-hero__details p {
	color: var(--jaba-teal);
	margin: 0 0 0.75rem;
	line-height: 1.3;
}

.contatti-hero__map {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
}

.contatti-hero__map iframe {
	width: 100%;
	height: 420px;
	border: 0;
	border-radius: 10px;
	filter: grayscale(0.55) contrast(1.05);
}

.metro {
	display: flex;
	gap: 0.4rem;
	margin: 0.75rem 0 1rem;
}

.metro span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 6px;
	background: var(--jaba-teal);
	color: var(--jaba-white);
	font-family: var(--font-ui);
	font-weight: 700;
	font-size: 0.8rem;
}

/* Cross-link teaser at the foot of subpages: heading left, blurb + CTA right. */
.cross__inner {
	width: 100%;
	max-width: var(--content-max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 4rem;
	align-items: center;
}

.cross__body {
	max-width: 34rem;
}

.cross__body p {
	line-height: 1.3;
	margin: 0;
}

/* CTA: bold Gothic word(s) followed by an arrow glyph, no underline. */
.cta-link,
.wp-block-button.is-style-jaba-freccia .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	margin-top: 1.75rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	color: inherit;
}

/* Strip the core button chrome so the Freccia style is a plain arrow link. */
.wp-block-button.is-style-jaba-freccia .wp-block-button__link {
	background: none;
	border: 0;
	border-radius: 0;
	padding: 0;
	text-decoration: none;
}

.cta-link::after,
.wp-block-button.is-style-jaba-freccia .wp-block-button__link::after {
	content: "";
	width: 1.15em;
	height: 0.72em;
	margin-left: 0.55em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 10 H16 V6 L22 12 L16 18 V14 H2 Z'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 10 H16 V6 L22 12 L16 18 V14 H2 Z'/%3E%3C/svg%3E") no-repeat center / contain;
	transition: transform 0.2s ease;
}

.cta-link:hover::after,
.wp-block-button.is-style-jaba-freccia .wp-block-button__link:hover::after {
	transform: translateX(4px);
}

/* Animated "connections" network behind the home hero. */
.hero {
	position: relative;
	overflow: hidden;
}

.hero__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.hero__canvas canvas {
	display: block;
}

.hero .section-inner {
	position: relative;
	z-index: 1;
}

/* ==========================================================================
   Nav
   ========================================================================== */

/* Floating translucent pill that overlays the hero (no solid strip), matching
   the original site: fixed at the top, faint frosted-white fill. */
.site-nav {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100;
	width: calc(100% - 4rem);
	max-width: var(--content-max-width);
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 10px 1.75rem;
	border-radius: 17px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--jaba-white);
	transition: color 0.25s ease, background 0.25s ease;
}

/* Adaptive colour: dark text + logo when the nav sits over a light section.
   The pill also gains a faint grey fill so it stays visible on white sections
   (a translucent-white pill would otherwise disappear), keeping the nav looking
   like the same component on every page. */
.site-nav__logo img {
	transition: filter 0.25s ease;
}

.site-nav--on-light {
	color: var(--jaba-dark);
	background: rgba(50, 67, 71, 0.07);
}

.site-nav--on-light .site-nav__logo img {
	filter: brightness(0) opacity(0.82);
}

.site-nav__logo img {
	/* Full "JABA COMMUNICATION" lockup is two stacked lines, so it needs more
	   height than the old one-word mark for the "COMMUNICATION" line to read. */
	height: 30px;
	width: auto;
	display: block;
}

.site-nav__menu {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--font-ui);
	/* Desktop nav size. The mobile overlay (<=782px) overrides this with its
	   own larger clamp(), so bumping this only affects the desktop menu. */
	font-size: 14px;
	font-weight: 500;
}

.site-nav__menu a:hover {
	color: var(--jaba-sage);
}

/* Mobile menu toggle (hamburger). Hidden on desktop; revealed at <=782px when
   JS is present. Bars use currentColor so they follow the adaptive nav colour,
   and morph into an X while the overlay is open. */
.site-nav__logo {
	position: relative;
	z-index: 2;
}

.site-nav__toggle {
	display: none;
	position: relative;
	z-index: 2;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 40px;
	height: 40px;
	margin: -6px 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.site-nav__toggle-bar {
	display: block;
	width: 24px;
	height: 2px;
	background: currentColor;
	transition: transform 0.3s ease, opacity 0.2s ease;
}

.site-nav.is-open .site-nav__toggle-bar:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.site-nav.is-open .site-nav__toggle-bar:nth-child(2) {
	opacity: 0;
}

.site-nav.is-open .site-nav__toggle-bar:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Lock the background from scrolling while the overlay menu is open. */
html.nav-open,
html.nav-open body {
	overflow: hidden;
}

/* ==========================================================================
   Footer
   ========================================================================== */

/* Footer: company/legal block bottom-left, LinkedIn bottom-right, on the dark
   band - mirroring the live site (which keeps the e-mail capture in the
   "Scrivici" section above, not in the footer). */
.site-footer {
	background: var(--jaba-dark);
	color: var(--jaba-sage);
	padding: 7rem 4rem 3rem;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 3rem;
	font-family: var(--font-ui);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
}

.site-footer__legal {
	color: rgba(195, 216, 214, 0.82);
}

.site-footer__legal p {
	margin: 0 0 0.85rem;
}

.site-footer__legal p:first-child {
	margin-bottom: 0.4rem;
}

.site-footer__legal strong {
	color: var(--jaba-sage);
	font-weight: 500;
}

.site-footer__legal a {
	color: inherit;
	text-decoration: none;
}

.site-footer__legal a:hover {
	text-decoration: underline;
}

/* The LinkedIn glyph is painted sage via a mask so it matches the muted footer
   text instead of the bright white icon. */
.site-footer__social a {
	display: block;
	width: 34px;
	height: 34px;
	background-color: var(--jaba-sage);
	-webkit-mask: url(../img/brand/linkedin-icon.svg) center / contain no-repeat;
	mask: url(../img/brand/linkedin-icon.svg) center / contain no-repeat;
	transition: opacity 0.2s ease;
}

.site-footer__social a:hover {
	opacity: 0.7;
}

/* ==========================================================================
   Team grid (Chi Siamo)
   ========================================================================== */

/* Team grid: large portrait photo cards, 3 per row, with the name / role /
   LinkedIn icon overlaid on the bottom of the photo (matching the original). */
.team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem 2.5rem;
	margin-top: 3rem;
}

.team-card {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 352 / 600;
}

.team-card__link {
	display: block;
	width: 100%;
	height: 100%;
}

.team-card__link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.team-card__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 2.5rem 1.75rem 1.5rem;
	background: linear-gradient( to top, rgba(20, 24, 26, 0.78), rgba(20, 24, 26, 0.35) 55%, rgba(20, 24, 26, 0) );
	color: var(--jaba-white);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.team-card__name {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.15;
}

.team-card__role {
	margin: 0.25rem 0 0;
	font-family: var(--font-ui);
	font-size: 0.85rem;
	opacity: 0.9;
}

.team-card__linkedin {
	position: absolute;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 2;
	color: var(--jaba-white);
	line-height: 0;
}

.team-card__linkedin img {
	width: 22px;
	height: 22px;
}

/* Single team member page */
.team-single {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 3rem;
	align-items: start;
}

.team-single__photo {
	border-radius: 4px;
	overflow: hidden;
}

/* ==========================================================================
   Portfolio grid
   ========================================================================== */

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4.5rem 3rem;
	align-items: center;
	margin-top: 2rem;
}

.portfolio-grid__item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 90px;
}

/* Uniform muted treatment so mixed-colour client logos read as one wall,
   matching the original. Logos stay muted at all times - no hover colour
   reveal (per the client's request to drop the Portfolio hover). */
.portfolio-grid img {
	max-height: 78px;
	max-width: 100%;
	width: auto;
	filter: grayscale(1);
	opacity: 0.55;
}

/* Home-page Portfolio band: heading top-left, an auto-scrolling logo marquee
   across the middle (full-bleed), body + CTA in the lower-right. Mirrors the
   live site's Portfolio teaser, and pulls its logos from the Clienti CPT. */
.portfolio-home {
	gap: clamp(2.5rem, 6vh, 5rem);
}

.portfolio-home__top,
.portfolio-home__bottom {
	width: 100%;
	max-width: var(--content-max-width);
	margin-left: auto;
	margin-right: auto;
}

/* The live site tints the Portfolio heading teal (unlike the dark headings on
   the other white bands). */
.portfolio-home__top .h-display {
	color: var(--jaba-teal);
}

.portfolio-home__body {
	max-width: 43rem;
	margin-left: auto;
}

.portfolio-home__body p {
	font-size: 1.25rem;
	line-height: 1.4;
	margin: 0 0 1rem;
}

.logo-marquee {
	width: auto;
	margin-left: calc(var(--section-padding-x) * -1);
	margin-right: calc(var(--section-padding-x) * -1);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.logo-marquee__track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: jaba-marquee 55s linear infinite;
	/* Promote to its own layer so the transform animation stays on the GPU. */
	will-change: transform;
}

/* Spacing lives on the item as a trailing margin (not track `gap`): the track
   is two identical copies of the logo set, and per-item margin makes each copy
   an exact repeat unit, so translateX(-50%) lands precisely on the loop seam.
   A track `gap` would leave the join half a gap short -> a visible hop. */
.logo-marquee__item {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: clamp(3rem, 5.5vw, 5.5rem);
}

/* Client logos are full-colour brand marks; the same muted grayscale treatment
   as the Portfolio grid keeps the home marquee reading as one uniform wall. */
.logo-marquee__item img {
	height: 58px;
	width: auto;
	max-width: 200px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.55;
}

@keyframes jaba-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.logo-marquee__track {
		animation: none;
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
		gap: 1.5rem 3rem;
	}

	/* Static wrapped grid spaces via `gap`; drop the marquee's trailing margin. */
	.logo-marquee__item {
		margin-right: 0;
	}
}

/* ==========================================================================
   Contact form
   ========================================================================== */

/* "Scrivici" contact block: heading in the left column, intro text + form
   stacked in the right column, matching the original two-column layout. */
.contact-split .section-inner {
	display: grid;
	grid-template-columns: 1fr minmax(auto, 620px);
	gap: 2rem 5rem;
	align-items: start;
}

.contact-split__body p {
	margin-top: 0;
	font-size: 1.25rem;
	line-height: 1.15;
}

.contact-form .wpcf7-form {
	margin-top: 4rem;
}

/* CF7 wraps the fields in a <p>; that <p> is the underlined row holding the
   email input (left) and the Invia submit (right). */
.contact-form .wpcf7-form > p {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin: 0;
	border-bottom: 1px solid currentColor;
	padding-bottom: 0.5rem;
}

.contact-form .wpcf7-form .wpcf7-form-control-wrap {
	flex: 1;
	display: block;
}

.contact-form input[type="email"] {
	width: 100%;
	background: transparent;
	border: none;
	font-family: var(--font-ui);
	font-size: 1rem;
	color: inherit;
}

.contact-form input[type="email"]::placeholder {
	color: currentColor;
	opacity: 0.7;
}

.contact-form input[type="submit"] {
	background: transparent;
	border: none;
	font-family: var(--font-ui);
	font-weight: 600;
	cursor: pointer;
	color: inherit;
	white-space: nowrap;
}

/* CF7 injects an (initially hidden) AJAX spinner after the submit button; left
   in the flex row it steals the trailing space and pushes "Invia" inward. The
   original has no spinner, so drop it and let the button sit flush right. */
.contact-form .wpcf7-spinner {
	display: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 782px) {
	:root {
		--section-padding-x: 1.5rem;
		--section-padding-y: 4rem;
	}

	.site-nav {
		/* The fixed overlay must resolve against the viewport, so the pill must
		   not be a containing block for it. Both `transform` and `backdrop-filter`
		   create one, so drop both here (the pill keeps its translucent tint).
		   Centre with left/right + margin instead of translateX. */
		left: 0;
		right: 0;
		width: auto;
		max-width: none;
		margin: 0 1.25rem;
		transform: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		gap: 1rem;
		padding: 0.55rem 1.25rem;
	}

	.has-js .site-nav__toggle {
		display: flex;
	}

	/* Full-screen overlay menu (JS-enhanced). */
	.has-js .site-nav__menu {
		position: fixed;
		inset: 0;
		z-index: 1;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: center;
		gap: clamp(1.25rem, 4vh, 2rem);
		margin: 0;
		padding: 2rem;
		background: rgba(50, 67, 71, 0.98);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
		font-family: var(--font-display);
		font-size: clamp(2rem, 9vw, 3rem);
		font-weight: 500;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(-6px);
		transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
	}

	.has-js .site-nav.is-open .site-nav__menu {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
	}

	.has-js .site-nav__menu a {
		color: var(--jaba-white);
		padding: 0.15em 0.4em;
	}

	.has-js .site-nav__menu a:hover,
	.has-js .site-nav__menu a:focus {
		color: var(--jaba-sage);
	}

	/* Keep the logo + X above the overlay and force them light while open. */
	.site-nav.is-open {
		color: var(--jaba-white);
	}

	.site-nav.is-open .site-nav__logo img {
		filter: none;
	}

	/* No-JS fallback: the previous simple wrapped list, so the nav still works. */
	.site-nav__menu {
		gap: 0.85rem;
		flex-wrap: wrap;
		font-size: 0.8rem;
	}

	.teaser__inner {
		grid-template-columns: 1fr;
		row-gap: 2rem;
	}

	.teaser__heading,
	.teaser__body {
		grid-column: 1;
	}

	.teaser__body {
		grid-row: auto;
		max-width: none;
	}

	.cross__inner {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.cross__body {
		max-width: none;
	}

	.contatti-hero__inner {
		grid-template-columns: 1fr;
		row-gap: 2rem;
	}

	.contatti-hero__heading,
	.contatti-hero__details {
		grid-column: 1;
	}

	.contatti-hero__map {
		grid-column: 1;
		grid-row: auto;
	}

	.contatti-hero__map iframe {
		height: 300px;
	}

	.team-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	.team-single {
		grid-template-columns: 1fr;
	}

	.contact-split .section-inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.contact-form .wpcf7-form {
		margin-top: 2rem;
	}

	.portfolio-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
