/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
:root {
	/* -- FONT ------------------------------------------------ */
	--font-inter: "Inter", sans-serif;
	
	/* -- PESI ------------------------------------------------ */
	--fw-bold: bold;
	--fw-light: 300;
	
	/* -- COLORI ---------------------------------------------- */
	--white: #ffffff;
	--ink: #363636;
	--pink: #E05993;
	--blush: #FCD8E4;
	--silver: #E7E7E7;
	--rose: #F786AE;
}
.container-lg { width: 100%; margin-inline: auto; }
.container-sm { width: fit-content; margin-inline: auto; }

h1, h2, h3, p, a, button, li { font-family: var(--font-inter) !important; }
.italic { font-style: italic; }

/* PESO */
.fw-bold { font-weight: var(--fw-bold); }
.fw-light { font-weight: var(--fw-light); }

/* COLORI TESTI */
.white { color: var(--white); }
.ink { color: var(--ink); }
.pink { color: var(--pink); }
.blush { color: var(--blush); }
.silver { color: var(--silver); }
.rose { color: var(--rose); }

/* BACKGROUND */
.b-white { background-color: var(--white); }
.b-pink { background-color: var(--pink); }
.b-blush { background-color: var(--blush); }
.b-silver { background-color: var(--silver); }
.b-transparent { background-color: transparent; }

/* BUTTON */
.btn, .header__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.3; border-radius: 62px; text-decoration: none; cursor: pointer; }
.btn--pink { border: 2px solid var(--pink); }
.btn--pink, .btn--pink:active, .btn--pink:focus { background-color: var(--pink); color: white; }
.btn--pink:hover { background-color: transparent; color: var(--pink); }

/* LINE HEIGHT */
p.hero__overtitle, h1.hero__title, p.prevenzione__overtitle, p.test__overtitle, p.prenota__overtitle { line-height: 1; }
h2.hero__subtitle, p.prevenzione__text, p.test__text, p.test__desc, p.chi__text, p.percorso__text, p.come__text, p.come__note, p.prenota__text, p.popup__prenota__text { line-height: 1.42; }
h2.prevenzione__title, h3.prevenzione__subtitle, h2.test__title, h2.chi__title, h2.percorso__title, h2.come__title, h2.prenota__title, h2.popup__prenota__title { line-height: 1.1; }
h3.test__name, h3.come__name { line-height: 1.15; }
p.percorso__number { line-height: 0.65; }
 p.come__price { line-height: 0.85; }
.nf-form-content input[type=submit].form__btn { line-height: 1 !important; }

