html {
    margin-top: 0 !important
}

body {
    background-color: #F2F1E7
}

@media (prefers-color-scheme:dark) {
    body #mdp-readabler-popup-box * {
        color: white
    }
}

body .entry-content.cLayout1 a {
    color: #000;
    text-decoration: underline
}

.otgs-development-site-front-end {
    display: none
}

/* Avvisi homepage â€” stili principali definiti piÃ¹ avanti, riga ~3303 */

.block-notices .notices-list {
    padding-top: 6px;
}

.block-notices .notice-item {
    padding: 4px 0;
}

.block-notices .notice-item-border {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    padding-top: 10px;
}

.block-notices .notice-title {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 4px;
    color: #fff;
    font-weight: bold;
}

.block-notices .notice-text {
    font-size: 15px;
    line-height: 1.4;
    margin: 2px 0 0;
    opacity: 0.7;
    color: #fff;
}

.b_crumb:has(a) {
    padding: 10px 20px 12px
}

.hide-block {
    display: none !important
}

.page-content>*,
.entry-content>* {
    max-width: 100%
}

.entry-content>* {
    padding: 10px 20px
}

.entry-content .horizontal-menu-block {
    padding: 10px 20px
}

.wp-block-separator {
    border-bottom: none;
    padding: 0
}

.home .entry-content>* {
    padding: 0 20px
}

.page_title {
    padding: 20px;
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    font-size: 40px;
    color: #000
}

.ovhide {
    overflow: hidden
}

#page {
    padding: 0;
    background-color: #F2F1E7;
    margin: 0 auto
}

.wp-element-button {
    border-radius: 0px;
    background-color: #000000;
    color: #ffffff
}

#content ul,
#content ol {
    list-style: none;
    margin-left: 16px
}

#content ul li,
#content ol li {
    position: relative
}

#content ul li:before,
#content ol li:before {
    content: "*";
    position: absolute;
    display: inline-block;
    width: 10px;
    height: 10px;
    display: block;
    font-size: 10px;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    font-family: 'DeAetna PNB', Fallback, sans-serif
}

.page-template-theme_layout10 #content li:before {
    top: 0;
    transform: none
}

#content {
    min-height: 90vh;
    padding: 0
}

.page-template-theme_layout10 #content {
    min-height: auto
}

.page-template-theme_layout10 .cLayout10 {
    min-height: 70vh
}

.pnb-primary-action {
    padding: 0 20px;
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: .5px
}

.tb-box {
    border-bottom: 1px solid #000;
    border-top: 1px solid #000
}

.tb-box-up {
    border-top: 1px solid #000
}

.tb-box-down {
    border-bottom: 1px solid #000
}

.listelement.tb-box-up:last-child {
    border-bottom: 1px solid #000
}

.badge {
    color: #fff;
    background-color: #231F20;
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .5px
}

.event .badge,
.tags .badge,
.link-slide .badge {
    padding: 5px 25px;
    font-size: 18px
}

.top-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: 5px 25px;
    font-size: 18px
}

.btn {
    margin-top: 20px
}

.btn .gb-button {
    padding: 5px 25px;
    font-size: 18px;
    text-transform: uppercase;
    font-family: 'DeAetna PNB', Fallback, sans-serif
}

.mainaction {
    margin-top: 15px;
    margin-bottom: 15px
}

.mainaction p {
    font-size: 20px
}

.tags-container {
    bottom: 2px;
    position: absolute;
    right: 0;
    z-index: 2
}

.tags-container .badge {
    padding: 5px 25px;
    font-size: 18px
}

.centerInParent {
    position: absolute;
    top: 75%;
    transform: translateY(-50%)
}

.centerHighInParent {
    position: absolute;
    top: 20px
}

.subtitle {
    font-size: 30px;
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    padding-top: 0;
    padding-bottom: 0
}

h6.wp-block-heading {
    font-size: 30px;
    font-weight: bold;
    font-family: 'DeAetna PNB', Fallback, sans-serif
}

h2.wp-block-heading {
    font-size: 30px;
    font-weight: bold;
    font-family: 'DeAetna PNB', Fallback, sans-serif
}

h3.wp-block-heading {
    font-size: 25px;
    font-weight: bold;
    font-family: 'DeAetna PNB', Fallback, sans-serif
}

.highlighted-events {
    background-color: #e5e6e7ff
}

.highlighted-post {
    background-color: #ffffbeff
}

.title {
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    color: #000
}

.title-article {
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    color: #000;
    display: block;
    font-size: 24px;
    text-transform: uppercase;
}

h2.wp-block-heading,
.wp-block-heading,
.maintitle {
    color: #000
}

h2.wp-block-heading,
.wp-block-heading {
    color: #000
}

.paragh-article {
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    color: #000;
    display: block;
    line-height: initial;
    text-transform: uppercase;
    font-size: 30px;
}

.excerpt-article {
    font-size: 12px;
    line-height: 15px;
    display: block;
}

.custom-cta-block {
    padding: 20px;
    border: 1px solid black;
    border-right: 0
}

.custom-cta-block:last-child {
    border-right: 1px solid black
}

.custom-cta-block .wp-element-button {
    padding: 5px 25px
}

.bar-article {
    height: 1px;
    width: 25px;
    background-color: #000;
    margin-top: 15px;
    display: block
}

.box-title {
    margin: 0 auto;
    text-align: center;
    padding-bottom: 5px;
    padding-top: 5px
}

.border {
    border-left: none;
    border-right: none;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000
}

.wp-block-columns {
    margin: 0;
    padding: 0;
    gap: 0
}

.plr-20 {
    padding-left: 20px;
    padding-right: 20px
}

.wp-block-columns-is-layout-flex {
    padding: 20px
}

.wp-block-group {
    overflow-x: hidden
}

#results-table table {
    width: 100%
}

#content ul li,
#content ol li {
    font-family: 'Inter', sans-serif;
    font-size: 16px
}

@media (max-width:860px) {
    .title {
        font-size: 30px;
        line-height: 30px
    }

    h2.wp-block-heading {
        font-size: 35px;
        color: #000;
        line-height: 35px;
        font-weight: bold
    }

    .wp-block-heading,
    .maintitle {
        font-size: 35px;
        line-height: 35px;
        font-weight: bold
    }

    .centerInParent {
        position: absolute;
        top: 50%;
        transform: translateY(-50%)
    }

    .centerHighInParent {
        position: absolute;
        top: 20px
    }

    .title-article {
        font-size: 25px;
        line-height: 15px
    }

    .paragh-article {
        font-size: 16px
    }

    .excerpt-article {
        font-size: 14px;
        margin-top: 15px
    }

    .box-title {
        border-left: none;
        border-right: none;
        text-align: left
    }

    .mobile1x {
        display: block !important
    }

    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
        margin-top: 30px
    }

    .wp-block-columns-is-layout-flex .wp-block-button {
        margin-top: 20px
    }
}

/* #search-div-background definito piÃ¹ avanti (riga ~3812: transparent) */

#mobile_menu_burgher.open>div:nth-child(2) {
    display: none
}

#mobile_menu_burgher.open>div:first-child {
    transform: rotate(45deg) translateY(5px)
}

#mobile_menu_burgher.open>div:last-child {
    transform: rotate(-45deg) translateY(-5px)
}

::-webkit-scrollbar {
    width: 10px;
    position: absolute;
    left: 0;
    padding-left: 5px;
    padding-right: 5px
}

::-webkit-scrollbar-track {
    background: transparent
}

::-webkit-scrollbar-thumb {
    background: #000;
    border-radius: 5px
}

::-webkit-scrollbar-thumb:hover {
    background: #555
}

#wrap-masthead {
    position: sticky;
    top: 0px;
    z-index: 999999;
    background-color: #fff
}

.close-search span {
    top: 14px
}

.close-search span:first-child {
    transform: translateX(-50%) rotate(45deg)
}

.close-search span:last-child {
    transform: translateX(-50%) rotate(-45deg)
}

.close-booking {
    position: absolute;
    top: 20px;
    right: 20px
}

.close-booking div:first-child {
    transform: translateX(0%) translateY(2px) rotate(45deg)
}

.close-booking div:last-child {
    transform: translateX(0%) rotate(-45deg)
}

#masthead .search-bar-sticky,
#masthead .close-search {
    background-color: #fff
}

#masthead .menu-item a,
#masthead .menu-item button,
#masthead .menu-item p {
    font-size: 14px;
    line-height: 14px;
    font-family: 'Inter', sans-serif !important;
    font-weight: normal !important
}

.pnb-logo+.search-form {
    padding: 0
}

.search-spinner-icon {
    animation-name: search-spinner;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out
}

@keyframes search-spinner {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

#site-navigation {
    height: 46px;
    margin-top: 15px;
    position: relative;
    z-index: 1000
}

#site-navigation.visible {
    display: block
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch
}

.nav-menu li {
    border-left: 1px solid #000;
    border-right: none;
    flex: 1 1 0;
    text-align: center
}

.nav-menu li:last-child {
    border-right: 1px solid #000
}

.nav-menu a,
.nav-menu button,
.nav-menu p {
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    text-align: center
}

.nav-menu a,
.nav-menu button.menu-toggle-button {
    display: block
}

.nav-menu button.menu-toggle-button,
.li-search-header,
#search-icon-clickable,
.close-search-div {
    appearance: none;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    margin: 0;
    padding: 0
}

.nav-menu button.menu-toggle-button {
    display: block;
    width: 100%
}

.nav-menu>ul>li {
    float: left;
    display: flex
}

.nav-menu>ul>li>a,
.nav-menu>ul>li>button {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    line-height: 14px;
    min-height: 36px;
    padding: 10px 10px;
    width: 100%
}

.nav-menu>ul>li:hover>a,
.nav-menu>ul>li:hover>button {
    background: #000;
    color: #F2F1E7
}

.nav-menu>ul>li:has(a:focus)>a,
.nav-menu>ul>li:has(button:focus)>button {
    background: #000;
    color: #F2F1E7
}

.nav-menu>ul>li:has(li:focus)>a,
.nav-menu>ul>li:has(li:focus)>button {
    background: #000;
    color: #F2F1E7
}

.nav-menu .sub-menu,
.nav-menu .children {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 1000;
    background: #fff;
    border-top: 1px solid #000;
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    display: none;
    max-width: 1400px;
    width: 100%
}

@media (min-width:860px) {

    .nav-menu li:hover>.sub-menu,
    .nav-menu li:hover>.children,
    .nav-menu li.submenu-open>.sub-menu,
    .nav-menu li.submenu-open>.children {
        display: block;
        z-index: 1000
    }

    .nav-menu li:has(a:focus)>.sub-menu,
    .nav-menu li:has(button:focus)>.sub-menu,
    .nav-menu li:has(a:focus)>.children {
        display: block;
        z-index: 1000
    }

    .nav-menu li:has(li:focus)>.sub-menu,
    .nav-menu li:has(li:focus)>.children {
        display: block;
        z-index: 1000
    }
}

.nav-menu .sub-menu a,
.nav-menu .sub-menu button,
.nav-menu .children a {
    padding: 5px 10px;
    text-transform: uppercase;
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    text-align: center
}

.nav-menu .sub-menu li,
.nav-menu .children li {
    border: none;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    border-right: 1px solid #000
}

.nav-menu .sub-menu li a,
.nav-menu .sub-menu li button,
.nav-menu .children li a {
    padding: 20px 0;
    font-size: 30px;
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    text-transform: uppercase
}

.nav-menu .sub-menu li:first-child,
.nav-menu .children li:first-child {
    border-top: 1px solid #000
}

.nav-menu .sub-menu li:hover a,
.nav-menu .sub-menu li:hover button,
.nav-menu .children li:hover a {
    background: #000;
    color: #F2F1E7
}

.nav-menu .sub-menu li:has(a:focus) a,
.nav-menu .sub-menu li:has(button:focus) button,
.nav-menu .children li:has(a:focus) a {
    background: #000;
    color: #F2F1E7
}

.nav-menu .sub-menu li:has(li:focus) a,
.nav-menu .children li:has(li:focus) a {
    background: #000;
    color: #F2F1E7
}

.nav-menu .sub-menu .sub-menu,
.nav-menu .children .children {
    position: relative;
    left: 0;
    top: 0;
    background: #F2F1E7;
    color: #000
}

.nav-menu .sub-menu .sub-menu li:hover a,
.nav-menu .children .children li:hover a {
    background: #000;
    color: #F2F1E7
}

.nav-menu .sub-menu .sub-menu li:has(a:focus) a,
.nav-menu .children .children li:has(a:focus) a {
    background: #000;
    color: #F2F1E7
}

.nav-menu .sub-menu .sub-menu li:has(li:focus) a,
.nav-menu .children .children li:has(li:focus) a {
    background: #000;
    color: #F2F1E7
}

.mobile-info-header:has(~ div.open) {
    display: none !important
}

.language-toggle:has(~ div.open) {
    display: block !important;
    position: static;
    margin-bottom: 10px
}

.focussed {
    display: block !important
}

.nav-menu li:first-child {
    border-left: none
}

.nav-menu li ul li:first-child {
    border-left: 1px solid #000
}

.nav-menu li:last-child {
    border-right: none
}

.nav-menu li ul li:last-child {
    border-right: 1px solid #000
}

