@charset "UTF-8";

/*
Theme Name: Didactic Choice Theme
Author: Tidiweb Solutions
Author URI: https://www.tidiweb.com
Version: 1.0
Year: 2026
*/


/* Variables */
:root {

	--half-content-width: 512px;
	--strict-content-width: 782px;
	--std-content-width: 1280px;
	--large-content-width: 1440px;
	--wide-content-width: 1920px;
	

	--very-small-spacing: 5px;
	--small-spacing: 10px;
	--std-spacing: 20px;
	--double-spacing: 40px;
	--triple-spacing: 60px;
	--large-spacing: 80px;


	--std-icon-size: 28px;
	--menu-icon-size: 32px;
	--social-icon-size: 24px;

	--circle-diameter: 128px;


	/* Color palette */

	--white: #fff;
	--black: #000;

	--grey: #CCD2DB;
	--mid-grey: #8D98A6;
	--light-grey: #E5E9ED;

	--dark-blue: #172D55;
	--blue: #003272;
	--light-blue: #EDEFF8;

	--yellow: #F5E780;


	/* Font Size */
	--font-size-xxxxs: 0.5rem;
	--font-size-xxxs: 0.58rem;
	--font-size-xxs: 0.65rem;
	--font-size-xsm: 0.7rem;
	--font-size-xs: 0.75rem;
	--font-size-sm: 0.88rem;
	--font-size-normal: 1rem;
	--font-size-md: 1.2rem;
	--font-size-lg: 1.5rem;
	--font-size-xl: 1.8rem;
	--font-size-xxl: 2.3rem;
	--font-size-xxxl: 3rem;
	--font-size-xxxxl: 3.8rem;
	
	--letter-spacing: normal;

	/* Line Height */
	--normal-line-height: 100%;
	--title-line-height: 120%;
	--medium-line-height: 135%;
	--high-line-height: 150%;
	--very-high-line-height: 180%;
	--double-line-height: 200%;
}

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
	font-size: 18px;
	color: var(--primary-text-color);
	line-height: var(--high-line-height);
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
	overflow: auto;
}


/**
 * Reset specific elements to make them easier to style in other contexts.
 */
html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
form,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
	padding: 0;
	margin: 0;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}


.flex{
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	-webkit-box-orient: horizontal;
	-moz-box-orient: horizontal;
	-webkit-box-direction: normal;
	-moz-box-direction: normal;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;

	flex-wrap: wrap;
}


body{
	font-family: "Strichpunkt Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	line-height: 150%;
	background-color: #EDEEF1;
}

*{
	box-sizing: border-box;
}

h1,h2,h3,h4{
	line-height: normal;
	font-family: "Source Serif 4", serif;
	font-optical-sizing: auto;
}

h1{ font-size: var(--font-size-xl); }
h2{ font-size: var(--font-size-lg); }
h3{ font-size: var(--font-size-md); }
h4{ font-size: var(--font-size-nd); }

@media screen and (min-width: 782px) {
	h1{ font-size: var(--font-size-xxl); }
	h2{ font-size: var(--font-size-xl); }
	h3{ font-size: var(--font-size-lg); }
	h4{ font-size: var(--font-size-md); }
}

@media screen and (min-width: 1024px) {
	h1{ font-size: var(--font-size-xxxl); }
	h2{ font-size: var(--font-size-xxl); }
}


.home .site-header{
	margin-top: 0px;
}

.site-header{
	margin-top: 100px;
}


.entry-title-wrapper{
	margin: 0 auto;
	max-width: var(--large-content-width);
	color: var(--blue);
	text-align: center;
	padding-bottom: var(--double-spacing);
}



.big-text{
	font-size: 1.5em;
}


.uppercase{
	text-transform: uppercase;
}

ul{
	margin: 0;
	padding: 0;
}

ul,
ol{
	list-style-position: inside;
}

