/**
 * PSH Artist Theme — base layout (variables via styles-manager.php).
 */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--psh-text-color, #222);
	background: var(--psh-background-color, #fff);
}

img { max-width: 100%; height: auto; vertical-align: middle; }

a {
	color: var(--psh-primary-color, #111);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

.psh-container {
	width: 100%;
	max-width: var(--psh-site-max-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(1.35rem, 4vw, 2.5rem);
	padding-right: clamp(1.35rem, 4vw, 2.5rem);
}

:root {
	--psh-section-space: clamp(5rem, 9vw, 7.5rem);
	--psh-site-max-width: 1320px;
	--psh-site-max-width-narrow: 1240px;
}

.psh-section {
	padding-top: var(--psh-section-space);
	padding-bottom: var(--psh-section-space);
}
.psh-main { min-height: 40vh; }

/**
 * Home — blocchi modulari (wrapper da theme-options / JSON home_sections).
 * Senza queste regole le classi --p-* non creano spazio fra le sezioni.
 */
.psh-home {
	display: flex;
	flex-direction: column;
}

.psh-home-block--p-none {
	padding-top: 0;
	padding-bottom: 0;
}

.psh-home-block--p-sm {
	padding-top: clamp(2.25rem, 4.5vw, 3.5rem);
	padding-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}

.psh-home-block--p-md {
	padding-top: clamp(3.25rem, 7vw, 6rem);
	padding-bottom: clamp(3.25rem, 7vw, 6rem);
}

.psh-home-block--p-lg {
	padding-top: clamp(4.25rem, 9vw, 8rem);
	padding-bottom: clamp(4.25rem, 9vw, 8rem);
}

.psh-home-block--p-xl {
	padding-top: clamp(5.5rem, 12vw, 10rem);
	padding-bottom: clamp(5.5rem, 12vw, 10rem);
}

/* Larghezza: il contenuto usa già .psh-container; qui solo varianti di max-width */
.psh-home-block--w-contained .psh-container {
	max-width: var(--psh-site-max-width);
}

.psh-home-block--w-full .psh-container {
	max-width: none;
}

/* Schema di sfondo per separare visivamente le bande */
.psh-home-block--s-default {
	background: transparent;
}

.psh-home-block--s-muted {
	background: var(--psh-secondary-color, #f5f5f5);
}

.psh-home-block--s-primary {
	background: rgba(0, 0, 0, 0.04);
}

.psh-scheme-dark .psh-home-block--s-primary {
	background: rgba(255, 255, 255, 0.05);
}

.psh-home-block--s-contrast {
	background: var(--psh-primary-color, #111);
	color: var(--psh-background-color, #fff);
}

.psh-home-block--s-contrast a {
	color: inherit;
}

.psh-page-wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.psh-site-header {
	position: relative;
	z-index: 50;
	background: var(--psh-background-color, #fff);
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.psh-header-sticky .psh-site-header {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 50;
}

body.admin-bar.psh-header-sticky .psh-site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar.psh-header-sticky .psh-site-header {
		top: 46px;
	}
}

/* Home con hero trasparente: header fisso in overlay, niente riserva su #page */
body.psh-header-sticky.psh-header-transparent-hero.psh-page-home .psh-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
}

body.psh-header-sticky.psh-header-transparent-hero.psh-page-home #page.psh-page-wrapper {
	padding-top: 0;
}

/* Single video cinematografico — header fisso in overlay sul player */
body.psh-header-transparent-hero.psh-single-video-cinematic .psh-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 60;
	background: transparent;
	border-bottom-color: transparent;
}

body.psh-header-transparent-hero.psh-single-video-cinematic #page.psh-page-wrapper {
	padding-top: 0;
}

body.psh-header-sticky #page.psh-page-wrapper {
	padding-top: var(--psh-header-offset, 5rem);
}

html {
	scroll-padding-top: var(--psh-header-offset, 0px);
}

.psh-site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	/* Padding minimo: il logo occupa quasi tutta l'altezza dell'header. */
	padding-top: 0.375rem;
	padding-bottom: 0.375rem;
}

.psh-custom-logo-link img,
.psh-logo-img { max-height: 68px; width: auto; }

/* Header fisso: fondo pieno appena si scorre (vedi toggle .is-scrolled in main.js). */
.psh-site-header.is-scrolled {
	background: var(--psh-background-color, #fff);
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.psh-site-title {
	font-weight: 700;
	font-size: 1.25rem;
	text-decoration: none;
	color: inherit;
}

/* Nav toggle + mobile full screen: assets/css/mobile-nav-emotional.css */

.psh-primary-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.psh-header-social {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.psh-header-social .psh-social-icons {
	justify-content: flex-start;
	gap: 0.35rem;
	margin: 0;
}

.psh-header-social .psh-social-icons__link {
	width: 2.35rem;
	height: 2.35rem;
}

@media (min-width: 641px) {
	.psh-primary-nav {
		flex: 1;
		justify-content: flex-end;
	}

	.psh-header-social {
		margin-left: 0.5rem;
	}
}

.psh-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.psh-menu a { text-decoration: none; font-weight: 500; }

.psh-btn {
	display: inline-block;
	padding: 0.65rem 1.25rem;
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none;
	background: var(--psh-button-color, #111);
	color: #fff;
	border: none;
	cursor: pointer;
	transition: background 0.2s;
}

.psh-btn:hover {
	background: var(--psh-button-hover-color, #333);
	color: #fff;
}

.psh-btn--ghost {
	background: transparent;
	color: inherit;
	border: 2px solid currentColor;
}

.psh-site-footer {
	margin-top: auto;
}

.psh-social-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.psh-social-list a { text-decoration: none; }

.psh-hero {
	position: relative;
	display: flex;
	align-items: center;
	padding: 4rem 0;
	overflow: hidden;
}

.psh-hero:not(.psh-hero--fullscreen) {
	min-height: calc(var(--psh-hero-min-vh-mobile, 70) * 1vh);
}

@media (min-width: 768px) {
	.psh-hero:not(.psh-hero--fullscreen) {
		min-height: calc(var(--psh-hero-min-vh-desktop, 85) * 1vh);
	}
}

.psh-hero--fullscreen { min-height: 100vh; }

/* Solo sfondo video/immagine: nessun testo in hero */
.psh-hero--media-only {
	align-items: stretch;
	padding: 0;
}

.psh-hero--media-only .psh-hero__bg,
.psh-hero--media-only .psh-hero__video-wrap {
	inset: 0;
}

.psh-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
}

.psh-hero__video-wrap {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.psh-hero__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.psh-hero__video-wrap--youtube {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

/*
 * Crop cover (come object-fit: cover): iframe 16:9 più grande del box,
 * centrata; scale leggero per tagliare barre/UI ai bordi del player.
 */
.psh-hero__youtube-iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;
	min-width: 177.78vh;
	min-height: 100vh;
	max-width: none;
	border: 0;
	outline: none;
	box-shadow: none;
	transform: translate(-50%, -50%) scale(1.12);
	transform-origin: center center;
}

.psh-hero__inner { position: relative; z-index: 1; }

.psh-hero__title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	margin: 0 0 0.5rem;
	line-height: 1.1;
}

.psh-hero__subtitle {
	font-size: 1.25rem;
	opacity: 0.9;
	margin: 0 0 1rem;
}

.psh-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.5rem;
}

/* Indicatore scroll hero (tap to scroll) */
.psh-hero__scroll-hint {
	position: absolute;
	left: 50%;
	bottom: clamp(1.25rem, 4vw, 2.5rem);
	z-index: 3;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	margin: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	opacity: 0.72;
	transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.psh-hero__scroll-hint:hover,
.psh-hero__scroll-hint:focus-visible {
	opacity: 1;
	outline: none;
}

.psh-hero__scroll-hint:focus-visible {
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--psh-button-color, #111) 55%, transparent);
	border-radius: 2px;
}

.psh-hero__scroll-hint-label {
	line-height: 1;
}

.psh-hero__scroll-hint-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
	border-radius: 50%;
	animation: psh-hero-scroll-bounce 2.2s ease-in-out infinite;
}

.psh-hero__scroll-hint-icon-svg {
	display: block;
	width: 1.125rem;
	height: 1.125rem;
}

@keyframes psh-hero-scroll-bounce {
	0%,
	100% {
		transform: translateY(0);
		opacity: 0.85;
	}
	50% {
		transform: translateY(5px);
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.psh-hero__scroll-hint-icon {
		animation: none;
	}

	.psh-hero__scroll-hint {
		transition: none;
	}
}

.psh-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.25rem;
}

@media (min-width: 900px) {
	.psh-grid:not(.psh-grid--masonry):not(.psh-grid--carousel):not(.psh-grid--archive-stack) {
		grid-template-columns: repeat(var(--psh-grid-columns, 3), minmax(0, 1fr));
	}
}

.psh-grid--masonry {
	column-count: var(--psh-grid-columns, 3);
	column-gap: 1.25rem;
	display: block;
}

.psh-grid--masonry .psh-card {
	break-inside: avoid;
	margin-bottom: 1.25rem;
}

@media (max-width: 900px) {
	.psh-grid--masonry {
		column-count: min(2, var(--psh-grid-columns, 3));
	}
}

@media (max-width: 520px) {
	.psh-grid--masonry {
		column-count: 1;
	}
}

.psh-grid--carousel {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 1rem;
	padding-bottom: 0.5rem;
}

.psh-grid--carousel .psh-card {
	flex: 0 0 min(320px, 85vw);
	scroll-snap-align: start;
}

/* Archivi «vedi tutto»: elenco verticale (no carosello) */
.psh-grid--archive-stack {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	align-items: stretch;
}

.psh-grid--archive-stack .psh-card {
	width: 100%;
	max-width: none;
	flex: none;
}

.psh-card {
	border-radius: 6px;
	overflow: hidden;
	background: var(--psh-secondary-color, #f5f5f5);
}

.psh-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.psh-card__img {
	width: 100%;
	aspect-ratio: 4/5;
	object-fit: cover;
	display: block;
}

.psh-card__placeholder {
	aspect-ratio: 4/5;
	background: rgba(0, 0, 0, 0.06);
}

/* Griglie video — locandine verticali A4 (2480×3508), crop cover */
.psh-card--psh_video:not(.psh-card--fast) .psh-card__img,
.psh-card--psh_video:not(.psh-card--fast) .psh-card__placeholder {
	aspect-ratio: 2480 / 3508;
}

.psh-featured-work--video .psh-featured-slide__figure .psh-featured-slide__img {
	aspect-ratio: 2480 / 3508;
	max-height: none;
}

.psh-featured-work--video .psh-featured-slide__placeholder {
	aspect-ratio: 2480 / 3508;
	min-height: 0;
	width: 100%;
}

.psh-card__body { padding: 1rem; }

/* Archive / home — video & audio «fast» cards: player nel box, titolo con link (no card-link wrap) */
.psh-card--fast {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.psh-card--fast .psh-card__media--embed {
	background: #0a0a0a;
	min-height: 0;
}

.psh-card--fast .psh-card__media--embed .psh-embed-responsive {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.psh-card--fast .psh-card__media--embed .psh-local-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}

.psh-card--fast .psh-card__media--embed .psh-local-video video {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.psh-card--fast .psh-card__media--audio {
	padding: 1rem 1rem 0;
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.psh-card--fast .psh-card__media--audio .psh-audio-native {
	width: 100%;
	min-width: 0;
}

.psh-card--fast .psh-card__media--audio .psh-audio-external {
	margin: 0;
	text-align: center;
}

.psh-card--fast .psh-card__title {
	margin: 0;
}

.psh-card--fast .psh-card__title a {
	text-decoration: none;
	color: inherit;
}

.psh-card--fast .psh-card__title a:hover {
	text-decoration: underline;
}

.psh-card__title {
	font-size: 1.1rem;
	margin: 0 0 0.35rem;
}

.psh-section-title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin: 0 0 2.5rem;
}

/* Home — sezioni «in evidenza» (carousel mobile, griglia desktop) */
.psh-featured-work {
	padding-top: 0.5rem;
}

.psh-featured-work .psh-section-head {
	margin-bottom: 2.5rem;
}

.psh-featured-work .psh-section-head .psh-section-title {
	margin-bottom: 0;
}

.psh-featured-work__archive-desktop {
	display: none;
}

@media (min-width: 768px) {
	.psh-featured-work__archive-desktop {
		display: inline;
	}
}

.psh-featured-work__archive-mobile {
	display: block;
	margin: 1.15rem 0 0;
	text-align: center;
}

.psh-featured-work__see-all {
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	color: color-mix(in srgb, var(--psh-text-color, #222) 65%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--psh-primary-color, #111) 30%, transparent);
	padding-bottom: 0.1rem;
}

.psh-featured-work__see-all:hover {
	color: var(--psh-primary-color, #111);
}

@media (min-width: 768px) {
	.psh-featured-work__archive-mobile {
		display: none;
	}
}

.psh-featured-carousel {
	position: relative;
	--psh-feat-fade: var(--psh-background-color, #fff);
}

.psh-featured-carousel__track {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: max(0.75rem, env(safe-area-inset-left)) max(0.75rem, env(safe-area-inset-right));
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	padding: 0.25rem 0 0.5rem;
	margin: 0 -0.25rem;
	padding-left: 0.25rem;
	padding-right: 0.25rem;
}

@media (min-width: 768px) {
	.psh-featured-carousel__track {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
		gap: clamp(1.35rem, 2.5vw, 2.25rem);
		overflow: visible;
		scroll-snap-type: none;
		margin: 0;
		padding: 0;
	}
}

@media (max-width: 767px) {
	.psh-featured-carousel::before,
	.psh-featured-carousel::after {
		content: "";
		position: absolute;
		top: 0;
		bottom: 2.5rem;
		width: 1.5rem;
		z-index: 1;
		pointer-events: none;
	}
	.psh-featured-carousel::before {
		left: 0;
		background: linear-gradient(90deg, var(--psh-feat-fade) 0%, transparent 100%);
	}
	.psh-featured-carousel::after {
		right: 0;
		background: linear-gradient(270deg, var(--psh-feat-fade) 0%, transparent 100%);
	}
}

.psh-featured-slide {
	flex: 0 0 min(86vw, 22rem);
	scroll-snap-align: center;
	min-width: 0;
	display: flex;
	flex-direction: column;
	background: color-mix(in srgb, var(--psh-secondary-color, #f5f5f5) 50%, var(--psh-background-color, #fff));
	border-radius: 16px;
	border: 1px solid color-mix(in srgb, var(--psh-text-color, #222) 8%, transparent);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
	overflow: hidden;
}

@media (min-width: 768px) {
	.psh-featured-slide {
		flex: none;
		scroll-snap-align: unset;
	}
}

.psh-featured-slide__media {
	position: relative;
	width: 100%;
	min-height: 10rem;
	background: color-mix(in srgb, var(--psh-text-color, #111) 4%, transparent);
}

.psh-featured-slide__media .psh-featured-slide__figure {
	margin: 0;
	line-height: 0;
}

.psh-featured-slide__img {
	width: 100%;
	height: auto;
	max-height: min(52vh, 420px);
	object-fit: cover;
	display: block;
	aspect-ratio: 4 / 3;
}

.psh-featured-slide__embed {
	width: 100%;
	height: 100%;
	min-height: 11rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.psh-featured-slide__embed .psh-embed-responsive {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 0;
}

.psh-featured-slide__embed .psh-embed-responsive iframe,
.psh-featured-slide__embed .psh-embed-responsive > * {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	border: 0 !important;
}

.psh-featured-slide__embed .psh-local-video video {
	width: 100%;
	max-height: min(52vh, 420px);
	border-radius: 0;
	background: #000;
}

.psh-featured-slide__audio {
	padding: 1rem 1rem 0.25rem;
	width: 100%;
	box-sizing: border-box;
}

.psh-featured-slide__audio .psh-audio-native {
	width: 100%;
	min-height: 2.5rem;
}

.psh-featured-slide__audio .psh-embed-responsive {
	padding-bottom: 120px;
	min-height: 120px;
}

.psh-featured-slide__placeholder {
	min-height: 12rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, color-mix(in srgb, var(--psh-primary-color, #111) 15%, transparent), color-mix(in srgb, var(--psh-secondary-color, #f5f5f5) 80%, transparent));
}

.psh-featured-slide__ph-icon {
	display: block;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	border: 2px solid color-mix(in srgb, var(--psh-text-color, #222) 25%, transparent);
	opacity: 0.35;
}

.psh-featured-slide__footer {
	padding: 0.85rem 1rem 1rem;
	flex-grow: 1;
	display: flex;
	align-items: flex-end;
}

.psh-featured-slide__title {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.35;
	font-weight: 600;
}

.psh-featured-slide__title a {
	text-decoration: none;
	color: inherit;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.psh-featured-slide__title a:hover {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.psh-featured-carousel__dots {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.85rem;
	min-height: 1.25rem;
}

@media (min-width: 768px) {
	.psh-featured-carousel__dots {
		display: none !important;
	}
}

.psh-featured-carousel__dot {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: color-mix(in srgb, var(--psh-text-color, #222) 28%, transparent);
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}

.psh-featured-carousel__dot.is-active {
	background: var(--psh-primary-color, #111);
	transform: scale(1.35);
}

@media (prefers-reduced-motion: reduce) {
	.psh-featured-carousel__track {
		scroll-behavior: auto;
	}

	.psh-featured-carousel__dot {
		transition: none;
	}
}

.psh-scheme-dark .psh-featured-slide {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
	border-color: color-mix(in srgb, var(--psh-text-color, #fff) 12%, transparent);
}

.psh-scheme-dark .psh-featured-carousel {
	--psh-feat-fade: var(--psh-background-color, #111);
}

/* Home — Intro / Chi siamo: testo + immagine affiancati (desktop), colonna su mobile */
.psh-about-preview__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2.75rem, 6vw, 4.5rem);
	align-items: center;
}

/* Pagina About — hero video 45vh + titolo in overlay */
.psh-page-about-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	width: 100%;
	height: 45vh;
	min-height: 260px;
	max-height: 45vh;
	overflow: hidden;
}

.psh-page-about-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: clamp(1.1rem, 3vw, 1.65rem) 0 clamp(1.2rem, 4vw, 1.85rem);
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.psh-page-about-hero__title {
	margin: 0;
	font-size: clamp(1.85rem, 5vw, 3rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: #fff;
}

.psh-page-about-hero__subtitle {
	margin: 0.5rem 0 0;
	max-width: 36rem;
	font-size: clamp(1rem, 2.2vw, 1.25rem);
	font-weight: 400;
	line-height: 1.45;
	opacity: 0.92;
	color: color-mix(in srgb, #fff 92%, transparent);
}

.psh-page-about-hero .psh-hero__video-wrap {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.psh-page-about-hero .psh-hero__video-wrap--youtube {
	pointer-events: none;
}

.psh-page-about-hero .psh-hero__youtube-iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;
	min-width: 177.78vh;
	min-height: 45vh;
	max-width: none;
	border: 0;
	outline: none;
	transform: translate(-50%, -50%) scale(1.12);
	transform-origin: center center;
}

.psh-page-about-hero .psh-hero__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.psh-about-hero-active.psh-header-sticky #page.psh-page-wrapper {
	padding-top: 0;
}

.psh-page-about--has-hero .psh-page-about__entry.psh-section {
	padding-top: 0;
	padding-bottom: 0;
}

.psh-page-about--has-hero .psh-page-about__header {
	display: none;
}

.psh-page-about--has-hero .psh-breadcrumbs {
	padding-top: 0.65rem;
	padding-bottom: 0.5rem;
}

.psh-page-about--has-hero .psh-page-about__blocks.psh-section {
	margin-top: 0;
	padding-top: clamp(3rem, 5.5vw, 4.5rem);
}

.psh-page-about--has-hero .psh-page-about__blocks .psh-page-about__row:first-child {
	margin-top: clamp(1rem, 2.5vw, 1.5rem);
}

.psh-about-preview__content {
	min-width: 0;
}

.psh-about-preview__text > *:first-child {
	margin-top: 0;
}

.psh-about-preview__aside {
	min-width: 0;
}

.psh-about-preview__figure {
	margin: 0;
}

.psh-about-preview__figure img {
	width: 100%;
	max-width: 560px;
	height: auto;
	display: block;
	border-radius: 4px;
	object-fit: cover;
}

/* About intro — gallery slider */
.psh-about-gallery {
	position: relative;
	--psh-about-gallery-aspect: 1 / 1;
	--psh-about-fade: var(--psh-background-color, #fff);
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.psh-about-gallery--1_1 {
	--psh-about-gallery-aspect: 1 / 1;
}

.psh-about-gallery--4_5 {
	--psh-about-gallery-aspect: 4 / 5;
}

.psh-about-gallery--5_4 {
	--psh-about-gallery-aspect: 5 / 4;
}

.psh-about-gallery__viewport {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	border: 1px solid color-mix(in srgb, var(--psh-text-color, #222) 10%, transparent);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.psh-about-gallery__track {
	display: flex;
	gap: 0.85rem;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: max(0.5rem, env(safe-area-inset-left)) max(0.5rem, env(safe-area-inset-right));
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	padding: 0.2rem 0 0.35rem;
}

.psh-about-gallery__slide {
	flex: 0 0 min(88vw, 420px);
	max-width: min(88vw, 520px);
	scroll-snap-align: center;
	min-width: 0;
}

@media (min-width: 721px) {
	.psh-about-gallery__slide {
		flex: 0 0 calc(100% - 0.5rem);
		max-width: 100%;
	}
}

.psh-about-gallery__frame {
	position: relative;
	width: 100%;
	aspect-ratio: var(--psh-about-gallery-aspect);
	overflow: hidden;
	border-radius: 10px;
	background: color-mix(in srgb, var(--psh-text-color, #111) 6%, transparent);
}

.psh-about-gallery__frame img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.psh-about-gallery__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	width: 2.35rem;
	height: 2.35rem;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	line-height: 1;
	color: var(--psh-background-color, #fff);
	background: color-mix(in srgb, var(--psh-text-color, #111) 72%, transparent);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
	transition: background 0.2s ease, transform 0.2s ease;
}

.psh-about-gallery__nav:hover,
.psh-about-gallery__nav:focus-visible {
	background: var(--psh-primary-color, #111);
	outline: none;
}

.psh-about-gallery__nav:focus-visible {
	box-shadow: 0 0 0 2px var(--psh-background-color, #fff), 0 0 0 4px var(--psh-primary-color, #111);
}

.psh-about-gallery__nav--prev {
	left: 0.4rem;
}

.psh-about-gallery__nav--next {
	right: 0.4rem;
}

.psh-about-gallery__nav[hidden] {
	display: none !important;
}

.psh-about-gallery__dots {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.75rem;
	min-height: 1.1rem;
}

.psh-about-gallery__dot {
	width: 6px;
	height: 6px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: color-mix(in srgb, var(--psh-text-color, #222) 28%, transparent);
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}

.psh-about-gallery__dot.is-active {
	background: var(--psh-primary-color, #111);
	transform: scale(1.35);
}

@media (max-width: 720px) {
	.psh-about-gallery::before,
	.psh-about-gallery::after {
		content: "";
		position: absolute;
		top: 0;
		bottom: 2.25rem;
		width: 1.25rem;
		z-index: 1;
		pointer-events: none;
	}
	.psh-about-gallery::before {
		left: 0;
		background: linear-gradient(90deg, var(--psh-about-fade) 0%, transparent 100%);
	}
	.psh-about-gallery::after {
		right: 0;
		background: linear-gradient(270deg, var(--psh-about-fade) 0%, transparent 100%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.psh-about-gallery__track {
		scroll-behavior: auto;
	}
	.psh-about-gallery__dot {
		transition: none;
	}
}

@media (min-width: 721px) {
	.psh-about-preview__grid:has(.psh-about-preview__aside) {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

.psh-scheme-dark .psh-about-gallery__viewport {
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	border-color: color-mix(in srgb, var(--psh-text-color, #fff) 12%, transparent);
}

.psh-scheme-dark .psh-about-gallery {
	--psh-about-fade: var(--psh-background-color, #111);
}

/* Gallery emozionale — base visibilità (dettagli in about-gallery-emotional.css) */
.psh-about-gallery--emotional {
	width: 100%;
	max-width: 100%;
}

.psh-about-gallery--emotional .psh-agemo__stage {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	max-height: min(52vh, 480px);
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #0a0a0a;
}

.psh-about-gallery--emotional.psh-about-gallery--1_1 .psh-agemo__stage {
	aspect-ratio: 1 / 1;
}

.psh-about-gallery--emotional.psh-about-gallery--5_4 .psh-agemo__stage {
	aspect-ratio: 5 / 4;
}

.psh-about-gallery--emotional .psh-agemo__layers {
	position: absolute;
	inset: 0;
}

.psh-about-gallery--emotional .psh-agemo__layer {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	z-index: 1;
}

.psh-about-gallery--emotional .psh-agemo__layer.is-active {
	opacity: 1;
	z-index: 3;
	pointer-events: auto;
}

.psh-about-gallery--emotional .psh-agemo__frame {
	position: absolute;
	inset: 0;
}

.psh-about-gallery--emotional .psh-agemo__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Pagina About (template PSH About) */
.psh-page-about__header {
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.psh-page-about__title {
	margin: 0;
	font-size: clamp(1.85rem, 4vw, 2.75rem);
	line-height: 1.15;
}

.psh-page-about__subtitle {
	margin: 0.65rem 0 0;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	font-weight: 500;
	opacity: 0.88;
	line-height: 1.4;
	color: color-mix(in srgb, var(--psh-text-color, #222) 88%, transparent);
}

.psh-page-about__content {
	margin-top: 1.25rem;
}

.psh-page-about__blocks {
	margin-top: clamp(2.75rem, 6vw, 4.5rem);
	padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
}

.psh-page-about__row {
	margin: clamp(3rem, 6.5vw, 5rem) 0;
}

.psh-page-about__row--split {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.75rem, 4vw, 3rem);
	align-items: center;
}

@media (min-width: 768px) {
	.psh-page-about__row--split {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	}
}

.psh-page-about__figure {
	margin: 0;
	line-height: 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
	border: 1px solid color-mix(in srgb, var(--psh-text-color, #222) 8%, transparent);
}

.psh-page-about__figure img {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: top;
	object-fit: cover;
	max-height: min(70vh, 520px);
}

.psh-page-about__figure--hero img {
	max-height: min(78vh, 640px);
}

.psh-page-about__figure--secondary {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.psh-page-about__figure--secondary img {
	max-height: min(60vh, 480px);
}

.psh-page-about__intro--wide {
	max-width: 42rem;
}

.psh-page-about__story {
	max-width: 46rem;
	font-size: 1.05rem;
	line-height: 1.75;
}

.psh-page-about__cta {
	margin: clamp(2.75rem, 6vw, 4.5rem) 0;
	padding: clamp(2rem, 5vw, 3.25rem);
	border-radius: 16px;
	background: color-mix(in srgb, var(--psh-secondary-color, #f5f5f5) 88%, var(--psh-background-color, #fff));
	border: 1px solid color-mix(in srgb, var(--psh-text-color, #222) 8%, transparent);
	text-align: center;
}

.psh-page-about__cta-title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.psh-page-about__cta-text {
	margin: 0 auto 1.25rem;
	max-width: 36rem;
	text-align: left;
}

.psh-page-about__cta-action {
	margin: 0;
}

.psh-team-groups {
	display: flex;
	flex-direction: column;
	gap: clamp(4rem, 8vw, 6.5rem);
}

.psh-team-group__title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.1rem, 2.2vw, 1.35rem);
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.85;
}

.psh-home-team .psh-team-group__title,
.psh-page-about__team .psh-team-group__title {
	border-bottom: 1px solid color-mix(in srgb, var(--psh-text-color, #222) 12%, transparent);
	padding-bottom: 0.65rem;
}

.psh-page-about__team {
	margin-top: clamp(4rem, 9vw, 6.5rem);
}

.psh-page-about__team-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.psh-page-about__team .psh-section-title {
	margin-bottom: 0;
}

.psh-scheme-dark .psh-page-about__figure {
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	border-color: color-mix(in srgb, var(--psh-text-color, #fff) 12%, transparent);
}

.psh-scheme-dark .psh-page-about__cta {
	background: color-mix(in srgb, var(--psh-text-color, #fff) 6%, var(--psh-background-color, #111));
	border-color: color-mix(in srgb, var(--psh-text-color, #fff) 10%, transparent);
}

.psh-section-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 2.75rem;
}

.psh-section-link { font-weight: 600; text-decoration: none; }

/* Home — striscia loghi (CPT Loghi) */
.psh-home-logos-marquee__head {
	margin-bottom: 0.75rem;
}

.psh-home-logos-marquee__strip {
	--psh-logo-marquee-duration: 32s;
	--psh-logo-marquee-shift: 50%;
	--psh-logo-gap: clamp(2.25rem, 4.5vw, 3.5rem);
}

.psh-home-logos-marquee__viewport {
	overflow: hidden;
	width: 100%;
	margin-top: 0.25rem;
	position: relative;
	-webkit-overflow-scrolling: touch;
	-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);
}

.psh-home-logos-marquee__track {
	--psh-logo-marquee-duration: 32s;
	--psh-logo-marquee-shift: 50%;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	width: max-content;
	gap: 0;
	opacity: 0;
	animation-name: psh-logo-marquee-scroll;
	animation-duration: var(--psh-logo-marquee-duration, 32s);
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	animation-fill-mode: none;
	will-change: transform;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	transform: translate3d(0, 0, 0);
	transition: opacity 0.35s ease;
}

.psh-home-logos-marquee__track.is-ready {
	opacity: 1;
}

.psh-home-logos-marquee__seq {
	flex: 0 0 auto;
	min-width: 0;
}

.psh-home-logos-marquee__list {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: var(--psh-logo-gap, clamp(2.25rem, 4.5vw, 3.5rem));
	list-style: none;
	margin: 0;
	/* Il padding destro mantiene lo stesso gap anche nel punto di giunzione del loop. */
	padding: 0 var(--psh-logo-gap, clamp(2.25rem, 4.5vw, 3.5rem)) 0 0;
}

.psh-home-logos-marquee__item {
	flex: 0 0 auto;
	min-width: 0;
}

.psh-home-logos-marquee__link,
.psh-home-logos-marquee__nolink {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 4.5rem;
	opacity: 0.9;
	transition: opacity 0.2s ease;
}

.psh-home-logos-marquee__link:hover,
.psh-home-logos-marquee__link:focus-visible {
	opacity: 1;
}

.psh-home-logos-marquee__img {
	display: block;
	max-height: 4.5rem;
	width: auto;
	max-width: 13rem;
	height: auto;
	object-fit: contain;
	flex-shrink: 0;
}

@media (max-width: 767px) {
	.psh-home-logos-marquee__strip {
		--psh-logo-gap: clamp(1.5rem, 5vw, 2.25rem);
	}

	.psh-home-logos-marquee__link,
	.psh-home-logos-marquee__nolink {
		min-height: 3.5rem;
	}

	.psh-home-logos-marquee__img {
		max-height: 3.5rem;
		max-width: 10rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.psh-home-logos-marquee__track {
		animation: none;
		transform: none;
		opacity: 1;
	}

	.psh-home-logos-marquee__seq[aria-hidden="true"] {
		display: none;
	}

	.psh-home-logos-marquee__viewport {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
	}

	.psh-home-logos-marquee__list {
		scroll-snap-align: start;
	}
}

@keyframes psh-logo-marquee-scroll {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(calc(-1 * var(--psh-logo-marquee-shift, 50%)), 0, 0);
	}
}

.psh-prose > *:first-child { margin-top: 0; }
.psh-prose > *:last-child { margin-bottom: 0; }

/* Testi di contenuto: giustificati, con sillabazione automatica. */
.psh-prose,
.psh-about-preview__text,
.psh-rich-block__content {
	text-align: justify;
	-webkit-hyphens: auto;
	hyphens: auto;
}

/* Niente grassetto nei testi: neutralizza anche i <strong> incollati nell'editor. */
.psh-prose strong,
.psh-prose b,
.psh-about-preview__text strong,
.psh-about-preview__text b,
.psh-rich-block__content strong,
.psh-rich-block__content b,
.psh-final-cta__text strong,
.psh-final-cta__text b {
	font-weight: 400;
}

.psh-breadcrumbs {
	padding: 0.75rem 0;
	font-size: 0.875rem;
}

.psh-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.65rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.psh-embed-responsive {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.psh-embed-responsive iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* YouTube: poster + play until click (no pre-play title/chrome from iframe) */
.psh-youtube-facade {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
}

.psh-youtube-facade__btn {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	border: 0;
	cursor: pointer;
	display: block;
	width: 100%;
	height: 100%;
	background: transparent;
}

.psh-youtube-facade__btn:focus-visible {
	outline: 2px solid var(--psh-primary-color, #fff);
	outline-offset: -4px;
}

.psh-youtube-facade__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.psh-youtube-facade__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 4.25rem;
	height: 3rem;
	margin: 0;
	transform: translate(-50%, -50%);
	background: rgba(255, 0, 0, 0.88);
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
	transition: transform 0.2s ease, background 0.2s ease;
}

.psh-youtube-facade__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 52%;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0.65rem 0 0.65rem 1.1rem;
	border-color: transparent transparent transparent #fff;
	transform: translate(-50%, -50%);
}

.psh-youtube-facade__btn:hover .psh-youtube-facade__play,
.psh-youtube-facade__btn:focus-visible .psh-youtube-facade__play {
	transform: translate(-50%, -50%) scale(1.06);
	background: #f00;
}

@media (prefers-reduced-motion: reduce) {
	.psh-youtube-facade__play {
		transition: none;
	}
}

.psh-local-video video {
	width: 100%;
	height: auto;
	display: block;
}

/* Galleria visual — griglia 3 colonne, immagini quadrate in crop cover. */
.psh-visual-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.1rem;
	margin-top: 2.5rem;
}

.psh-gallery-item {
	display: block;
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
	transform: translateZ(0);
}

.psh-gallery-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 45%);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.psh-gallery-item:hover::after,
.psh-gallery-item:focus-visible::after {
	opacity: 1;
}

.psh-gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.psh-gallery-item:hover img,
.psh-gallery-item:focus-visible img {
	transform: scale(1.045);
}

.psh-gallery-item:focus-visible {
	outline: 2px solid var(--psh-alchemia-accent, var(--psh-primary-color, #111));
	outline-offset: 3px;
}

@media (max-width: 600px) {
	.psh-visual-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}

	.psh-gallery-item {
		border-radius: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.psh-gallery-item img {
		transition: none;
	}

	.psh-gallery-item:hover img {
		transform: none;
	}
}

.psh-archive-header { padding: 2rem 0 1rem; }

.psh-archive-title {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
}

/* Archivi — paginazione centrata con frecce e numeri */
.psh-pagination {
	margin-top: clamp(2.5rem, 5vw, 3.75rem);
	padding-top: clamp(1.5rem, 3vw, 2.25rem);
	border-top: 1px solid color-mix(in srgb, var(--psh-text-color, #222) 10%, transparent);
}

.psh-pagination__inner {
	display: flex;
	justify-content: center;
}

.psh-pagination__list {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	list-style: none;
	margin: 0;
	padding: 0.45rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--psh-secondary-color, #f5f5f5) 55%, var(--psh-background-color, #fff));
	border: 1px solid color-mix(in srgb, var(--psh-text-color, #222) 8%, transparent);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.psh-pagination__item {
	margin: 0;
	padding: 0;
	line-height: 1;
}

.psh-pagination__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.65rem;
	height: 2.65rem;
	padding: 0 0.75rem;
	border-radius: 999px;
	border: 1px solid transparent;
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: color-mix(in srgb, var(--psh-text-color, #222) 78%, transparent);
	background: transparent;
	transition:
		background 0.22s ease,
		border-color 0.22s ease,
		color 0.22s ease,
		transform 0.22s ease,
		box-shadow 0.22s ease;
}

a.psh-pagination__link:hover,
a.psh-pagination__link:focus-visible {
	color: var(--psh-primary-color, #111);
	border-color: color-mix(in srgb, var(--psh-primary-color, #111) 28%, transparent);
	background: color-mix(in srgb, var(--psh-background-color, #fff) 88%, transparent);
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

a.psh-pagination__link:focus-visible {
	outline: 2px solid var(--psh-primary-color, #111);
	outline-offset: 2px;
}

.psh-pagination__item.is-current .psh-pagination__link {
	color: var(--psh-background-color, #fff);
	background: var(--psh-primary-color, #111);
	border-color: var(--psh-primary-color, #111);
	box-shadow: 0 6px 18px color-mix(in srgb, var(--psh-primary-color, #111) 35%, transparent);
	cursor: default;
}

.psh-pagination__item.is-prev .psh-pagination__link,
.psh-pagination__item.is-next .psh-pagination__link {
	min-width: 2.65rem;
	padding-inline: 0.65rem;
	border-color: color-mix(in srgb, var(--psh-text-color, #222) 12%, transparent);
	background: color-mix(in srgb, var(--psh-background-color, #fff) 92%, transparent);
}

.psh-pagination__item.is-dots .psh-pagination__link {
	min-width: auto;
	padding-inline: 0.35rem;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: color-mix(in srgb, var(--psh-text-color, #222) 45%, transparent);
	cursor: default;
	pointer-events: none;
}

.psh-pagination__icon {
	display: block;
	flex-shrink: 0;
}

.psh-scheme-dark .psh-pagination__list {
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.psh-team-single__grid {
	display: grid;
	grid-template-columns: minmax(200px, 320px) 1fr;
	gap: 2rem;
	align-items: start;
}

@media (max-width: 640px) {
	.psh-team-single__grid { grid-template-columns: 1fr; }
}

.psh-scheme-dark .psh-site-header {
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Pagina Portfolio hub — griglia tipologie */
.psh-main--portfolio-hub .psh-portfolio-hub-intro.psh-section {
	padding-bottom: clamp(1.25rem, 3vw, 2rem);
}

.psh-portfolio-types {
	padding: clamp(4rem, 9vw, 7rem) 0 clamp(5rem, 11vw, 8.5rem);
	background: color-mix(in srgb, var(--psh-secondary-color, #f5f5f5) 55%, var(--psh-background-color, #fff));
}

.psh-portfolio-types__intro {
	max-width: 40rem;
	margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.psh-portfolio-types__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.65rem, 3.2vw, 2.15rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.psh-portfolio-types__lede {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.5;
	color: color-mix(in srgb, var(--psh-text-color, #222) 72%, transparent);
}

.psh-portfolio-types__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: clamp(1rem, 2.4vw, 1.65rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.psh-portfolio-types__card {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1rem 1.25rem;
	min-height: 7.25rem;
	padding: 1.25rem 1.2rem;
	border-radius: 14px;
	border: 1px solid color-mix(in srgb, var(--psh-text-color, #222) 11%, transparent);
	background: var(--psh-background-color, #fff);
	text-decoration: none;
	color: inherit;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.psh-portfolio-types__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 44px color-mix(in srgb, var(--psh-primary-color, #111) 12%, transparent);
	border-color: color-mix(in srgb, var(--psh-primary-color, #111) 22%, transparent);
}

.psh-portfolio-types__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.75rem;
	height: 3.75rem;
	flex-shrink: 0;
	border-radius: 12px;
	background: color-mix(in srgb, var(--psh-primary-color, #111) 10%, transparent);
	color: var(--psh-primary-color, #111);
}

.psh-portfolio-types__svg {
	display: block;
	width: 2.25rem;
	height: auto;
}

.psh-portfolio-types__body {
	min-width: 0;
}

.psh-portfolio-types__label {
	display: block;
	font-weight: 700;
	font-size: 1.12rem;
	margin-bottom: 0.3rem;
	line-height: 1.25;
}

.psh-portfolio-types__hint {
	display: block;
	font-size: 0.9rem;
	line-height: 1.45;
	color: color-mix(in srgb, var(--psh-text-color, #222) 66%, transparent);
}

.psh-portfolio-types__chev {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: color-mix(in srgb, var(--psh-text-color, #222) 38%, transparent);
	transition: transform 0.2s ease, color 0.2s ease;
}

.psh-portfolio-types__card:hover .psh-portfolio-types__chev {
	transform: translateX(5px);
	color: var(--psh-primary-color, #111);
}

.psh-scheme-dark .psh-portfolio-types {
	background: color-mix(in srgb, var(--psh-text-color, #fff) 5%, var(--psh-background-color, #111));
}

.psh-scheme-dark .psh-portfolio-types__card {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
	border-color: color-mix(in srgb, var(--psh-text-color, #fff) 12%, transparent);
}

.psh-scheme-dark .psh-portfolio-types__card:hover {
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