@media (max-width:860px) {

    #masthead .menu-item.hidden,
    #masthead .menu-item.mob-hidden {
        display: none !important
    }

    .nav-menu .sub-menu li,
    .nav-menu .children li {
        border: none !important;
        border-bottom: none !important;
        border-left: none !important;
        border-right: none !important
    }

    #site-navigation {
        height: auto;
        margin-top: 0;
        z-index: 9999
    }

    #site-navigation .nav-menu {
        background-color: #fff;
        position: fixed;
        right: 0;
        left: 0;
        top: 118px;
        bottom: 0;
        border: none;
        overflow-y: auto;
        padding: 12px 16px 32px
    }

    .nav-menu ul {
        display: block;
        padding: 0
    }

    .nav-menu li {
        border: none;
        display: block;
        flex: none;
        text-align: left;
        width: 100%
    }

    .nav-menu a,
    .nav-menu button,
    .nav-menu p {
        font-size: 17px;
        line-height: 22px;
        text-align: left;
        position: relative;
        text-transform: uppercase
    }

    .nav-menu .li-search-header a:after {
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6 hidden tb:block'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z' /%3E%3C/svg%3E")
    }

    .nav-menu .sub-menu li:last-child,
    .nav-menu .children li:last-child {
        border-bottom: none
    }

    .nav-menu .sub-menu li:hover a,
    .nav-menu .sub-menu li:hover button,
    .nav-menu .children li:hover a,
    .nav-menu>ul>li:hover>a,
    .nav-menu>ul>li:hover>button {
        background-color: transparent;
        color: #000
    }

    .nav-menu .sub-menu li:has(a:focus) a,
    .nav-menu .sub-menu li:has(button:focus) button,
    .nav-menu .children li:has(a:focus) a,
    .nav-menu>ul>li:has(a:focus)>a,
    .nav-menu>ul>li:has(button:focus)>button {
        background-color: transparent;
        color: #000
    }

    .nav-menu .sub-menu li:has(li:focus) a,
    .nav-menu .sub-menu li:has(li:focus) button,
    .nav-menu .children li:has(li:focus) a,
    .nav-menu>ul>li:has(li:focus)>a,
    .nav-menu>ul>li:has(li:focus)>button {
        background-color: transparent;
        color: #000
    }

    .nav-menu .sub-menu li a,
    .nav-menu .sub-menu li button,
    .nav-menu .children li a {
        font-size: 16px;
        line-height: 22px;
        text-align: left;
        position: relative;
        text-transform: none;
        padding: 12px 12px
    }

    .nav-menu .mobileOpen a:after,
    .nav-menu .mobileOpen button:after {
        content: none
    }

    .nav-menu .mobileOpen a:before,
    .nav-menu .mobileOpen button:before {
        content: none
    }

    .nav-menu .mobileOpen .sub-menu {
        display: block !important
    }

    .nav-menu .mobileOpen .sub-menu:has(a:focus) {
        display: block
    }

    .nav-menu .mobileOpen a,
    .nav-menu .mobileOpen button {
        background: #f2f1e7;
        color: #000;
        font-weight: 700 !important;
        text-align: left
    }

    .nav-menu .mobileOpen .sub-menu a,
    .nav-menu .mobileOpen .sub-menu button,
    .nav-menu .mobileOpen .children a {
        background: transparent;
        color: #000;
        padding: 12px 12px;
        text-align: left
    }

    .nav-menu .mobileOpen .sub-menu a:after,
    .nav-menu .mobileOpen .sub-menu button:after {
        content: none
    }

    .nav-menu .mobileOpen .sub-menu a:hover,
    .nav-menu .mobileOpen .sub-menu button:hover,
    .nav-menu .mobileOpen .sub-menu a:focus,
    .nav-menu .mobileOpen .sub-menu button:focus {
        background: #fff;
        text-decoration: underline
    }

    .nav-menu .mobileOpen .sub-menu a:before,
    .nav-menu .mobileOpen .sub-menu button:before,
    .nav-menu .mobileOpen .children a:before {
        content: none
    }

    .nav-menu>ul>li {
        float: none;
        border-left: none;
        display: block;
        width: 100%
    }

    .nav-menu>ul>li>a,
    .nav-menu>ul>li>button {
        align-items: center;
        border: 1px solid transparent;
        border-bottom-color: #d0d0c5;
        border-radius: 0;
        display: flex;
        justify-content: space-between;
        min-height: 56px;
        padding: 16px 12px;
        width: 100%
    }

    .nav-menu>ul>li.menu-item-has-children>button:after {
        align-items: center;
        border: 1px solid #000;
        border-radius: 999px;
        content: '+';
        display: inline-flex;
        flex: 0 0 28px;
        font-family: system-ui !important;
        font-size: 20px;
        font-weight: 400;
        height: 28px;
        justify-content: center;
        line-height: 1;
        margin-left: 16px;
        width: 28px
    }

    .nav-menu>ul>li.menu-item-has-children.mobileOpen>button:after {
        content: '-'
    }

    .nav-menu li>.sub-menu,
    .nav-menu li>.children {
        background: #f8f7ef;
        border: none;
        box-shadow: none;
        display: none;
        left: auto;
        margin: 0;
        max-width: none;
        min-width: 0;
        padding: 6px 0 8px;
        top: auto;
        width: 100%;
        position: relative
    }

    .nav-menu .mobileOpen>.sub-menu {
        border-bottom: 1px solid #d0d0c5;
        margin-bottom: 4px
    }

    .nav-menu .sub-menu a:focus:not(:focus-visible),
    .nav-menu .sub-menu button:focus:not(:focus-visible),
    .nav-menu>ul>li>a:focus:not(:focus-visible),
    .nav-menu>ul>li>button:focus:not(:focus-visible) {
        outline: none
    }

    .nav-menu .sub-menu a:focus-visible,
    .nav-menu .sub-menu button:focus-visible,
    .nav-menu>ul>li>a:focus-visible,
    .nav-menu>ul>li>button:focus-visible {
        outline: 3px solid #000;
        outline-offset: -3px
    }

    .nav-menu li:hover>.children {
        display: none
    }

    .nav-menu li:has(a:focus)>.children {
        display: none
    }

    .nav-menu li:has(li:focus)>.children {
        display: none
    }

    .mob-hidden {
        display: none
    }

    #masthead .menu-item a,
    #masthead .menu-item button,
    #masthead .menu-item p {
        box-sizing: border-box
    }

    .openChild {
        border: none
    }
}

@media (max-width:860px) and (min-width:860px) {
    .nav-menu .li-search-header p {
        display: none
    }
}

/* #footer background-color definito piÃ¹ avanti (riga ~3563: #000 con color:#fff) */

#footer .gb-block-newsletter .gb-newsletter-email-address-label {
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center
}

#footer .gb-block-newsletter .gb-newsletter-email-address-input {
    border-bottom: 1px solid;
    background-color: transparent
}

#footer .gb-block-newsletter .gb-newsletter-submit {
    background-color: #000;
    border-radius: 0
}

#footer ol,
#footer ul {
    padding-left: 0px !important
}

#footer .social_title {
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center
}

#footer .social-icon-wrp {
    margin-top: 20px
}

#footer .footer-text {
    margin-top: 30px
}

#footer #footer-menu {
    margin-bottom: 60px
}

#footer #footer-menu .menu-item {
    flex-grow: 1
}

#footer #footer-menu .menu-item-has-children a,
#footer #footer-menu .menu-item-has-children>button {
    text-transform: uppercase;
    color: #000;
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    font-size: 20px;
    display: block;
    line-height: 20px
}

#footer #footer-menu .sub-menu {
    margin-top: 15px
}

#footer #footer-menu .sub-menu a {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    text-transform: initial;
    font-weight: normal;
    color: initial
}

#footer #footer-menu .sub-menu a:hover {
    text-decoration: underline
}

#footer .social-icon {
    width: 20px;
    display: block;
    margin-left: 10px
}

.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
    margin-bottom: 0px;
    background-color: #d1d2d4
}

@media (max-width:860px) {
    #footer #footer-menu {
        flex-wrap: wrap
    }

    #footer #footer-menu .menu-item {
        min-width: 50%;
        flex-basis: 50%
    }

    #footer #footer-menu .menu-item-has-children a,
    #footer #footer-menu .menu-item-has-children>button {
        margin-top: 20px
    }

    #footer #footer-menu .sub-menu a {
        margin-top: 0
    }
}

@media (max-width:475px) {
    #footer #footer-menu {
        flex-direction: column
    }
}

.homepage-content {
    max-width: 100%
}

.page-template-theme_home .b_crumb {
    display: none
}

.event-image-url img {
    display: block;
    width: 100%
}

.highlighted-post h2.wp-block-heading {
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    color: #000;
    display: block;
    padding-right: 15px
}

.highlighted-post h4.wp-block-heading {
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    color: #000;
    display: block;
    margin-top: 20px
}

.highlighted-post h2.wp-block-heading:after {
    content: '';
    height: 1px;
    display: block;
    width: 100%;
    background-color: #000
}

.highlighted-post .content p {
    display: block;
    margin-top: 15px;
    padding-right: 15px;
    font-size: 14px
}

.section-collection {
    background-color: #d0d2d3ff
}

.wrap-thumbnail img {
    display: block;
    width: 100%
}

.wp-block-group .posts .title-article {
    line-height: 30px
}

@media (max-width:1080px) {
    .block-highlighted-post .wrap-content {
        flex-wrap: wrap
    }

    .block-highlighted-post .wrap-content .content {
        max-width: 100%;
        flex-basis: 100%;
        flex-grow: 0
    }

    .block-highlighted-post .wrap-content .wrap-thumbnail {
        max-width: 100%;
        flex-basis: 100%;
        flex-grow: 0
    }
}

.marquee {
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box
}

.marquee p {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite
}

@keyframes marquee {
    0% {
        transform: translate(0, 0)
    }

    100% {
        transform: translate(-100%, 0)
    }
}

@media (max-width:860px) {
    .block-notices .badge {
        bottom: -12px;
        right: auto;
        left: 50%;
        transform: translateX(-50%)
    }
}

.block-events.avvisi a {
    color: #fff
}

.block-slider-image * img {
    width: 100%
}

.block-slider-image .link-slide {
    right: 1px;
    bottom: 1px
}

.block-slider-image.bggray {
    background-color: #d0d2d3ff
}

.block-slider-image:hover .slick-arrow {
    display: block !important
}

.block-slider-image .slick-arrow {
    display: none !important;
    z-index: 99999;
    color: white
}

.block-slider-image .slick-prev {
    left: 25px
}

.block-slider-image .slick-prev:before {
    width: 40px;
    display: block;
    font-size: 30px;
    background-color: #fff;
    height: 40px
}

.block-slider-image .slick-next {
    right: 45px
}

.block-slider-image .slick-next:before {
    width: 40px;
    display: block;
    font-size: 30px;
    background-color: #fff;
    height: 40px
}

.vertical-menu-block {
    display: flex;
    flex-direction: column;
    width: 100%
}

.vertical-menu-block .tb-box-up {
    flex-grow: 1
}

.vertical-menu-block .tb-box-up:last-child {
    border-bottom: 1px solid #000
}

.event-block .event-image-url:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4)
}

.event-block .event-image-url .centerInParent {
    top: 50%
}

@media (max-width:860px) {
    .vertical-menu-block .link-service .tags {
        display: none
    }
}

.block-events span.title {
    line-height: 40px
}

.block-events .box-title:before {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #000;
    height: 100%;
    width: 50px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 3px
}

.block-events .slick-prev {
    left: 25px;
    z-index: 10
}

.block-events .slick-prev:before {
    width: 40px;
    height: 30px;
    display: block
}

.block-events .slick-next {
    right: 40px;
    z-index: 10
}

.block-events .slick-next:before {
    width: 40px;
    height: 30px;
    display: block
}

.block-events .slick-slide:has(.all-event-link) {
    height: inherit
}

.slider_image .box-title:before {
    content: "*";
    width: 45px;
    height: 100%;
    display: block;
    position: absolute;
    left: 0px;
    top: 0;
    line-height: 64px;
    padding-right: 10px;
    box-sizing: content-box;
    border-right: 1px solid #000;
    font-size: 60px;
    background-color: transparent;
    padding-top: 0;
    padding-left: 10px
}

.slider_image .event .title {
    font-size: 16px;
    line-height: 17px;
    margin-top: 5px
}

.slider_image .event .all-events-link {
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 45px;
    line-height: 45px;
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    text-transform: uppercase
}

@media (max-width:860px) {
    .block-events .box-title:before {
        display: none
    }

    .block-events .box-title:after {
        width: 65px;
        display: none;
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        padding: 6px 12px
    }
}

@media (max-width:450px) {
    .block-events .box-title:after {
        display: none
    }
}

.gap-0 {
    gap: 0
}

.block-highlighted-post.bggray {
    background-color: #e5e6e7ff;
    padding: 10px;
    padding-left: 0
}

.block-highlighted-post.bgyellow {
    background-color: #ffffbeff;
    padding: 10px;
    padding-right: 0
}

.block-highlighted-post.bgyellow h2.wp-block-heading {
    line-height: 40px
}

.block-highlighted-post.bgyellow h4.wp-block-heading {
    font-size: 22px;
    border-top: 1px solid #000;
    width: 95%;
    margin-top: 20px;
    padding-top: 10px;
    margin-bottom: 10px
}

.block-highlighted-post.bgyellow p {
    width: 90%;
    display: block;
    margin-top: 10px
}

.block-highlighted-post.bgyellow .wrap-thumbnail img {
    margin-top: 20px
}

/* Uniforma i due blocchi "In Evidenza" affiancati */
.wp-block-group.is-layout-flex:has(> .block-highlighted-post) {
    align-items: stretch !important;
}

.wp-block-group.is-layout-flex>.block-highlighted-post {
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.wp-block-group.is-layout-flex>.block-highlighted-post:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.block-highlighted-post .highlighted-post-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none !important;
    color: inherit !important;
}

.block-highlighted-post .highlighted-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.block-highlighted-post .wrap-thumbnail {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-top: auto;
    overflow: hidden;
}

.block-highlighted-post .wrap-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left bottom;
    display: block;
}

.block-highlighted-post .posts {
    flex: 1;
}

@media (max-width:860px) {
    .block-highlighted-post.bggray {
        padding-left: 10px
    }

    .block-highlighted-post.bgyellow {
        padding-right: 10px
    }

    .block-highlighted-post .box-title {
        position: relative
    }

    .block-highlighted-post .box-title:after {
        content: "*";
        width: 45px;
        height: 100%;
        display: block;
        position: absolute;
        right: 0;
        top: -9px;
        line-height: 60px;
        box-sizing: content-box;
        font-size: 40px
    }

    .block-highlighted-post.bgyellow h2.wp-block-heading {
        line-height: 30px;
        font-size: 30px
    }

    .block-highlighted-post.bgyellow h4.wp-block-heading,
    .block-highlighted-post.bgyellow p {
        width: 100%
    }
}

@media (max-width:400px) {
    .block-highlighted-post .box-title:after {
        content: ""
    }
}

.section_colection {
    background-color: #d0d2d3ff
}

.section_colection .box-title {
    margin: 0 15px;
    position: relative
}

.section_colection .box-title .title:after {
    content: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' viewBox='0 0 435 306' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cg transform='matrix(4.16667,0,0,4.16667,-8992.25,-12271.1)'%3E%3Cpath d='M2218.85,2981.66L2252.17,2981.66L2201.18,3006.77L2218.85,2981.66ZM2158.14,2977.63L2158.14,2985.44L2210.9,2983.8L2188.18,3018.13L2188.31,3018.26L2262.52,2981.66L2262.52,2981.41L2188.31,2945.06L2188.05,2945.19L2210.9,2979.52L2158.14,2977.63Z' style='fill:rgb(34,30,31);fill-rule:nonzero;'/%3E%3C/g%3E%3C/svg%3E");
    width: 45px;
    height: 100%;
    display: block;
    position: absolute;
    right: 10px;
    top: 0;
    line-height: 64px;
    padding-left: 10px;
    box-sizing: content-box;
    border-left: 1px solid #000
}

