*{
	font-family: "Overpass", sans-serif;
}
a{
	text-decoration:none !important;
}
@media(max-width:768px){
    html, body{
        overflow-x: hidden;
        max-width: 100%;
    }
}
html {
    scroll-behavior: smooth;
  }
.dekooLINKstyle{
    font-weight: 600;
    color: var(--wp--preset--color--primary);
}
.dekooLINKstyle:hover{
    color: #CCC;
}
h1,h2,h3,h4,h5,h6{
    font-weight: bold;
}
h1{
    font-size: 63px;
}
h2{
    font-size: 54px;
}
h3{
    font-size: 35px;
}
h4{
    font-size: 28px;
}
h5{
    font-size: 20px;
}
h6{
    font-size: 18px;
}
p{
    font-size: 1rem;
}
::-webkit-scrollbar {
    width: 5px;
}
 ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
 }
::-webkit-scrollbar-thumb {
    background: var(--wp--preset--color--primary); 
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--wp--preset--color--primary); 
}
::selection{
    background: rgba(89, 169, 223, 40%);
}
.page-template-template-full-width ::selection,
#apertura-home ::selection{
    background: #00000021;
}
@media(max-width: 768px){
    h2, h3{
        font-size: 30px;
    }
}
/* regole Generali */
.d-grid{
    display: grid;
}
.d-block{
    display: block;
}
.d-flex{
    display: flex;
}
.row{
    display: flex !important;
    flex-direction: row;
    gap: 1rem;
}
.grid-50{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.grid-3{
    grid-template-columns: 1fr 1fr 1fr;
}
.flex-column{
    display: flex;
    flex-direction: column;
}
.space-between{
    justify-content: space-between;
}
.justify-center{
    justify-content: center;
}
.align-center{
    align-items: center;
}
.center,
.site-content{
    margin: 0 auto;
}
.mAxwidth1600{
    max-width: 1600px;
}
.mAxwidth1250{
    max-width: 1250px;
}
.mAxwidth1000{
    max-width: 1000px;
}
.no-gap{
    gap: 0;
}
.notScrollpage{
    overflow: hidden;
}
.relative{
    position: relative;
}
.z-3{
    z-index: 3;
}
.site-content{
    min-height: 50vh;
}
@media(max-width:768px){
    .mobile{
        display: block;
    }
    .desktop{
        display: none !important;
    }
}
@media(min-width:769px){
    .mobile{
        display: none !important;
    }
    .desktop{
        display: block;
    }
}
@media(max-width:1239px){
    .tablet{
        display: block;
    }
    .desktop-no-tablet{
        display: none;
    }
}
@media(min-width:1240px){
    .tablet{
        display: none !important;
    }
    .desktop-no-tablet{
        display: block;
    }
}
/* HEADER */
body{
    padding-top: 121px;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animationFadeInDown{
    animation: fadeInDown 0.6s ease-out forwards;
}
header {
    padding: 0 15px;
    background: var(--wp--preset--gradient--diagonal-background-header);
    /*transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;*/
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.5s ease;
    /*transform: translateY(-100%);*/ /* Nasconde il menu fuori dallo schermo */
    /*opacity: 0;*/ /* Nasconde il menu visivamente */
}
#wpadminbar + #page #masthead{
    top: 32px;
}
header .social-menu,
header .header-first,
header .header-first img{
    transition: all 0.5s ease;
}
header.shrink-header .social-menu{
    opacity: 0;
    margin: 0;
    height: 0;
    z-index: -999999;
    position: relative;
}
header.shrink-header .header-first img{
    width: 53px;
}
header.shrink-header .header-first{
    padding: 10px 0;
}
header.fadeInDownMenu {
    transform: translateY(0); /* Fa scendere il menu dolcemente */
    opacity: 1;
}
.header-hero {
  position: absolute;
  background: transparent;
}
.header-first{
    padding: 15px 0;
}
.headerHamburger{
    padding: 15px;
}
.header-first ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.header-first .navbar-nav{
    display: flex;
    gap: 40px;
    align-items: center;
}
.header-first .menu-item:hover > a {
    text-decoration: 2px underline !important;
    text-underline-offset: 8px;
}
/* inizio sub-menu */
.header-first .menu-item-has-children{
    position: relative;
}
.header-first .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 7px;
    margin-left: 7px;
    background-image: url(/wp-content/themes/ecrparty2025/resurces/img/icon-awesome-chevron.svg);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    transition: transform 0.3s ease;
}
.header-first .menu-item-has-children:hover > a::after {
  transform: rotate(-180deg);
}
.header-first .menu-item-has-children .sub-menu {
    display: none;
    position: absolute;
    background-color: var(--wp--preset--color--light-sky-blue);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 5px;
    border-radius: 5px;
    width: 220px;
    left: -10px;
    top: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s linear 1s !important;
}
.header-first .menu-item-has-children:hover .sub-menu,
.header-first .menu-item-has-children:focus-within .sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease;
}
.header-first .menu-item-has-children .sub-menu .menu-item-has-children a{
    position: relative;
}
.header-first .menu-item-has-children .sub-menu .menu-item-has-children > a::after{
    content: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg version='1.1' viewBox='0 0 256 256' xml:space='preserve' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='translate(1.4066 1.4066) scale(2.81)' fill='none'%3E%3Cpath d='m90 24.25c0-0.896-0.342-1.792-1.025-2.475-1.366-1.367-3.583-1.367-4.949 0l-39.026 39.025-39.025-39.025c-1.367-1.367-3.583-1.367-4.95 0-1.366 1.367-1.366 3.583 0 4.95l41.5 41.5c1.366 1.367 3.583 1.367 4.949 0l41.5-41.5c0.684-0.683 1.026-1.579 1.026-2.475z' fill='%23000' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E%0A");
    color: var(--wp--preset--color--white);
    display: inline-block;
    right: 20px;
    position: absolute;
    width: 14px;
    top: calc(50% - 7px);
    height: 14px;
}
.header-first .menu-item-has-children .sub-menu .menu-item-has-children .sub-menu {
    display: none;
    left: unset;
    top: unset;
    width: 100%;
    position: relative;
    margin: 0;
    background: transparent;
    box-shadow: none;
    padding-left: 15px;
}
.header-first .menu-item-has-children .sub-menu .menu-item-has-children .sub-menu .menu-item::before {
    content: "-";
    color: var(--wp--preset--color--white);  /* Colore del simbolo */
    width: 0;
    display: inline-block;
}
.header-first .menu-item-has-children .sub-menu .menu-item-has-children:focus-within .sub-menu{
    display: block;
    opacity: 1;
    visibility: visible;
}
.header-first .menu-item-has-children .sub-menu .menu-item {
    font-size: 18px;
    font-weight: 500;
    display: block;
}
.header-first .menu-item-has-children .sub-menu .menu-item a{
    display: inline-block;
    padding: 5px 12px;
    width: 100%;
}
.header-first .menu-item-has-children .sub-menu .menu-item:hover {
    color: var(--wp--preset--color--primary);
}
.header-first li.active > a,
.header-first li[aria-current="page"] > a,
.header-first .current_page_item a{
    text-decoration: 2px underline !important;
    text-underline-offset: 8px;
}
@media(max-width:1239px){
    .header-first .menu-item-has-children .sub-menu{
        position: relative;
        margin-top: 0;
        padding: 15px;
    }
    .header-first .menu-item-has-children .sub-menu .menu-item-has-children:hover .sub-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}
/*fine submenu*/
.header-first .menu-item{
    color: var(--wp--preset--color--white);
    font-size: 1.25rem;
    font-weight: 600;
}
.mail.menu-item{
    border: 2px solid var(--wp--preset--color--primary);
    border-radius: 7px;
    padding: 10px 15px;
    font-weight: 600;
}
.mail.menu-item:hover{
    border: 2px solid var(--wp--preset--color--verde);
    color: var(--wp--preset--color--verde);
}
.header-first img{
    max-width: 82px;
}
.hamburger_menu, #menu_closer {
    position: relative;
    float: left;
    width: 26px;
    height: 26px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background-color: transparent;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    outline: none;
    cursor: pointer;
}
.hamburger_menu span, #menu_closer span {
    position: absolute;
    display: block;
    height: 2px;
    width: 100%;
    background: var(--wp--preset--color--white);
    border-radius: 0;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}
