/*
 Theme Name:   theme 4.0 Child
 Description:  Child theme for theme 4.0
 Author:       Perazza Srl
 Template:     theme-4.0
 Version:      4.3.0
 Text Domain:  theme-child
*/

/* Tailwind is built to `dist/app.css` and enqueued from `functions.php` */

strong {
	font-weight: 700;
}

body.single-portfolio .sp-text-2col .myh3 {
	font-family: var(--font-body) !important;
	font-size: max(1em, var(--text-wysiwyg-h3)) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    margin: 1.6em 0 .5em !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

body.home .enti-logos__logo img {
	filter: invert(1);
}

body.home .awards__row .awards__logo-slot {
    position: relative;
}

body.home .awards__row .awards__logo-slot::after {
    content: "";
    width: 50px;
    height: 50px;
    background: url("/wp-content/uploads/2026/10/logo-premio-mediastars-no-profit-2025.svg") no-repeat center;
    background-size: contain;
    top: 50%;
    right: 50%;
    position: absolute;
    display: inline-block;
    z-index: 1;
    transform: translate(50%, -50%);
    opacity: 0;
    transition: opacity 400ms ease-out;
}

body.home .awards__row:hover .awards__logo-slot::after {
    opacity: 1;
}

body.home .sticky-ti__content {
	gap: .03em;
}

/* pagina Progetto 360 */
body.page-id-1825 .enti-logos {	
	--enti-logo-h: clamp(4.5rem, 9vw, 9.5rem) !important;
}

/* pagina Clienti */
body.page-id-476 .clients-grid__logo {
	filter: brightness(0.85) grayscale(1) !important;
}

.pf360-machines .pf360-machines__desc ul {
  list-style: disc !important;
}

.pf360-machines .pf360-machines__desc li::marker {
  color: var(--color-white);
}

.site-footer__form .prefooter__form input[type=checkbox] {
	border-color: var(--color-yellow);
	aspect-ratio: 1; 
}

.site-footer__form .lead-form__privacy a {
	text-decoration: underline;
}

p a {
	text-decoration: underline;
	font-weight: 500;
	transition: 200ms;
}

p a:hover {
	color: var(--color-primary) !important;
}