.section_colection .box-title .title:before {
    content: "*";
    width: 45px;
    height: 100%;
    display: block;
    position: absolute;
    left: 10px;
    top: 0;
    line-height: 64px;
    padding-right: 10px;
    box-sizing: content-box;
    border-right: 1px solid #000;
    font-size: 60px
}

.section_colection .horizontal-menu {
    padding-bottom: 30px
}

@media (max-width:860px) {
    .section_colection .box-title .title:before {
        display: none
    }

    .box-title .title:after {
        right: 0;
        padding-left: 0;
        border-left: none
    }

    .section_colection .link-title {
        display: block;
        font-size: 20px;
        margin-top: 15px
    }
}

/* ==========================================
   Artwork Grid â€“ Gallery Card Layout
   ========================================== */
.grid-column-artwork .artwork-info {
    margin: 0;
    padding: 14px 16px 16px;
}

.grid-column-artwork .artwork-info .artwork-info-url {
    text-decoration: none;
    color: inherit;
}

.grid-column-artwork .artwork-title {
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    font-size: 20px;
    line-height: 1.25;
    margin: 0;
    display: block;
    color: #1a1a1a;
}

.grid-column-artwork .artwork-author {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    margin: 6px 0 0;
    color: #6b6b6b;
    font-style: italic;
}

.grid-column-artwork .grid-sizer {
    width: 33.3333%
}

.grid-column-artwork .grid-item {
    width: 33.3333%;
    padding: 10px;
    margin-bottom: 10px;
}

.grid-column-artwork .grid-item.artwork {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    background: #fff;
    border: 1px solid #e0ddd8;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.grid-column-artwork .grid-item.artwork:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Uniform image container */
.grid-column-artwork .image-wrap {
    margin: 0;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f2f0ed;
}

.grid-column-artwork .image-wrap img {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.grid-column-artwork .grid-item.artwork:hover .image-wrap img {
    transform: scale(1.04);
}

/* Hide decorative separators inside cards */
.grid-column-artwork .doobleline,
.grid-column-artwork .line {
    display: none;
}

@media (max-width: 980px) {
    .grid-column-artwork .grid-item {
        width: 50%;
    }
}

@media (max-width: 640px) {
    .grid-column-artwork .grid-item {
        width: 100%;
        padding: 0;
        margin-top: 10px;
    }
}

.century-artwork span {
    font-family: 'DeAetna PNB', Fallback, sans-serif !important
}

.acc-container {
    width: 100%
}

.acc-container .open-acc-button {
    cursor: pointer
}

.acc-container .open-acc-button .accordion-tit-wrap {
    display: flex;
    width: 100%;
    align-items: center
}

.acc-container .open-acc-button .accordion-tit-wrap h4,
.acc-container .open-acc-button .accordion-tit-wrap h5 {
    flex-grow: 1;
    padding-right: 50px
}

.acc-container .desk-acc-descs {
    padding: 20px
}

.acc-container.acc-closed {
    display: block
}

.acc-container.acc-closed .desk-acc-descs {
    display: none
}

.acc-container.acc-open {
    display: flex;
    flex-direction: column;
    /* Stacked layout by default for mobile */
    gap: 20px;
    background-color: #FBF8FA;
}

@media (min-width: 900px) {
    .acc-container.acc-open {
        flex-direction: row;
        /* Side-by-side for desktop */
        align-items: flex-start;
        /* Ensure items align at top */
    }
}

.acc-container.acc-open .desk-acc-descs {
    flex-basis: 100%;
    /* Full width on mobile
    border-top: 1px solid black;*/
    padding: 20px;
}

@media (min-width: 900px) {
    .acc-container.acc-open .desk-acc-descs {
        flex-basis: 50%;
        /* Half width on desktop */
        position: sticky;
        /* Make the description area sticky so it stays visible while scrolling the menu */
        top: 120px;
    }
}

.acc-container ul {

    flex-basis: 100%;
}

@media (min-width: 900px) {
    .acc-container ul {
        flex-basis: 50%;
    }
}

.acc-container ul li {
    padding: 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.acc-container ul li.open {
    background-color: #eae1e6;
}

/* The HTML starts with class="mb-acc-desc hidden".
   JS toggles the "hidden" class. We do NOT add display:none here
   because that would fight the JS toggle. Instead we just style
   the visible state. */
.acc-container ul li div.mb-acc-desc {
    padding-top: 15px;
}

/* On mobile (acc-closed mode), show desc inline when JS removes "hidden" */
@media (max-width: 899px) {
    .acc-container .desk-acc-descs {
        display: none !important;
        /* Always hide the detached desktop panel on mobile */
    }

    .acc-container ul li {
        flex-direction: column;
        align-items: flex-start;
    }
}

.acc-container ul li:before {
    content: "" !important;
}

.acc-container ul li:hover .arrow {
    display: block;
}

.otgs-development-site-front-end a {
    color: white
}

.otgs-development-site-front-end .icon {
    background: none;
    width: 20px;
    height: 20px;
    display: inline-block;
    position: absolute;
    margin-left: -23px
}

/* .otgs-development-site-front-end: hidden via display:none (line 20) â€” styles removed */

#bandi-di-gara-search {
    max-width: 1000px;
    margin: 20px auto
}

.cLayout10 .prev div:first-child {
    transform: translateY(-7px) rotate(-45deg)
}

.cLayout10 .prev div:last-child {
    transform: translateY(8px) rotate(45deg)
}

.cLayout10 .next div:first-child {
    transform: translateY(-7px) rotate(45deg)
}

.cLayout10 .next div:last-child {
    transform: translateY(8px) rotate(-45deg)
}

.slider-bandi-avvisi {
    color: black
}

.slider-bandi-avvisi .slick-slide {
    margin-right: 20px
}

.slider-bandi-avvisi .tipologia {
    background: #0c6596;
    color: #FFFFFF;
    font-size: .85em;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    margin: 10px 0px 5px 0px
}

.slider-bandi-avvisi .card {
    box-shadow: 5px 6px 5px 0 #b3b3b3;
    border-radius: 5px
}

.slider-bandi-avvisi .card .pub_date {
    display: inline-block;
    margin: 0px;
    font-size: .8em;
    font-weight: 700
}

.slider-bandi-avvisi .card .card-title {
    color: #0c6596
}

.pagination a {
    border-radius: 100%;
    padding: 5px 10px;
    color: white;
    text-decoration: none;
    border: 1px solid gray;
    background-color: #06C;
    line-height: 18px;
    height: 30px;
    width: 30px
}

.pagination span {
    border-radius: 100%;
    padding: 5px 10px;
    color: black;
    border: 1px solid white;
    background-color: rgba(0, 102, 204, 0.49);
    line-height: 18px;
    height: 30px;
    width: 30px
}

.pagination .page-numbers {
    margin-right: 10px
}

.pagination .next.page-numbers {
    margin-right: 0px
}

#results-table table {
    margin: 0 auto
}

#results-table table tr {
    max-width: 220px
}

#results-table table thead {
    background: #0c6596;
    border: 1px solid #DDDDDD
}

#results-table table thead th {
    padding: 15px 10px;
    border: 1px solid black;
    border-color: black
}

#results-table table tbody td {
    color: black;
    padding: 15px 10px;
    border: 1px solid black;
    border-color: black
}

#results-table table tbody td:first-child {
    color: #0c6596
}

.form-contatti-wrapper,
.booking-popup {
    width: 100%;
    padding: 15px 20px
}

.form-contatti-wrapper p,
.booking-popup p {
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    font-size: 20px;
    margin-bottom: 10px
}

.form-contatti-wrapper p::before,
.booking-popup p::before {
    content: "* "
}

.form-contatti-wrapper .form-row,
.booking-popup .form-row {
    border-bottom: 1px solid black;
    position: relative;
    height: 60px;
    padding: 15px 0px 15px 0px;
    height: max-content
}

.form-contatti-wrapper .form-row textarea,
.booking-popup .form-row textarea {
    border: 1px solid black;
    padding: 10px 20px
}

.form-contatti-wrapper .form-row input,
.booking-popup .form-row input,
.form-contatti-wrapper .form-row textarea,
.booking-popup .form-row textarea {
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    width: 100%;
    background: transparent;
    line-height: 40px;
    font-size: 40px
}

.form-contatti-wrapper .form-row input:focus+label,
.booking-popup .form-row input:focus+label,
.form-contatti-wrapper .form-row textarea:focus+label,
.booking-popup .form-row textarea:focus+label {
    display: none
}

.form-contatti-wrapper .form-row input[value]:not([value=""])+label,
.booking-popup .form-row input[value]:not([value=""])+label,
.form-contatti-wrapper .form-row textarea[value]:not([value=""])+label,
.booking-popup .form-row textarea[value]:not([value=""])+label {
    display: none
}

.form-contatti-wrapper .form-row:has([required]):after,
.booking-popup .form-row:has([required]):after {
    content: "*";
    position: absolute;
    top: 15px;
    right: 0;
    width: 40px;
    height: 40px;
    font-size: 40px;
    font-family: 'DeAetna PNB', Fallback, sans-serif
}

.form-contatti-wrapper .form-row label,
.booking-popup .form-row label {
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    text-transform: uppercase;
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 40px
}

.form-contatti-wrapper .form-row label:has(+ textarea),
.booking-popup .form-row label:has(+ textarea) {
    position: static
}

.form-contatti-wrapper .form-row:last-child,
.booking-popup .form-row:last-child {
    border: none
}

.booking-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0
}

.booking-popup .booking-popup-content {
    border: 1px solid black;
    background-color: #F2F1E7;
    position: relative;
    max-width: 500px;
    padding: 20px;
    display: block;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%)
}

.booking-popup .booking-popup-content .booking-result p.sucess {
    color: green
}

.booking-popup .booking-popup-content .booking-result p.error {
    color: red
}

.booking-popup .booking-popup-content .close_booking_button {
    position: absolute;
    top: 20px;
    right: 20px
}

.os-custom-calendar .calendar-header {
    display: flex;
    justify-content: space-between
}

.os-custom-calendar .calendar-header .calendar-navigation a {
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    font-size: 40px
}

.os-custom-calendar .calendar-content {
    border-left: 1px solid black;
    border-top: 1px solid black
}

.os-custom-calendar .calendar-content .calendar-day {
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    background: white;
    min-height: 100px;
    min-width: 100px;
    position: relative
}

.os-custom-calendar .calendar-content .calendar-day span.day-number {
    position: absolute;
    top: 5px;
    left: 5px
}

.os-custom-calendar .calendar-content .calendar-day .calendar-event {
    width: 100%;
    height: 100%;
    padding: 20px
}

.booking-delete-info .info p span {
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    font-weight: bolder;
    font-size: 30px
}

.x2blocks {
    justify-content: normal
}

.x2blocks .wp-block-group p {
    margin-top: 10px;
    display: block
}

body a {
    text-decoration: underline !important
}

#wrap-masthead a {
    text-decoration: none !important
}

.layout1 .subtitle {
    padding-top: 0
}

.layout1 .wp-block-media-text {
    padding: 0 20px
}

.layout1 .main-event-block {
    padding: 0
}

.layout1 .border {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    border-left: none;
    border-right: none
}

.layout2 .cLayout2 .post,
.layout2 .cLayout2 .wrp_notice {
    padding: 15px 0px;
    border-bottom: 1px solid #000;
    display: flex;
    flex-wrap: wrap;
    align-items: center
}

.layout2 .cLayout2 .post .post-title a span,
.layout2 .cLayout2 .wrp_notice .post-title a span {
    font-size: 25px
}

.layout2 .cLayout2 .post .title,
.layout2 .cLayout2 .wrp_notice .title {
    font-size: 25px
}

.layout2 .cLayout2 .post .post-excerpt,
.layout2 .cLayout2 .wrp_notice .post-excerpt,
.layout2 .cLayout2 .post .notice_text,
.layout2 .cLayout2 .wrp_notice .notice_text {
    margin-top: 10px
}

.layout2 .cLayout2 .post:first-child,
.layout2 .cLayout2 .wrp_notice:first-child {
    margin-top: 0;
    border-top: 1px solid #000
}

.layout2 .cLayout2 .list-post-event {
    position: relative;
    margin-bottom: 60px
}

.layout2 .cLayout2 .page-numbers {
    display: none
}

.layout2 .cLayout2 .prev.page-numbers {
    display: block;
    font-size: 0;
    position: absolute;
    left: 20px;
    bottom: -40px
}

.layout2 .cLayout2 .next.page-numbers {
    display: block;
    font-size: 0;
    position: absolute;
    right: 20px;
    bottom: -40px
}

.layout2 .cLayout2 .next.page-numbers:before {
    content: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' viewBox='0 0 435 306' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cg transform='matrix(4.16667,0,0,4.16667,-8992.25,-12271.1)'%3E%3Cpath d='M2218.85,2981.66L2252.17,2981.66L2201.18,3006.77L2218.85,2981.66ZM2158.14,2977.63L2158.14,2985.44L2210.9,2983.8L2188.18,3018.13L2188.31,3018.26L2262.52,2981.66L2262.52,2981.41L2188.31,2945.06L2188.05,2945.19L2210.9,2979.52L2158.14,2977.63Z' style='fill:rgb(34,30,31);fill-rule:nonzero;'/%3E%3C/g%3E%3C/svg%3E") !important;
    width: 40px;
    height: 30px;
    display: block
}

.layout2 .cLayout2 .prev.page-numbers:before {
    content: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' viewBox='0 0 435 305' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cg transform='matrix(4.16667,0,0,4.16667,-5305.92,-6474.33)'%3E%3Cpath d='M1317.08,1590.43L1283.76,1590.43L1334.75,1565.32L1317.08,1590.43ZM1377.79,1594.47L1377.79,1586.65L1325.04,1588.29L1347.75,1553.96L1347.63,1553.84L1273.42,1590.43L1273.42,1590.69L1347.63,1627.03L1347.88,1626.91L1325.04,1592.57L1377.79,1594.47Z' style='fill:rgb(34,30,31);fill-rule:nonzero;'/%3E%3C/g%3E%3C/svg%3E") !important;
    width: 40px;
    height: 30px;
    display: block
}

/* Archivio Mostre (layout2): cards with image + date */
.layout2 .cLayout2 .list-post-event {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.layout2 .cLayout2 .list-post-event .post {
    padding: 0;
    border: 1px solid #000;
    background: #fff;
    display: block;
    overflow: hidden;
}

.layout2 .cLayout2 .list-post-event .post:first-child {
    border-top: 1px solid #000;
}

.layout2 .cLayout2 .list-post-event .post .post-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8e8e8;
}