.hamburger_menu span:first-child {
    top: calc(50% - 7px);
    transform: translateY(-50%);
}
.hamburger_menu span:nth-child(2), .hamburger_menu span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%);
}
.hamburger_menu span:nth-child(4) {
    top: calc(50% + 7px);
    transform: translateY(-50%);
}
#menu_closer span:nth-child(2), #menu_closer span:nth-child(3) {
    display: none;
}
#menu_closer span:first-child {
    rotate: 45deg;
}
#menu_closer span:nth-child(4) {
    rotate: -45deg;
}
.boldButton a{
    background-color: var(--wp--preset--color--primary);
    color: #FFFFFF;
    padding: 5px 22px;
    border-radius: 30px;
    border: 2px solid var(--wp--preset--color--primary);
}
.boldButton a:hover{
    background-color: #FFFFFF;
    color: var(--wp--preset--color--primary);
}
div.social-menu{
    margin-bottom: 16px;
    height: 30px;
}
ul#menu-social {
    justify-content: end;
}
.headerFacebook {
    position: relative;
    padding-left: 80px;
}
.headerFacebook,
.headerInstagram,
.headerTwitter,
.headerYoutube,
.headerLinkedin{
    margin-left: -23px;
}
.headerFacebook a,
.headerInstagram a,
.headerTwitter a,
.headerYoutube a,
.headerLinkedin a{
    display: inline-block;
    width: 15px;
    height: 15px;
    background-size: cover;
    text-indent: -9999px; /* nasconde il testo */
    overflow: hidden;
}
.headerFacebook a{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='256' height='256' viewBox='0 0 256 256' xml:space='preserve'%3E%3Cg transform='translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)'%3E%3Cpath d='M 51.991 90 V 49.008 h 13.781 l 2.12 -16.049 H 51.991 V 22.739 c 0 -4.632 1.293 -7.791 7.94 -7.791 h 8.417 V 0.637 C 64.25 0.196 60.13 -0.017 56.009 0.001 c -12.212 0 -20.576 7.42 -20.576 21.148 v 11.809 H 21.652 v 16.049 h 13.781 V 90 H 51.991 z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
}
.headerInstagram a{
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg fill='%23fff' version='1.1' viewBox='0 0 256 256' xml:space='preserve' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='translate(1.4066 1.4066) scale(2.81)'%3E%3Cpath d='M 62.263 90 H 27.738 C 12.443 90 0 77.557 0 62.263 V 27.738 C 0 12.443 12.443 0 27.738 0 h 34.525 C 77.557 0 90 12.443 90 27.738 v 34.525 C 90 77.557 77.557 90 62.263 90 z M 27.738 7 C 16.303 7 7 16.303 7 27.738 v 34.525 C 7 73.697 16.303 83 27.738 83 h 34.525 C 73.697 83 83 73.697 83 62.263 V 27.738 C 83 16.303 73.697 7 62.263 7 H 27.738 z' stroke-linecap='round'/%3E%3Cpath d='m45.255 70.47c-13.904 0-25.215-11.312-25.215-25.215s11.312-25.215 25.215-25.215 25.215 11.312 25.215 25.215-11.311 25.215-25.215 25.215zm0-43.43c-10.044 0-18.215 8.171-18.215 18.215s8.171 18.215 18.215 18.215 18.215-8.171 18.215-18.215c1e-3 -10.044-8.17-18.215-18.215-18.215z' stroke-linecap='round'/%3E%3Ccircle cx='70.557' cy='19.937' r='4.897'/%3E%3C/g%3E%3C/svg%3E%0A");
}
.headerTwitter a{
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg version='1.1' viewBox='0 0 256 256' xml:space='preserve' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='translate(1.4066 1.4066) scale(2.81)' fill='none'%3E%3Cpath d='m0.219 2.882 34.748 46.461-34.967 37.775h7.87l30.614-33.073 24.735 33.073h26.781l-36.703-49.075 32.547-35.161h-7.87l-28.193 30.459-22.78-30.459h-26.782zm11.574 5.797h12.303l54.329 72.641h-12.303l-54.329-72.641z' fill='%23fff' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E%0A");
}
.headerYoutube a{
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 22.115 15.481' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath transform='translate(-146.08 -123.64)' d='M168.2,128.5a4.853,4.853,0,0,0-4.853-4.853H150.938a4.853,4.853,0,0,0-4.853,4.853v5.775a4.853,4.853,0,0,0,4.853,4.853h12.409a4.853,4.853,0,0,0,4.853-4.853Zm-7.3,3.32-5.565,2.753c-.218.118-.959-.04-.959-.288v-5.652c0-.251.747-.409.966-.285l5.327,2.9C160.894,131.37,161.129,131.693,160.9,131.815Z' fill='%23fff'/%3E%3C/svg%3E%0A");
    width: 21px;
}
.headerLinkedin a{
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 17.135 17.135' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath transform='translate(0)' d='M15.869,0H1.266A1.247,1.247,0,0,0,0,1.227v14.68a1.247,1.247,0,0,0,1.266,1.227h14.6a1.247,1.247,0,0,0,1.266-1.227V1.227A1.247,1.247,0,0,0,15.869,0ZM5.194,14.344H2.606V6.606H5.194ZM3.9,5.55H3.883a1.341,1.341,0,1,1,.034-2.674A1.342,1.342,0,1,1,3.9,5.55Zm10.627,8.794H11.939V10.2c0-1.04-.375-1.75-1.311-1.75A1.416,1.416,0,0,0,9.3,9.4a1.752,1.752,0,0,0-.085.628v4.321H6.626s.034-7.011,0-7.738H9.215V7.7a2.571,2.571,0,0,1,2.332-1.277c1.7,0,2.98,1.106,2.98,3.482Z' fill='%23fff'/%3E%3C/svg%3E%0A");
}
.searchMenuItem a {
  display: inline-block;
  width: 26px;
  height: 26px;
  margin-bottom: -5px;
  background: url('/wp-content/themes/ecrparty2025/resurces/img/search-icon.svg') no-repeat center center;
  background-size: contain;
  text-indent: -9999px; /* Nasconde il testo */
  overflow: hidden;
}

@media(min-width:1240px){
    .headerFacebook::before {
        content: "Follow us:";
        font-size: 13px;
        position: absolute;
        left: 0;
        top: 5px;
        opacity: .6;
    }
}
@media(max-width:1239px){
    .header-first .navbar-nav{
        flex-direction: column;
        margin-top: 50px;
    }
    #site_header_nav{
        display: block;
        transition: .5s;
        position: absolute;
        left: -100vw;
    }
    #site_header_nav.open{
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        background: var(--wp--preset--gradient--diagonal-background-header);
        z-index: 1;
    }
    #site_header_nav.open .navbar-nav{
        flex-direction:unset !important;
        flex-wrap: wrap;
        justify-content: center;
        padding-bottom: 100px;
    }
    #main-nav ul {
        margin-top: 0px;
        gap: 15px;
        border-top: 1px solid #00000030;
        padding-top: 20px;
    }
    #main-nav ul li:not(.mail){
        width: 100%;
    }
    #main-nav ul li a{
        width: 100%;
        text-align: center;
        padding: 5px 0;
        display: block;
    }
    .header-first .menu-item{
        flex-basis: 100%;
        text-align: center;
    }
    .header-first .menu-item > a:not(.boldButton a, .headerFacebook a, .headerInstagram a, .headerTwitter a, .headerYoutube a, .headerLinkedin a){
        width: 100%;
        display: inline-block;
    }
    .headerFacebook,
    .headerInstagram,
    .headerTwitter,
    .headerYoutube,
    .headerLinkedin{
        flex-basis: 30px !important;
    }
    .headerFacebook {
        border-left: 0;
        padding-left: 0px;
    }
    .boldButton::after {
        width: 140px !important;
    }
    div#main-nav-mobile {
        overflow-y: scroll;
        overflow-x: hidden;
        height: 74vh;
    }
}
/* FINE HEADER */
/* FOOTER */
footer{
    border-top: 1px solid #e8e8e8;
    padding: 50px 15px 15px;
}
footer .first-footer{
    max-width: 553px;
    margin: 0 auto;
    margin-bottom: 35px;
}
footer .first-footer .row{
    gap: 35px;
    align-items: center;
}
footer .first-footer .row .logoColumn img{
    max-width: 82px;
}
footer .first-footer .row .infoColumn p{
    font-size: 18px;
    font-weight: 500;
    color: var(--wp--preset--color--sky-blue);
}
.footerMenu{
    margin-bottom: 35px;
}
.footerMenu ul{
    list-style: none;
    padding: 10px 0;
    border-top: 1px solid #E1E1E1;
    border-bottom: 1px solid #E1E1E1;
    max-width: 900px;
    gap: 50px;
}
.footerMenu ul li{
    font-size: 20px;
    color: var(--wp--preset--color--sky-blue);
    font-weight: 500;
}
.footerSocial ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.footerSocial ul li{
    background-color: var(--wp--preset--color--sky-blue);
    border-radius: 35px;
    width: 35px;
    height: 35px;
    text-align: center;
    margin: 0;
    padding: 0;
}
.footerSocial ul li::before{
    display: none;
}
.footerSocial ul li a {
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
    width: 35px;
    height: 35px;
}
#legalMenu{
    margin: 0;
    padding: 0;
    display: inline;
}
#legalMenu li{
	display: inline;
	margin: 0 5px;
	list-style: none;
}
#legalMenu li:after{
    content: "|";
    margin-left: 12px;
}
@media(min-width:1025px){
    #legalMenu li:first-child:before{
        content: "|";
        margin-right: 12px;
    }
}
@media(max-width:1024px){
    footer .first-footer .row .infoColumn p{
        font-size: 14px;
    }
    footer .first-footer .row .logoColumn img{
        max-width: 66px;
    }
    .footerMenu ul{
        flex-wrap: wrap;
        gap: 15px;
    }
    .footerMenu ul li{
        font-size: 16px;
        flex-basis: calc(50% - 15px);
    }
    #legalMenu{
        display: block;
    }
    #legalMenu span{
        line-height: 2;
    }
    #legalMenu li:last-child:after{
        display: none;
    }
}
/*HOMEPAGE*/
main.video-bg-container{
    min-height: 100dvh;
    position: relative;
    overflow: hidden;
    margin-top: -121px;
}
main.video-bg-container::after{
    content: "";
    display: block;
    width: 100%;
    height: 223px;
    position: absolute;
    top: 0;
    background: rgba(24, 24, 24, 5.28);
    background: linear-gradient(180deg,rgba(24, 24, 24, 0.52) 0%, rgba(24, 24, 24, 0) 100%);
}
.bg-video{
    position: absolute;
    top: 0;
    left: 50%;
    /*min-width: 100%;*/
    /*min-height: 100%;*/
    width: 100vw;
    height: 100dvh;
    z-index: 0;
    transform: translate(-50%, 0%);
    object-fit: cover;
}
.bg-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100vw;
    min-height: 100vh;
    width: 177.78vh;
    height: 56.25vw;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.video-bg-container .content {
    position: relative;
    z-index: 1;
}
.home .wrapperBoxHero{
    background-color: #0d7eb1ed;
    border-radius: 0 0 50px 0;
    position: absolute;
    top: 50%;
    place-self: center;
    padding: 45px;
    width: 100%;
    left: 10%;
    transform: translateX(-6%) translateY(-50%);
    max-width: 650px;
    box-shadow: 2px 2px 7px #00000052;
}
.home .wrapperBoxHero span.labelSection,
.home .announcementActive .textContainer .labelSection{
    display: block;
    border-left: 5px solid var(--wp--preset--color--bright-light-blue);
    padding-left: 7px;
    margin-bottom: 12px;
    line-height: 1.1;
    font-size: 20px;
    font-weight: 600;
    color: var(--wp--preset--color--light-sky-blue);
}
.home .wrapperBoxHero h1.homeEventsTitle{
    font-size: 40px;
    font-weight: 600;
    color: var(--wp--preset--color--white);
    margin: 0;
}
.home .wrapperBoxHero .d-flex,
.home .announcementActive .textContainer .d-flex{
    gap: 7px 30px;
    margin-top: 25px;
    flex-wrap: wrap;
}
.home .wrapperBoxHero .d-flex div,
.home .announcementActive .textContainer .d-flex div{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}
.home .wrapperBoxHero .d-flex div svg,
.home .announcementActive .textContainer .d-flex div svg{
    width: 26px;
    height: 26px;
}
.home .wrapperBoxHero .d-flex div span,
.home .announcementActive .textContainer .d-flex span{
    font-size: 21px;
    font-weight: 600;
    color: var(--wp--preset--color--white);
}
.home .wrapperBoxHero a.registrationLink,
.home .announcementActive .textContainer a.registrationLink{
    font-size: 18px;
    font-weight: 600;
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--bright-light-blue);
    border-radius: 10px;
    padding: 10px 32px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 50px;
}
.home .wrapperBoxHero a.registrationLink::after,
.home .announcementActive .textContainer a.registrationLink::after{
    content: url(/wp-content/themes/ecrparty2025/resurces/img/icon-awesome-chevron-sky-blue.svg);
    display: inline-block;
    transform: rotate(-90deg);
    margin-left: 7px;
}
.home .wrapperBoxHero a.registrationLink:hover,
.home .announcementActive .textContainer a.registrationLink:hover {
    transform: scale(1.05) translateX(10px);
}
.home section.eventActive,
.home section.announcementActive{
    background-color: var(--wp--preset--color--light-blue);
    padding: 100px 20px 1px;
}
.home section.eventActive > .d-flex {
    align-items: center;
    gap: 2rem;
}
.home section.eventActive .d-flex video {
    flex: 0 0 60%;                /* occupa circa il 60% */
    width: 60%;
    height: 100%;
    object-fit: cover;            /* riempie senza deformazioni */
    border-radius: 8px;           /* opzionale, smussa bordi */
}
.home section.eventActive .d-flex .textContainer {
    flex: 0 0 38%;
    width: 40%;
    padding: 2rem;
}
.home section.eventActive .d-flex .textContainer .firstText {
    font-size: 25px;
    font-weight: 500;
    color: var(--wp--preset--color--text-black);
    margin-bottom: 1.5rem;
}
.home section.eventActive .d-flex .textContainer .secondText {
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    color: var(--wp--preset--color--bright-light-blue);
}
.home section.announcementActive > .d-flex{
    border-radius: 30px;
    overflow: hidden;
}
.home section.announcementActive .textContainer{
    background-color: var(--wp--preset--color--primary);
    flex: 0 0 40%;
    padding: 40px;
    align-content: center;
}
.home .announcementActive .textContainer h2{
    font-size: clamp(18px, 2.78vw, 55px);
    font-weight: 600;
    color: var(--wp--preset--color--white);
    margin: 0 0 30px;
}
.home .announcementActive .textContainer a.registrationLink{
    margin-top: clamp(20px, 2.6vw, 50px);
}
.home .announcementActive figure{
    margin: 0;
    line-height: 0;
    flex: 0 0 60%;
}
@media (max-width: 1024px) {
    .home section.eventActive > div.mAxwidth1600.center {
        flex-direction: column;
        min-height: auto;
    }
    .home section.eventActive > .d-flex > video,
    .home section.eventActive > .d-flex > div.textContainer {
        flex: 0 0 100%;
        width: 100%;
    }
    .home section.eventActive .d-flex .textContainer {
        padding: 1rem;
    }
    .home section.eventActive .d-flex .textContainer .firstText {
        font-size: 20px;
    }
    .home section.eventActive .d-flex .textContainer .secondText {
        font-size: 16px;
    }
    .home section.announcementActive > .d-flex{
        flex-direction: column-reverse;
    }
    .home .announcementActive .textContainer h2{
        font-size: 28px;
    }
}