.empty-list{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.circle-list{
	list-style-type: circle;
}

.horizontal-list{
	list-style-type: none;
}

.horizontal-list li{
	display: inline-block;
	vertical-align: top;
	margin: var(--small-spacing) var(--small-spacing);
}


.numbered-list{
    list-style: none;
    counter-reset: list-counter;
    padding-left: 0;
    margin-top: var(--std-spacing);
}

.numbered-list li{
    counter-increment: list-counter;
    position: relative;
    padding-left: var(--double-spacing);
    margin-bottom: var(--small-spacing);
}

.numbered-list li::before{
	content: counter(list-counter);
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	color: white;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: var(--font-size-sm);
}

.indented-text{
	padding-left: var(--double-spacing);
}




a{
	text-decoration:none;
}

a:hover{
	cursor: pointer;
}

.clear{ clear:both; }

.alignLeft{ text-align: left; }
.alignRight{ text-align: right; }
.alignCenter{ text-align: center; }
.justified{ text-align:justify; }


.light{ font-weight: 300; }
.normal{ font-weight: 400; }
.medium{ font-weight: 500; }



/**
* TRANSITIONS
*/


h1,h2,h3,h4{
	-webkit-transition: font-size 0.3s ease-in-out;
	-moz-transition: font-size 0.3s ease-in-out;
	-ms-transition: font-size 0.3s ease-in-out;
	-o-transition: font-size 0.3s ease-in-out;
	transition: font-size 0.3s ease-in-out;
}


.home-header,
.site-header,
.half-header{
	-webkit-transition: height 0.5s ease-in-out;
	-moz-transition: height 0.5s ease-in-out;
	-ms-transition: height 0.5s ease-in-out;
	-o-transition: height 0.5s ease-in-out;
	transition: height 0.5s ease-in-out;
}


#header-logo img{
	-webkit-transition: width 0.5s ease-in-out;
	-moz-transition: width 0.5s ease-in-out;
	-ms-transition: width 0.5s ease-in-out;
	-o-transition: width 0.5s ease-in-out;
	transition: width 0.5s ease-in-out;
}


.button a{
	-webkit-transition: background-color 0.3s ease-in-out;
	-moz-transition: background-color 0.3s ease-in-out;
	-ms-transition: background-color 0.3s ease-in-out;
	-o-transition: background-color 0.3s ease-in-out;
	transition: background-color 0.3s ease-in-out;
}

#bottom-bar #telefono-unico-wrapper{
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}




/**
* Gradients
*/

.has-black-to-dark-blue-gradient-background{
	background: rgb(0,0,0);
	background: -moz-linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(32,33,79,1) 60%);
	background: -webkit-linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(32,33,79,1) 60%);
	background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(32,33,79,1) 60%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#20214f",GradientType=1); 
}

.transparent-to-grey,
.has-transparent-to-grey-gradient-background{
	background: #CCD2DB;
	background: -webkit-linear-gradient(270deg, rgba(204, 210, 219, 1) 0%, rgba(204, 210, 219, 0) 100%);
	background: -moz-linear-gradient(270deg, rgba(204, 210, 219, 1) 0%, rgba(204, 210, 219, 0) 100%);
	background: linear-gradient(270deg, rgba(204, 210, 219, 1) 0%, rgba(204, 210, 219, 0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#CCD2DB", endColorstr="#CCD2DB", GradientType=1);
}


/**
 * Title & Text colors
 */

.has-white-color{
	color: var(--white);
}

.has-black-color{
	color: var(--black);
}



/**
* Buttons
*/

/*
.button a{
	text-align: center;
	font-size: var(--font-size-sm);
	padding: var(--small-spacing) var(--std-spacing);
	display: inline-block;
	margin: var(--std-spacing) auto;
	border-radius: 12px;
	background-color: var(--dark-blue);
	color: var(--white);
}

.button a:hover{
	background-color: var(--light-blue);
	color: var(--white);
}
*/
.button a{
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 14px 30px 14px 56px;
    background-color: #003272;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    overflow: hidden;
    transition: background 0.3s ease;
    text-transform: uppercase;
    font-size: var(--font-size-xs);
    margin-top: var(--std-spacing);
}

/* Pallino */
.button a::before {
    content: "";
    position: absolute;
    left: 16px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* Hover */
.button a:hover {
    background-color: #002652;
}

.button a:hover::before {
    transform: translateX(6px) scale(1.2);
    box-shadow: 0 0 10px #FFCD2F;
    background: #FFCD2F;
}







/* PAGINAZIONE ARTICOLI */


.post-navigation{
	margin: 50px 0;
}

.post-navigation .nav-links .nav-previous,
.post-navigation .nav-links .nav-next{
	width: 45%;
	padding: var(--std-spacing) var(--double-spacing);
	border: 1px dashed var(--bittersweet);

	-webkit-border-radius: var(--triple-spacing);
	-moz-border-radius: var(--triple-spacing);
	border-radius: var(--triple-spacing);
}

.post-navigation .nav-links .nav-previous{
	margin-right: 4%;
	text-align: right;
}


.post-navigation .nav-links .nav-next{
	margin-left: 4%;
	text-align: left;
}

.post-navigation .nav-links h4{
	margin-bottom: 0;
	font-size: var(--font-size-xs);
	text-transform: uppercase;
	color: var(--blue);
	line-height: 150%;
}

.post-navigation .nav-links h4:hover{
	color: var(--wheat);
}

.post-navigation .nav-links p{
	font-size: var(--font-size-xs);
	margin-top: var(--very-small-spacing);
	line-height: 135%;
}

.post-navigation .nav-links .nav-link-content,
.post-navigation .nav-links .nav-link-image{
	display: inline-block;
	vertical-align: middle;
}

.post-navigation .nav-links .nav-link-image{
	display: none;
	width: var(--circle-diameter);
	height: var(--circle-diameter);
	background-position: center;
	background-size: cover;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
}


.post-navigation .nav-links .nav-permalink{
	font-size: var(--font-size-xs);
	color: var(--dark-blue);
}

.post-navigation .nav-links .nav-permalink:hover{
	color: var(--wheat);
}

@media screen and (min-width: 1024px) {

	.post-navigation .nav-links .nav-link-image{
		display: inline-block;
	}

	.post-navigation .nav-links .nav-previous .nav-link-content{
		border-right: 1px solid var(--dark-blue);
		margin-right: var(--std-spacing);
		padding-right: var(--std-spacing);
	}

	.post-navigation .nav-links .nav-next .nav-link-content{
		border-left: 1px solid var(--dark-blue);
		margin-left: var(--std-spacing);
		padding-left: var(--std-spacing);
	}

	.post-navigation .nav-links .nav-link-content{
		width: calc(100% - 155px);
	}
}



/***
* TOPBAR
*/

.site-topbar{
	position: fixed;
	width: 100%;
	text-align: left;
	padding: 0;
	z-index: 1000;
	top: 0;
	left: 0;
	
	background-color: var(--blue);
	background: rgb(0, 50, 114) transparent;
	background: rgba(0, 50, 114, 0.85);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC003272, endColorstr=#CC003272);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC003272, endColorstr=#CC003272)";
}

.site-topbar-inner{
	margin: 0 auto;
	max-width: var(--large-content-width);
	padding: var(--small-spacing) var(--std-spacing);
}


.site-topbar-inner #topbar-logo,
.site-topbar-inner .main-menu{
	display: inline-block;
	vertical-align: middle;
}

.site-topbar-inner #topbar-logo{
	height: 32px;
}

.site-topbar-inner #topbar-logo img{
	height: 32px;
}

.site-topbar-inner #header-logo img{
	display: block;
	width: 84px;
	height: auto;
	transform: scale(140%);
}