.layout2 .cLayout2 .list-post-event .post .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.layout2 .cLayout2 .list-post-event .post .post-title,
.layout2 .cLayout2 .list-post-event .post .post-date,
.layout2 .cLayout2 .list-post-event .post .post-excerpt {
    padding-left: 20px;
    padding-right: 20px;
}

.layout2 .cLayout2 .list-post-event .post .post-title {
    margin: 14px 0 0;
}

.layout2 .cLayout2 .list-post-event .post .post-title .post-title-link span {
    font-size: 36px;
    line-height: 0.95;
    display: inline-block;
}

.layout2 .cLayout2 .list-post-event .post .post-date {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .8;
}

.layout2 .cLayout2 .list-post-event .post .post-excerpt {
    margin-top: 10px !important;
    margin-bottom: 20px;
    font-size: 19px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 860px) {
    .layout2 .cLayout2 .list-post-event {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .layout2 .cLayout2 .list-post-event .post .post-title .post-title-link span {
        font-size: 30px;
    }

    .layout2 .cLayout2 .list-post-event .post .post-excerpt {
        font-size: 17px;
    }
}

/* News custom class: one news item per row (image left, content right) */
.layout2 .cLayout2 .list-post-post.newscategoria {
    display: block;
    margin-bottom: 80px;
}

.layout2 .cLayout2 .list-post-post.newscategoria .news-sort-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin: 0 0 16px;
}

.layout2 .cLayout2 .list-post-post.newscategoria .news-sort-form label {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.layout2 .cLayout2 .list-post-post.newscategoria .news-sort-form select {
    min-width: 240px;
    padding: 8px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    line-height: 1.2;
}

.layout2 .cLayout2 .list-post-post.newscategoria .news-sort-form button {
    padding: 8px 12px;
    border: 1px solid #d0d0d0;
    background: #fff;
    border-radius: 4px;
    font-size: 14px;
}

.layout2 .cLayout2 .list-post-post.newscategoria .post {
    margin-bottom: 28px;
    padding: 0;
    border: 1px solid #e6e6e6;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
    overflow: hidden;
    transform: translateZ(0);
    transition: transform .22s ease, box-shadow .22s ease;
}

.layout2 .cLayout2 .list-post-post.newscategoria .post:hover {
    transform: translateY(-3px) scale(1.003);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .12), 0 4px 10px rgba(0, 0, 0, .08);
}

.layout2 .cLayout2 .list-post-post.newscategoria .post .post-link-wrap {
    display: grid;
    grid-template-columns: 320px 1fr;
    grid-template-areas: "thumb content";
    gap: 0;
    align-items: stretch;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none !important;
}

.layout2 .cLayout2 .list-post-post.newscategoria .post .post-content {
    grid-area: content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 14px 28px 14px;
}

.layout2 .cLayout2 .list-post-post.newscategoria .post .post-thumb-link {
    grid-area: thumb;
    align-self: start;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.layout2 .cLayout2 .list-post-post.newscategoria .post .post-thumb {
    height: 100%;
    min-height: 220px;
    aspect-ratio: auto;
    overflow: hidden;
    background: #e8e8e8;
}

.layout2 .cLayout2 .list-post-post.newscategoria .post .post-thumb.no-image {
    background: #efefef;
    position: relative;
}

.layout2 .cLayout2 .list-post-post.newscategoria .post .post-thumb.no-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .03), rgba(0, 0, 0, .07));
}

.layout2 .cLayout2 .list-post-post.newscategoria .post .post-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

.layout2 .cLayout2 .list-post-post.newscategoria .post .post-title,
.layout2 .cLayout2 .list-post-post.newscategoria .post .post-date,
.layout2 .cLayout2 .list-post-post.newscategoria .post .post-excerpt {
    align-self: start;
}

.layout2 .cLayout2 .list-post-post.newscategoria .post .post-title {
    margin-top: 0;
    margin-bottom: 0;
}

.layout2 .cLayout2 .list-post-post.newscategoria .post .post-title .post-title-link span {
    font-size: clamp(26px, 1.9vw, 34px);
    line-height: 1.02;
    display: block;
}

.layout2 .cLayout2 .list-post-post.newscategoria .post .post-date {
    font-size: clamp(16px, 1.2vw, 21px);
    line-height: 1.25;
    margin-top: 2px;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0;
    opacity: 1;
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.layout2 .cLayout2 .list-post-post.newscategoria .post .post-date .post-date-label {
    font-size: .72em;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .75;
}

.layout2 .cLayout2 .list-post-post.newscategoria .post .post-date time {
    font-size: .95em;
    font-weight: 600;
}

.layout2 .cLayout2 .list-post-post.newscategoria .post .post-excerpt {
    font-size: clamp(16px, 1.05vw, 20px);
    line-height: 1.35;
    margin-top: 18px !important;
    margin-bottom: 14px;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

@media (max-width: 1200px) {
    .layout2 .cLayout2 .list-post-post.newscategoria .post .post-link-wrap {
        grid-template-columns: 280px 1fr;
    }

    .layout2 .cLayout2 .list-post-post.newscategoria .post .post-title .post-title-link span {
        font-size: 28px;
    }

    .layout2 .cLayout2 .list-post-post.newscategoria .post .post-date {
        font-size: 18px;
    }

    .layout2 .cLayout2 .list-post-post.newscategoria .post .post-excerpt {
        font-size: 17px;
    }
}

@media (max-width: 860px) {
    .layout2 .cLayout2 .list-post-post.newscategoria .post .post-link-wrap {
        grid-template-columns: 1fr;
        grid-template-areas:
            "thumb"
            "content";
    }

    .layout2 .cLayout2 .list-post-post.newscategoria .post .post-thumb {
        min-height: 220px;
    }

    .layout2 .cLayout2 .list-post-post.newscategoria .post .post-content {
        padding: 12px 16px 14px;
    }

    .layout2 .cLayout2 .list-post-post.newscategoria .post .post-title .post-title-link span {
        font-size: 30px;
    }

    .layout2 .cLayout2 .list-post-post.newscategoria .post .post-date,
    .layout2 .cLayout2 .list-post-post.newscategoria .post .post-excerpt {
        font-size: 18px;
    }
}

.layout3 .cLayout3 {
    margin-top: 15px
}

.layout3 .cLayout3 .border {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000
}

.layout3 .cLayout3 .message {
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    font-size: 40px;
    color: #000;
    padding-left: 20px
}

.layout4 .navigation-topbar {
    display: none
}

.layout4 .wp-block-image img,
.layout4 .wp-block-image.has-custom-border img {
    display: block;
    width: 100%
}

.layout4 .pagination-footer {
    margin-top: 50px;
    height: 30px
}

.layout4 .pagination-footer .pagination-url.prev-url:before {
    width: 40px;
    height: 30px;
    display: block;
    content: '\2190' !important;
    color: #000;
    font-size: 35px !important;
    font-family: system-ui !important;
    font-weight: lighter !important;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 30px
}

.layout4 .pagination-footer .pagination-url.next-url:before {
    width: 40px;
    height: 30px;
    display: block;
    content: '\2192' !important;
    color: #000;
    font-size: 35px !important;
    font-family: system-ui !important;
    font-weight: lighter !important;
    position: absolute;
    right: 0;
    top: 0;
    line-height: 30px
}

.layout6 .border.date {
    margin: 0;
    padding: 20px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    border-left: none;
    border-right: none;
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 16px
}

.layout6 .wrap-event {
    display: flex
}

.layout6 .image_event {
    width: 50%
}

.layout6 .entry-content.prose {
    width: 100%
}

/* Single event visual polish */
.single-event .b_crumb {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
}

.single-event #primary.layout6 {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
}

.single-artwork #primary.layout5 {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
}

.single-event #primary.layout6>article>.maintitle {
    width: 100%;
    margin: 0 0 16px;
    padding: 24px 20px 20px 16px;
    background: #fff;
    border-left: 4px solid #000000;
    box-sizing: border-box;
    font-size: clamp(56px, 6.1vw, 96px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    position: relative;
    padding-right: 150px;
}

.single-event #primary.layout6>article>.maintitle .hero-share-btn {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #000;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: underline;
}

.single-event #primary.layout6>article>.maintitle .hero-share-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex: 0 0 16px;
}

.single-event #primary.layout6>article>.maintitle .hero-share-btn:hover {
    color: #000;
}

.single-event #primary.layout6>article>.subtitle {
    width: 100%;
    margin: 0;
    padding: 0 0 14px;
    border-bottom: 1px solid #c9ccd2;
    font-size: clamp(24px, 3.2vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.single-event #primary.layout6>article>.wrap-event {
    width: 100%;
    margin: 16px 0 0;
    gap: 28px;
    align-items: flex-start;
}

.single-event #primary.layout6>article>.wrap-event>.entry-content.prose {
    border-left: none;
    padding-left: 0;
    padding-right: 0;
}

.single-event #primary.layout6>article>.wrap-event>.entry-content.prose>* {
    padding-left: 0;
    padding-right: 0;
}

.single-event #primary.layout6>article>.wrap-event>.entry-content.prose>.wp-block-columns {
    padding: 0;
    margin: 0;
    gap: 26px;
}

.single-event #primary.layout6>article>.wrap-event>.entry-content.prose>.wp-block-columns p {
    line-height: 1.5;
}

.single-event #primary.layout6>article>.wrap-event>.entry-content.prose>.wp-block-columns+figure.wp-block-image {
    margin-top: 18px;
    border-radius: 4px;
    overflow: hidden;
}

.single-event #primary.layout6>article>.wrap-event>.entry-content.prose>.wp-block-columns+figure.wp-block-image img {
    display: block;
}

/* CIELI IN CORNICE - graphical polish */
.postid-11737 .layout6 .entry-content.prose>h2.wp-block-heading {
    margin: 0 0 16px;
    padding: 10px 24px 18px;
    border: 1px solid #dfe3e8;
    border-top: none;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(180deg, #f8f9fb 0%, #f3f5f7 100%);
    color: #24364a;
    font-size: clamp(30px, 3vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.01em;
}

.postid-11737 .single-event #primary.layout6>article>.maintitle {
    margin-top: 10px;
    padding: 18px 24px 8px;
    border: 1px solid #dfe3e8;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #f8f9fb 0%, #f3f5f7 100%);
}

.postid-11737 .single-event #primary.layout6>article>.wrap-event {
    margin-top: 0;
}

.postid-11737 .layout6 .entry-content.prose>.wp-block-columns:first-of-type {
    background: #fff;
    border: 1px solid #d7d9de;
    border-radius: 6px;
    padding: 18px !important;
    box-shadow: 0 6px 18px rgba(18, 27, 38, 0.05);
}

.postid-11737 .layout6 .entry-content.prose>.wp-block-columns:first-of-type>.wp-block-column p {
    margin: 0 0 14px;
    line-height: 1.52;
}

.postid-11737 .layout6 .entry-content.prose>.wp-block-columns:first-of-type>.wp-block-column p:nth-of-type(2) {
    background: #f7f9fc;
    border-left: 3px solid #8e98a6;
    padding: 12px 14px;
    border-radius: 2px;
}

.postid-11737 .layout6 .entry-content.prose>.wp-block-columns:first-of-type .wp-block-buttons {
    margin-top: 8px;
    justify-content: flex-end !important;
}

.postid-11737 .layout6 .entry-content.prose>.wp-block-columns:first-of-type .wp-block-button__link {
    border-radius: 3px !important;
    padding: 12px 22px !important;
    letter-spacing: .7px;
}

.postid-11737 .layout6 .entry-content.prose>figure.wp-block-image.alignfull {
    margin-top: 18px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #d7d9de;
}

@media (max-width: 992px) {

    .single-event .b_crumb,
    .single-event #primary.layout6 {
        width: calc(100% - 32px);
    }

    .single-artwork #primary.layout5 {
        width: calc(100% - 32px);
    }

    .single-event #primary.layout6>article>.wrap-event {
        gap: 16px;
    }

    .single-event #primary.layout6>article>.wrap-event>.entry-content.prose {
        border-left: none;
        padding-left: 0;
    }

    .single-event #primary.layout6>article>.maintitle {
        font-size: clamp(42px, 11.5vw, 72px);
        padding-right: 20px;
    }

    .single-event #primary.layout6>article>.subtitle {
        font-size: clamp(20px, 7vw, 36px);
    }

    .postid-11737 .layout6 .entry-content.prose>h2.wp-block-heading {
        font-size: clamp(24px, 8vw, 34px);
    }

    .postid-11737 .layout6 .entry-content.prose>.wp-block-columns:first-of-type {
        padding: 14px !important;
    }
}

.layout6 .entry-content.prose.media {
    width: 50%
}