section.firstSection{
    background-color: var(--wp--preset--color--light-blue);
    padding: 100px 20px 1px;
}
section.firstSection .wrapperAbout{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
section.firstSection .wrapperAbout .containerTextAbout{
    background-color: var(--wp--preset--color--white);
    margin: auto;
    padding: 60px;
    border-radius: 30px 0 0 30px;
}
section.firstSection .wrapperAbout .containerTextAbout span.labelSection,
section.newsSection span.labelSection,
section.newsletterSection .newsletterWrapper span.labelSection{
    font-size: 20px;
    font-weight: 600;
    color: var(--wp--preset--color--bright-light-blue);
}
section.firstSection .wrapperAbout .containerTextAbout h1,
section.firstSection .wrapperAbout .containerTextAbout h2{
    font-size: 40px;
    font-weight: 600;
    color: var(--wp--preset--color--text-black);
    margin: 0 0 24px;
}
section.firstSection .wrapperAbout .containerTextAbout p{
    font-size: 18px;
    color: var(--wp--preset--color--text-grey);
    margin-bottom: 50px;
}
section.firstSection .wrapperAbout .containerTextAbout a,
section.newsSection .newsWrapper a.newsLink,
section.eventSection .eventWrapper a.eventsLink{
    font-size: 18px;
    font-weight: 600;
    color: var(--wp--preset--color--white);
    background-color: var(--wp--preset--color--bright-light-blue);
    border-radius: 10px;
    padding: 10px 32px;
    transition: all 0.3s ease;
    display: inline-block;
}
section.firstSection .wrapperAbout .containerTextAbout a:hover,
section.newsSection .newsWrapper a.newsLink:hover,
section.eventSection .eventWrapper a.eventsLink:hover {
    transform: scale(1.05);
}
section.firstSection .wrapperAbout .containerTextAbout a::after,
section.newsSection .newsWrapper a.newsLink::after{
    content: url(/wp-content/themes/ecrparty2025/resurces/img/icon-awesome-chevron.svg);
    display: inline-block;
    transform: rotate(-90deg);
    margin-left: 7px;
}
section.firstSection .wrapperAbout img{
    border-radius: 30px;
    z-index: 1;
    width: 50%;
    object-fit: cover;
}
section.firstSection .declaration{
    margin: 100px auto;
}
section.firstSection .declaration .declarationTitle{
    gap: 50px;
    margin-bottom: 60px;
}
section.firstSection .declaration .declarationTitle p{
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
    line-height: 1.2;
    color: var(--wp--preset--color--sky-blue);
    margin: 0;
}
section.firstSection .declaration .declarationBoxWrapper{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
}
section.firstSection .declaration .declarationBoxWrapper .declarationBox{
    background-color: #FBFEFF;
    border-radius: 10px;
    box-shadow: 0 3px 6px #00000018;
    padding: 27px 20px 17px;
}
section.firstSection .declaration .declarationBoxWrapper .declarationBox h3{
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    font-style: italic;
    color: var(--wp--preset--color--bright-light-blue);
    margin: 0;
}
section.firstSection .declaration .declarationBoxWrapper .declarationBox p{
    font-size: 16px;
    line-height: 1.2;
    color: var(--wp--preset--color--text-grey);
    margin: 0;
}
section.newsSection span.labelSection{
    display: block;
    border-left: 5px solid var(--wp--preset--color--bright-light-blue);
    padding-left: 7px;
    margin-bottom: 15px;
    line-height: 1.1;
}
section.newsSection{
    padding: 20px;
}
section.newsSection .newsWrapper a.newsLink{
    width:100%;
    max-width: 195px;
}
section.newsSection .newsWrapper .newsContent img{
    border-radius: 7px;
    width: 100%;
    max-width: 180px;
}
section.newsSection .newsWrapper .newsContent div h2{
    font-size: 25px;
    font-weight: 600;
    margin: 0;
    color: var(--wp--preset--color--text-black);
}
section.newsSection .newsWrapper .newsContent div p{
    font-size: 16px;
    line-height: 1.2;
    color: var(--wp--preset--color--text-grey);
    margin: 5px 0 0;
    max-width: 1000px;
}
section.eventSection{
    background: var(--wp--preset--gradient--background-light-blue-to-blue);
    padding: 100px 20px;
}
section.eventSection h2{
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--wp--preset--color--bright-light-blue);
    text-align: center;
    width: 100%;
    position: relative;
}
section.eventSection h2:before,
section.eventSection h2:after {
    content: "";
    display: block;
    background: #0B4773;
    width: calc(50% - 140px);
    height: 1px;
    position: absolute;
    top: 10px;
}
section.eventSection .eventWrapper h2:after{
    right: 0;
}
section.eventSection .eventWrapper .eventFuture p,
section.eventSection .eventWrapper .eventPast p{
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    max-width: 775px;
    color: var(--wp--preset--color--text-grey);
    text-align: center;
}
section.eventSection .eventWrapper a.eventsLink {
    background-color: var(--wp--preset--color--white) !important;
    color: var(--wp--preset--color--bright-light-blue) !important;
}
section.eventSection .eventWrapper a.eventsLink::after{
    content: url(/wp-content/themes/ecrparty2025/resurces/img/icon-awesome-chevron-sky-blue.svg);
    display: inline-block;
    transform: rotate(-90deg);
    margin-left: 7px;
}
section.socialSection{
    background-color: var(--wp--preset--color--light-blue);
    padding: 100px 20px;
}
section.socialSection .socialWrapper h2{
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    color: var(--wp--preset--color--text-black);
}
section.socialSection .socialWrapper .socialBox{
    background: var(--wp--preset--color--white);
    border-radius: 20px;
    box-shadow: 0 3px 6px #00000016;
    align-content: center;
    padding: 20px;
}
section.socialSection .socialWrapper .socialBox .sb-wall-items-wrap{
    max-height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
}
section.socialSection .socialWrapper .socialBox .sb-wall-items-wrap > div{
    margin-top: 26px;
}
section.socialSection .socialWrapper .socialBox a.sb-wall-load-btn {
    margin-top: 20px !important;
    max-width: 300px;
    place-self: center;
}
section.socialSection .socialWrapper .socialBox .sbsw-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 0;
}
section.newsletterSection{
    background: var(--wp--preset--gradient--background-right-to-left);
    padding: 30px 20px;
}
section.newsletterSection .newsletterWrapper .newsletterTextWrapper{
    flex-grow: 1;
}
section.newsletterSection .newsletterWrapper .newsletterTextWrapper span.labelSection{
    color: var(--wp--preset--color--light-sky-blue);
}
section.newsletterSection .newsletterWrapper .newsletterTextWrapper h2{
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--wp--preset--color--white);
    margin: 0;
}
section.theconservativeSection{
    background: var(--wp--preset--color--light-blue);
    padding: 100px 20px;
}
section.theconservativeSection .theconservativeWrapper{
    background: var(--wp--preset--color--white);
    /*height: 200px;*/
    border-radius: 20px;
    box-shadow: 0 3px 6px #00000016;
}
section.theconservativeSection .theconservativeWrapper .theconservativeHeader{
    background-color: #FAFAFA;
    padding: 20px 25px;
}
section.theconservativeSection .theconservativeWrapper .theconservativeHeader .labelSection{
    font-size: 20px;
    font-weight: 600;
    justify-self: start;
    color: #0F7AAB;
}
section.theconservativeSection .theconservativeWrapper .theconservativeHeader .theconservativeLogo{
    justify-self: center;
}
section.theconservativeSection .theconservativeWrapper .theconservativeHeader .theconservativeNav{
    justify-self: end
}
section.theconservativeSection .theconservativeWrapper .theconservativeHeader .theconservativeNav a{
    float: left;
    border: 1px solid var(--wp--preset--color--dark-blue);
    border-radius: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border .2s ease;
    width: 45px;
    height: 45px;
    margin-left: 16px;
}
section.theconservativeSection .theconservativeWrapper .theconservativeHeader .theconservativeNav a svg{
    width: 25px;
    fill: var(--wp--preset--color--dark-blue);
}
section.theconservativeSection .theconservativeWrapper .theconservativeContent{
    align-content: center;
    min-height: 200px;
}
.theconservativeContent .swiper.slider .wrapper {
    padding: 0 30px 25px !important;
}
section.theconservativeSection .theconservativeWrapper .theconservativeContent figure{
    margin-bottom: 7px;
}
@media(max-width: 768px){
    .home .wrapperBoxHero.mobile h1{
        font-size: 30px;
    }
    .home main.mainSmaill{
        min-height: 35vh !important;
        background: #0D7EB1;
    }
    .home main.mainSmaill.yt{
        min-height: 47vh !important;
        background: #0D7EB1;
    }
    .home main.mainSmaill .bg-video:not(.youtube-bg){
        transform: translate(-50%, 0%);
        top: inherit;
        bottom: 0;
        width: 100vw;
        height: auto;
    }
    .home main.mainSmaill .bg-video.youtube-bg{
        height: 50vh;
    }
    .home main.mainSmaill .bg-video iframe{
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: inherit;
        min-height: inherit;
        width: 177.78vh;
        height: 56.25vw;
        transform: translate(-50%, -50%);
        pointer-events: none;
    }
    .home main.mainSmaill + .wrapperBoxHero.mobile{
        /*padding-top: 10px !important;*/
        /*margin-top: -25%;*/
    }
    .titoloTheconservative{
        font-size: 16px !important;
    }
}
@media(max-width:1024px){
    section.firstSection .wrapperAbout{
        flex-direction: column-reverse;;
    }
    section.firstSection .wrapperAbout .containerTextAbout{
        padding: 50px 20px;
        border-radius: 0 0 30px 30px;
        margin-top: -20px;
    }
    section.firstSection .wrapperAbout .containerTextAbout span.labelSection,
    section.newsSection span.labelSection,
    section.newsletterSection .newsletterWrapper span.labelSection{
        font-size: 15px;
    }
    section.firstSection .wrapperAbout .containerTextAbout h1,
    section.firstSection .wrapperAbout .containerTextAbout h2{
        font-size: 30px;
    }
    section.firstSection .wrapperAbout img{
        border-radius: 30px 30px 0 0;
        width: 100%;
    }
    section.firstSection .declaration .declarationTitle{
        flex-direction: column;
        gap: 30px;
    }
    section.firstSection .declaration .declarationBoxWrapper{
        grid-template-columns: 1fr;
        gap: 15px;
    }
    section.newsSection .newsWrapper,
    section.newsSection .newsContent{
        flex-direction: column;
        align-items: start;
    }
    section.newsSection .newsWrapper .newsContent img{
        max-width: 360px;
    }
    section.newsletterSection .newsletterWrapper{
        flex-wrap: wrap;
    }
    section.newsletterSection .newsletterWrapper img{
        width: 30%;
    }
    section.newsletterSection .newsletterWrapper .newsletterTextWrapper{
        width: 60%;
    }
    section.newsletterSection .newsletterWrapper .newsletterTextWrapper h2{
        font-size: 25px;
    }
    section.newsletterSection .newsletterWrapper .newsletterForm{
        width: 100%;
        justify-items: anchor-center;
    }
    section.theconservativeSection .theconservativeWrapper .theconservativeHeader{
        grid-template-columns: 1fr;
    }
    section.theconservativeSection .theconservativeWrapper .theconservativeHeader .labelSection{
        justify-self: center;
        margin-top: -70px;
    }
    section.theconservativeSection .theconservativeWrapper .theconservativeHeader .theconservativeNav{
        justify-self: center;
        margin-left: -16px;
        margin-top: 16px;
    }
}
@media(max-width: 1239px){
    .home .wrapperBoxHero.mobile{
        background-color: #0D7EB1;
        border-radius: 0 0 50px 0;
        position: relative;
        top: inherit;
        left: inherit;
        padding: 40px 30px 50px;
        width: 100%;
        transform: inherit;
        max-width: inherit;
        display: block !important;
        margin-top: -1px;
        box-shadow: inherit;
    }
    section.firstSection{
        margin-top: -43px;
    }
}
@media(min-width:769px) and (max-width:1249px){
    main.video-bg-container.mainSmaill{
        min-height: 55vh;
        background-color: #0D7EB1;
    }
    main.video-bg-container.mainSmaill .bg-video {
        height: 55vh;
    }
}