.site-topbar .welcome-string{
	text-align: right;
	font-size: var(--font-size-xs);
	color: #edddcd;
}





/**
 * BOTTOM BAR
 */

#bottom-bar{
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

#bottom-bar #telefono-unico-wrapper{
	background-color: var(--blue);
	color: var(--white);
	font-size: var(--font-size-sm);
	line-height: 120%;
	display: block;
	width: 170px;
	margin: 0 var(--double-spacing) var(--very-small-spacing) auto;
	padding: 4px var(--small-spacing);
	border-radius: var(--std-spacing);
}

#bottom-bar #telefono-unico-wrapper:hover{
	color: var(--blue);
	background-color: var(--light-blue);
	cursor: pointer;
}

#bottom-bar #telefono-unico-wrapper:hover a{
	color: var(--blue);
}

#bottom-bar #telefono-unico-wrapper a{
	color: var(--light-blue);
}

#bottom-bar .row-sedi-italia{
	border-top: 1px solid var(--light-blue);
	background-color: var(--dark-blue);
}

#bottom-bar .row-sedi-estero{
	background-color: var(--blue);	
}

#bottom-bar .row-sedi-italia,
#bottom-bar .row-sedi-estero{
	color: var(--white);
	margin-bottom: 0;
	padding: var(--very-small-spacing);
	gap: 0 !important;
}

#bottom-bar .row-sedi-italia p{
	display: none;
	font-size: var(--font-size-xs);
}

#bottom-bar .row-sedi-italia h5,
#bottom-bar .row-sedi-estero h6{
	text-transform: uppercase;
	line-height: normal;
}

#bottom-bar .row-sedi-italia h5{
	font-size: var(--font-size-xxs);
}


@media screen and (min-width: 782px) {

	#bottom-bar .row-sedi-italia h5{
		font-size: var(--font-size-xs);
	}

	#bottom-bar .row-sedi-italia p{
		display: block;
	}
}

@media screen and (min-width: 1024px) {

	#bottom-bar .row-sedi-italia h5{
		font-size: var(--font-size-sm);
	}
}



/**
 * SOCIAL BAR
 */