/* MENU DESKTOP */
.header { top: 0; z-index: 11; width: 100%; display: flex; position: fixed; box-shadow: 0px 3px 20px #7783AC26; }
.header__grid { margin: auto; display: flex; align-items: center; }
ul.header__list { display: flex; list-style: none; margin-bottom: 0; margin-left: auto; align-items: center; flex-direction: row; }
a.header__link, a.sidenav__link { cursor: pointer; text-decoration: none; }
a.header__link:active, a.header__link:focus, a.sidenav__link:active, a.sidenav__link:focus { color: var(--pink); }
a.header__link:hover, a.sidenav__link:hover { color: #B7427A; }

/* MENU MOBILE */
.header__toggle, .sidenav__close { line-height: 0; cursor: pointer; padding: 0; }
.header__toggle, .header__toggle:focus, .header__toggle:active, .header__toggle:hover, .sidenav__close, .sidenav__close:focus, .sidenav__close:active, .sidenav__close:hover { background-color: transparent; }
.header__toggle { position: relative; border-block: 2px solid var(--pink); border-inline: none; aspect-ratio: 30 / 18; }
button.header__toggle::after { content: ''; position: absolute; background-color: var(--pink); height: 2px; width: 100%; left: 0; top: 50%; transform: translateY(-50%); }
.sidenav { top: 0; right: 0; z-index: 1; height: 100%; position: fixed; overflow-x: hidden; background-color: white; transform: translateX(100%); transition: transform 0.5s ease; }
ul.sidenav__list { list-style: none; margin-left: 0; display: flex; flex-direction: column; }
li.sidenav__item { position: relative; }
a.sidenav__link { display: block; transition: 0.3s; }
li.sidenav__item:not(:last-child)::after { left: 0; content: ''; height: 2px; position: absolute; background-color: var(--pink); }
.sidenav__close { position: absolute; }
.sidenav__overlay { top: 0; left: 0; right: 0; bottom: 0; z-index: 1; width: 100%; height: 100%; display: none; position: fixed; background: rgba(0, 0, 0, 0.7); }

/* HERO */
.hero, .hero__inner, .prevenzione__inner, .percorso__inner, .chi__inner, .come__inner, .prenota, .prenota__inner { background-repeat: no-repeat; }
.hero, .prenota { background-size: cover; }

/* PREVENZIONE */
.prevenzione, .percorso { margin-top: -14vw; }
.prevenzione__inner { background-size: cover; background-position: center bottom; }
.prevenzione__inner, .percorso__inner { border-radius: 14.5vw 14.5vw 0 0; }

/* I TEST */
.test__grid, .test__card, .percorso__list, li.percorso__item, .come__grid, .come__card { display: flex; }
.test__grid, .come__grid { width: 100%; }
.test__card, .come__card { flex-direction: column; align-items: center; }
h3.test__name, p.test__desc, h3.come__name, p.come__price, p.come__note { text-align: center; }
h3.test__name, h3.come__name { max-inline-size: 14ch; }
.test__card:first-child h3.test__name, .come__card:first-child h3.come__name { text-wrap: balance; }
p.test__desc, p.percorso__number, p.percorso__text, p.come__note { margin-bottom: 0; }

/* PERCORSO */
.percorso__list { list-style: none; margin: 0; flex-direction: column; }
p.percorso__number { flex: 0 0 1.7ch; }

/* FORM */
.nf-form-fields-required, .nf-error-msg, .campo input:not([type=button]), .campo label, .checkbox label, .nf-form-content input[type=submit].form__btn, .nf-error.field-wrap .nf-field-element:after { font-family: 'Inter', sans-serif !important; }
.prenota .campo input:not([type=button]), .popup__prenota .campo input:not([type=button]), .prenota .nf-form-fields-required, .popup__prenota .nf-form-fields-required, .checkbox label a:hover { color: var(--ink) !important; }
.nf-form-fields-required, .campo .nf-field-label { margin-bottom: 0.3vw !important; }
.prenota .nf-error-msg, .popup__prenota .nf-error-msg, .nf-error.field-wrap .nf-field-element:after, .prenota .nf-pass.field-wrap .nf-field-element:after, .popup__prenota .nf-pass.field-wrap .nf-field-element:after { color: var(--pink) !important; }
.campo { margin: 0 !important; }
.campo input:not([type=button]), .campo input:not([type=button]):focus, .campo input:not([type=button]):-webkit-autofill, .campo input:not([type=button]):-webkit-autofill:hover, .campo input:not([type=button]):-webkit-autofill:focus {
	width: 100% !important;
	outline: none !important;
	-webkit-text-fill-color: var(--ink) !important;
	background: white !important;
	-webkit-box-shadow: 0 0 0px 1000px white inset !important;
  	transition: background-color 5000s ease-in-out 0s !important;
	border: none !important; 
}
.prenota nf-field, .popup__prenota nf-field { width: 100% !important; }
.campo label { font-weight: normal !important; }
.checkbox label { font-weight: normal !important; color: var(--ink); }
.checkbox label a { text-decoration: none; font-weight: bold; color: var(--pink); }
.label-right .checkbox-wrap .nf-field-label { padding-left: 0 !important; }
.nf-field-container { margin-bottom: 0 !important; }
.nf-form-content input[type=submit].form__btn { border-radius: 62px; border: 2px solid var(--pink) !important; height: auto !important; }
.nf-form-content input[type=submit].form__btn, .nf-form-content input[type=submit].form__btn:focus, .nf-form-content input[type=submit].form__btn:active { background-color: var(--pink) !important; color: white; }
.nf-form-content input[type=submit].form__btn:hover { background-color: transparent !important; color: var(--pink) !important; }
.nf-form-hp { display: none; }
.nf-error.field-wrap .nf-field-element:after { content: '!' !important; background: transparent !important; height: 100% !important; }

/* POPUP FORM */
.popup__prenota.popup--open { opacity: 1; z-index: 9999999999; transform: scale(1); }
.popup__prenota{
 	top: 0;
	left: 0;
	opacity: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	display: flex;
	position: fixed;
	overflow-y: auto;
	transform: scale(0);
    justify-content: center;
	background-color: #0000009C;
	transition: all .3s ease-in-out;
}
.popup__prenota__close { cursor: pointer; position: absolute; line-height: 0; }
.popup__prenota__inner { margin: auto 0; overflow: auto; position: relative; height: fit-content; }
.popup__prenota .nf-form-fields-required { display: none; }

/* FOOTER */
.site-info { background-color: var(--rose) !important; }
.copyright-bar { font-family: 'Inter', sans-serif; }

@media (max-width: 550px) {
	
	.container-lg { padding-inline: 8vw; }
	
	/* FONT SIZE */
	.fs-20  { font-size: max(15px, 3.27vw); }
	.fs-25  { font-size: max(17px, 3.80vw); }
	.fs-35  { font-size: max(21px, 4.86vw); }
	.fs-60  { font-size: max(31px, 7.51vw); }
	.fs-80, .fs-70  { font-size: max(37px, 9.10vw); }
	.fs-100 { font-size: max(47px, 11.75vw); }
	
	/* MENU */
    .entry-content { margin-top: 15vw !important; }
	.header { height: 15vw; }
    img.header__logo { max-width: 38vw; }
	.header__toggle { width: 7.5vw; }
    .sidenav { padding: 15vw 8vw 10vw; }
	ul.sidenav__list { grid-gap: 6vw; margin-bottom: 8vw; }
    li.sidenav__item:not(:last-child)::after { width: 25vw; bottom: -3vw; }
    a.header__btn { height: 15vw; width: 84vw; }
    .sidenav__close { top: 4.5vw; right: 4vw; }
	button.sidenav__close img { width: 5vw; }
	
	/* HERO */
	.hero { padding-bottom: 14vw; background-position: center; background-image: url(/wp-content/uploads/2026/10/shade-hero-onconext-551.webp); }
	.hero__inner { padding-block: 10vw; }
	p.hero__overtitle, p.prevenzione__overtitle, p.test__overtitle, img.test__icon, h3.test__name, img.come__icon, p.prenota__overtitle { margin-bottom: 3vw; }
	p.hero__overtitle span { display: none; }
	h1.hero__title, h2.prevenzione__title, h2.test__title, h2.chi__title, h2.come__title, h3.come__name, p.come__price, h2.prenota__title, h2.popup__prenota__title, p.popup__prenota__text { margin-bottom: 4.7vw; }
	h2.hero__subtitle, p.prevenzione__text, p.chi__text, h2.percorso__title, p.prenota__text { margin-bottom: 6.7vw; }
	button.btn { width: 100%; padding: 3.2vw 0; }
	
	/* PREVENZIONE */
	.prevenzione__inner { padding: 12vw 8vw 20vw; background-image: url(/wp-content/uploads/2026/10/shade-prevenzione-551.webp); }
	h2.prevenzione__title { text-wrap: balance; }
	h3.prevenzione__subtitle { max-inline-size: 14ch; margin-bottom: 6.7vw; }
	
	/* I TEST */
	p.test__text, p.come__text { margin-bottom: 16vw; }
	.test__grid, .come__grid { grid-gap: 15vw; flex-direction: column; align-items: center; }
	.test__card, .come__card { width: 80vw; border-radius: 8vw; padding-bottom: 6vw; }
	img.test__icon, img.come__icon { width: 22vw; margin-top: -10vw; }
	p.test__desc { max-inline-size: 23ch; }
	
	/* PER CHI */
	.chi { padding-bottom: 14vw; }
	.chi__inner { padding-block: 15vw 4vw; }
	
	/* PERCORSO */
	.percorso__inner { padding-block: 12vw; background-size: 31vw; background-position: right 5vw top 1vw; background-image: url(/wp-content/uploads/2026/10/bg-percorso-onconext-700.webp); }
	h2.percorso__title { max-inline-size: 11ch; }
	ul.percorso__list { grid-gap: 6vw; }
	li.percorso__item:not(:nth-child(2), :nth-child(3), :nth-child(5)) { align-items: baseline; }
	li.percorso__item:nth-child(2), li.percorso__item:nth-child(3), li.percorso__item:nth-child(5) { align-items: center; }
	p.percorso__text { text-wrap: balance; }
	
	/* COME ADERIRE */
	.come__inner { padding-block: 12vw; }
	p.come__text { text-wrap: balance; }
	p.come__note { max-inline-size: 23ch; }
	
	/* PRENOTA ORA */
	.prenota { background-position: center; background-image: url(/wp-content/uploads/2026/10/shade-prenota-onconext-700.webp); }
	.prenota__inner { padding-block: 12vw 6vw; }
	h2.prenota__title, h2.popup__prenota__title { max-inline-size: 16ch; }
	
	/* FORM */
	.prenota .nf-form-wrap, .popup__prenota .nf-form-wrap { width: 100%; }
	nf-field:nth-child(-n + 4) div.nf-field-container { margin-bottom: 3vw !important; }
	nf-field:nth-child(5) div.nf-field-container { margin-bottom: 5vw !important; }
	.campo input:not([type=button]) { min-height: 14vw; font-size: max(15px, 3.27vw) !important; }
	.nf-form-content .checkbox label, .nf-form-fields-required, .prenota .nf-error-msg, .popup__prenota .nf-error-msg { font-size: max(13px, 2.74vw); !important; }
	.nf-form-content input[type=submit].form__btn { padding: 4.5vw 0 !important; font-size: max(21px, 4.86vw) !important; width: 100% !important; }
	.nf-error.field-wrap .nf-field-element:after, .nf-pass.field-wrap .nf-field-element:after { line-height: 14vw !important; font-size: max(21px, 4.86vw) !important; }
	
	/* POPUP FORM */
	.popup__prenota__inner { padding: 12vw 8vw; width: 100vw; height: 100vh; }
	.popup__prenota__close { top: 3.5vw;  right: 4vw; }
	img.popup__prenota__icon { width: max(21px, 4.86vw); }
}
@media (min-width: 551px) {
	p.hero__overtitle br { display: none; }
	h1.hero__title { inline-size: 13ch; }
	h2.hero__subtitle { inline-size: 38ch; }
	p.come__note { inline-size: 23ch; }
	.nf-form-content input[type=submit].form__btn { width: fit-content !important; }
}
@media (min-width: 551px) and (max-width: 766.9px) {
	
	.container-lg { padding-inline: 8vw; }
	
	/* FONT SIZE */
	.fs-20 { font-size: 2.6vw; }
	.fs-25 { font-size: 3.3vw; }
	.fs-35 { font-size: 4.6vw; }
	.fs-60 { font-size: 7.85vw; }
	.fs-70 { font-size: 9.1vw; }
	.fs-80 { font-size: 9.8vw; }
	.fs-100 { font-size: 13.12vw; }
	
	/* MENU */
    .entry-content { margin-top: 13vw !important; }
	.header { height: 13vw; }
    img.header__logo { max-width: 35vw; }
	.header__toggle { width: 5.5vw; }
    .sidenav { padding: 12vw 8vw; }
	ul.sidenav__list { grid-gap: 4.4vw; margin-bottom: 4vw; }
    li.sidenav__item:not(:last-child)::after { width: 15vw; bottom: -2.2vw; }
    a.header__btn { height: 11vw; width: 22ch; }
    .sidenav__close { top: 4vw; right: 4vw; }
	button.sidenav__close img { width: 4.5vw; }
	
	/* HERO */
	.hero { padding-bottom: 14vw; background-position: center; background-image: url(/wp-content/uploads/2026/10/shade-hero-onconext-551.webp); }
	.hero__inner { padding-block: 10vw; }
	p.hero__overtitle, p.prevenzione__overtitle, p.test__overtitle, img.test__icon, h3.test__name, img.come__icon, p.prenota__overtitle { margin-bottom: 2.5vw; }
	h1.hero__title, h2.prevenzione__title, h2.test__title, h2.chi__title, h2.come__title, h3.come__name, p.come__price, h2.prenota__title, h2.popup__prenota__title, p.popup__prenota__text { margin-bottom: 4vw; }
	h2.hero__subtitle, p.prevenzione__text, p.chi__text, h2.percorso__title, p.prenota__text { margin-bottom: 5.5vw; }
	button.btn { width: 70vw; padding: 2.1vw 0; }
	
	/* PREVENZIONE */
	.prevenzione__inner { padding: 10vw 8vw 20vw; background-image: url(/wp-content/uploads/2026/10/shade-prevenzione-551.webp); }
	h2.prevenzione__title { text-wrap: balance; }
	p.prevenzione__text { inline-size: 39ch; }
	h3.prevenzione__subtitle { inline-size: 14ch; margin-bottom: 5.5vw; }
	
	/* I TEST */
	p.test__text { inline-size: 39ch; }
	p.test__text, p.come__text { margin-bottom: 12vw; }
	.test__grid, .come__grid { grid-gap: 11vw; flex-direction: column; align-items: center; }
	.test__card, .come__card { width: 60vw; border-radius: 5vw; padding-bottom: 4.8vw; }
	img.test__icon, img.come__icon { width: 17vw; margin-top: -7vw; }
	p.test__desc { inline-size: 23ch; }
	
	/* PER CHI */
	.chi { padding-bottom: 14vw; }
	.chi__inner { padding-block: 12vw 3vw; }
	
	/* PERCORSO */
	.percorso__inner { padding-block: 10vw; background-size: 35vw; background-position: right 3vw top 1vw; background-image: url(/wp-content/uploads/2026/10/bg-percorso-onconext-700.webp); }
	h2.percorso__title { inline-size: 11ch; }
	ul.percorso__list { grid-gap: 5.5vw; }
	li.percorso__item:not(:nth-child(3), :nth-child(5)) { align-items: baseline; }
	li.percorso__item:nth-child(3), li.percorso__item:nth-child(5) { align-items: center; }
	p.percorso__text { text-wrap: balance; }
	
	/* COME ADERIRE */
	.come__inner { padding-block: 10vw; }
	p.come__text { text-wrap: balance; }
	
	/* PRENOTA ORA */
	.prenota { background-position: center; background-image: url(/wp-content/uploads/2026/10/shade-prenota-onconext-700.webp); }
	.prenota__inner { padding-block: 10vw 6vw; }
	p.prenota__text, p.popup__prenota__text { inline-size: 34ch; }
	
	/* FORM */
	.prenota .nf-form-wrap, .popup__prenota .nf-form-wrap { width: 80vw; }
	nf-field:nth-child(-n + 4) div.nf-field-container { margin-bottom: 2vw !important; }
	nf-field:nth-child(5) div.nf-field-container { margin-bottom: 4vw !important; }
	.campo input:not([type=button]) { min-height: 10vw; font-size: 2.6vw !important; }
	.nf-form-content .checkbox label, .nf-form-fields-required, .prenota .nf-error-msg, .popup__prenota .nf-error-msg { font-size: 2.2vw !important; }
	.nf-form-content input[type=submit].form__btn { padding: 3.2vw 8vw !important; font-size: 4.6vw !important; }
	.nf-error.field-wrap .nf-field-element:after, .nf-pass.field-wrap .nf-field-element:after { line-height: 10vw !important; font-size: 4.6vw !important; }
	
	/* POPUP FORM */
	.popup__prenota__inner { padding: 10vw 8vw; width: 100vw; height: 100vh; }
	.popup__prenota__close { top: 3.5vw;  right: 4vw; }
	img.popup__prenota__icon { width: 4.6vw; }
}
@media (max-width: 766.9px) {
    .sidenav { width: 100%; }
	.hero__picture { display: block; line-height: 0; }
	.hero__picture img { display: block; width: 100%; height: auto; }
}
@media (min-width: 767px) {
	.hero__picture { display: none; }
	h2.prevenzione__title { inline-size: 17ch; }
	p.prevenzione__text { inline-size: 48ch; }
	h3.prevenzione__subtitle { inline-size: 18ch; }
	p.test__text { inline-size: 54ch; }
	.test__card:nth-child(2) p.test__desc { text-wrap: balance; }
	p.test__desc { inline-size: 20ch; }
	.come__inner { background-position: right top; }
	p.come__text { inline-size: 52ch; }
	h2.prenota__title, h2.popup__prenota__title { inline-size: 16ch; }
	.popup__prenota__inner { width: fit-content; }
}
@media (min-width: 767px) and (max-width: 899.9px) {
	
	.container-lg { padding-inline: 8vw; }
	
	/* FONT SIZE */
	.fs-20 { font-size: 1.89vw; }
	.fs-25 { font-size: 2.34vw; }
	.fs-35 { font-size: 3.31vw; }
	.fs-60 { font-size: 5.65vw; }
	.fs-70 { font-size: 6.63vw; }
	.fs-80 { font-size: 7.5vw; }
	.fs-100 { font-size: 9.4vw; }
	
	/* MENU */
	.entry-content { margin-top: 10vw !important; }
	.header { height: 10vw; }
    img.header__logo { max-width: 25vw; }
	.header__toggle { width: 4vw; }
    .sidenav { width: 60vw; padding: 8vw 6vw; }
	ul.sidenav__list { grid-gap: 3.2vw; margin-bottom: 4vw; }
    li.sidenav__item:not(:last-child)::after { width: 12vw; bottom: -1.6vw; }
    a.header__btn { height: 7.3vw; width: 22ch; }
    .sidenav__close { top: 2.5vw; right: 3vw; }
	button.sidenav__close img { width: 2.8vw; }
	
	/* HERO */
	.hero { background-image: url(/wp-content/uploads/2026/10/shade-hero-onconext-700.webp); }
	.hero__inner { padding-block: 8vw 22vw; background-size: 26vw; background-position: right 5vw bottom 11vw; background-image: url(/wp-content/uploads/2026/10/bg-hero-onconext-700.webp); }
	p.hero__overtitle, p.prevenzione__overtitle, p.test__overtitle, img.test__icon, h3.test__name, img.come__icon, p.prenota__overtitle { margin-bottom: 1.8vw; }
	h1.hero__title, h2.prevenzione__title, h2.test__title, h2.chi__title, h2.come__title, h3.come__name, p.come__price, h2.prenota__title, h2.popup__prenota__title, p.popup__prenota__text { margin-bottom: 3vw; }
	h2.hero__subtitle, p.prevenzione__text, p.chi__text, h2.percorso__title, p.prenota__text { margin-bottom: 4.2vw; }
	button.btn { width: 50vw; padding: 1.7vw 0; }
	
	/* PREVENZIONE */
	.prevenzione__inner { padding-block: 9vw 20vw; background-image: url(/wp-content/uploads/2026/10/shade-prevenzione-700.webp); }
	h3.prevenzione__subtitle { margin-bottom: 5vw; }
	
	/* I TEST */
	p.test__text, p.come__text { margin-bottom: 10.5vw; }
	.test__grid, .come__grid { grid-gap: 9vw 7vw; flex-wrap: wrap; justify-content: center; }
	.test__card, .come__card { flex: 0 0 35vw; border-radius: 4vw; padding-bottom: 4vw; }
	img.test__icon, img.come__icon { width: 13vw; margin-top: -5.5vw; }
	
	/* PER CHI */
	.chi { padding-bottom: 14vw; }
	.chi__inner { padding-block: 9vw 2vw; }
	p.chi__text { inline-size: 43ch; }
	
	/* PERCORSO */
	.percorso__inner { padding-block: 8vw; background-size: 40vw; background-position: right top 10vw; background-image: url(/wp-content/uploads/2026/10/bg-percorso-onconext-700.webp); }
	ul.percorso__list { grid-gap: 4.5vw; width: 60vw; }
	li.percorso__item:not(:nth-child(3), :nth-child(5)) { align-items: baseline; }
	li.percorso__item:nth-child(3), li.percorso__item:nth-child(5) { align-items: center; }
	p.percorso__text { text-wrap: balance; }
	
	/* COME ADERIRE */
	.come__inner { padding-block: 8vw; background-size: 33vw; background-image: url(/wp-content/uploads/2026/10/shade-come-onconext-700.webp); }
	
	/* PRENOTA ORA */
	.prenota { background-position: center; background-image: url(/wp-content/uploads/2026/10/shade-prenota-onconext-700.webp); }
	.prenota__inner { padding-block: 8vw 6vw; }
	p.prenota__text, p.popup__prenota__text { inline-size: 50ch; }
	
	/* FORM */
	.prenota .nf-form-wrap, .popup__prenota .nf-form-wrap { width: 65vw; }
	nf-field:nth-child(-n + 4) div.nf-field-container { margin-bottom: 1.6vw !important; }
	nf-field:nth-child(5) div.nf-field-container { margin-bottom: 3vw !important; }
	.campo input:not([type=button]) { min-height: 7.2vw; font-size: 1.89vw !important; }
	.nf-form-content .checkbox label, .nf-form-fields-required, .prenota .nf-error-msg, .popup__prenota .nf-error-msg { font-size: 1.65vw !important; }
	.nf-form-content input[type=submit].form__btn { padding: 2.5vw 6vw !important; font-size: 3.31vw !important; }
	.nf-error.field-wrap .nf-field-element:after, .nf-pass.field-wrap .nf-field-element:after { line-height: 7.2vw !important; font-size: 3.31vw !important; }
	
	/* POPUP FORM */
	.popup__prenota__inner { padding: 8vw; border-radius: 5.5vw; }
	.popup__prenota__close { top: 3.5vw;  right: 4vw; }
	img.popup__prenota__icon { width: 3.31vw; }
}
@media (max-width: 899.9px) {
	.chi__picture, .prenota__picture { display: block; line-height: 0; }
	.chi__picture img, .prenota__picture img { display: block; width: 100%; height: auto; }
	nf-field:last-child { text-align: left !important; }
}
@media (min-width: 900px) {
	.test__grid, .come__grid { justify-content: space-between; }
	p.chi__text { inline-size: 34.7ch; }
	.chi__picture, .prenota__picture { display: none; }
	.prenota__inner { padding-block: 6vw; }
}
@media (min-width: 900px) and (max-width: 1099.9px) {
	
	.container-lg { padding-inline: 8vw; }
	
	/* FONT SIZE */
	.fs-20 { font-size: 1.61vw; }
	.fs-25 { font-size: 2vw; }
	.fs-35 { font-size: 2.82vw; }
	.fs-60 { font-size: 4.82vw; }
	.fs-70 { font-size: 5.55vw; }
	.fs-80 { font-size: 6.44vw; }
	.fs-100 { font-size: 8vw; }
	
	/* MENU */
	.entry-content{ margin-top: 7vw !important; }
    .header { height: 7vw; }
    img.header__logo { max-width: 19vw; }
	.header__toggle { width: 3.4vw; }
    .sidenav { width: 50vw; padding: 8vw 6vw 6vw; }
	ul.sidenav__list { grid-gap: 2.8vw; margin-bottom: 4vw; }
    li.sidenav__item:not(:last-child)::after { width: 10vw; bottom: -1.4vw; }
	a.header__btn { width: 22ch; height: 6vw; }
    .sidenav__close { top: 2.5vw; right: 3vw; }
	button.sidenav__close img { width: 2.4vw; }
	
	/* HERO */
	.hero { background-image: url(/wp-content/uploads/2026/10/shade-hero-onconext-900.webp); }
	.hero__inner { padding-block: 7vw 21vw; background-size: 30vw; background-position: right 7vw bottom 12vw; background-image: url(/wp-content/uploads/2026/10/bg-hero-onconext-900.webp); }
	p.hero__overtitle, p.prevenzione__overtitle, p.test__overtitle, img.test__icon, h3.test__name, img.come__icon, p.prenota__overtitle { margin-bottom: 1.5vw; }
	h1.hero__title, h2.prevenzione__title, h2.test__title, h2.chi__title, h2.come__title, h3.come__name, p.come__price, h2.prenota__title, h2.popup__prenota__title, p.popup__prenota__text { margin-bottom: 2.5vw; }
	h2.hero__subtitle, p.prevenzione__text, p.chi__text, h2.percorso__title, p.prenota__text { margin-bottom: 3.5vw; }
	button.btn { width: 43vw; padding: 1.2vw 0; }
	
	/* PREVENZIONE */
	.prevenzione__inner { padding-block: 8vw 18vw; background-image: url(/wp-content/uploads/2026/10/shade-prevenzione-900.webp); }
	h3.prevenzione__subtitle { margin-bottom: 4vw; }
	
	/* I TEST */
	p.test__text, p.come__text { margin-bottom: 8.5vw; }
	.test__card, .come__card { flex: 0 0 calc((100% - 2vw) / 3); border-radius: 3.5vw; padding-bottom: 3vw; }
	img.test__icon, img.come__icon { width: 10vw; margin-top: -4.5vw; }
	
	/* PER CHI */
	.chi__inner { padding-block: 9vw 23vw; background-size: 60vw; background-position: right -4vw bottom 12vw; background-image: url(/wp-content/uploads/2026/10/bg-chi-onconext-900.webp); }
	
	/* PERCORSO */
	.percorso__inner { padding-block: 7vw; background-size: auto calc(100% - 7vw); background-position: right 2vw top 3vw; background-image: url(/wp-content/uploads/2026/10/bg-percorso-onconext-900.webp); }
	ul.percorso__list { grid-gap: 3.5vw; width: 51vw; }
	li.percorso__item:not(:nth-child(3), :nth-child(5)) { align-items: baseline; }
	li.percorso__item:nth-child(3), li.percorso__item:nth-child(5) { align-items: center; }
	p.percorso__text { text-wrap: balance; }
	
	/* COME ADERIRE */
	.come__inner { padding-block: 6vw 7vw; background-size: 30vw; background-image: url(/wp-content/uploads/2026/10/shade-come-onconext-900.webp); }
	
	/* PRENOTA ORA */
	.prenota { background-image: url(/wp-content/uploads/2026/10/shade-prenota-onconext-900.webp); }
	.prenota__inner { background-size: 52vw; background-position: right -3vw bottom; background-image: url(/wp-content/uploads/2026/10/bg-prenota-onconext-900.webp); }
	p.prenota__text, p.popup__prenota__text { inline-size: 50ch; }
	
	/* FORM */
	.prenota .nf-form-wrap, .popup__prenota .nf-form-wrap { width: 53vw; }
	nf-field:nth-child(-n + 4) div.nf-field-container { margin-bottom: 1.3vw !important; }
	nf-field:nth-child(5) div.nf-field-container { margin-bottom: 2.3vw !important; }
	.campo input:not([type=button]) { min-height: 6vw; font-size: 1.61vw !important; }
	.nf-form-content .checkbox label, .nf-form-fields-required, .prenota .nf-error-msg, .popup__prenota .nf-error-msg { font-size: 1.35vw !important; }
	.nf-form-content input[type=submit].form__btn { padding: 2vw 5vw !important; font-size: 2.82vw !important; }
	.nf-error.field-wrap .nf-field-element:after, .nf-pass.field-wrap .nf-field-element:after { line-height: 5vw !important; font-size: 2.82vw !important; }
	
	/* POPUP FORM */
	.popup__prenota__inner { padding: 5vw 6vw; border-radius: 4vw; }
	.popup__prenota__close { top: 2.5vw;  right: 3vw; }
	img.popup__prenota__icon { width: 2.82vw; }
}
@media (max-width: 1099.9px) {
	/* MENU */
    .header--desk { display: none; }
    .header__grid { width: 100%; height: 100%; justify-content: space-between; }
    img.header__logo { height: 100%; object-fit: contain; }
}
@media (min-width: 1100px) {
    .header--mobile { display: none; }
	img.header__logo { width: 100%;	height: auto; }
	ul.header__list { grid-gap: 2.5vw; margin-right: 2.5vw; }
	
	/* HERO */
	.hero__inner { padding-block: 6vw 20vw; background-size: auto calc(100% - 12vw); }
	p.hero__overtitle, p.prevenzione__overtitle, p.test__overtitle, img.test__icon, h3.test__name, img.come__icon, p.prenota__overtitle { margin-bottom: 1vw; }
	
	/* PREVENZIONE */
	.prevenzione__inner { padding-block: 7vw 18vw; }
	h3.prevenzione__subtitle { margin-bottom: 3.5vw; }
	
	/* I TEST */
	.test__card, .come__card { flex: 0 0 calc((100% - 6vw) / 3); }
	
	/* PERCORSO */
	li.percorso__item { align-items: baseline; }
	
	/* PRENOTA ORA */
	.prenota__inner { background-position: right bottom; }
	p.prenota__text, p.popup__prenota__text { inline-size: 34ch; }
	
	/* POPUP FORM */
	.popup__prenota__inner { border-radius: 62px; }
}
@media (min-width: 1100px) and (max-width: 1400px) {
	
	.container-lg { padding-inline: 10vw; }
	
	/* FONT SIZE */
	.fs-20 { font-size: 1.32vw; }
	.fs-25 { font-size: 1.63vw; }
	.fs-35 { font-size: 2.32vw; }
	.fs-60 { font-size: 3.93vw; }
	.fs-70 { font-size: 4.6vw; }
	.fs-80 { font-size: 5.25vw; }
	.fs-100 { font-size: 6.56vw; }
	
	/* MENU */
	.entry-content{ margin-top: 7vw !important; }
    .header { height: 7vw; }
    img.header__logo { max-width: 18vw; }
	a.header__btn { width: 22ch; height: 4.2vw; }
	
	/* HERO */
	.hero { background-image: url(/wp-content/uploads/2026/10/shade-hero-onconext-1100.webp); }
	.hero__inner { background-position: right 10vw bottom 12vw; background-image: url(/wp-content/uploads/2026/10/bg-hero-onconext-1100.webp); }
	h1.hero__title, h2.prevenzione__title, h2.test__title, h2.chi__title, h2.come__title, h3.come__name, p.come__price, h2.prenota__title, h2.popup__prenota__title, p.popup__prenota__text { margin-bottom: 2.5vw; }
	h2.hero__subtitle, p.prevenzione__text, p.chi__text, h2.percorso__title, p.prenota__text { margin-bottom: 3.5vw; }
	button.btn { width: 38vw; padding: 1.2vw 0; }
	
	/* PREVENZIONE */
	.prevenzione__inner { background-image: url(/wp-content/uploads/2026/10/shade-prevenzione-1100.webp); }
	
	/* I TEST */
	p.test__text, p.come__text { margin-bottom: 7vw; }
	.test__card, .come__card { border-radius: 3vw; padding-bottom: 2.5vw; }
	img.test__icon, img.come__icon { width: 8.5vw; margin-top: -3.5vw; }
	
	/* PER CHI */
	.chi__inner { padding-block: 8vw 22vw; background-size: 57vw; background-position: right bottom 12vw; background-image: url(/wp-content/uploads/2026/10/bg-chi-onconext-1100.webp); }
	
	/* PERCORSO */
	.percorso__inner { padding-block: 7vw; background-size: auto calc(100% - 7vw); background-position: right 1vw top 2vw; background-image: url(/wp-content/uploads/2026/10/bg-percorso-onconext-1100.webp); }
	ul.percorso__list { grid-gap: 3vw; }
	
	/* COME ADERIRE */
	.come__inner { padding-block: 6vw 7vw; background-size: 37vw; background-image: url(/wp-content/uploads/2026/10/shade-come-onconext-1100.webp); }
	
	/* PRENOTA ORA */
	.prenota { background-image: url(/wp-content/uploads/2026/10/shade-prenota-onconext-1100.webp); }
	.prenota__inner { background-size: 60vw; background-image: url(/wp-content/uploads/2026/10/bg-prenota-onconext-1100.webp); }
	
	/* FORM */
	.prenota .nf-form-wrap, .popup__prenota .nf-form-wrap { width: 44vw; }
	nf-field:nth-child(-n + 4) div.nf-field-container { margin-bottom: 1vw !important; }
	nf-field:nth-child(5) div.nf-field-container { margin-bottom: 2.3vw !important; }
	.campo input:not([type=button]) { min-height: 5vw; font-size: 1.32vw !important; }
	.nf-form-content .checkbox label, .nf-form-fields-required, .prenota .nf-error-msg, .popup__prenota .nf-error-msg { font-size: 1.1vw !important; }
	.nf-form-content input[type=submit].form__btn { padding: 2vw 5vw !important; font-size: 2.32vw !important; }
	.nf-error.field-wrap .nf-field-element:after, .nf-pass.field-wrap .nf-field-element:after { line-height: 5vw !important; font-size: 2.32vw !important; }
	
	/* POPUP FORM */
	.popup__prenota__inner { padding: 4vw 5vw; }
	.popup__prenota__close { top: 2.5vw;  right: 3vw; }
	img.popup__prenota__icon { width: 2.32vw; }
}
@media (min-width: 1401px){
	.container-lg { padding-inline: calc((100vw - min(70vw, 1200px)) / 2); }
	
	/* FONT SIZE */
	.fs-20 { font-size: min(20px, 1.05vw); }
	.fs-25 { font-size: min(25px, 1.3vw); }
	.fs-35 { font-size: min(35px, 1.97vw); }
	.fs-60 { font-size: min(60px, 3.13vw); }
	.fs-70 { font-size: min(70px, 3.75vw); }
	.fs-80 { font-size: min(80px, 4.17vw); }
	.fs-100 { font-size: min(100px, 5.22vw); }
	
	/* MENU */
	.entry-content{ margin-top: 5vw !important; }
    .header { height: 5vw; }
    img.header__logo { max-width: 20%; }
	a.header__btn { width: 20ch; height: 3vw; }
	
	/* HERO */
	.hero { background-image: url(/wp-content/uploads/2026/10/shade-hero-onconext-2000.png); }
	.hero__inner { background-position: left calc(((100vw - min(70vw, 1200px)) / 2) + 40vw) bottom 12vw; background-image: url(/wp-content/uploads/2026/10/bg-hero-onconext-2000.webp); }
	h1.hero__title, h2.prevenzione__title, h2.test__title, h2.chi__title, h2.come__title, h3.come__name, p.come__price, h2.prenota__title, h2.popup__prenota__title, p.popup__prenota__text { margin-bottom: 2vw; }
	h2.hero__subtitle, p.prevenzione__text, p.chi__text, h2.percorso__title, p.prenota__text { margin-bottom: 3vw; }
	button.btn { max-width: fit-content; padding: 1vw 5vw; }
	
	/* PREVENZIONE */
	.prevenzione__inner { background-image: url(/wp-content/uploads/2026/10/shade-prevenzione-2000.png); }
	
	/* I TEST */
	p.test__text, p.come__text { margin-bottom: 6vw; }
	.test__card, .come__card { border-radius: 2.4vw; padding-bottom: 1.7vw; }
	img.test__icon, img.come__icon { width: 6.5vw; margin-top: -3vw; }
	
	/* PER CHI */
	.chi__inner { padding-block: 7vw 21vw; display: flex; flex-direction: column; justify-content: center; background-size: auto calc(100% - 12vw); background-position: right 6vw bottom 12vw; background-image: url(/wp-content/uploads/2026/10/bg-chi-onconext-2000.webp); }
	
	/* PERCORSO */
	.percorso__inner { padding-block: 6vw; background-size: auto calc(100% - 4vw); background-position: right 6vw top; background-image: url(/wp-content/uploads/2026/10/bg-percorso-onconext-2000.webp); }
	ul.percorso__list { grid-gap: 2vw; }
	
	/* COME ADERIRE */
	.come__inner { padding-block: 6vw; background-size: 33vw; background-image: url(/wp-content/uploads/2026/10/shade-come-onconext-2000.webp); }
	
	/* PRENOTA ORA */
	.prenota { background-image: url(/wp-content/uploads/2026/10/shade-prenota-onconext-2000.png); }
	.prenota__inner { background-size: auto calc(100% - 9vw); background-image: url(/wp-content/uploads/2026/10/bg-prenota-onconext-2000.webp); }
	
	/* FORM */
	.prenota .nf-form-wrap, .popup__prenota .nf-form-wrap { width: 32vw; }
	nf-field:nth-child(-n + 4) div.nf-field-container { margin-bottom: 0.8vw !important; }
	nf-field:nth-child(5) div.nf-field-container { margin-bottom: 1.8vw !important; }
	.campo input:not([type=button]) { min-height: 3.5vw; font-size: min(20px, 1.05vw) !important; }
	.nf-form-content .checkbox label, .nf-form-fields-required, .prenota .nf-error-msg, .popup__prenota .nf-error-msg { font-size: min(15px, 0.8vw) !important; }
	.nf-form-content input[type=submit].form__btn { padding: 1vw 5vw !important; font-size: min(35px, 1.97vw) !important; }
	.nf-error.field-wrap .nf-field-element:after, .nf-pass.field-wrap .nf-field-element:after { line-height: 3.5vw !important; font-size: min(35px, 1.97vw) !important; }
	
	/* POPUP FORM */
	.popup__prenota__inner { padding: 4vw; }
	.popup__prenota__close { top: 2vw;  right: 2vw; }
	img.popup__prenota__icon { width: min(35px, 1.97vw); }
}