/* Event sub-items (wrps-event) visual refresh */
.layout6 .entry-content.prose .wrps-event {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.layout6 .entry-content.prose .wrps-event>.wrap-event {
    margin: 0 !important;
    padding: 18px 18px 16px !important;
    border: 1px solid #d7d9de !important;
    border-left: 4px solid #000000 !important;
    border-top: 1px solid #d7d9de !important;
    /*border-radius: 6px;*/
    background: #fff;
    box-shadow: 0 4px 14px rgba(18, 27, 38, 0.06);
    align-items: flex-start;
    gap: 26px;
}

.layout6 .entry-content.prose .wrps-event>.wrap-event .block_items_2 {
    margin-top: 0 !important;
}

.layout6 .entry-content.prose .wrps-event>.wrap-event h4 {
    margin: 0 0 10px;
    font-size: clamp(30px, 2.1vw, 40px) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.01em;
}

.layout6 .entry-content.prose .wrps-event>.wrap-event .data-time,
.layout6 .entry-content.prose .wrps-event>.wrap-event .location {
    margin-top: 12px !important;
}

.layout6 .entry-content.prose .wrps-event>.wrap-event .data-time p,
.layout6 .entry-content.prose .wrps-event>.wrap-event .location p,
.layout6 .entry-content.prose .wrps-event>.wrap-event .location h5 {
    margin: 0;
    line-height: 1.36;
}

.layout6 .entry-content.prose .wrps-event>.wrap-event .location h5 {
    margin-top: 2px;
    font-size: clamp(20px, 1.45vw, 28px) !important;
    line-height: 1.15 !important;
}

.layout6 .entry-content.prose .wrps-event>.wrap-event .wrap-event-descriptions p {
    margin: 0 0 10px 0;
    line-height: 1.5;
    color: #1f2c3a;
}

.layout6 .entry-content.prose .wrps-event>.wrap-event .wrap-event-descriptions p:last-child {
    margin-bottom: 0;
}

.layout6 .entry-content.prose .wrps-event>.wrap-event .wrap-event-descriptions strong,
.layout6 .entry-content.prose .wrps-event>.wrap-event .wrap-event-descriptions b {
    font-weight: 700;
    color: #0b1520;
}

.layout6 .entry-content.prose .wrps-event>.wrap-event .wrap-event-descriptions em,
.layout6 .entry-content.prose .wrps-event>.wrap-event .wrap-event-descriptions i {
    font-style: italic;
}

.layout6 .entry-content.prose .wrps-event>.wrap-event .wrap-event-descriptions a {
    color: #8c1d40;
    text-decoration: underline;
}

.layout6 .entry-content.prose .wrps-event>.wrap-event .cta-wrap {
    margin-top: 14px;
    justify-content: flex-end !important;
    gap: 12px;
}

.layout6 .entry-content.prose .wrps-event>.wrap-event .cta-wrap .bottone {
    margin-top: 0;
    padding: 11px 24px !important;
    border-radius: 3px !important;
    letter-spacing: .7px;
}

@media (max-width: 900px) {
    .layout6 .entry-content.prose .wrps-event>.wrap-event {
        gap: 14px;
        padding: 14px 14px 13px !important;
    }

    .layout6 .entry-content.prose .wrps-event>.wrap-event h4 {
        font-size: clamp(24px, 7vw, 34px) !important;
    }

    .layout6 .entry-content.prose .wrps-event>.wrap-event .location h5 {
        font-size: clamp(18px, 5.7vw, 24px) !important;
    }
}

@media (max-width:640px) {
    .layout6 .wrap-event {
        display: block
    }

    .layout6 .image_event,
    .layout6 .entry-content.prose {
        width: 100%
    }
}

.block-events.no-events {
    width: 100%
}

.block-events.no-events h3:before {
    content: none
}

.block-events .event-image {
    margin-bottom: 20px;
    width: 100%
}

.block-events .event-image img {
    /* object-fit: cover; */
    /* max-height: 60vh; */
    width: 100%;
    height: auto
}

/* Mostre page has 2 sliders with different behavior */
/* 1) MOSTRE IN PROGRAMMA: fixed landscape card, full image visible and width-filling */
.page-template-theme_layout8 .block-events.mostreprogramma.slider_image.with-image .event-image {
    aspect-ratio: 2 / 1;
    height: auto;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-template-theme_layout8 .block-events.mostreprogramma.slider_image.with-image .event-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* 2) ARCHIVIO MOSTRE: all cards same size, crop allowed */
.page-template-theme_layout8 .block-events.slider_image.with-image:not(.mostreprogramma) .event-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.page-template-theme_layout8 .block-events.slider_image.with-image:not(.mostreprogramma) .event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* tighter spacing for both sliders */
.page-template-theme_layout8 .block-events.slider_image.with-image .events .slick-slide {
    padding: 2px;
}

.block-events.with-image {
    background-color: #d0d2d3ff;
    padding-top: 10px
}

.layout9 .subtitle {
    padding-top: 0
}

.layout9 .border {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    border-left: none;
    border-right: none
}

.layout9 .block-events-category .title {
    text-align: left
}

/* /servizi-educativi/attivita-per-le-scuole - cleanup */
.page-template-theme_layout9 #primary.layout9 {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
}

/* Il titolo layout9 eredita la barra dorata da .page .maintitle (piÃ¹ avanti nel file) */
.layout9 .maintitle {
    width: 100%;
    margin: 0;
}

.layout9 .entry-content.cLayout9 {
    padding-top: 12px;
}

.layout9 .entry-content.cLayout9 .tipo-di-testo {
    padding-top: 8px !important;
    margin-bottom: 8px;
}

.layout9 .entry-content.cLayout9 .testo-pnb-wrap p {
    max-width: 120ch;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 12px;
}

.layout9 .entry-content.cLayout9 .testo-pnb-wrap p:last-child {
    margin-bottom: 0;
}

.layout9 .entry-content.cLayout9 .horizontal-menu {
    margin-top: 30px;
    align-items: flex-start;
    gap: 40px;
}

.layout9 .entry-content.cLayout9 .horizontal-menu>.block_items_2:first-child {
    width: 38%;
    flex-shrink: 0;
}

.layout9 .entry-content.cLayout9 .horizontal-menu>.block_items_2:last-child {
    width: calc(62% - 40px);
    flex: 1;
}

.layout9 .entry-content.cLayout9 .horizontal-menu>.block_items_2:first-child img {
    width: 100% !important;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Lista attivitÃ  scolastiche â€” stile minimal coerente con il tema */
.layout9 .block-events-category {
    border: none;
    border-top: 1px solid #000;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.layout9 .block-events-category .menu-item {
    padding: 18px 0 !important;
    border-top: none;
    border-bottom: 1px solid #000;
    transition: background-color 0.15s ease;
    background: transparent;
}

.layout9 .block-events-category .menu-item:first-child {
    border-top: none;
}

.layout9 .block-events-category .menu-item h5 {
    margin: 0;
    font-size: 20px !important;
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.1 !important;
    letter-spacing: 0.02em;
    color: #000;
}

.layout9 .block-events-category .menu-item p {
    margin-top: 6px !important;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 15px;
    color: #333;
    font-family: 'Inter', sans-serif;
}

.layout9 .block-events-category .menu-item .link-service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    color: #000;
}

.layout9 .block-events-category .menu-item .link-service::after {
    content: "\2192";
    font-size: 18px;
    line-height: 1;
    color: #000;
    opacity: 0.35;
    transition: transform 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
}

.layout9 .block-events-category .menu-item:hover {
    background: transparent;
    transform: none;
}

.layout9 .block-events-category .menu-item:hover .link-service::after {
    opacity: 1;
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .page-template-theme_layout9 #primary.layout9 {
        width: calc(100% - 32px);
    }

    .layout9 .entry-content.cLayout9 .horizontal-menu {
        gap: 12px;
    }

    .layout9 .entry-content.cLayout9 .horizontal-menu>.block_items_2:first-child,
    .layout9 .entry-content.cLayout9 .horizontal-menu>.block_items_2:last-child {
        width: 100%;
    }
}

.page-template-theme_layout10 a,
.bando-template-default a {
    text-decoration: none
}

.page-template-theme_layout10 #masthead,
.bando-template-default #masthead {
    max-width: 100%
}

.page-template-theme_layout10 #masthead .pnb-action,
.bando-template-default #masthead .pnb-action {
    display: none
}

.page-template-theme_layout10 #masthead #site-navigation,
.bando-template-default #masthead #site-navigation {
    display: none
}

.page-template-theme_layout10 #page,
.bando-template-default #page {
    background-color: #ffffff;
    color: black
}

.page-template-theme_layout10 #masthead,
.bando-template-default #masthead {
    background-color: #0066CC;
    color: #fff
}

.page-template-theme_layout10 .pnb-action a,
.bando-template-default .pnb-action a,
.page-template-theme_layout10 .dLogo a,
.bando-template-default .dLogo a,
.page-template-theme_layout10 .mLogo a span,
.bando-template-default .mLogo a span,
.page-template-theme_layout10 .dLogo p,
.bando-template-default .dLogo p,
.page-template-theme_layout10 .mLogo a,
.bando-template-default .mLogo a {
    color: #fff !important
}

.page-template-theme_layout10 .gliph svg g path,
.bando-template-default .gliph svg g path {
    fill: #fff !important
}

.page-template-theme_layout10 #mobile_menu_burgher>div,
.bando-template-default #mobile_menu_burgher>div {
    background-color: #fff !important
}

.page-template-theme_layout10 .nav-menu .sub-menu,
.bando-template-default .nav-menu .sub-menu,
.page-template-theme_layout10 .nav-menu .children,
.bando-template-default .nav-menu .children,
.page-template-theme_layout10 #site-navigation .nav-menu,
.bando-template-default #site-navigation .nav-menu {
    background-color: #0066CC
}

.page-template-theme_layout10 .nav-menu li,
.bando-template-default .nav-menu li {
    border: 1px solid #fff
}

.search-form {
    min-height: 40px;
    max-height: 40px;
    display: flex;
    flex-direction: row;
    padding: 14px 10px
}

.search-form label {
    color: white;
    flex-grow: 1;
    margin-right: 10px
}

.search-form input[type=search] {
    color: black;
    max-width: 100px
}

.search-form input[type=search]:focus {
    min-width: 100px
}

.search-form input[type=submit] {
    padding: 8px 20px;
    height: 40px;
    border: 1px solid gray
}

@media (min-width:450px) {
    .search-form {
        max-height: 40px;
        min-height: 40px;
        display: flex;
        flex-direction: row;
        padding: 14px 10px
    }

    .search-form input[type=search] {
        max-width: none;
        min-width: 100px;
        margin-right: 10px
    }

    .search-form input[type=submit] {
        padding: 8px 20px;
        height: 40px;
        border: 1px solid gray
    }
}

.layout10 {
    padding: 0px 20px
}

.layout10 .amm-tras-separatore {
    opacity: 1;
    height: 4px
}

.layout10 .title {
    padding-top: 20px;
    color: #0066CC
}

.layout10 .subtitle {
    padding-top: 0
}

.layout10 .border {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    border-left: none;
    border-right: none
}

.layout10 .AT-page-title span {
    width: 80%;
    display: block;
    color: black;
    font-size: inherit;
    line-height: inherit
}

.layout10 .AT-page-title:hover span {
    color: #666
}

.layout10 .AT-page-title:hover:after {
    color: #666
}

.layout10 .AT-page-title {
    line-height: auto
}

.page-template-theme_layout11 #masthead {
    max-width: 100%
}

.page-template-theme_layout11 #masthead .pnb-action {
    display: none
}

.page-template-theme_layout11 #masthead #site-navigation {
    display: none
}

.page-template-theme_layout11 #page {
    background-color: #ffffff;
    color: #fff
}

.page-template-theme_layout11 #masthead {
    background-color: #0066CC;
    color: #fff
}

.page-template-theme_layout11 .pnb-action a,
.page-template-theme_layout11 .dLogo a,
.page-template-theme_layout11 .mLogo a span,
.page-template-theme_layout11 .dLogo p,
.page-template-theme_layout11 .mLogo a {
    color: #fff !important
}

.page-template-theme_layout11 .gliph svg g path {
    fill: #fff !important
}

.page-template-theme_layout11 #mobile_menu_burgher>div {
    background-color: #fff !important
}

.page-template-theme_layout11 .nav-menu .sub-menu,
.page-template-theme_layout11 .nav-menu .children,
.page-template-theme_layout11 #site-navigation .nav-menu {
    background-color: #0066CC
}

.page-template-theme_layout11 .nav-menu li {
    border: 1px solid #fff
}

.layout11 {
    background-color: #ffffff;
    color: #000000
}

.layout11 .title {
    color: #0066CC
}

.layout11 .subtitle {
    padding-top: 0
}

.layout11 .border {
    margin-top: 10px;
    border-left: none;
    border-right: none;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000
}

.layout11 .cLayout11>ul {
    padding-left: 0px
}

.layout11 .cLayout11>ul>li {
    color: #06c;
    font-size: 20px
}

.layout11 .cLayout11>ul>li>ul {
    color: black;
    font-size: 16px
}

.layout11 .cLayout11>ul>li:before {
    content: "" !important
}

.layout11 .cLayout11>ul li {
    padding-top: 15px
}

.layout11 .cLayout11>ul li strong a {
    margin-top: 5px
}

.slide-image,
.block-slider-image * img,
.block-slider-image {
    min-height: 150px
}

.section_colection .box-title .title:before,
.section_colection .box-title .title:after,
.box-title:before {
    display: none !important
}

.hori_menu_text {
    font-size: 24px !important;
    margin-top: 20px;
    font-family: 'DeAetna PNB', Fallback, sans-serif
}

.block-highlighted-post .box-title:after {
    display: none !important
}

/* .title-article and .excerpt-article merged into main definitions above */

.highlighted-wrap .content {
    margin-top: 40px
}

.highlighted-wrap h3 {
    text-transform: uppercase;
    font-size: 24px !important
}

.highlighted-wrap h4 {
    border: none !important;
    padding: 0 !important;
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    margin-top: 0 !important;
    font-size: 24px !important;
    margin-bottom: 0 !important;
    line-height: 24px !important;
    width: 100% !important
}

.highlighted-wrap p {
    width: 100%;
    display: block;
    margin-top: 5px;
    font-size: 12px
}

.block-notices {
    padding: 30px 15px !important;
    background-color: #000;
    margin-right: 20px;
    margin-left: 20px
}

.block-notices .notice_top_title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    font-weight: bold
}

.block-notices .notice.title {
    color: #fff;
    font-size: 34px;
    text-transform: uppercase
}

.block-notices .notice.title .notice.text {
    font-size: 17px;
    line-height: 17px;
    margin-top: 5px;
    text-transform: initial;
    display: block
}

@media (max-width:750px) {
    .block-notices .notice.title {
        font-size: 28px;
        line-height: 28px
    }

    .block-events.with-image .box-title {
        margin: 0 15px;
        padding-top: 20px
    }

    .block-highlighted-post {
        padding-top: 20px !important;
        padding-left: 15px !important
    }

    .block-highlighted-post .posts {
        padding-left: 0px !important;
        padding-right: 0px !important
    }

    .highlighted-wrap {
        padding-left: 0px !important;
        padding-right: 0px !important
    }

    .paragh-article {
        font-size: 28px;
        line-height: 28px !important
    }

    .block-slider-image .link-slide {
        bottom: 2px
    }
}

.colonne_azione {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000
}

.colonne_azione .wp-block-column {
    border: none !important;
    margin-left: 20px;
    margin-right: 20px;
    box-sizing: border-box;
    background-color: #000;
    padding: 10px 0;
    margin-top: 20px;
    margin-bottom: 20px
}

.colonne_azione .wp-block-column .wp-block-heading,
.colonne_azione .wp-block-column h4,
.colonne_azione .wp-block-column h6 {
    color: #fff;
    font-size: 40px
}

.colonne_azione .wp-block-column .wp-block-button__link {
    font-size: 12px !important
}

@media (max-width:782px) {
    .colonne_azione .wp-block-column {
        margin-bottom: 0;
        margin-top: 15px
    }

    .colonne_azione .wp-block-column .wp-block-heading,
    .colonne_azione .wp-block-column h4,
    .colonne_azione .wp-block-column h6 {
        font-size: 28px
    }

    .colonne_azione .wp-block-column:last-child {
        margin-bottom: 15px
    }
}

.acc-titles {
    padding: 0 !important;
    margin: 0 !important
}

@media (max-width:860px) {

    .acc-container ul li:after,
    .acc-container ul li.open:after {
        display: none
    }
}

.text-dex {
    text-align: right
}

.allcent {
    display: flex;
    justify-content: center;
    align-items: center
}

.line-up {
    height: 1px;
    background-color: #000;
    width: 100%;
    display: block;
    margin-bottom: 15px
}