/* ABOUT */
section.boardSection .executiveBoard,
section.boardSection .ECRPartySecretaryGeneral,
section.boardSection .directorsBoard,
section.boardSection .staffMember,
section.boardSection .euMemberParties,
section.boardSection .globalPartners,
section.boardSection .partyAffiliates{
    display: grid;
    grid-template-columns: 250px 1fr;
    position: relative;
    gap: 30px;
    padding: 0 15px;
}
section.boardSection .executiveBoard h2,
section.boardSection .ECRPartySecretaryGeneral h2,
section.boardSection .directorsBoard h2,
section.boardSection .staffMember h2,
section.boardSection .euMemberParties h2,
section.boardSection .globalPartners h2,
section.boardSection .partyAffiliates h2{
    position: sticky;
    top: 150px;
    align-self: start;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--wp--preset--color--text-black);
}
section.boardSection .executiveBoard .president-item{
    display: flex;
    gap: 30px;
    position: relative;
}
section.boardSection .ECRPartySecretaryGeneral .secretaryGeneral-wrapper .secretaryGeneral-item,
section.boardSection .directorsBoard .directorsWrapper .boardMember-item{
    position: relative;
}
section.boardSection .executiveBoard .president-item img:not(.flag),
section.boardSection .executiveBoard .vicepresident-wrapper img:not(.flag),
section.boardSection .ECRPartySecretaryGeneral .secretaryGeneral-wrapper .secretaryGeneral-item img:not(.flag),
section.boardSection .directorsBoard .directorsWrapper .boardMember-item img:not(.flag),
section.boardSection .staffMember .staffMembersWrapper .staffMember-item img:not(.flag){
    border: 1px solid var(--wp--preset--color--bright-light-blue);
    border-radius: 10px;
    width: 100%;
    max-width: 333px;
}
section.boardSection .euMemberParties .euMemberPartiesWrapper .euMemberParties-item img:not(.flag),
section.boardSection .globalPartners .globalPartnersWrapper .globalPartners-item img:not(.flag){
    border-radius: 10px;
    width: 100%;
    max-width: 333px;
}
section.boardSection .executiveBoard .president-item .textContainer{
    padding: 30px 0;
}
section.boardSection .executiveBoard .president-item .textContainer .role{
    font-size: 24px;
    color: var(--wp--preset--color--bright-light-blue);
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}
section.boardSection .executiveBoard .president-item .textContainer .name{
    font-size: 35px;
    font-weight: 600;
    color: var(--wp--preset--color--text-black);
    margin: 0;
    line-height: 1.2;
}
section.boardSection .executiveBoard .president-item .textContainer .party{
    font-size: 18px;
    font-weight: 600;
    color: var(--wp--preset--color--text-grey);
    margin: 0;
    line-height: 1.2;
}
section.boardSection .executiveBoard .vicepresident-wrapper,
section.boardSection .partyAffiliates .partyAffiliatesWrapper{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #EFEFEF;
}
section.boardSection .executiveBoard .vicepresident-wrapper .vicepresident-item{
    flex-grow: 1;
    min-width: 31.5%;
    position: relative;
}
/*section.boardSection .executiveBoard .vicepresident-wrapper .vicepresident-item img{
    max-width: 300px;
}*/
section.boardSection .executiveBoard .vicepresident-wrapper .vicepresident-item .textContainer .name,
section.boardSection .ECRPartySecretaryGeneral .secretaryGeneral-wrapper .secretaryGeneral-item .textContainer .name,
section.boardSection .directorsBoard .directorsWrapper .boardMember-item .textContainer .name,
section.boardSection .staffMember .staffMembersWrapper .staffMember-item .textContainer .name,
section.boardSection .euMemberParties .euMemberPartiesWrapper .euMemberParties-item .textContainer .name,
section.boardSection .globalPartners .globalPartnersWrapper .globalPartners-item .textContainer .name,
section.boardSection .partyAffiliates .partyAffiliatesWrapper .partyAffiliates-item .textContainer .name{
    font-size: 20px;
    color: var(--wp--preset--color--text-black);
    font-weight: 600;
    text-align: center;
    margin: 0;
}
section.boardSection .executiveBoard .vicepresident-wrapper .vicepresident-item .textContainer .role,
section.boardSection .ECRPartySecretaryGeneral .secretaryGeneral-wrapper .secretaryGeneral-item .textContainer .role{
    font-size: 15px;
    color: var(--wp--preset--color--bright-light-blue);
    font-weight: 600;
    text-align: center;
    margin: 0;
}
section.boardSection .executiveBoard .vicepresident-wrapper .vicepresident-item .textContainer .party,
section.boardSection .ECRPartySecretaryGeneral .secretaryGeneral-wrapper .secretaryGeneral-item .textContainer .party,
section.boardSection .directorsBoard .directorsWrapper .boardMember-item .textContainer .party,
section.boardSection .staffMember .staffMembersWrapper .staffMember-item .textContainer .role,
section.boardSection .staffMember .staffMembersWrapper .staffMember-item .textContainer .email,
section.boardSection .euMemberParties .euMemberPartiesWrapper .euMemberParties-item .textContainer .nationality,
section.boardSection .globalPartners .globalPartnersWrapper .globalPartners-item .textContainer .nationality{
    font-size: 13px;
    color: var(--wp--preset--color--text-grey);
    font-weight: 600;
    text-align: center;
    margin: 0;
}
section.boardSection .ECRPartySecretaryGeneral h2,
section.boardSection .directorsBoard h2,
section.boardSection .staffMember h2,
section.boardSection .euMemberParties h2,
section.boardSection .globalPartners h2,
section.boardSection .partyAffiliates h2{
    margin-top: 60px;
}
section.boardSection .ECRPartySecretaryGeneral .secretaryGeneral-wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #EFEFEF;
}
section.boardSection .directorsBoard .directorsWrapper,
section.boardSection .staffMember .staffMembersWrapper,
section.boardSection .euMemberParties .euMemberPartiesWrapper,
section.boardSection .globalPartners .globalPartnersWrapper{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #EFEFEF;
}
section.boardSection .euMemberParties .euMemberPartiesWrapper{
    margin: 0;
    border: 0;
}
section.boardSection .directorsBoard .directorsWrapper .boardMember-item .textContainer .name,
section.boardSection .staffMember .staffMembersWrapper .staffMember-item .textContainer .name,
section.boardSection .euMemberParties .euMemberPartiesWrapper .euMemberParties-item .textContainer .name,
section.boardSection .globalPartners .globalPartnersWrapper .globalPartners-item .textContainer .name,
section.boardSection .partyAffiliates .partyAffiliatesWrapper .partyAffiliates-item .textContainer .name{
    font-size: 17px;
}
section.boardSection .staffMember .staffMembersWrapper .staffMember-item .textContainer .email{
    color: var(--wp--preset--color--bright-light-blue);
}
section.boardSection .euMemberParties .euMemberPartiesWrapper .euMemberParties-item .imgWrapper,
section.boardSection .globalPartners .globalPartnersWrapper .globalPartners-item .imgWrapper{
    position: relative;
    border: 1px solid var(--wp--preset--color--bright-light-blue);
    border-radius: 10px;
    margin-bottom: 7px;
}
section.boardSection .euMemberParties .euMemberPartiesWrapper .euMemberParties-item img,
section.boardSection .globalPartners .globalPartnersWrapper .globalPartners-item img{
    border: none;
    display: block;
}
section.boardSection .euMemberParties .euMemberPartiesWrapper .euMemberParties-item .englishName,
section.boardSection .globalPartners .globalPartnersWrapper .globalPartners-item .englishName{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 30%;
    color: #000000;
    margin: 0;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}