.social-bar-row{
	background-color: var(--light-blue);
	padding: var(--std-spacing);
	margin: 0 auto;
	text-align: center;
	max-width: 1024px;
}

.social-bar-row h3{
	font-weight: normal;
}

.social-bar-row img{
	margin: 0 var(--std-spacing);
}





/***
* MENU DESKTOP
*/

.site-topbar-inner .main-menu{
	display: none;
	list-style-type:none;
	width: calc( 99% - 120px);
	text-align: right;
	position: unset;
	top: unset;
	left: unset;
	height: auto;
	z-index: 2000;
	margin: 0 0 0 var(--std-spacing);
	padding: 0 0 0 var(--double-spacing);
}

.site-topbar-inner .main-menu li{
	display: inline-block;
	vertical-align: top;
}

.site-topbar-inner .main-menu li a:hover,
.site-topbar-inner .main-menu li.current_page_item a,
.site-topbar-inner .main-menu li.current-page-parent a,
.site-topbar-inner .main-menu li.current_page_item a,
.site-topbar-inner .main-menu li .sub-menu li.current_page_item a{
	color: var(--light-blue);
}

.site-topbar-inner .main-menu li:last-child a{
	padding-right: 0;
}

.site-topbar-inner .main-menu li a{
	font-size: var(--font-size-xs);
	font-weight: 500;
	color: var(--white);
	margin: 0 auto;
	display: block;
	padding: 0 4px;
	text-align: center;
}

.site-topbar-inner .main-menu .sub-menu {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transform-origin: top;
    transform: rotateX(-90deg);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out, visibility 0.3s;
}


.site-topbar-inner .main-menu li.language-menu .sub-menu {
	text-align: left;
	width: 50px;
}

.site-topbar-inner .main-menu li.language-menu .sub-menu li:first-child{
	display: none;
}



.main-menu li.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: rotateX(0deg);
    background-color: rgba(0, 50, 114, .5);
    margin-top: 12px;
}

.site-topbar-inner .main-menu li .sub-menu li{
	display: block;
	text-align: left;
}

.site-topbar-inner .main-menu li .sub-menu li a{
	font-size: var(--font-size-xxs);
	text-align: left;
	color: var(--white);
	transition: color .3s ease-in-out;
	padding-top: var(--small-spacing);
	padding-bottom: var(--small-spacing);
}

.site-topbar-inner .main-menu li .sub-menu li a:hover{
	color: var(--yellow);
}


@media screen and (max-width: 1024px) {
	#home-genesi-section h2{
		font-size: 2.2em !important;
	}

	#home-genesi-section p{
		font-size: 1.4em !important;
	}

	.yacht-page-intro-section h2.has-xxl-font-size{ 
		font-size: 1.8em !important;
	}
	
	.yacht-page-intro-section p{
		font-size: 1.2em !important;
	}
}


/***
* MENU MOBILE
*/

.open-mobile-menu-icon{
	display: block;
	position: absolute;
	top: 15px;
	right: var(--double-spacing);
}

.open-mobile-menu-icon img{
	width: var(--menu-icon-size);
	height: calc( (var(--menu-icon-size) / 4 ) * 3) ;
}

.mobile-menu{
	display: none;
	position: fixed;
	width: 100%;
	height: 100vh;
	z-index: 2000;
	top: 0;
	left: 0;
}


.mobile-menu ul{
	list-style-type: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 4000;  
	display: flex;
	flex-direction: column;
	justify-content: center;

	background-color: var(--dark-blue);
	background: rgb(37, 52, 65) transparent;
	background: rgba(37, 52, 65, 0.9);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#DD253441, endColorstr=#DD253441);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#DD253441, endColorstr=#DD253441)";
}

.mobile-menu ul li a{
	font-size: var(--font-size-xs);
	font-weight: 500;
	color: var(--white);
	margin: 0 auto var(--small-spacing) auto;
	display: block;
	padding: 0 var(--very-small-spacing);
	text-align: center;
	text-transform: uppercase;
}


.mobile-menu li.current_page_item a,
.mobile-menu li.current-page-parent a,
.mobile-menu li.current_page_item a{
	color: var(--light-blue);
	transition: color .3s ease-in-out;
}

.mobile-menu li a:hover,
.mobile-menu li .sub-menu li.current_page_item a{
	color: var(--yellow);
}


.mobile-menu .close-mobile-menu-icon{
	text-align: right;
	margin: 0 var(--std-spacing) var(--std-spacing) auto;
	position: absolute;
	top: var(--double-spacing);
	right: var(--double-spacing);
	z-index: 5000;
}