.line-down {
    height: 1px;
    background-color: #000;
    width: 100%;
    display: block;
    margin-top: 15px
}

.arrow {
    font-size: 25px;
    font-family: system-ui;
    font-weight: lighter;
    display: none
}

.slick-prev:before,
.slick-next:before {
    font-size: 35px !important;
    font-family: system-ui !important;
    font-weight: lighter !important
}

.slick-prev,
.slick-next {
    font-size: 0 !important
}

.slick-next:before {
    content: '\2192' !important;
    color: #000
}

.slick-prev:before {
    content: '\2190' !important;
    color: #000
}

#wpadminbar {
    position: relative !important
}

#wpadminbar #wp-admin-bar-wp-logo,
#wpadminbar #wp-admin-bar-site-name,
#wpadminbar #wp-admin-bar-customize,
#wpadminbar #wp-admin-bar-updates,
#wpadminbar #wp-admin-bar-comments,
#wpadminbar #wp-admin-bar-new-content,
#wpadminbar #wp-admin-bar-search,
#wpadminbar #wp-admin-bar-my-account {
    display: none !important
}

.block-events .event {
    padding: 15px 0
}

#wrap-masthead,
body,
#content,
.block-events.with-image,
.section_colection,
.block-highlighted-post.bggray,
#page,
.block-highlighted-post.bgyellow {
    background-color: #fff
}

#footer {
    background-color: #000;
    color: #fff
}

#footer #switch-menu li:first-child:after,
#footer #footer-menu .sub-menu a,
#footer #footer-menu .menu-item-has-children a,
#footer #footer-menu .menu-item-has-children>button,
#footer a {
    color: #fff;
    text-decoration: none !important
}

#footer a svg {
    fill: #fff
}

.page-template-theme_layout10 #footer {
    background-color: #0066CC
}

.titolo-website-global {
    font-size: 73px !important;
    line-height: 85px !important;
    text-align: center;
    display: block
}

#mobile_menu_burgher {
    position: absolute;
    top: 52px;
    right: 0;
    z-index: 999
}

.dLogo {
    text-align: center;
    margin-top: 5px
}

.nav-menu .sub-menu,
.nav-menu .children {
    background-color: #fff
}

#search-icon-clickable {
    width: 30px
}

a,
p,
h1,
h2,
h3,
h4,
h5,
div {
    color: #000
}

@media (max-width:1300px) {
    .titolo-website-global {
        font-size: 5.5vw !important;
        line-height: 70px !important;
        text-align: center;
        display: block;
        font-weight: normal !important
    }
}

@media (max-width:1020px) {
    .titolo-website-global {
        font-size: 5.5vw !important;
        line-height: 60px !important
    }
}

@media (max-width:890px) {
    .titolo-website-global {
        font-size: 5vw !important;
        line-height: 5vw !important
    }
}

@media (max-width:859px) {
    .dLogo {
        margin-top: 15px
    }
}

@media (max-width:790px) {
    .dLogo {
        width: 80%;
        text-align: left
    }

    .titolo-website-global {
        text-align: left
    }

    #mobile_menu_burgher {
        top: 75px
    }
}

@media (max-width:650px) {
    .titolo-website-global {
        font-size: 5.5vw !important;
        line-height: 40px !important
    }
}

@media (max-width:550px) {
    .titolo-website-global {
        font-size: 5.7vw !important;
        line-height: 30px !important
    }

    #mobile_menu_burgher {
        top: 55px
    }
}

.titolo_slider,
h1 {
    font-size: 48px !important;
    line-height: 48px !important;
    text-transform: uppercase;
    font-weight: normal !important
}

.testo_slider {
    font-size: 20px !important;
    line-height: 20px
}

@media (max-width:650px) {

    .titolo_slider,
    h1 {
        font-size: 30px !important;
        line-height: 30px !important;
        font-weight: normal !important
    }
}

h2,
h2 a,
h2 a span {
    font-size: 40px !important;
    line-height: 40px !important;
    text-transform: uppercase;
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    font-weight: normal !important
}

@media (max-width:650px) {

    h2,
    h2 a,
    h2 a span {
        font-size: 25px !important;
        line-height: 25px !important;
        font-weight: normal !important
    }
}

h3,
h3 a,
h3 a span {
    font-size: 34px !important;
    line-height: 34px !important;
    text-transform: uppercase;
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    font-weight: normal !important
}

@media (max-width:650px) {

    h3,
    h3 a,
    h3 a span {
        font-size: 22px !important;
        line-height: 22px !important;
        font-weight: normal !important
    }
}

h4,
h4 a,
h4 a span {
    font-size: 30px !important;
    line-height: 30px !important;
    text-transform: uppercase;
    font-weight: normal !important;
    font-family: 'DeAetna PNB', Fallback, sans-serif
}

@media (max-width:650px) {

    h4,
    h4 a,
    h4 a span {
        font-size: 20px !important;
        line-height: 20px !important;
        font-weight: normal !important
    }
}

h5,
h5 a,
h5 a span {
    font-size: 24px !important;
    line-height: 24px !important;
    text-transform: uppercase;
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    font-weight: normal !important
}

@media (max-width:650px) {

    h5,
    h5 a,
    h5 a span {
        font-size: 18px !important;
        line-height: 18px !important;
        font-weight: normal !important
    }
}

/*.badge{font-size:12px !important;text-align:center;line-height:12px !important;padding:5px 25px !important}*/
.badge_text {
    font-size: 12px !important;
    text-align: center;
    line-height: 12px !important;
    padding: 5px 25px !important;
    text-transform: uppercase
}

/* .paragh-article merged into main definition above */

.entry-content p br,
.wp-block-column p br {
    content: "";
    margin: 5px;
    display: block;
    font-size: 24%
}

#search-div-background {
    background-color: transparent
}

#search-div {
    background-color: #fff
}

.horizontal-menu {
    flex-wrap: wrap;
    gap: 1%;
    box-sizing: border-box;
    width: 100%;
    align-items: stretch;
}

.horizontal-menu a {
    text-decoration: none !important
}

.horizontal-menu .link-image:has(.bottone) {
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.horizontal-menu .link-image:has(.bottone) .text-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
}

.horizontal-menu .link-image:has(.bottone) .text-content .bottone {
    margin-top: auto !important;
    align-self: flex-start;
}

.block_items_1 {
    width: 100%
}

.block_items_2 {
    width: 49.4444%
}

.block_items_2_3 {
    width: 66.33333%
}

.block_items_3 {
    width: 32.66666%
}

.block_items_3_4 {
    width: 74.77777%
}

.block_items_4 {
    width: 24.22222%
}

@media (max-width:860px) {

    .block_items_1,
    .block_items_2,
    .block_items_3,
    .block_items_2_3,
    .block_items_3_4,
    .block_items_4 {
        width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 15px
    }

    .block_items_1:first-child,
    .block_items_2:first-child,
    .block_items_3:first-child,
    .block_items_4:first-child {
        margin-top: 0
    }

    .colums-image {
        width: 100% !important
    }
}

.bottone {
    padding: 15px 30px !important;
    display: inline-block;
    margin-top: 25px;
    font-size: 16px !important;
    background-color: #000;
    text-transform: uppercase;
    letter-spacing: .5px
}

.testo-pnb-wrap p {
    display: block;
    margin-top: 10px
}

.custom-accordion-title {
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    font-size: 24px
}

.map-accordions-values {
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    z-index: 99999;
    position: relative
}

.custom-accordion-item .room-number {
    font-weight: bold;
    font-size: 18px
}

.custom-accordion-item .room-title {
    font-size: 18px;
    margin-left: 4px
}

.grid-column-artwork {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.b_crumb {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
    color: #6f7781;
    /*border-bottom: 1px solid #d8dde3;*/
    font-size: 0;
}

.b_crumb a,
.b_crumb a span,
.b_crumb span {
    font-size: 13px;
}

.b_crumb a {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #2f4761;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all .2s ease;
}

.b_crumb a:hover {
    color: #1f3349;
}

.b_crumb [property="itemListElement"] {
    display: inline-flex;
    align-items: center;
}

.b_crumb [property="itemListElement"]+[property="itemListElement"]::before {
    content: "/";
    display: inline-block;
    margin: 0 6px 0 2px;
    color: #8a939d;
    font-size: 13px;
    font-weight: 400;
}

.b_crumb span[property="itemListElement"]>span[property="name"],
.b_crumb .current-item {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #1f3349;
    font-weight: 600;
}

.b_crumb .custom-breadcrumb-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 0;
    font-size: 0;
}

@media (max-width: 860px) {
    .b_crumb:has(a) {
        padding: 8px 12px 10px;
    }

    .b_crumb {
        width: calc(100% - 24px);
        gap: 6px;
    }

    .b_crumb a,
    .b_crumb span[property="itemListElement"]>span[property="name"],
    .b_crumb .current-item {
        padding: 0;
    }
}

.century-artwork,
.artwork-sala-titolo {
    width: calc(100% - 40px);
    margin: 0 auto;
    box-sizing: border-box;
}

/* Quando .artwork-sala-titolo segue subito il banner colorato,
   si fondono in un unico blocco continuo */
.century-artwork {
    margin-bottom: 0;
}

.century-artwork+.artwork-sala-titolo {
    margin-top: 0;
    background: inherit;
    /*padding: 12px 20px 18px;*/
}

@media (max-width: 992px) {

    .century-artwork,
    .artwork-sala-titolo {
        width: calc(100% - 32px);
    }
}

.artwork-sala-titolo .numero-sala {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

.artwork-sala-titolo h1 {
    border-top: 1px solid #000;
    margin-top: 5px;
    padding-top: 5px;
    position: relative;
    padding-right: 150px;
}

/* Se artwork-sala-titolo segue un banner colorato,
   il titolo non ha separatore interno â€” il blocco Ã¨ giÃ  delimitato */
.century-artwork+.artwork-sala-titolo h1 {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.artwork-sala-titolo h1 .hero-share-btn {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #000;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: underline;
}

.artwork-sala-titolo h1 .hero-share-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex: 0 0 16px;
}

.artwork-sala-titolo h1 .hero-share-btn:hover {
    color: #000;
}

@media (max-width: 992px) {
    .artwork-sala-titolo h1 {
        padding-right: 20px;
    }

    .artwork-sala-titolo h1 .hero-share-btn {
        position: static;
        transform: none;
        margin-top: 10px;
    }
}

#switch-menu {
    display: flex
}

#switch-menu .trp-ls-language-name {
    font-family: 'DeAetna PNB', Fallback, sans-serif
}

#switch-menu .current-language-menu-item .trp-ls-language-name {
    text-decoration: underline
}

#switch-menu li:first-child:after {
    content: "/";
    margin-left: 4px;
    margin-right: 4px
}

.column-image-wrap {
    display: flex
}

.column-image-wrap.center {
    justify-content: center
}

.column-image-wrap.right {
    justify-content: right
}

.text-content div p {
    display: block;
    margin-top: 5px
}

/*# sourceMappingURL=theme/pnb.css.map */
.events .slick-slide {
    padding: 5px;
}

/*
 * WCAG 2.1 â€“ Contrasto testo su slider
 * Gradiente scuro sul lato sx dove si trova il testo (da sinistra verso destra)
 * garantisce rapporto di contrasto â‰¥ 7:1 per il testo bianco .
 */
/* Base: layout e posizionamento del contenitore testo */
.slide-cnt {
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 20px 50% 20px 20px;
    background: transparent;
    /* nessun overlay se non c'Ã¨ testo */
}

/*
 * WCAG 2.1 â€“ Contrasto testo su slider
 * Il gradiente appare SOLO quando lo slide ha effettivamente testo.
 * :has() Ã¨ supportato da tutti i browser moderni (Chrome 105+, Firefox 121+, Safari 15.4+).
 */
.slide-cnt:has(.titolo_slider:not(:empty), .testo_slider:not(:empty)) {
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.65) 30%,
            rgba(0, 0, 0, 0.35) 55%,
            rgba(0, 0, 0, 0) 75%);
}

/* Testo sempre bianco + text-shadow di rinforzo */
.slide-cnt .titolo_slider,
.slide-cnt .testo_slider {
    color: #fff !important;
    text-shadow:
        0 1px 4px rgba(0, 0, 0, 0.8),
        0 0 12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 860px) {
    .slide-cnt {
        justify-content: end;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px 20px 50px 20px;
        background: transparent;
        /* reset: solo se c'Ã¨ testo */
    }

    /* Su mobile: gradiente dal basso, solo se presente testo */
    .slide-cnt:has(.titolo_slider:not(:empty), .testo_slider:not(:empty)) {
        background: linear-gradient(180deg,
                rgba(0, 0, 0, 0) 0%,
                rgba(0, 0, 0, 0) 25%,
                rgba(0, 0, 0, 0.55) 65%,
                rgba(0, 0, 0, 0.82) 100%);
    }

    .slide-cnt .titolo_slider,
    .slide-cnt .testo_slider {
        color: #fff !important;
    }
}



.box-title {
    text-decoration: none !important
}

.events-with-image .event a {
    text-decoration: none !important
}

/* Keep "Scopri di piÃ¹" buttons aligned in event cards */
.block-events .event-link {
    min-height: 360px;
    display: flex;
    flex-direction: column;
}

.block-events .event-link .excerpt {
    flex: 1 1 auto;
}

.block-events .event-link .badge {
    margin-top: auto;
}

/* /eventi: center "Scopri di piÃ¹" in cards */
.page-template-theme_layout8 .block-events .event-link .badge {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

@media (max-width: 860px) {
    .block-events .event-link {
        min-height: auto;
    }
}

/* --- Global editorial style for layout/content blocks --- */

/* Hero bar base for page titles (all page templates using .maintitle) */
.page .maintitle {
    background: #fff;
    color: #1f1f1f;
    width: calc(100% - 40px);
    margin: 0 auto 24px;
    padding: 28px 20px 28px 16px;
    line-height: 1.12;
    box-sizing: border-box;
    border-left: 4px solid #000000;
    position: relative;
    padding-right: 150px;
}

.page .maintitle .hero-share-btn {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #000;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: underline;
}

.page .maintitle .hero-share-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex: 0 0 16px;
}

.page .maintitle .hero-share-btn:hover {
    color: #000;
}

.layout3 .maintitle {
    font-size: 2.6rem;
    font-weight: normal;
    margin-bottom: 1rem;
    padding-bottom: 0;
    border-bottom: none;
}

/* ====================================================
   LAYOUT3 â€” Allineamento blocchi contenuto ai titoli
   I blocchi .horizontal-menu-block e .acc-container hanno
   margin-left/right inline (Tailwind) che li rende
   visivamente piÃ¹ stretti dei titoli adiacenti.
   ==================================================== */
.entry-content.cLayout3>.horizontal-menu-block {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
}