section.boardSection .euMemberParties .euMemberPartiesWrapper .euMemberParties-item .imgWrapper:hover .englishName,
section.boardSection .globalPartners .globalPartnersWrapper .globalPartners-item .imgWrapper:hover .englishName{
    opacity: 1;
}
section.boardSection .euMemberParties .euMemberPartiesWrapper .euMemberParties-item .imgWrapper:hover img,
section.boardSection .globalPartners .globalPartnersWrapper .globalPartners-item .imgWrapper:hover img{
    opacity: .1;
}
section.boardSection{
    margin-bottom: 100px;
}
section.boardSection .partyAffiliates .partyAffiliatesWrapper .partyAffiliates-item .textContainer .name{
    text-align: left;
}
.flagWrapper{
    position: absolute;
    top: 0;
    left: 0;
    /*width: 50px;
    height: 30px;
    border-radius: 10px 0;*/
    overflow: hidden;
    background-color: transparent; /* evita trasparenze indesiderate */
    width: 100%;
    max-width: 333px;
}
.flagWrapper .flag {
    width: 100%;
    height: 100%;
    display: block; /* elimina gap di default delle img inline */
    object-fit: cover; /* assicura riempimento pieno */
    width: 50px;
    height: 30px;
    border-radius: 10px 0;
}
@media(max-width:1024px){
    section.boardSection{
        margin-bottom: 30px;
        padding: 0 15px;
    }
    .executiveBoard {
        margin-top: -70px !important;
    }
    section.boardSection .executiveBoard,
    section.boardSection .ECRPartySecretaryGeneral,
    section.boardSection .directorsBoard,
    section.boardSection .staffMember,
    section.boardSection .euMemberParties,
    section.boardSection .globalPartners,
    section.boardSection .partyAffiliates,
    section.boardSection .ECRPartySecretaryGeneral .secretaryGeneral-wrapper,
    section.boardSection .executiveBoard .vicepresident-wrapper{
        grid-template-columns: 1fr;
        border: none;
        margin: 0;
        padding: 0;
    }
    section.boardSection .partyAffiliates .partyAffiliatesWrapper,
    section.boardSection .directorsBoard .directorsWrapper,
    section.boardSection .staffMember .staffMembersWrapper,
    section.boardSection .euMemberParties .euMemberPartiesWrapper,
    section.boardSection .globalPartners .globalPartnersWrapper{
        grid-template-columns: 1fr 1fr;
        border: none;
        padding: 0;
        margin: 0;
        gap: 20px;
    }
    section.boardSection .executiveBoard .president-item{
        flex-direction: column;
        align-items: center;
        gap: 0px;
    }
    section.boardSection .executiveBoard h2,
    section.boardSection .ECRPartySecretaryGeneral h2,
    section.boardSection .directorsBoard h2,
    section.boardSection .staffMember h2,
    section.boardSection .euMemberParties h2,
    section.boardSection .globalPartners h2,
    section.boardSection .partyAffiliates h2{
        text-align: center;
        border-top: 1px solid #EFEFEF;
        padding-top: 30px;
        margin: 50px 0 0;
    }
    section.boardSection .executiveBoard .vicepresident-wrapper .vicepresident-item,
    section.boardSection .ECRPartySecretaryGeneral .secretaryGeneral-wrapper .secretaryGeneral-item{
        text-align: center;
    }
    .president-item .flagWrapper,
    .vicepresident-item .flagWrapper,
    .secretaryGeneral-item .flagWrapper{
        justify-self: center;
        transform: translateX(-50%);
        left: 50%;
    }
}
/* FINE ABOUT */