.mobile-menu .close-mobile-menu-icon a{
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	border: 1px solid var(--white);
	padding: 5px;
	width: var(--double-spacing);
	height: var(--double-spacing);
	text-align: right;
	color: var(--white);
	display: inline-block;
	text-align: center;
}



.mobile-menu ul li ol.language-menu{
	list-style-type: none;
	margin-top: var(--std-spacing);
}

.mobile-menu ul li ol.language-menu li{
	display: inline-block;
	width: 30px;
}


@media screen and (min-width: 1024px) {

	.site-topbar-inner #header-logo{
		margin-left: var(--large-spacing);
	}

	.site-topbar-inner .main-menu{
		display: inline-block;
	}

	.mobile-menu,	
	.open-mobile-menu-icon{
		display: none;
	}

	.site-topbar-inner #header-logo img{
		width: 128px;
	}

	.site-topbar-inner .main-menu li a{
		padding: 0 var(--small-spacing);
	}

}




/*** EASY ACCORDION PLUGIN ***/
.wp-block-esab-accordion .wp-block-esab-accordion-child.esab__active_accordion,
.wp-block-esab-accordion .wp-block-esab-accordion-child > .esab__active.esab__body{
	background: transparent !important;
}

.wp-block-esab-accordion .esab__active_accordion > .esab__head{
	background-color: var(--blue) !important;
	padding: var(--small-spacing) !important;
}

.wp-block-esab-accordion .esab__active_accordion > .esab__head .esab__heading_tag{
	color: var(--white) !important;
}

.wp-block-esab-accordion .esab__heading_tag{
	font-family: "Source Serif 4", serif !important;
	font-weight: 500;
}

.wp-block-esab-accordion .esab__heading_tag,
.wp-block-esab-accordion .esab__body{
	font-size: var(--font-size-sm) !important;
	padding: var(--std-spacing) !important;
}

.wp-block-esab-accordion .esab__container > .wp-block-esab-accordion-child.esab__active_accordion{
	border-color: var(--blue) !important;
}



/***
* HEADER
*/


/* =============================================
   HERO - Titolo e motto sopra immagine in evidenza
   ============================================= */

.hero-wrapper {
    position: relative;
    width: 100%;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100vh; /* oppure un valore fisso es. 600px */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end; /* allinea il contenuto in basso */
}

/* Gradiente scuro in basso per leggibilità del testo */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.15) 50%,
        transparent 100%
    );
    pointer-events: none;
}

/* Gabbia centrata a 1280px */
.hero-content-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px; /* padding laterale */
}

/* Testo posizionato in basso a sinistra con padding bottom */
.hero-text {
    padding-bottom: var(--triple-spacing);
    text-align: left;
}

.hero-site-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 var(--small-spacing) 0;
    line-height: 100%;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-tagline {
    font-size: clamp(.8rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.site-header{
	margin-bottom: var(--triple-spacing);
}





/*
.home-header,
.site-header,
.half-header{
	overflow: hidden;
	position: relative;
	background-size: cover;
	background-position: center;
	margin-bottom: var(--double-spacing);
}


.home-header{ height: 640px; }
.site-header{ height: 360px; }
.half-header{ height: 360px; }

@media screen and (min-width: 512px) {
	.home-header{ height: 640px; }
	.site-header{ height: 360px; }
	.half-header{ height: 360px; }
}

@media screen and (min-width: 782px) {
	.home-header{ height: 768px; }
	.site-header{ height: 512px; }
	.half-header{ height: 400px; }
}

@media screen and (min-width: 1024px) {
	.home-header{ height: 768px; }
	.site-header{ height: 640px; }
	.half-header{ height: 440px; }
}

@media screen and (min-width: 1280px) {
	.home-header{ height: 840px; }
	.site-header{ height: 720px; }
	.half-header{ height: 512px; }
}

@media screen and (min-width: 1600px) {
	.home-header{ height: 900px; }
	.site-header{ height: 780px; }
	.half-header{ height: 640px; }
}

@media screen and (min-width: 1920px) {
	.home-header{ height: 1024px; }
	.site-header{ height: 840px; }
	.half-header{ height: 640px; }
}


.home-header{
	min-height: 768px;
}

.home-header h1{
	margin-top: var(--double-spacing);
	font-weight: 300;
	text-transform: uppercase;
}

.home-header h1 strong{
	font-weight: bold;
}

@media screen and (min-width: 1280px) {
}

*/

/***
* CONTENT
*/

#home-intro-section h2{
	text-transform: uppercase;
	font-size: var(--font-size-lg);
	font-weight: 500;
}


.site-header .page-title,
.site-content{
	max-width: var(--std-content-width);
	margin: 0 auto;
}

.site-header .page-title{
	padding: 0 var(--std-spacing);
}

.site-content{
	padding: 0 var(--std-spacing) var(--double-spacing) var(--triple-spacing);
}


.site-header .page-title{
	color: var(--blue);
	padding-top: var(--double-spacing);
}


.site section{
	padding: var(--std-spacing) var(--std-spacing);
}

.site section h2{
	margin-bottom: var(--std-spacing);
}

#sedi-home-section{}



#servizi-section h2{
	margin-bottom: var(--std-spacing);
}