.entry-content.cLayout3>.acc-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
}


.entry-content.cLayout3 h3 {
    font-size: 2rem !important;
    margin-top: 2.5rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000;
    border-bottom: 1px solid #ccc;
    background: none !important;
    padding-left: 0 !important;
    border-left: none !important;
}

.entry-content.cLayout3 h5 {
    font-size: 1.1rem;
    text-transform: none;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Card-like layout for sections */
.entry-content.cLayout3>h3+h5,
.entry-content.cLayout3>h5+p {
    margin-left: 10px;
}

.entry-content.cLayout3 p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1.12rem;
}

/* Hero bar: global on layout4 pages */
.layout4 .entry-content.cLayout4>.wp-block-spacer:first-of-type,
.layout4 .entry-content.cLayout4>.wp-block-spacer:nth-of-type(2) {
    display: none;
}

.layout4 .entry-content.cLayout4>.wp-block-heading:first-of-type {
    background: #fff;
    color: #1f1f1f;
    width: calc(100% - 40px);
    margin: 0 auto 24px;
    padding: 28px 20px 28px 16px;
    line-height: 1.12;
    box-sizing: border-box;
    position: relative;
    border-left: 4px solid #000000;
    /*border-bottom: 1px solid #000;*/
    padding-right: 150px;
}

.layout4 .entry-content.cLayout4>.wp-block-heading:first-of-type .hero-share-btn {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #000;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: underline;
}

.layout4 .entry-content.cLayout4>.wp-block-heading:first-of-type .hero-share-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex: 0 0 16px;
}

.layout4 .entry-content.cLayout4>.wp-block-heading:first-of-type .hero-share-btn:hover {
    color: #000;
}



/* Universal hero share button styling for all pages */
.entry-content>.wp-block-heading:first-of-type .hero-share-btn,
.entry-content>h1:first-of-type .hero-share-btn,
.entry-content>h2:first-of-type .hero-share-btn,
.entry-content>h3:first-of-type .hero-share-btn,
.entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h1:first-of-type .hero-share-btn,
.entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h2:first-of-type .hero-share-btn,
.entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h3:first-of-type .hero-share-btn,
.entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>.wp-block-heading:first-of-type .hero-share-btn,
.entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h1:first-of-type .hero-share-btn,
.entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h2:first-of-type .hero-share-btn,
.entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h3:first-of-type .hero-share-btn,
.entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child .wp-block-heading:first-of-type .hero-share-btn {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #000;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: underline;
}

/* Focus state for keyboard navigation */
.entry-content>.wp-block-heading:first-of-type .hero-share-btn:focus,
.entry-content>h1:first-of-type .hero-share-btn:focus,
.entry-content>h2:first-of-type .hero-share-btn:focus,
.entry-content>h3:first-of-type .hero-share-btn:focus,
.entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h1:first-of-type .hero-share-btn:focus,
.entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h2:first-of-type .hero-share-btn:focus,
.entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h3:first-of-type .hero-share-btn:focus,
.entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>.wp-block-heading:first-of-type .hero-share-btn:focus,
.entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h1:first-of-type .hero-share-btn:focus,
.entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h2:first-of-type .hero-share-btn:focus,
.entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h3:first-of-type .hero-share-btn:focus,
.entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child .wp-block-heading:first-of-type .hero-share-btn:focus {
    outline: 3px solid #0056b3;
    outline-offset: 2px;
    text-decoration: underline;
}

.entry-content>.wp-block-heading:first-of-type .hero-share-btn svg,
.entry-content>h1:first-of-type .hero-share-btn svg,
.entry-content>h2:first-of-type .hero-share-btn svg,
.entry-content>h3:first-of-type .hero-share-btn svg,
.entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h1:first-of-type .hero-share-btn svg,
.entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h2:first-of-type .hero-share-btn svg,
.entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h3:first-of-type .hero-share-btn svg,
.entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>.wp-block-heading:first-of-type .hero-share-btn svg,
.entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h1:first-of-type .hero-share-btn svg,
.entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h2:first-of-type .hero-share-btn svg,
.entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h3:first-of-type .hero-share-btn svg,
.entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child .wp-block-heading:first-of-type .hero-share-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex: 0 0 16px;
}

.entry-content>.wp-block-heading:first-of-type .hero-share-btn:hover,
.entry-content>h1:first-of-type .hero-share-btn:hover,
.entry-content>h2:first-of-type .hero-share-btn:hover,
.entry-content>h3:first-of-type .hero-share-btn:hover,
.entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h1:first-of-type .hero-share-btn:hover,
.entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h2:first-of-type .hero-share-btn:hover,
.entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h3:first-of-type .hero-share-btn:hover,
.entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>.wp-block-heading:first-of-type .hero-share-btn:hover,
.entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h1:first-of-type .hero-share-btn:hover,
.entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h2:first-of-type .hero-share-btn:hover,
.entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h3:first-of-type .hero-share-btn:hover,
.entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child .wp-block-heading:first-of-type .hero-share-btn:hover {
    color: #000;
}

/* In layout4, headings with class "border" should not have double lines */
.layout4 .entry-content.cLayout4 .wp-block-heading.border {
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid #d7d7d2;
    width: calc(100% - 40px);
    margin: 0 auto 18px;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .layout4 .entry-content.cLayout4>.wp-block-heading:first-of-type {
        width: calc(100% - 32px);
        padding-right: 20px;
    }

    .layout4 .entry-content.cLayout4>.wp-block-heading:first-of-type .hero-share-btn {
        position: static;
        transform: none;
        margin-top: 10px;
    }

    /* Universal hero bar responsive styling */
    .entry-content>.wp-block-heading:first-of-type,
    .entry-content>h1:first-of-type,
    .entry-content>h2:first-of-type,
    .entry-content>h3:first-of-type,
    .entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h1:first-of-type,
    .entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h2:first-of-type,
    .entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h3:first-of-type,
    .entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>.wp-block-heading:first-of-type,
    .entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h1:first-of-type,
    .entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h2:first-of-type,
    .entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h3:first-of-type,
    .entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child .wp-block-heading:first-of-type {
        width: calc(100% - 32px);
        padding-right: 20px;
    }

    .entry-content>.wp-block-heading:first-of-type .hero-share-btn,
    .entry-content>h1:first-of-type .hero-share-btn,
    .entry-content>h2:first-of-type .hero-share-btn,
    .entry-content>h3:first-of-type .hero-share-btn,
    .entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h1:first-of-type .hero-share-btn,
    .entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h2:first-of-type .hero-share-btn,
    .entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>h3:first-of-type .hero-share-btn,
    .entry-content>.wp-block-columns:first-of-type>.wp-block-column:first-child>.wp-block-heading:first-of-type .hero-share-btn,
    .entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h1:first-of-type .hero-share-btn,
    .entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h2:first-of-type .hero-share-btn,
    .entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child h3:first-of-type .hero-share-btn,
    .entry-content>.wp-block-columns:first-of-type .wp-block-column:first-child .wp-block-heading:first-of-type .hero-share-btn {
        position: static;
        transform: none;
        margin-top: 10px;
    }
}

/* Hero bar also on layout8 first heading (e.g. /eventi) */
.page-template-theme_layout8 .entry-content.cLayout8>.wp-block-heading:first-of-type {
    background: #fff;
    color: #1f1f1f;
    width: calc(100% - 40px);
    margin: 0 auto 24px;
    padding: 28px 20px 28px 16px;
    line-height: 1.12;
    box-sizing: border-box;
    border-left: 4px solid #bf9b30;
    position: relative;
    padding-right: 150px;
}

.page-template-theme_layout8 .entry-content.cLayout8>.wp-block-heading:first-of-type .hero-share-btn {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #000;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: underline;
}

.page-template-theme_layout8 .entry-content.cLayout8>.wp-block-heading:first-of-type .hero-share-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex: 0 0 16px;
}

.page-template-theme_layout8 .entry-content.cLayout8>.wp-block-heading:first-of-type .hero-share-btn:hover {
    color: #000;
}

/* Hero bar for archive pages (e.g. /eventi) */
.archive #primary.layout8>.maintitle {
    background: #fff;
    color: #1f1f1f;
    width: calc(100% - 40px);
    margin: 0 auto 24px;
    padding: 28px 20px 28px 16px;
    line-height: 1.12;
    box-sizing: border-box;
    border-left: 4px solid #bf9b30;
    position: relative;
    padding-right: 150px;
}

.archive #primary.layout8>.maintitle .hero-share-btn {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #000;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: underline;
}

.archive #primary.layout8>.maintitle .hero-share-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex: 0 0 16px;
}

.archive #primary.layout8>.maintitle .hero-share-btn:hover {
    color: #000;
}

@media (max-width: 992px) {
    .page-template-theme_layout8 .entry-content.cLayout8>.wp-block-heading:first-of-type {
        width: calc(100% - 32px);
    }

    .page-template-theme_layout8 .entry-content.cLayout8>.wp-block-heading:first-of-type .hero-share-btn {
        position: static;
        transform: none;
        margin-top: 10px;
    }

    .archive #primary.layout8>.maintitle .hero-share-btn {
        position: static;
        transform: none;
        margin-top: 10px;
    }

    .archive #primary.layout8>.maintitle {
        width: calc(100% - 32px);
        padding-right: 20px;
    }
}

/* Highlight content blocks - Come raggiungerci */
.layout4 .entry-content.cLayout4>.wp-block-columns:not(.alignfull):first-of-type {
    width: calc(100% - 40px);
    margin: 0 auto 30px;
    background: #f8f8f5;
    border: 1px solid #d7d7d2;
    border-bottom: 1px solid #d7d7d2;
    border-radius: 8px;
    overflow: hidden;
    padding: 18px;
}

.layout4 .entry-content.cLayout4>.wp-block-columns:not(.alignfull):first-of-type .wp-block-column.is-vertically-aligned-center {
    background: #fff;
    border: 1px solid #d7d7d2;
    border-radius: 6px;
    padding: 22px;
}

.layout4 .entry-content.cLayout4 .wp-block-columns.alignfull.is-nowrap {
    width: calc(100% - 40px);
    margin: 0 auto 20px;
    background: #fff;
    border: 1px solid #d7d7d2;
    border-left: 4px solid #000;
    border-bottom: 1px solid #d7d7d2;
    /*border-radius: 6px;*/
    overflow: hidden;
    padding: 18px 22px;
}

.layout4 .entry-content.cLayout4 .wp-block-columns.alignfull.is-nowrap h3 {
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e3e3df;
}

.layout4 .entry-content.cLayout4 hr.wp-block-separator {
    width: calc(100% - 40px);
    margin: 18px auto 24px;
    border-top-color: #bdbdb7;
}

@media (max-width: 992px) {

    .layout4 .entry-content.cLayout4>.wp-block-columns:not(.alignfull):first-of-type,
    .layout4 .entry-content.cLayout4 .wp-block-columns.alignfull.is-nowrap,
    .layout4 .entry-content.cLayout4 hr.wp-block-separator {
        width: calc(100% - 32px);
    }
}

/* Specific styling for Orari and Biglietti */
.entry-content.cLayout3 .tipo-di-titolo h3:first-of-type,
.entry-content.cLayout3 .tipo-di-titolo h3:nth-of-type(2) {
    background: none;
    padding: 0;
    padding-bottom: 0.6rem;
    border-left: none;
}

/* Sub-headings (venue names & categories) */
.entry-content.cLayout3 .hori_menu_title {
    font-size: 1.55rem !important;
    text-transform: none;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.3rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

/* Horizontal menu blocks (two-column sections) */
.entry-content.cLayout3 .horizontal-menu-block {
    margin-top: 0.5rem !important;
    margin-bottom: 1.5rem !important;
    padding-top: 0 !important;
    max-width: 100%;
}

.entry-content.cLayout3 .horizontal-menu {
    gap: 2rem;
    flex-direction: column;
}

.entry-content.cLayout3 .horizontal-menu .link-image,
.entry-content.cLayout3 .horizontal-menu .link-image.block_items_2 {
    padding: 0 !important;
    width: 100% !important;
}

.entry-content.cLayout3 .normal-text-block {
    margin-top: 10px !important;
}

/* Button styling */
.entry-content .bottone,
.entry-content a[href*="buyTicketless"] {
    display: inline-block;
    background: #fff;
    color: #000 !important;
    padding: 12px 32px;
    text-decoration: none !important;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    transition: background 0.25s ease, color 0.25s ease;
    margin-top: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 2px solid #000;
    box-shadow: none;
}

.entry-content .bottone:hover,
.entry-content a[href*="buyTicketless"]:hover {
    background: #000;
    color: #fff !important;
    transform: none;
    box-shadow: none;
}

/* Nel layout3 il pulsante ACQUISTA non deve espandersi a tutta larghezza */
.entry-content.cLayout3 .bottone,
.entry-content.cLayout3 a[href*="buyTicketless"] {
    display: inline-block !important;
    width: auto !important;
    align-self: flex-start;
}

/* Separator lines */
.entry-content hr,
.entry-content .wp-block-separator {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2rem 0;
}

/* List improvements */
.entry-content.cLayout3>ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.entry-content.cLayout3>ul>li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    font-size: 1.1rem;
}

.entry-content.cLayout3>ul>li:last-child {
    border-bottom: none;
}