/* INIZIO INDEX.PHP */
.blog .site-content{
    padding: 15px 20px;
}
.blog section.theconservativeSection{
    background-color: var(--wp--preset--color--white);
    padding: 70px 15px 50px;
}
.blog .entry-content img{
    width: 100%;
    border-radius: 7px;
}
.blog h2{
    color: var(--wp--preset--color--text-black);
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}
.blog .d-grid{
    gap: 30px;
}
.blog .entry-content .textContainer{
    padding: 7px 15px;
}
.blog .entry-content figure{
    margin: 0;
}
.navigation.pagination{
    padding: 50px 15px 100px;
}
.navigation.pagination .nav-links{
    text-align: center;
}
.navigation.pagination .nav-links .page-numbers {
    padding: 5px;
    color: var(--wp--preset--color--bright-light-blue);
    font-size: 18px;
}
.navigation.pagination .nav-links .page-numbers.current{
    background-color: var(--wp--preset--color--bright-light-blue);
    color: var(--wp--preset--color--white);
    padding: 5px 10px;
}
.blog .site-content .primo-articolo{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #E9E9E9;
}
.blog .site-content .primo-articolo .imageWrapper{
    flex-basis: 45%;
    flex-grow: 1;
}
.blog .site-content .primo-articolo .imageWrapper img{
    width: 100%;
    border-radius: 7px;
    transition: all 0.3s ease;
}
.blog .site-content .primo-articolo .imageWrapper img:hover{
    transform: scale(1.02);
}
.blog .site-content .primo-articolo .textContainer{
    flex-basis: 52%;
    flex-grow: 1;
}
.blog .site-content .primo-articolo .textContainer .primo-articolo-data{
    font-size: 18px;
    font-weight: 500;
    color: var(--wp--preset--color--text-grey);
    margin: 0;
}
.blog .site-content .primo-articolo .textContainer h2{
    font-size: 30px;
    font-weight: 600;
}
.blog .site-content .primo-articolo .textContainer .excerpt{
    font-size: 16px;
    font-weight: 500;
    color: var(--wp--preset--color--text-grey);
    margin: 25px 0;
}
.blog .site-content .primo-articolo .textContainer a {
    font-size: 18px;
    font-weight: 600;
    color: var(--wp--preset--color--bright-light-blue);
    border-radius: 10px;
}
.blog .site-content .primo-articolo .textContainer a::after {
    content: url(/wp-content/themes/ecrparty2025/resurces/img/icon-awesome-chevron-sky-blue.svg);
    display: inline-block;
    transform: rotate(-90deg);
    margin-left: 7px;
    transition: all 0.3s ease;
}
.blog .site-content .primo-articolo .textContainer a:hover::after{
    margin-left: 10px;
}
.blog .site-content .wrapper-preview article{
    transition: all 0.3s ease;
}
.blog .site-content .wrapper-preview article:hover{
    transform: translateY(-10px);
}
@media(max-width:1024px){
    .blog .d-grid{
        grid-template-columns: 1fr 1fr;
    }
}
@media(max-width:768px){
    .blog .d-grid{
        grid-template-columns: 1fr;
    }
    
}
/* FINE INDEX.PHP */