#servizi-section h3{
	font-weight: 300;
	margin-top: var(--small-spacing);
	margin-bottom: var(--std-spacing);
}


.servizi-page-section h2{
	margin-top: var(--std-spacing);
}

.servizi-page-section h3{
	color: var(--blue);
}

.home #servizi-section .wp-block-column a{
	overflow: hidden;
}

.home #servizi-section .wp-block-column a img{
	transition: transform .25s ease-in-out;
}

.home #servizi-section .wp-block-column a:hover img{
	transform: scale(1.05);
}


.wp-block-columns{
	gap: 30px;
	margin-bottom: 0;
}

.wp-block-columns p{
	margin-bottom: 0;
}

#aree-di-competenza-section .wp-block-columns p{
	margin-bottom: 0;
}

#aree-di-competenza-section p{
	line-height: 200%;
}



@media screen and (min-width: 782px) {

	.wp-block-columns{
		gap: 100px;
	}

	.wp-block-columns p{
		margin-bottom: var(--std-spacing);
	}

	#bottom-bar .wp-block-columns p{
		margin-bottom: 0;
	}

	.site section{
		padding: var(--double-spacing) var(--std-spacing);
	}
}




/***
 * BOX COVER SERVIZI/SETTORI
 */

.box-columns .wp-block-cover{
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border-bottom-right-radius: 40px;
  justify-content: flex-start;
}

.box-columns .wp-block-cover .wp-block-cover__background{
  transition: all .3s ease-in-out;
}

.box-columns .wp-block-cover:hover > .wp-block-cover__background{
	opacity: .75;
	cursor: pointer;
}

.box-columns .wp-block-cover a{
	color: var(--white);
	font-size: var(--font-size-xxs);
	font-weight: 500;
	text-transform: uppercase;
	display: inline-block;
	border-radius: var(--circle-diameter);
	padding: var(--small-spacing) var(--std-spacing);
	border: 1px solid var(--white);
	transition: margin-left .3s ease-in-out;
}

.box-columns .wp-block-cover a:hover{
	cursor: pointer;
	margin-left: var(--small-spacing);
}



.settori-cover{
	padding: 30px;
}

.settori-cover h2{
	font-size: var(--font-size-lg);
}

.settori-cover ul,
.settori-cover p{
	font-size: var(--font-size-sm);
	color: #fff;
}



@media screen and (min-width: 782px) {
	.settori-cover{
		padding: 60px;
	}
}


/***
 * ENTRY CONTENT
 */



.entry-content p{
	line-height: 150%;
	margin-bottom: var(--std-spacing);
}

.entry-content figure{
	margin-bottom: 0;
}

.entry-content h2{
	font-weight: 300;
	margin-bottom: var(--std-spacing);
	color: var(--blue);
}

.entry-content h2 strong{
	font-weight: bold;
	color: var(--dark-blue);
	margin-bottom: var(--double-spacing);
}

.home .entry-content h2{
	font-weight: 900;
}

.entry-content h3{
	margin-bottom: var(--std-spacing);
	font-weight: 300;
	line-height: 150%;
	color: var(--dark-blue);
}

.entry-content figure.holmo-legal-separator-image{
	margin: var(--double-spacing) auto;
}



.entry-content .wp-block-columns{
}

.entry-content h1{
	margin-bottom: var(--small-spacing);
}

.entry-content h4{
	margin-top: var(--small-spacing);
	margin-bottom: var(--small-spacing);
}



.entry-content .wp-block-quote{
	font-size: var(--font-size-md);
	font-weight: 300;
	font-style: italic;
	border-left: .15em dotted var(--light-blue);
}


.entry-content ul{
	margin-bottom: var(--std-spacing);
}

.entry-content ol{
	margin: var(--triple-spacing) 0 120px 0;
}

.entry-content ol a{
	color: var(--dark-blue);
	transition: color .3s ease-in-out;
}

.entry-content ol a:hover{
	color: var(--grey);
}