.entry-content.cLayout3>ul>li::before {
    content: "\2013";
    color: #000;
    font-weight: normal;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Accessibility and rules sections */
.entry-content .wp-block-columns {
    gap: 3rem;
    margin-top: 1rem;
}

.entry-content .wp-block-column {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-top: none;
}

/* Heading wrapper */
.tipo-di-titolo {
    padding-top: 10px !important;
}

/* Additional note below tickets */
.entry-content>.tipo-di-titolo h5 {
    font-size: 1.08rem !important;
    line-height: 1.6;
    text-transform: none;
    font-weight: normal;
    color: #555;
    border-left: 3px solid #ddd;
    padding-left: 12px;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

/* Accordion enhancements */
.acc-container ul li {
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.acc-container ul li.open {
    background-color: transparent;
    /*border-left: 3px solid #000;*/
    position: relative;
}

.acc-container ul li.open .accordion-tit-wrap h5 {
    color: #000;
    font-weight: 700;
}

.acc-container ul li.open .arrow {
    display: block !important;
    color: #000;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.acc-container ul li:not(.open) .arrow {
    opacity: 0.3;
    transition: opacity 0.2s ease;
}

.acc-container ul li:hover:not(.open) .arrow {
    opacity: 1;
}

.acc-container ul li:hover:not(.open) {
    background-color: #fafafa;
}

.acc-container ul li div.mb-acc-desc {
    padding-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding-top 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.acc-container ul li div.mb-acc-desc:not(.hidden) {
    max-height: 2000px;
    padding-top: 15px;
    opacity: 1;
}

.acc-container.acc-open .desk-acc-descs {
    border-left: 1px solid #e8e8e8;
    padding: 20px 30px;

}

.acc-container.acc-open .desk-acc-descs p {
    line-height: 1.75;
    font-size: 1.08rem;
}

/* Fix share button in single post (news) */
.single-post .maintitle {
    position: relative;
    padding-right: 150px;
}

.single-post .maintitle .hero-share-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #000;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: underline;
}

.single-post .maintitle .hero-share-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex: 0 0 16px;
}

.single-post .maintitle .hero-share-btn:hover {
    color: #000;
}

@media (max-width: 768px) {
    .page .maintitle {
        width: calc(100% - 32px);
        padding-right: 20px;
    }

    .page .maintitle .hero-share-btn {
        position: static;
        transform: none;
        margin-top: 10px;
    }

    .single-post .maintitle {
        padding-right: 20px;
    }

    .single-post .maintitle .hero-share-btn {
        position: static;
        transform: none;
        margin-top: 10px;
    }

    .single-event #primary.layout6>article>.maintitle .hero-share-btn {
        position: static;
        transform: none;
        margin-top: 10px;
    }

    .single-event #primary.layout6>article>.maintitle {
        width: calc(100% - 32px);
        padding-right: 20px;
    }

    .archive #primary.layout8>.maintitle .hero-share-btn {
        position: static;
        transform: none;
        margin-top: 10px;
    }

    .archive #primary.layout8>.maintitle {
        width: calc(100% - 32px);
        padding-right: 20px;
    }

    .layout3 .maintitle {
        font-size: 2rem;
    }

    .entry-content.cLayout3 h3 {
        font-size: 1.55rem !important;
    }

    .entry-content .bottone,
    .entry-content a[href*="buyTicketless"] {
        display: block;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .entry-content.cLayout3 .horizontal-menu {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Uniforma layout3 allo stile cards come in /come-raggiungerci */
.layout3 .maintitle {
    background: #fff;
    color: #1f1f1f;
    width: calc(100% - 40px);
    margin: 0 auto 24px;
    padding: 28px 20px 28px 16px;
    line-height: 1.12;
    box-sizing: border-box;
    border-left: 4px solid #000000;
    /*border-bottom: 1px solid #000;*/
}

.entry-content.cLayout3>.tipo-di-titolo h3 {
    width: calc(100% - 40px);
    margin: 0 auto 12px;
    padding: 0 0 10px;
    border-bottom: 1px solid #000;
}

.entry-content.cLayout3 .horizontal-menu-block {
    width: calc(100% - 40px);
    margin: 0 auto 20px !important;
    background: #fff;
    border: 1px solid #d7d7d2;
    border-left: 4px solid #000000;
    border-bottom: 1px solid #d7d7d2;
    /*border-radius: 6px;*/
    padding: 18px 22px !important;
    box-sizing: border-box;
}

.entry-content.cLayout3 .horizontal-menu {
    flex-direction: column;
    gap: 1.5rem;
}

.entry-content.cLayout3 .horizontal-menu .link-image.block_items_2 {
    width: 100% !important;
}

.entry-content.cLayout3 .acc-container {
    width: calc(100% - 40px);
    margin: 24px auto 0;
    background: #fff;
    border: 1px solid #d7d7d2;
    border-left: 4px solid #000000;
    border-bottom: 1px solid #d7d7d2;
    /*border-radius: 6px;*/
    box-sizing: border-box;
}

@media (max-width: 992px) {

    .layout3 .maintitle,
    .entry-content.cLayout3>.tipo-di-titolo h3,
    .entry-content.cLayout3 .horizontal-menu-block,
    .entry-content.cLayout3 .acc-container {
        width: calc(100% - 32px);
    }

    .entry-content.cLayout3 .horizontal-menu {
        flex-direction: column;
        gap: 1.5rem;
    }

    .entry-content.cLayout3 .horizontal-menu .link-image.block_items_2 {
        width: 100% !important;
    }
}

/* Concessioni e riproduzioni: align full content wrapper width with hero */
.entry-content.cLayout3 {
    width: calc(100% - 40px);
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .entry-content.cLayout3 {
        width: calc(100% - 32px);
    }
}


/* ==========================================
   Materiali Scaricabili Section
   ========================================== */

.materiali-scaricabili-section {
    background-color: #f8f7f4;
    border-radius: 8px;
    padding: 40px 50px;
    margin: 30px 20px 40px;
}

.materiali-scaricabili-section .materiali-title {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    padding: 0;
    text-transform: none;
    letter-spacing: -0.3px;
}

.materiali-scaricabili-section .materiali-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.materiali-scaricabili-section .materiali-list li {
    position: static;
}

.materiali-scaricabili-section .materiali-list li::before {
    content: none !important;
    display: none !important;
}

.materiali-scaricabili-section .materiali-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #e5e4e0;
    color: inherit;
    position: relative;
}

.materiali-scaricabili-section li:last-child .materiali-item {
    border-bottom: none;
}

.materiali-scaricabili-section .materiali-icon {
    flex-shrink: 0;
    width: 36px;
    height: 44px;
    position: relative;
    margin-top: 4px;
}

.materiali-scaricabili-section .materiali-icon svg {
    width: 36px;
    height: 44px;
}

.materiali-scaricabili-section .materiali-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.materiali-scaricabili-section .materiali-item-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.materiali-scaricabili-section .materiali-description {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #444;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.materiali-scaricabili-section .materiali-download-btn {
    display: inline-block;
    background-color: #000;
    color: #fff;
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 24px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    margin-top: 6px;
    align-self: flex-start;
    transition: background-color 0.2s ease;
}

.materiali-scaricabili-section .materiali-download-btn:hover {
    background-color: #333;
}

@media (max-width: 768px) {
    .materiali-scaricabili-section {
        padding: 24px 20px;
        margin: 20px 10px 30px;
    }

    .materiali-scaricabili-section .materiali-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .materiali-scaricabili-section .materiali-item {
        padding: 18px 0;
        gap: 14px;
    }

    .materiali-scaricabili-section .materiali-icon {
        width: 30px;
        height: 36px;
    }

    .materiali-scaricabili-section .materiali-icon svg {
        width: 30px;
        height: 36px;
    }

    .materiali-scaricabili-section .materiali-item-title {
        font-size: 14px;
    }

    .entry-content.cLayout3 .horizontal-menu {
        flex-direction: column;
        gap: 1.5rem;
    }

    .entry-content.cLayout3 .horizontal-menu .link-image.block_items_2 {
        width: 100% !important;
    }

    .entry-content.cLayout3 .acc-container {
        width: calc(100% - 40px);
        margin: 24px auto 0;
        background: #fff;
        border: 1px solid #d7d7d2;
        border-left: 4px solid #000000;
        border-bottom: 1px solid #d7d7d2;
        /*border-radius: 6px;*/
        box-sizing: border-box;
    }

    @media (max-width: 992px) {

        .layout3 .maintitle,
        .entry-content.cLayout3>.tipo-di-titolo h3,
        .entry-content.cLayout3 .horizontal-menu-block,
        .entry-content.cLayout3 .acc-container {
            width: calc(100% - 32px);
        }

        .entry-content.cLayout3 .horizontal-menu {
            flex-direction: column;
            gap: 1.5rem;
        }

        .entry-content.cLayout3 .horizontal-menu .link-image.block_items_2 {
            width: 100% !important;
        }
    }

}

/* Title adjustments for blocks */
.horizontal-menu-block .title-url.title,
.section-collection .title-url.title {
    font-size: 24px;
}

/* Miglioramenti layout didascalie immagini (horizontal-menu-block) */
.entry-content .horizontal-menu-block .horizontal-menu.flex {
    flex-wrap: wrap;
}

.entry-content .horizontal-menu-block .horizontal-menu .link-image {
    display: flex;
    flex-direction: column;
}

.entry-content .horizontal-menu-block .horizontal-menu .link-image .column-image-wrap {
    margin-bottom: 5px;
    /* Molto piÃ¹ vicino alla foto */
}

.entry-content .horizontal-menu-block .horizontal-menu .link-image .text-content {
    /*background-color: #f8f8f5;*/
    padding: 0;
    font-size: 0.95em;
    flex-grow: 1;
    border: none;
}

.entry-content .horizontal-menu-block .horizontal-menu .link-image.allcent .text-content,
.entry-content .horizontal-menu-block .horizontal-menu .link-image.text-cen .text-content {
    text-align: center;
}

.entry-content .horizontal-menu-block .horizontal-menu .link-image .text-content:empty {
    display: none;
}

.entry-content .horizontal-menu-block .horizontal-menu .link-image .text-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .entry-content .horizontal-menu-block .horizontal-menu.flex {
        flex-direction: column;
        gap: 20px;
    }
}

/* ====================================================
   PAGINAZIONE GALLERIA OPERE
   ==================================================== */

.artwork-pagination {
    margin: 40px 0 20px;
    padding: 20px;
    border-top: 1px solid #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.artwork-pagination__info {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #555;
}

.artwork-pagination__controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Bottoni Prev / Next */
.artwork-pagination__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #000;
    text-decoration: none;
    font-family: 'DeAetna PNB', Fallback, sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.artwork-pagination__btn:hover {
    background-color: #000;
    color: #F2F1E7;
}

.artwork-pagination__arrow {
    font-size: 16px;
    line-height: 1;
}

.artwork-pagination__label {
    display: inline-block;
}

/* contenitore numeri */
.artwork-pagination__pages {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Singola pagina (link e span corrente) */
.artwork-pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 6px;
    border: 1px solid transparent;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #000;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.artwork-pagination__page:hover {
    border-color: #000;
}

.artwork-pagination__page--current {
    background-color: #000;
    color: #F2F1E7;
    border-color: #000;
    font-weight: bold;
    cursor: default;
}

/* Puntini di ellissi */
.artwork-pagination__dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #888;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 600px) {
    .artwork-pagination__label {
        display: none;
    }

    .artwork-pagination__btn {
        padding: 8px 10px;
    }
}

/* ============================================================
   PULSANTE ALTO CONTRASTO
   ============================================================ */
#btn-alto-contrasto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 2px;
    color: inherit;
    transition: opacity 0.2s ease;
    line-height: 1;
}

#btn-alto-contrasto:hover {
    opacity: 0.7;
}

#btn-alto-contrasto.active svg circle,
#btn-alto-contrasto.active svg path:first-of-type {
    stroke-width: 2;
}

#btn-alto-contrasto svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* ============================================================
   MODALITÃ€ ALTO CONTRASTO  (body.high-contrast)
   Segue le linee guida WCAG 1.4.3: rapporto contrasto â‰¥ 7:1
   ============================================================ */
body.high-contrast,
body.high-contrast #page,
body.high-contrast #wrap-masthead,
body.high-contrast #masthead,
body.high-contrast #colophon {
    background-color: #000 !important;
    color: #fff !important;
}

/* Testi generali */
body.high-contrast *:not(script):not(style) {
    color: #fff !important;
    border-color: #fff !important;
}

/* Sfondi â†’ tutti neri, testo â†’ bianco su tutto */
body.high-contrast *:not(img):not(svg):not(script):not(style):not(path):not(circle) {
    background-color: #000 !important;
}

/* Link: giallo accessibile */
body.high-contrast a,
body.high-contrast a * {
    color: #ffff00 !important;
    text-decoration: underline !important;
}

body.high-contrast a:hover,
body.high-contrast a:focus {
    color: #fff !important;
    background-color: #005fcc !important;
    outline: 3px solid #fff;
}

/* Pulsanti */
body.high-contrast button,
body.high-contrast .pnb-primary-action,
body.high-contrast .bottone,
body.high-contrast input[type="submit"],
body.high-contrast input[type="button"] {
    background-color: #000 !important;
    color: #ffff00 !important;
    border: 2px solid #fff !important;
}

body.high-contrast button:hover,
body.high-contrast .pnb-primary-action:hover {
    background-color: #005fcc !important;
    color: #fff !important;
}

/* Il pulsante alto contrasto stesso rimane leggibile */
body.high-contrast #btn-alto-contrasto {
    color: #fff !important;
    border: 1px solid #fff !important;
    padding: 2px 4px;
    border-radius: 3px;
}

/* Input e form */
body.high-contrast input,
body.high-contrast textarea,
body.high-contrast select {
    background-color: #000 !important;
    color: #fff !important;
    border: 1px solid #fff !important;
}

/* Immagini: leggermente ridotte in saturazione per restare riconoscibili */
body.high-contrast img {
    filter: contrast(1.1) grayscale(0.3) !important;
}

/* Hero e banner colorati della sala â†’ neri */
body.high-contrast .century-artwork,
body.high-contrast .artwork-sala-titolo {
    background-color: #000 !important;
    border: 2px solid #fff !important;
}

/* Rimuovi sfondi decorativi */
body.high-contrast *::before,
body.high-contrast *::after {
    background-color: transparent !important;
    color: #fff !important;
}

/* Focus ring ben visibile */
body.high-contrast *:focus {
    outline: 3px solid #ffff00 !important;
    outline-offset: 2px !important;
}

/* Sottomenu */
body.high-contrast .sub-menu,
body.high-contrast .nav-menu {
    background-color: #000 !important;
    border: 1px solid #fff !important;
}

.page-id-8469 .educazione-hero,
.page-id-8469 .educazione-intro,
.page-id-8469 .educazione-accessi,
.page-id-8469 .educazione-temi,
.page-id-8469 .educazione-cta {
    margin-bottom: 3rem;
}

.page-id-8469 .educazione-hero .lead {
    font-size: 1.35rem;
    line-height: 1.6;
    max-width: 760px;
}

.page-id-8469 .educazione-intro p,
.page-id-8469 .educazione-temi p,
.page-id-8469 .educazione-cta p {
    max-width: 760px;
    line-height: 1.7;
}

.page-id-8469 .educazione-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.page-id-8469 .educazione-card {
    border: 1px solid #ddd;
    padding: 1.5rem;
    background: #fff;
}

.page-id-8469 .educazione-card h3 {
    margin-top: 0;
}

.page-id-8469 .educazione-card a,
.page-id-8469 .educazione-button {
    display: inline-block;
    margin-top: 0.75rem;
    font-weight: 600;
}

.page-id-8469 .educazione-temi ul {
    columns: 2;
    max-width: 760px;
}

@media (max-width: 768px) {
    .page-id-8469 .educazione-grid {
        grid-template-columns: 1fr;
    }

    .page-id-8469 .educazione-temi ul {
        columns: 1;
    }
}