/* SINGLE POST */
.single h1{
    font-size: 40px;
    color: var(--wp--preset--color--text-black);
    font-weight: 500;
    margin-bottom: 0;
}
.single article time,
.single article .categoria{
    margin-top: 14px;
    display: flex;
    font-size: 13px;
    gap: 7px;
}
.single .btnBack{
    color: var(--wp--preset--color--text-black);
    font-size: 18px;
    gap: 7px;
    margin-bottom: 20px;
}
.single .btnBack svg{
    width: 15px;
}
.single article .singleThumbnail img{
    width: 100%;
    border-radius: 10px;
}
.single article{
    margin: 40px 0;
    padding: 0 15px;
}
.single article p,
.single article blockquote{
    color: var(--wp--preset--color--text-grey);
    font-size: 1.2rem;
}
.single article blockquote{
    border-left: 4px solid var(--wp--preset--color--light-sky-blue) ;
    margin: 0;
    padding-left: 20px;
    margin-bottom: 20px;
        font-style: italic;
}
.single article a{
    color: var(--wp--preset--color--primary);
}
.social-share-wrapper {
  margin: 10px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.share-label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--wp--preset--color--text-grey);
}
.social-share-buttons {
  display: flex;
  gap: 12px;
}
.social-share-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: white;
  transition: background-color 0.3s, transform 0.2s;
}
.social-share-buttons a svg {
  width: 14px;
  height: 14px;
  color: #FFF;
  fill: #FFF;
}
.social-share-buttons a.facebook { background-color: #3b5998; }
.social-share-buttons a.twitter { background-color: #000000; }
.social-share-buttons a.linkedin { background-color: #0077B5; }
.social-share-buttons a:hover {
  transform: scale(1.1);
  opacity: 0.9;
}
.single .latest-posts{
    border-top: 1px solid #EFEFEF;
    margin: 50px auto;
}
.single .latest-posts h2{
    font-size: 25px;
    font-weight: 500;
    color: var(--wp--preset--color--text-black);
}
.single .latest-posts .d-grid{
    gap: 20px;
} 
.single .latest-posts article{
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
}
.single .latest-posts article:hover{
    transform: translateY(-5px);
}
.single .latest-posts article a img{
    width: 100%;
    border-radius: 7px;
}
.single .latest-posts article a h3{
    color: var(--wp--preset--color--text-black);
    font-size: 18px;
    font-weight: 500;
    margin: 5px;
}
@media(max-width:1024px){
    .single .latest-posts{
        padding: 15px;
    }
}
@media(max-width:768px){
    .single h1{
        font-size: 30px;
    }
    .single .latest-posts .d-grid{
        grid-template-columns: 1fr;
    }
    .single article p,
    .single article blockquote{
        font-size: 1rem;
    }
    .shareSpan{
        display: none;
    }
}
/* site-content */
h1.elementor-heading-title{
    font-family: "Overpass", sans-serif !important;
    padding-left: 7px;
    font-size: 35px;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
}
.elementor-button-content-wrapper {
    display: flex;
    align-items: center;
}
.elementor-button-content-wrapper svg{
    width: 1.5em !important;
}
.eventPast.d-grid{
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    width: 100%;
    margin: 30px 0 50px;
}
.eventPast.d-grid .single-event{
    transition: all 0.3s ease;
}
.eventPast.d-grid .single-event:hover{
    transform: translateY(-5px);
}
img.attachment-anteprima-event-small.size-anteprima-event-small.wp-post-image {
    border-radius: 10px;
    width: 100%;
}
@media(max-width:1250px){
    .eventPast.d-grid{
        grid-template-columns: 1fr 1fr 1fr;
        gap: 25px;
    }
    .home .eventPast.d-grid .single-event:last-of-type{
        display: none;
    }
}
@media(max-width:954px){
    .eventPast.d-grid{
        grid-template-columns: 1fr 1fr;
    }
    .home .eventPast.d-grid .single-event:last-of-type{
        display: block;
    }
}
@media(max-width:768px){
    h1.elementor-heading-title{
        font-size: 30px;
    }
    .eventPast.d-grid{
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* FORM */
form{
   display: flex;
   flex-wrap: wrap;
   gap: 0 30px;
}
.wrapper{
    flex-grow:1;
    min-width: 40%;
 }
.wrapper:not(.submit) input{
    display: block;
    width: 100%;
    height: -webkit-calc(1.5em + 0.75rem + 2px);
    height: -moz-calc(1.5em + .75rem + 2px);
    height: calc(1.5em + 0.75rem + 2px);
    font-weight: 400;
    line-height: 1.5;
    color: #666;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: 5px;
    -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    -o-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -moz-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    background-color: rgba(0,0,0,0);
    font-size:14px;
    padding: 0 4px;
    border: #ccc solid 1px;
    transition: 0.3s;
}
.wrapper input:not([type="file"]):focus-visible,
.wrapper input:not([type="file"]):active{
    border: var(--wp--preset--color--primary) solid 1px !important;
    outline-color: #ccc;
}
.wrapper textarea{
    height: 16rem;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 20px;
    padding: 0.375rem 0.75rem;
    background: transparent;
}
.wrapper textarea:focus-visible,
.wrapper textarea:active,
.wrapper input:not([type="file"]):focus-visible,
.wrapper input:not([type="file"]):active{
    border: solid 1px var(--wp--preset--color--primary) !important;
    outline: var(--wp--preset--color--primary);
}
.wrapper.privacy,
.wrapper.email{
    width: 100%;
}
.wrapper.privacy label{
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
}
.wrapper.privacy input{
    width:20px;
    height:20px;
}
.wrapper.submit input{
    font-size: 18px;
    font-weight: 600;
    color: var(--wp--preset--color--white);
    /*background-color: var(--wp--preset--color--bright-light-blue);*/
    border-radius: 10px;
    padding: 10px 32px;
    border: none;
    background: url(/wp-content/themes/ecrparty2025/resurces/img/icon-awesome-chevron-right.svg) no-repeat right 30px center, var(--wp--preset--color--bright-light-blue) !important;
    padding-right: 50px;
    background-size: 8px !important;
    cursor: pointer;
}
.wrapper.submit input:disabled{
    background: url(/wp-content/themes/ecrparty2025/resurces/img/icon-awesome-chevron-right.svg) no-repeat right 30px center, #b0e6ff !important;
    background-size: 8px !important;
    cursor: not-allowed;
}
span.spanRequired{
    color: red;
}
.contributionWrapper{
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
    place-items: center;
    border: 3px solid var(--wp--preset--color--bright-light-blue);
    border-radius: 10px;
    padding: 25px 20px;
    max-width: fit-content;
    position: sticky;
    top: 140px;
    place-self: anchor-center;
}
.contributionWrapper p{
    font-size: 25px;
    font-weight: 600;
    color: var(--wp--preset--color--text-black);
    margin: 0;
    text-align: center;
}
.contributionWrapper p#copiaValore{
    font-size: 35px;
    font-weight: 800;
    color: var(--wp--preset--color--bright-light-blue);
}
.wpf_form_wrapper form.wpf_form .wpf_full_block_btn span.wpf_txt_normal::after{
    content: '';
    display: inline-block;
    width: 8px;
    height: 12px;
    margin-left: 7px;
    background-image: url(/wp-content/themes/ecrparty2025/resurces/img/icon-awesome-chevron-right.svg);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    transition: transform 0.3s ease;
}
.mc4wp-form{
    display: block;
}
.formNewsletterWrapper{
    max-width: 940px;
    width: 95vw;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.formNewsletterWrapper .d-flex{
    gap: 30px;
    flex-wrap: wrap;
}
.formNewsletterWrapper p.inputWrapper{
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-grow: 1;
    margin: 0;
}
.formNewsletterWrapper p.inputWrapper label{
    font-size: 20px;
    font-weight: 600;
    color: var(--wp--preset--color--text-grey);
}
.formNewsletterWrapper p.inputWrapper input:not(input[type="checkbox"]){
    height: 40px;
    padding: 0 10px;
}
.formNewsletterWrapper .wrapper.privacy input{
    width: 36px !important;
}
.formNewsletterWrapper .wrapper.privacy label{
    max-width: 675px;
    margin: auto;
}
.formNewsletterWrapper .wrapper.privacy label span{
    font-size: 16px;
}
.formNewsletterWrapper .wrapper.submit{
    text-align: center;
}
.newsletterSection .formNewsletterWrapper{
    max-width: inherit;
    width: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.newsletterSection .formNewsletterWrapper p.inputWrapper label{
    font-size: 15px;
    color: var(--wp--preset--color--light-sky-blue);
}
.newsletterSection .formNewsletterWrapper .wrapper.privacy label span {
    font-size: 15px;
    color: var(--wp--preset--color--white);
}
.newsletterSection .formNewsletterWrapper p.inputWrapper input:not(input[type="checkbox"]){
    background-color: var(--wp--preset--color--white);
    border: none;
}
@media(min-width:769px){
    .formNewsletterWrapper .wrapper.submit input{
        width: 100%;
        max-width: 550px;
        background: url(/wp-content/themes/ecrparty2025/resurces/img/icon-awesome-chevron-right.svg) no-repeat right 42% center, var(--wp--preset--color--bright-light-blue) !important;
        background-size: 8px !important;
    }
}
/* FINE FORM */
/* EVENTS PAGE */
.post-type-archive-events .wrapperBoxHero{
    background-color: #0D7EB1bf;
    border-radius: 0 0 50px 0;
    position: absolute;
    bottom: 100px;
    place-self: center;
    padding: 30px 40px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}
.post-type-archive-events .wrapperBoxHero span.labelSection{
    display: block;
    border-left: 5px solid var(--wp--preset--color--bright-light-blue);
    padding-left: 7px;
    margin-bottom: 12px;
    line-height: 1.1;
    font-size: 20px;
    font-weight: 600;
    color: var(--wp--preset--color--light-sky-blue);
}
.post-type-archive-events .wrapperBoxHero h1.archiveEventsTitle{
    font-size: 40px;
    font-weight: 600;
    color: var(--wp--preset--color--white);
    margin: 0;
}
.post-type-archive-events section.eventSection{
    padding-top: 50px;
}
.post-type-archive-events .navigation.pagination{
    padding-bottom: 0;
}
.post-type-archive-events .navigation.pagination .nav-links .page-numbers.current{
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--bright-light-blue);
}
.eventFuture{
    width: 100%;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
.eventFuture a.eventsLink.newsletterLink {
    width: fit-content;
    margin: -40px auto 0;
}
.eventFuture .single-event{
    display: grid;
    grid-template-columns: minmax(620px, 40%) 1fr;
    width: 100%;
}
.eventFuture .single-event figure{
    margin: 0;
}
.eventFuture .single-event figure img{
    display: block;
    border-radius: 30px 0 0 30px;
    width: 100%;
}
.eventFuture .single-event .textContainer{
    background-color: var(--wp--preset--color--white);
    padding: clamp(15px, 2vw, 30px); /* scala tra 15px e 30px */
}
.eventFuture .single-event .textContainer span{
    font-size: 14px;
    font-weight: 600;
    margin-right: 8px;
}
.eventFuture .single-event .textContainer span.eventDate{
    color: var(--wp--preset--color--white);
    background-color: var(--wp--preset--color--orange);
    padding: 6px 10px;
    display: inline-block;
}
.eventFuture .single-event .textContainer span.eventLocation,
.eventFuture .single-event .textContainer span.eventTime{
    color: var(--wp--preset--color--orange);
}
.eventFuture .single-event .textContainer span.eventTime{
    color: burlywood;
}
.eventFuture .single-event .textContainer h3.eventTitle{
    font-size: clamp(20px, 2.8vw, 36px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--wp--preset--color--text-black);
    margin: 15px 0 15px;
    width: fit-content;
}
.eventFuture .single-event .textContainer p.eventExcerpt{
    font-size: 16px;
    font-weight: 500;
    color: var(--wp--preset--color--text-grey);
    margin: 15px 0 30px;
    text-align: left;
}
.eventFuture .single-event .textContainer a.eventLink{
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--wp--preset--color--white);
    width: 100%;
    max-width: 300px;
    background: #0B4773;
    background: -webkit-linear-gradient(45deg,rgba(11, 71, 115, 1) 0%, rgba(3, 169, 244, 1) 100%);
    background: -moz-linear-gradient(45deg,rgba(11, 71, 115, 1) 0%, rgba(3, 169, 244, 1) 100%);
    background: linear-gradient(45deg,rgba(11, 71, 115, 1) 0%, rgba(3, 169, 244, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(
    startColorstr="#0B4773",
    endColorstr="#03A9F4",
    GradientType=0
    );
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 10px;
    padding: clamp(6px, 1vw, 8px) clamp(20px, 2vw, 30px);
    display: block;
    text-align: center;
    font-weight: 600;
    margin-top: 15px;
}
.eventFuture .single-event .textContainer a.eventLink::after{
    content: '';
    display: inline-block;
    width: 8px;
    height: 12px;
    margin-left: 7px;
    background-image: url(/wp-content/themes/ecrparty2025/resurces/img/icon-awesome-chevron-right.svg);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    transition: transform 0.3s ease;
}
.single-events article .singleThumbnail img{
    width: 100%;
    border-radius: 10px;
    max-height: 600px;
    object-fit: cover;
}
.single-events section.d-flex{
    gap: 40px;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.single-events section.d-flex .leftContent{
    max-width: 850px;
}
.single-events section.d-flex .sideContent{
    position: sticky;
    top: 160px;
    height: fit-content
}
.single-events section.d-flex .sideContent h2{
    font-size: 18px;
    font-weight: 600;
    color: var(--wp--preset--color--dark-blue);
    text-align: center;
}
.single-events section.d-flex .sideContent .fileWrapper{
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
}
.single-events section.d-flex .sideContent .fileWrapper.separator{
    border-bottom: 1px solid #CCC;
}
.single-events section.d-flex .sideContent .fileWrapper .programDownload,
.single-events section.d-flex .sideContent .fileWrapper .pressReleaseDownload{
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    padding: 20px 40px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}
.single-events section.d-flex .sideContent .fileWrapper .pressReleaseDownload{
    padding: 26px 40px;
}
.single-events section.d-flex .sideContent .fileWrapper .programDownload span,
.single-events section.d-flex .sideContent .fileWrapper .pressReleaseDownload span{
    font-size: 18px;
    font-weight: 600;
    color: var(--wp--preset--color--sky-blue);
}
.single-events .speakers-list.d-grid{
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}
.single-events .speakers-list .speaker-image{
    justify-self: center;
}
.single-events .speakers-list .speaker-image img{
    border-radius: 10px;
}
.single-events .speakers-list .speaker-info .speaker-name,
.single-events .speakers-list .speaker-info .speaker-role{
    text-align: center;
    font-weight: 600;
}
.single-events .speakers-list .speaker-info .speaker-name{
    font-size: 15px;
    color: var(--wp--preset--color--text-black);
    margin: 5px 0 0;
}
.single-events .speakers-list .speaker-info .speaker-role{
    font-size: 12px;
    color: var(--wp--preset--color--text-grey);
    margin: 1px 0 0;
}
@media(max-width:1600px){
    .post-type-archive-events .wrapperBoxHero{
        width: 90%;
    }
}
@media(max-width:1200px){
    .single-events section.d-flex{
        justify-content: center;
        flex-wrap: wrap;
    }
    .single-events section.d-flex .sideContent{
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
    }
    .single-events section.d-flex .sideContent .fileWrapper{
        display: flex;
    }
}
@media(max-width:1024px){
    .eventFuture .single-event{
        grid-template-columns: 1fr 1fr
    }
    .eventFuture .single-event figure img{
        height: 100%;
        object-fit: cover;
        object-position: left;
    }
    .single-events .speakers-list.d-grid{
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media(max-width:768px){
    .eventFuture .single-event{
        grid-template-columns: 1fr;
    }
    .eventFuture .single-event figure img{
        border-radius: 30px 30px 0 0;
    }
    .eventFuture .single-event .textContainer {
        padding: 15px 15px 40px;
        border-radius: 0 0 30px 30px;
    }
    .eventFuture .single-event .textContainer a.eventLink{
        margin: 0 auto;
    }
    .post-type-archive-events .wrapperBoxHero h1.archiveEventsTitle{
        font-size: 28px;
    }
    .single-events .speakers-list.d-grid{
        grid-template-columns: 1fr 1fr;
    }
    .single-events section.d-flex .sideContent .fileWrapper{
        display: flex;
        flex-direction: column;
    }
}
/* FINE EVENTS PAGE */
/* === Slider === */
.block-slider .wrapper {
    padding: 0 0 30px 0;
    margin: 0;
}
.block-slider .article-slide {
    width: 280px;
}
.block-slider .article-slide figure {
    margin: 0 0 10px 0;
}
.block-slider .article-slide figure img {
    width: 100%;
    height: auto;
}
.block-slider .slider hr {
    background: #0033664f;
    height: 2px;
    border: none;
}
.block-slider .nav {
    width: 110px;
    margin: -45px auto 0;
    background: #ffffff;
    display: flex;
    justify-content: center;
    gap: 5px;
    position: relative;
    z-index: 5;
}
.block-slider .nav a{
    width: 30px;
    height: 30px;
    border: 2px solid #0033664f;
    display: flex;
    align-items: center;
    justify-content: center;
}
.block-slider .nav a.prev{
    border-radius: 10px 0 0 0;
}
.block-slider .nav a.next{
    border-radius: 0 0 10px 0;
}
.block-slider .nav a svg {
    width: 25px;
    height: 25px;
    fill: var(--wp--preset--color--primary);
}
@media (min-width: 768px) {
    .block-slider .article-slide {
        width: 33.3333%;
    }
    .block-slider .nav a {
        width: 40px;
        height: 40px;
    }
}

@media (min-width: 992px) {
    .block-slider .article-slide {
        width: 28%;
    }
}
/* ===  FINE Slider === */
/* POP-UP YOUTUBE */
.modal {
  display: none;
  position: fixed;
  z-index: 10000; /* più alto dell'header */
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center; align-items: center;
}
.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #FFF;
    margin-left: 10px;
}
/* FINE POP-UP YOUTUBE */
/* LIGHTBOX */
#lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox.hidden {
  display: none;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 5px;
}

#close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}
.single-events figure img.thumbnail,
.single-post article .entry-content a img{
    cursor: zoom-in;
}
/* LIGHTBOX */
/* GRIGLIA VIDEO */
.videoLibrarySection{
    padding: 50px 15px 100px;
}
.videoLibrarySection .videoGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* max 3 colonne */
    gap: 30px;
    margin-top: 30px;
}
.videoLibrarySection .videoBlock {
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
}
.videoLibrarySection .videoBlock:hover {
    transform: translateY(-5px);
}
.videoLibrarySection .videoBlock .videoThumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
}
.videoLibrarySection .videoBlock .videoThumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.videoLibrarySection .videoBlock .durationWrapper{
    padding: 5px;
    gap: 5px;
}
.videoLibrarySection .videoBlock .durationWrapper span.videoDuration{
    font-size: 16px;
    font-weight: 400;
    color: var(--wp--preset--color--text-grey);
}
.videoLibrarySection .videoBlock .videoTitle {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    color: var(--wp--preset--color--text-black);
    padding: 0 5px;
    line-height: 1.2;
}
.videoLibrarySection .pagination{
    text-align: center;
    margin-top: 30px;
}
.videoLibrarySection .pagination .page-numbers {
    padding: 5px;
    color: var(--wp--preset--color--bright-light-blue);
    font-size: 18px;
}
.videoLibrarySection .pagination .page-numbers.current {
    background-color: var(--wp--preset--color--bright-light-blue);
    color: var(--wp--preset--color--white);
    padding: 5px 10px;
}
#videoModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}
.videoLibrarySection #videoModal iframe{
    width: 90%;
}
#videoModal iframe {
    max-width: 1200px;
    aspect-ratio: 16/9;
    height: auto;
    border: none;
    border-radius: 8px;
}
#videoModal .close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    font-weight: bold;
    z-index: 10000;
}
@media (max-width: 1024px) {
    .videoLibrarySection .videoGrid {
        grid-template-columns: repeat(2, 1fr);
    }
    .modal-content,
    #videoModal iframe{
        width: 100%;
    }
}
@media (max-width: 640px) {
    .videoLibrarySection .videoGrid {
        grid-template-columns: 1fr;
    }
    .videoLibrarySection h1,
    section.eventSection .eventWrapper h1{
        font-size: 30px !important;
    }
}
/* FINE GRIGLIA VIDEO*/
/* 404 */
.error404 #page .background404{
    background: #e9e9e9;
}
.notfound-404{
   min-height: 70vh;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
}
.notfound-404 *{
   text-align: center;
}
.notfound-404 h1.fancy-heading {
    font-size: clamp(8rem, 7.5541rem + 2.0382vw, 10rem);
    font-weight: 900;
    background: -webkit-linear-gradient(45deg,rgba(11, 71, 115, 1) 0%, rgba(3, 169, 244, 1) 100%);
    background: -moz-linear-gradient(45deg,rgba(11, 71, 115, 1) 0%, rgba(3, 169, 244, 1) 100%);
    background: linear-gradient(45deg,rgba(11, 71, 115, 1) 0%, rgba(3, 169, 244, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin: 0;
}
.notfound-404 a.btn-secondary{
    background-color: var(--wp--preset--color--primary);
    color: #FFF !important;
    font-size: 23px;
    padding: 10px 30px;
    font-weight: 600;
    border-radius: 30px;
    text-align: center;
    margin-top: 30px;
}
/* FINE 404 */
/* mute/unmute video */
.mute-btn{
    position: absolute;
    z-index: 99999;
    right: 20px;
    bottom: 50px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 7px 15px;
    border-radius: 5px;
    cursor: pointer;
}
/* SEARCH */
.search .search-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.search .search-results .search-grid-item .entry-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}
.search .search-results .search-grid-item span.post-label{
    padding: 0 7px;
    color: var(--wp--preset--color--bright-light-blue);
    display: inline-block;
    margin-top: 7px;
}
.search .search-results .search-grid-item h2{
    font-size: 18px;
    font-weight: 600;
    color: var(--wp--preset--color--text-black);
    line-height: 1.2;
    padding: 0 7px;
    margin-top: 0;
}
.search .page-title strong{
    color: var(--wp--preset--color--primary);
}
.search .counterContainer{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid;
    margin-bottom: 40px;
    padding-bottom: 10px;
}
.search .counterContainer .counter{
    margin: 0;
}
.search section.search-page{
    padding: 20px;
}
.search section.search-page .search-results article{
    transition: all 0.3s ease;
}
.search section.search-page .search-results article:hover{
    transform: translateY(-5px);
}
section.search-page.lp{
    padding: 100px 20px;
}  
.search section.search-page .wrapperInputSearch form,
section.search-page.lp .wrapperInputSearch form{
    width: 100%;
    gap: 10px;
}
.search section.search-page .wrapperInputSearch form input,
section.search-page.lp .wrapperInputSearch form input{
    flex-grow: 1;
}
.search section.search-page .wrapperInputSearch form button[type="submit"],
section.search-page.lp .wrapperInputSearch form button[type="submit"]{
    cursor: pointer;
}
@media(max-width:768px){
    .search section.search-page h1{
        font-size: 30px;
    }
}

/* STYLE SEARCH BOX HEADER */
.search-box{
  width: fit-content;
  height: fit-content;
  position: relative;
}
.search-box .input-search{
    height: 50px;
    width: 50px;
    border-style: none;
    padding: 10px;
    font-size: 18px;
    letter-spacing: 2px;
    outline: none;
    border-radius: 25px !important;
    transition: all .5s ease-in-out;
    background-color: transparent;
    padding-right: 50px !important;
    color: #fff !important;
    box-sizing: border-box;
    border: none !important;
}
.search-box .input-search::placeholder{
  color:rgba(255,255,255,.5);
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 100;
}
.search-box .btn-search{
  width: 50px;
  height: 50px;
  border-style: none;
  font-size: 20px;
  font-weight: bold;
  outline: none;
  cursor: pointer;
  border-radius: 50%;
  position: absolute;
  right: 0px;
  color:#ffffff ;
  background-color:transparent;
  pointer-events: painted;  
}
.search-box .btn-search:focus ~ .input-search{
  width: 300px;
  border-radius: 0px;
  background-color: #FFFFFF50;
  border-bottom:1px solid rgba(255,255,255,.5);
  transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
  padding-left: 10px !important;
}
.search-box .input-search:focus{
  width: 300px;
  padding: 10px;
  border-radius: 0px;
  background-color: #FFFFFF50;
  border-bottom:1px solid #FFFFFF;
  transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
}
/* fine STYLE SEARCH BOX HEADER */
/* SMASH BALOON */
.sbsw-single-filter > a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
.sbsw-single-filter-facebook a{
    color: #475e8f !important;
}
.sbsw-single-filter-instagram a{
    color: #e26258 !important;
}
.sbsw-single-filter-twitter a{

}
.sbsw-facebook-item .sbsw-follow, [id^=sb-wall].sb-wall .sbsw-facebook-item p.sbsw-share-popup, [id^=sb-wall].sb-wall .sbsw-single-filter-facebook a:active, [id^=sb-wall].sb-wall .sbsw-single-filter-facebook a:focus, [id^=sb-wall].sb-wall .sbsw-single-filter-facebook a:hover{
    background: #475e8f !important;
    color: #FFF !important;
}
.sbsw-instagram-item .sbsw-follow, [id^=sb-wall].sb-wall .sbsw-instagram-item p.sbsw-share-popup, [id^=sb-wall].sb-wall .sbsw-single-filter-instagram a:active, [id^=sb-wall].sb-wall .sbsw-single-filter-instagram a:focus, [id^=sb-wall].sb-wall .sbsw-single-filter-instagram a:hover {
    background: linear-gradient(0deg, #e15073 0, #e26258 100%) !important;
    color: #FFF !important;
}
/* FINE SMASH BALOON */
/* mc4wp */
.mc4wp-success p {
    text-align: center;
    background-color: #50bd00;
    color: white;
    padding: 10px;
}
.mc4wp-error p{
    text-align: center;
    background-color: #a80404;
    color: white;
    padding: 10px;
}
/* FINE mc4wp */