/**
Theme Name: Pfmgroup 3
Author: Nextindustry
Author URI: https://nextindustry.com/
Description: The per i siti del gruppo PFM
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pfmgroup-3
Template: astra
*/

h1,
h2,
h3,
h4 {
    padding-bottom: 0.3em
}
.white-text{
    color:#ffffff !important;
}

.pos-absolute {
    position: absolute !important
}

.video-slider a.wp-block-button__link {
    border: 2px solid #0170b9;
}

.video-slider a:focus {
    background: none !important;
    border: inherit !important
}

.video-slider a.is-active,
.video-slider a:focus {
    border-color: #fff !important;
    color: #fff !important;
}

.video-slider a.is-active .uagb-button__link {
    color: #fff !important;
}

.wp-block-uagb-buttons .uagb-block-66aaa894 .wp-block-button__link:focus {
    background: #3a3a3a;
}

.site-content#content {
    overflow-x: hidden;
}

.astra-advanced-hook-137 .main-header-menu .lang-item {
    display: none !important;
}

.scroll-image {
    overflow: hidden;
    max-width: none !important;
    width: 200vw !important;
    display: block;
}

.scroll-image figure {
    width: 100% !important;
    height: auto;
    max-width: 2000px !important;
}

.text-gradient-01 {
    background: linear-gradient(90deg, rgb(170, 218, 255) 0%, rgb(4, 69, 189) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow();
}

.astra-advanced-hook-14985 img,
.astra-advanced-hook-16543  img {
    width: clamp(200px, 40vw, 500px);
}

@media only screen and (max-width:781px) {
    .counter-block>.wp-block-column {
        border: 0;
    }
}

.product-list ul {
    margin: 0;
}

.product-list ul.sc-product-list {
    grid-template-columns: repeat(10, 1fr);
    list-style: none;
    gap: 8px;
}

.sc-product-list li h6 a {
    color: var(--ast-global-color-0);
}

.sc-product-list li:hover h6 a {
    color: var(--ast-global-color-1);
}

@media only screen and (max-width:1200px) {
    .product-list ul.sc-product-list {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media only screen and (max-width:992px) {
    .product-list ul.sc-product-list {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media only screen and (max-width:767px) {
    .product-list ul.sc-product-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media only screen and (max-width:544px) {
    .product-list ul.sc-product-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-list ul.sc-product-list li img {
    width: 100%;
}

.reccomended-machines h5 {
    padding: 20px;
}

.reccomended-machines .wp-block-uagb-info-box {
    background: #BEBEBE;
}

.reccomended-machines img {
    background: #ffffff;
}

.uagb-ifb-image-content {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    display: flex;
    overflow: hidden;
    position: relative;
    background: #ffffff;
}

.uagb-ifb-image-content>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@supports not (aspect-ratio: 16 / 9) {
    .uagb-ifb-image-content {
        height: 0;
        padding-top: 56.25%;
    }

    .uagb-ifb-image-content>img {
        position: absolute;
        inset: 0;
    }
}

/* SOLUTIONS CARDS */
.solution-card {
    height: 100%;
}

.solution-card>.wp-block-group__inner-container {
    display: grid;
    grid-template-rows: repeat(8, 1fr);
    grid-template-columns: repeat(8, 1fr);
}

.solution-card>.wp-block-group__inner-container .content {
    grid-row: 1/8;
    grid-column: 1/6;
    z-index: 50;
}

.solution-card>.wp-block-group__inner-container::after {
    content: "";
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

.solution-card>.wp-block-group__inner-container::after {
    grid-row: 1/9;
    grid-column: 6/9;
    z-index: 1;
    min-height: 400px;
}

.solution-card.sup-pack>.wp-block-group__inner-container::after {
    background-image: url("https://www.foodpackaging.guru/pfm-group/wp-content/uploads/sites/35/prestige-bag.svg");

}

.solution-card.fw-pack>.wp-block-group__inner-container::after {
    background-image: url("https://www.foodpackaging.guru/pfm-group/wp-content/uploads/sites/35/gussetted-horizontal.svg");
    /* background-image: url("https://www.foodpackaging.guru/pfm-group/wp-content/uploads/sites/35/gussetted-vertical.svg"); */
    filter: invert(1) brightness(2);
}

.solutions-grid .single-solution .solaris-packlist {
    justify-content: center !important;
}

@media only screen and (max-width:1200px) {
    .solution-card>.wp-block-group__inner-container .content {
        grid-row: 1/5;
        grid-column: 1/9;
    }

    .solution-card>.wp-block-group__inner-container::after {
        grid-row: 5/9;
        grid-column: 1/9;
        min-height: 300px;
    }
}

.product-list ul li img {
    filter: brightness(0) saturate(100%) invert(11%) sepia(76%) saturate(1727%) hue-rotate(189deg) brightness(99%) contrast(102%) !important;
}

.earth-right-bg {
    background-image:
        linear-gradient(to right,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.6) 60%,
            rgba(0, 0, 0, 0) 115%),
        url(https://www.foodpackaging.guru/pfm-group/wp-content/uploads/sites/35/fullscreen_earth-1.png) !important;


    background-position: 0 0, 100% 49%;
    background-repeat: no-repeat, no-repeat;
    background-size: cover, contain;
    background-attachment: scroll, scroll;
}

.earth-right-bg .method-icon-list img {
    padding: 20px;
}

@media only screen and (max-width:600px) {
    .earth-right-bg .method-icon-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .earth-right-bg .method-icon-list>.wp-block-group {
        width: 50%;
    }

    .earth-right-bg {
        background-size: cover !important;
        background-position: 15% 0% !important;
    }
}

/* WP GROUP GRID FIX */
.wp-block-group.is-layout-grid {
    display: block !important;
}

.wp-block-group.is-layout-grid>.wp-block-group__inner-container {
    display: grid;
    grid-template-columns: inherit;
    gap: inherit;
}


/* SOLUTIONS GRID */
.solutions-grid .machine-img img {
    max-height: 350px;
    max-width: 600px;
    width: auto;
}

.solutions-grid .single-solution>.wp-block-group__inner-container {
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: end;
}

.solutions-grid .single-solution>.wp-block-group__inner-container>.wp-block-group {
    height: 100%;
}

.solutions-grid .single-solution .wp-block-group.is-nowrap.is-layout-flex {
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.solutions-grid .single-solution figure.machine-img {
    flex: 1 1 auto;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.solutions-grid .single-solution figure.machine-img>img {
    max-width: 100%;
    height: auto;
    display: block;
}


@media only screen and (max-width:782px) {
    .solutions-grid>.wp-block-group__inner-container {
        grid-template-columns: 1fr !important;
    }
}

@media only screen and (max-width:1024px) {
    .solutions-grid .single-solution .is-layout-grid .wp-block-group__inner-container {
        grid-template-columns: 1fr;
        ;
    }

    .solutions-grid .single-solution .uagb-buttons__wrap.uagb-buttons-layout-wrap {
        justify-content: center;
    }

    .solutions-grid .single-solution .wp-block-uagb-buttons-child {
        width: 100% !important;
    }
}

/* RELATED PACK LIST */
.related.packs-list {
    padding-top: 4em;
}

.related.packs-list h5 {
    text-align: center;
    margin-bottom: 20px;
}

.related.packs-list>.wp-block-group__inner-container>a:hover {
    --card-element-scale: 1.016;
    transform: scale(var(--card-element-scale));
}

.related.packs-list>.wp-block-group__inner-container>a {
    cursor: pointer;
    transition: transform .3s cubic-bezier(0, 0, 0.5, 1);
    text-decoration: none;
    color: inherit;
    height: auto;
}

.related.packs-list>.wp-block-group__inner-container>a>.wp-block-group {
    height: 100%;
}

.related.packs-list>.wp-block-group__inner-container>a>.wp-block-group>.wp-block-group__inner-container {
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    gap: 16px;
}

.related.packs-list figure {
    margin: 0;
    text-align: center;
}

.related.packs-list figure img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* FEATURES LIST */
.features-list,
.related-pack-list {
    padding-right: 16px;
    padding-left: 16px;
}

.features-list>.wp-block-group__inner-container>.wp-block-group {
    border-radius: 40px;
    padding: var(--wp--preset--spacing--40);
}

.features-list>.wp-block-group__inner-container {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.features-list>.wp-block-group__inner-container>.wp-block-group {
    min-width: 0;
    height: 100%;
}

/* 1 elemento */
.features-list>.wp-block-group__inner-container:has(> .wp-block-group:first-child:last-child) {
    grid-template-columns: 1fr;
}

/* 2 elementi */
.features-list>.wp-block-group__inner-container:has(> .wp-block-group:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 4 elementi -> [1][2] / [3][4] */
.features-list>.wp-block-group__inner-container:has(> .wp-block-group:nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 5 elementi -> [1][2][3] / [4][5] centrati */
.features-list>.wp-block-group__inner-container:has(> .wp-block-group:nth-child(5):last-child) {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.features-list>.wp-block-group__inner-container:has(> .wp-block-group:nth-child(5):last-child)>.wp-block-group {
    grid-column: span 2;
}

.features-list>.wp-block-group__inner-container:has(> .wp-block-group:nth-child(5):last-child)>.wp-block-group:nth-child(4) {
    grid-column: 2 / span 2;
}

.features-list>.wp-block-group__inner-container:has(> .wp-block-group:nth-child(5):last-child)>.wp-block-group:nth-child(5) {
    grid-column: 4 / span 2;
}

/* TABLET */
@media (max-width: 1024px) {
    .features-list>.wp-block-group__inner-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .features-list>.wp-block-group__inner-container:has(> .wp-block-group:nth-child(3):last-child)>.wp-block-group,
    .features-list>.wp-block-group__inner-container:has(> .wp-block-group:nth-child(5):last-child)>.wp-block-group {
        grid-column: span 2;
    }

    .features-list>.wp-block-group__inner-container:has(> .wp-block-group:nth-child(3):last-child),
    .features-list>.wp-block-group__inner-container:has(> .wp-block-group:nth-child(5):last-child) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .features-list>.wp-block-group__inner-container:has(> .wp-block-group:nth-child(3):last-child)>.wp-block-group:nth-child(3) {
        grid-column: 2 / span 2;
    }

    .features-list>.wp-block-group__inner-container:has(> .wp-block-group:nth-child(5):last-child)>.wp-block-group:nth-child(4) {
        grid-column: span 2;
    }

    .features-list>.wp-block-group__inner-container:has(> .wp-block-group:nth-child(5):last-child)>.wp-block-group:nth-child(5) {
        grid-column: 2 / span 2;
    }

}

.features-list figure {
    margin: var(--wp--preset--spacing--40);
}

.features-list figure img {
    max-width: 120px !important;
    filter: brightness(0) saturate(100%) invert(29%) sepia(23%) saturate(487%) hue-rotate(173deg) brightness(93%) contrast(88%);
}

.machinery-list ul {
    margin: 0;
    grid-template-columns: 1fr;
    list-style: none;
}

.machinery-list ul li .wp-block-group__inner-container {
    margin: 0;
}

/* MACHINE LIST BADGES */
.machine-badges {
    display: flex;
    gap: 12px;
}

.single-machine .machine-badges {
    flex-flow: column;
}


.machine-badges .machine-badge {
    display: flex;
    flex-flow: row;
    gap: 12px;
    align-items: center;
}

.machinery-list ul li .machine-badges {
    position: absolute;
    top: 18px;
    right: 18px;
}

.machinery-list ul li .machine-badges .machine-badge {
    display: flex;
    flex-flow: column;
    gap: 4px;
}

.machinery-list ul li .machine-badges .machine-badge img {
    width: 44px;
}

.machinery-list ul li .machine-badges .machine-badge span {
    text-align: center;
    font-size: 10px;
}

.machinery-list ul li .machine-badges~.wp-block-group__inner-container {
    padding-top: 40px;
}

/* SINGLE MACHINE BADGES */
.machine-badges .machine-badge span {
    color: var(--ast-global-color-0);
    font-weight: 700;
}

@media (min-width: 700px) {

    .machinery-list ul,
    .solutions-grid.cut-bread {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .machinery-list ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .machinery-list ul {
        grid-template-columns: repeat(4, 1fr);
    }

    .solutions-grid.cut-bread {
        grid-template-columns: repeat(3, 1fr);
    }

    .d-series.machinery-list ul {
        grid-template-columns: repeat(3, 1fr);
    }
}


.related.machinery-list ul .wp-block-uagb-buttons-child {
    width: 100%;
}

.related.machinery-list ul li .uagb-button__icon,
.related.packs-list .uagb-button__icon {
    margin-left: 8px;
}

.related.packs-list .wp-block-uagb-buttons-child {
    width: 100%;
}

.machinery-list ul li svg,
.related.packs-list svg {
    width: 15px !important;
    height: 15px !important;
}

.machinery-list ul li .wp-block-button__link {
    margin: 0 !important;
}

.machinery-list .single-machine-content-wrap .wp-block-button__link,
.solutions-grid .wp-block-button__link,
.packs-list .wp-block-button__link {
    width: 100%;
}

.machinery-list .wp-block-post-featured-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.machinery-list li.type-machine>.wp-block-group>.wp-block-group__inner-container {
    display: flex;
    flex-flow: column;
    height: 100%;
    justify-content: space-between;
}

.machinery-list .wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
}

.machinery-list li.type-machine>div.wp-block-group {
    height: 100%;
}

.machinery-list .single-machine-content-wrap h4 a {
    color: inherit;
}


.full-width-container {
    max-width: 1900px !important;
    margin: auto;
    justify-self: center !important;
}


.entry-content .alignwide {
    max-width: 1440px !important;
    justify-self: center !important;
}

.black-text-gradient {
    background: radial-gradient(30.74% 122.3% at 56.79% 62.5%, #45AEFF 0%, #0A3C99 53.47%, #2B2B2B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* .white-text-gradient {
    background: radial-gradient(30.74% 122.3% at 56.79% 62.5%, #45AEFF 0%, #0A3C99 53.47%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
} */


/* .black-text-gradient {
    color: #0A3C99;
    background: linear-gradient(90deg, #0A3C99 0%, #06306f 55%, #2B2B2B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.white-text-gradient {
    color: #ffffff;
    background: linear-gradient(90deg, #ffffff 0%, #d9ecff 40%, #9fc9f2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} */

.white-icon img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}

canvas#gradient-canvas {
    margin-top: 0 !important;
}

/* GRADIENT BG */
.pfm-gradient-bg {
    position: relative;
    overflow: hidden;
}

.pfm-gradient-bg>canvas#gradient-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}

.pfm-gradient-bg>*:not(canvas#gradient-canvas) {
    position: relative;
    z-index: 1;
}

.pfm-gradient-bg.white {
    --gradient-color-1: #84b4d8;
    --gradient-color-2: #fff;
    --gradient-color-3: #84b4d8;
    --gradient-color-4: #fff;

    background: radial-gradient(circle at 50% 50%, #84b4d8 0%, #ffffff 70%);
}

.pfm-gradient-bg.blue {
    --gradient-color-1: #012c53;
    --gradient-color-2: #84b4d8;
    --gradient-color-3: #012c53;
    --gradient-color-4: #84b4d8;

    background: radial-gradient(circle at 50% 50%, #84b4d8 0%, #012c53 70%);
}

/* MACHINE HERO FEATURED IMAGE */
@media only screen and (min-width:782px) {
    body.single-machine .machine-hero figure {
        width: max(33.33%, calc(321px + (100vw - 1024px) / 2));
        max-width: 700px;
    }

    body.single-machine .machine-hero figure img {
        width: auto;
        max-height: 550px;
        padding: 16px;
    }

    body figure.hero-featured-image {
        width: max(33.33%, calc(321px + (100vw - 1024px) / 2));
        max-width: 700px;
    }

    body figure.hero-featured-image img {
        padding: 16px;
        width: auto;
        max-height: 550px;
    }

    body.single-application figure.hero-featured-image img,
    body.single-packstyle figure.hero-featured-image img,
    body figure.hero-featured-image.horizontal img {
        width: auto;
        max-height: 850px;
    }

    body.single-machine .machine-hero.horizontal figure,
    body figure.hero-featured-image.horizontal {
        width: max(60%, calc(615px + (100vw - 1024px) / 2));
        max-width: 1200px;
    }
}

/* HOME TOP HEADING */
@media only screen and (max-width:921px) {

    /*override stili astra */
    h1.home-top-heading {
        font-size: 60px;
    }
}

/* WHITE ICONS */
figure.white-icon img {
    filter: brightness(0) invert(1);
}

/* WHITE MENU */
.home #ast-mobile-header .menu-toggle,
.page-id-16111 #ast-mobile-header .menu-toggle,
.page-id-16340 #ast-mobile-header .menu-toggle  {
    color: white;
}

.home header div#ast-desktop-header nav.site-navigation #ast-hf-menu-1>li>a.menu-link,
.page-id-16111 header div#ast-desktop-header nav.site-navigation #ast-hf-menu-1>li>a.menu-link,
.page-id-16340 header div#ast-desktop-header nav.site-navigation #ast-hf-menu-1>li>a.menu-link  {
    color: white;
}

.home header .ast-mobile-menu-trigger-outline .mobile-menu-toggle-icon .ast-mobile-svg,
.page-id-16111 header .ast-mobile-menu-trigger-outline .mobile-menu-toggle-icon .ast-mobile-svg,
.page-id-16340 header .ast-mobile-menu-trigger-outline .mobile-menu-toggle-icon .ast-mobile-svg {
    fill: white;
}

.home header div#ast-desktop-header .site-logo-img img,
.home header .ast-mobile-header-wrap .site-logo-img img,
.page-id-16111 header div#ast-desktop-header .site-logo-img img,
.page-id-16111 .ast-mobile-header-wrap .site-logo-img img,
.page-id-16340 header div#ast-desktop-header .site-logo-img img,
.page-id-16340 .ast-mobile-header-wrap .site-logo-img img {
    filter: brightness(0) invert(1);
}

/* LARGE e XLARGE PARAGRAPH TEXT */
@media (max-width: 1024px) {
    p.has-large-font-size {
        font-size: 24px !important;
    }
}

@media (max-width: 768px) {
    p.has-large-font-size {
        font-size: 20px !important;
    }
}

@media (max-width: 1024px) {
    p.has-x-large-font-size {
        font-size: 32px !important;
    }
}

@media (max-width: 768px) {
    p.has-x-large-font-size {
        font-size: 28px !important;
    }
}


/* EVENTI FIERE  */
.event-list ul {
    margin: 0;
}

.event-list ul li>.wp-block-group {
    height: 100%;
}

.event-list ul li>.wp-block-group h4 {
    margin: 10px 0;
    padding: 0;
}

.event-list ul li>.wp-block-group>.wp-block-group__inner-container {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    height: 100%;
}

@media (max-width: 992px) {

    .event-list ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

.news-list ul li>.wp-block-group {
    overflow: hidden;
}

.news-list .wp-block-columns>.wp-block-column:first-child {
    display: flex;
}

.news-list .wp-block-columns>.wp-block-column:first-child figure {
    width: 100%;
    height: 100%;
    margin: 0;
}

.news-list .wp-block-columns>.wp-block-column:first-child figure a {
    display: block;
    width: 100%;
    height: 100%;
}

.news-list .wp-block-columns>.wp-block-column:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.news-list .wp-block-columns {
    align-items: stretch;
}

.event-list ul li .acf-group img {
    width: 30px !important;
}

.event-list ul li .acf-group .wp-block-mfb-meta-field-block {
    font-size: 20px;
    font-weight: 500;
}

/* PAGINATION */
.wp-block-query-pagination {
    gap: 10px;
    margin-top: 40px;
}

.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 10px 20px;
    border-radius: 16px;
    font: 700 18px/18px inherit;
    text-decoration: none;
    background: var(--ast-global-color-0);
    color: #ffffff;
    border: 1px solid #ffffff;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.wp-block-query-pagination .current {
    background: #ffffff;
    color: var(--ast-global-color-0);
    font-weight: 700;
}

.wp-block-query-pagination a:hover,
.wp-block-query-pagination .page-numbers:hover {
    background: #ffffff;
    color: var(--ast-global-color-0);
}

.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
    gap: 8px;
    white-space: nowrap;
}

/* STORE LOCATOR */

div#wpsl-stores,
div#wpsl-direction-details,
div#wpsl-gmap {
    height: 90vh !important;
}

#wpsl-wrap {
    margin-bottom: 0 !important;
}

#wpsl-wrap #wpsl-result-list ul li {
    padding: 10px 24px;
}

.wpsl-search {
    display: none;
}

/* BUTTONS */
.uagb-button__wrapper .uagb-buttons-repeater {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    background: linear-gradient(180deg, #012c53 0%, #001a33 100%);
    color: #fff;
    border: 0;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.25),
        0 8px 24px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    transition:
        transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        background 0.35s ease,
        border-color 0.35s ease;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.white-btn .uagb-button__wrapper .uagb-buttons-repeater {
    color: #012c53;
    background: linear-gradient(180deg, #ffffff 0%, #e6e6e6 100%);
}

.uagb-button__wrapper .uagb-button__link {
    position: relative;
    z-index: 2;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-align: center;
}

.uagb-button__wrapper .uagb-button__icon {
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.uagb-button__wrapper .uagb-buttons-repeater::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(120deg,
            rgba(255, 255, 255, 0) 20%,
            rgba(255, 255, 255, 0.16) 50%,
            rgba(255, 255, 255, 0) 80%);
    transform: translateX(-140%);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

.uagb-button__wrapper .uagb-buttons-repeater:hover {
    transform: translateY(-2px) scale(1.015);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.22),
        0 14px 30px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    background: linear-gradient(180deg, #2a2a2a 0%, #151515 100%);
}

.white-btn .uagb-button__wrapper .uagb-buttons-repeater:hover {
    color: #fff;
}

.uagb-button__wrapper:not(.modal-list *) .uagb-buttons-repeater:hover::before {
    transform: translateX(140%);
}

.uagb-button__wrapper:not(.modal-list *) .uagb-buttons-repeater:hover .uagb-button__icon {
    transform: translateX(4px);
}

.uagb-button__wrapper .uagb-buttons-repeater:active {
    transform: translateY(0) scale(0.985);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.22),
        0 6px 14px rgba(0, 0, 0, 0.16),
        inset 0 2px 6px rgba(0, 0, 0, 0.18);
}

/* accessibilità */
.uagb-button__wrapper .uagb-buttons-repeater:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.18);
}

@media (prefers-reduced-motion: reduce) {

    .uagb-button__wrapper .uagb-buttons-repeater,
    .uagb-button__wrapper .uagb-button__icon,
    .uagb-button__wrapper .uagb-buttons-repeater::before {
        transition: none;
    }
}
/* ACCROCCO PER SITE BUILDER BUG */
#post-12975 .astra-advanced-hook-16614,
#post-2889 .astra-advanced-hook-16614,
#post-12989 .astra-advanced-hook-16615,
#post-1120 .astra-advanced-hook-16615{
    display: none;
}