/***
 * TEXTUAL PAGE TEMPLATE
 */

.textual-page-header-image{
	min-height: 50px;
}

.textual-page-content{
	max-width: var(--large-content-width);
	padding: 0 var(--std-spacing);
	margin: 50px auto var(--triple-spacing) auto;
}

.textual-page-content .wp-block-columns{
	border-top: 1px solid var(--light-blue);
	margin-top: var(--triple-spacing);
	padding-top: var(--double-spacing);
	padding-bottom: var(--double-spacing);
}

.textual-page-content h1{
	margin-bottom: var(--small-spacing);
}

.textual-page-content h2{
	font-size: var(--font-size-xl);
	color: var(--dark-blue);
	margin-bottom: var(--double-spacing);
}


.textual-page-content .wp-block-quote{
	font-size: var(--font-size-md);
	font-weight: 300;
	font-style: italic;
	border-left: .15em dotted var(--light-blue);
}


.textual-page-content h3{
	font-weight: 300;
	font-size: var(--font-size-lg);
	line-height: 150%;
	color: var(--dark-blue);
}

.textual-page-content ul{
	margin-bottom: var(--std-spacing);
}

.textual-page-content ol{
	margin: var(--triple-spacing) 0 120px 0;
}

.textual-page-content ol a{
	color: var(--dark-blue);
	transition: color .3s ease-in-out;
}

.textual-page-content ol a:hover{
	color: var(--grey);
}


/* 1. Creiamo un contatore sul contenitore principale */
.textual-page-content { /* o sostituisci con il container dei tuoi blocchi */
  counter-reset: column-counter;
}

/* 2. Applichiamo il contatore a ciascun blocco columns */
.textual-page-content .wp-block-columns {
  counter-increment: column-counter;
  position: relative; /* serve per posizionare il numero sopra */
}

/* 3. Generiamo il numero prima del blocco */
.textual-page-content .wp-block-columns::before {
  content: counter(column-counter);
  position: absolute;
  top: -40px;       /* sopra il blocco */
  left: 0;
  width: 30px;
  height: 30px;
  line-height: 30px;

  font-size: var(--font-size-normal);
  background-color: var(--light-blue);
  color: var(--white);
  border-radius: 50px;
  text-align: center;
}

.textual-page-content .wp-block-columns.simple-columns{
	margin-top: 0;
}

.textual-page-content .wp-block-columns.simple-columns::before{
	display: none;
}



/*** Chiusura ***/
.textual-page-content h5,
.entry-content h5{
	color: var(--dark-blue);
	background-color: var(--light-grey);
	padding: var(--double-spacing);
	border-radius: var(--std-spacing);
	font-weight: normal;
	font-size: var(--font-size-normal);
	line-height: 150%;
	margin-bottom: var(--std-spacing);
}

.textual-page-content-separator{
	width: 100%;
	margin: 0 auto;
	padding-bottom: var(--double-spacing);
	text-align: center;
	border-bottom: 1px solid var(--light-blue);
}

@media screen and (min-width: 782px) {
	.textual-page-content h5,
	.entry-content h5{
		font-size: var(--font-size-md);
	}
}



/***
 * PAGINA PROFESSIONISTI
 */

.professionisti-table {
    width: 100%;
    border-collapse: collapse;
    color: #2a3b4c;
}

/* Header semplice blu */
.professionisti-table thead {
    background-color: #e6eff8;
    border: 0 !important;
}

.professionisti-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #1f3a5f;
    border: 0 !important;
}

/* Righe */
.professionisti-table tr,
.professionisti-table td {
	border: 0 !important;
}

/* Celle */
.professionisti-table td {
    padding: 12px 16px;
    font-size: var(--font-size-sm);
}

/* Righe alternate soft blu */
.professionisti-table tbody tr:nth-child(odd) {
    background-color: #fcfcff;
}

.professionisti-table tbody tr:nth-child(even) {
    background-color: #f5f9fd;
}



/***
* CONTACT FORM
*/

.wpcf7{
	margin: 0 auto;
	font-size: var(--font-size-sm);
}

.wpcf7-form{
	padding: var(--std-spacing);
}

.wpcf7-form p{
	text-align: left;
	margin-bottom: 0;
}

.wpcf7 .uacf7-form-wrapper-container,
.wpcf7-form{
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
	display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
	flex-wrap: wrap;
	gap: 20px;
}

.wpcf7-form .form-item{
	width: calc(100% - 20px);
	display: block;
	overflow: hidden;
}

.wpcf7-form .form-item-wide{
	width: 100%;
	display: block;
}

.wpcf7-form p span.wpcf7-form-control-wrap span{
	width: 100%;
}

.wpcf7-form .wpcf7-not-valid-tip{
	position: relative;
	top: -20px;
	font-size: var(--font-size-sm);
}

.wpcf7-form .form-item span[data-name="your-consent"]{
	width: 100%;
	padding: 0;
}

.wpcf7-form .form-item-wide span[data-name="your-consent"] *{
	padding: 0;
}

.wpcf7-form .form-item-wide span[data-name="your-consent"] .wpcf7-acceptance .wpcf7-list-item-label{
	width: calc(96% - 20px);
	font-size: var(--font-size-xs);
	text-align: left;
}

.wpcf7-form .form-item-wide span[data-name="your-consent"] .wpcf7-acceptance .wpcf7-list-item-label a{
	display: inline;
}

.wpcf7-form:last-child{
	text-align: center;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea{
	font-size: var(--font-size-xs);
	border: 1px solid #7C7C7C;
	margin-bottom: 0;
	text-align: left;
	width: 100%;
	padding: 10px 10px;
	border-radius: var(--small-spacing);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"]{
	height: 45px;
}

.wpcf7 ins{
	color: red;
	padding-left: .2em;
	text-decoration: none;
}

.wpcf7 input[type="file"]{
	font-size: var(--font-size-xs);
	padding: 5px;
	display: block;
	margin: 5px auto 10px auto;
	border: 1px solid #777;
}

.wpcf7 .wpcf7-submit{
	border: 0;
	font-weight: bold;
	background-color: var(--blue);
	color: var(--white);
	font-size: var(--font-size-sm);
	text-transform: uppercase;
	padding: var(--std-spacing) var(--large-spacing);
	border-radius: var(--small-spacing);
}

.wpcf7 .wpcf7-submit:hover{
	cursor: pointer;
	color: var(--white);
	opacity: .8;
}

.wpcf7 .wpcf7-submit:disabled{
	background-color: #cccccc;
}

.wpcf7 .wpcf7-acceptance{
	display: block;
}

.wpcf7 textarea{
	height: 164px;
}

.wpcf7 .wpcf7-acceptance label input,
.wpcf7 .wpcf7-acceptance label span{
	display: inline-block;
	vertical-align: middle;
}

.wpcf7 .wpcf7-acceptance label span{
	margin: 0 0 0 10px;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item{
	margin-left: 0;
}

.wpcf7 .wpcf7-spinner{
	display: block;
}

.wpcf7 .codedropz-upload-handler .dnd-upload-counter{
	bottom: -3px !important;
}

.wpcf7-form h3{
	font-size: var(--font-size-normal);
}

@media screen and (min-width: 782px) {

	.wpcf7-form .form-item{
		width: calc(50% - 20px);
	}

	.wpcf7-form .form-item:nth-child(odd){
		padding-left: 20px;
	}

	.wpcf7-form .form-item:nth-child(even){
		padding-right: 20px;
	}

	.wpcf7 .wpcf7-acceptance{
		margin-top: 5px;
	}
}




/***
* FOOTER
*/

.site-footer{
	font-size: var(--font-size-sm);
}

.site-footer a{
	color: var(--white);
}

.site-footer .sub-menu{
	padding-left: var(--small-spacing);
}

.site-footer .wp-block-cover{
	padding: var(--std-spacing) var(--double-spacing);
}

.site-footer h2{
	font-size: var(--font-size-xxl);
}

.wp-block-easy-tabs-block-tabs{
	border: 0 !important;
}

.wp-block-easy-tabs-block-tab-contents{
	background-color: transparent !important;
}

@media screen and (min-width: 782px) {
	.site-footer h2{
		font-size: var(--font-size-xxxl);
	}
}





/* Complianz Menu */
#menu-privacy-policy-menu{
	list-style-type: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

#menu-privacy-policy-menu li{
	display: inline-block;
}

#menu-privacy-policy-menu li a{
	display: block;
	color: var(--white);
	font-size: 13px;
}

#menu-privacy-policy-menu li:not(:last-child) a::after{
	content: " - ";
}



/***
* COPYRIGHT
*/
.copyright{
	padding: var(--small-spacing) var(--std-spacing);
	background-color: var(--dark-blue);
	color: var(--white);
	font-size: var(--font-size-xs);
}

.copyright p{
	margin-bottom: 0;
}

.copyright ul{
	list-style-type: none;
	list-style-position: inside;
}

.copyright ul li a{
	color: #fff;
}

.copyright ul li a:hover{
	text-decoration: underline;
}