/*
 * Fullstack Theme - Override CSS
 *
 * Questo file viene caricato dopo tutti i CSS del tema.
 * Usalo per personalizzazioni locali senza toccare i file core.
 */

 .separator-section, .fullstack-entry-hero-separator {
    max-height: 128px !important;
    min-height: auto;
}
.site-header a {
    font-weight: bold;
    text-decoration: none;
    text-transform: lowercase;
}
h1.entry-title {
    line-height: 56px;
    text-shadow: none;
}
.entry-title strong, .fullstack-page-section-title strong {
    background-color: #113972;
    color: #ffffff;
    font-weight: inherit;
}
.home .fullstack-entry-hero {
    min-height: 90vh;
    position: relative;
    overflow: visible; /* Permette allo pseudo-elemento di uscire dalla hero */
}
.home .fullstack-entry-hero-col-inner, .page-id-61 .fullstack-entry-hero-col-inner {
    padding: 50px !important;
}

/* Pseudo-elemento decorativo nella hero della home */
.home .fullstack-entry-hero-overlay-container {
    position: relative;
    overflow: visible; /* Permette allo pseudo-elemento di uscire dal container */
}

.home .fullstack-entry-hero-overlay-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -70px;
    width: 140px;
    height: 140px;
    background-color: #DEDFE0;
    border-radius: 14px;
    transform: rotate(45deg) translateY(100px);
    transform-origin: center center;
    z-index: 10;
    /* Per metà sulla hero, per metà sulla section sottostante */
    pointer-events: none;
}
.fullstack-entry-hero-col-inner {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    box-shadow: 10px 3px 6px #00000029;
}
#strumenti .fullstack-page-section-inner{
    box-shadow: 10px 3px 6px #00000029;
    border-radius: 14px;

}
#strumenti .fullstack-page-section-inner {
    box-shadow: 10px 3px 6px #00000029;
    border-radius: 14px;
    padding: 3rem;
    margin-bottom: 3rem;    
}

.page-id-52 section.fullstack-page-section.fullstack-entry-content-section {
    padding-bottom: 0;
}
.page-id-52 section.fullstack-page-section.fullstack-entry-cta-section{
    padding-top: 0;
}

/* Pseudo-elemento di sfondo ruotato per blocchi video */
.fullstack-page-section-block.fullstack-page-section-block-video {
    position: relative;
    z-index: 1; /* sopra lo sfondo della section */
}

.fullstack-page-section-block.fullstack-page-section-block-video::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #e5e7eb; /* Grigio chiaro come nell'immagine */
    border-radius: 24px; /* arrotondamento simile all'esempio */
    transform: rotate(-15deg) scale(1.05); /* leggermente più grande per far uscire gli angoli */
    z-index: 0; /* dietro alla maschera/video ma sopra lo sfondo */
}
section.video-block-margin{
    margin-top: 5rem!important;
    margin-bottom: 5rem!important;
}
section#progetto {
    min-height: 206px !important;
}
.roadmap h2.fullstack-page-section-title {
    background-color: #DEDFE0;
    padding: 10px;
    border-radius: 14px;
}
section#brixa {
    min-height: 160px;
    padding-bottom: 0 !important;
}
section#stats {
    margin-bottom: 6rem;
}
#stats .fullstack-page-section-col-inner {
    background-color: #EFEFEF;
    padding: 0rem 2rem;
    border-radius: 14px;
    border: 3px dashed #113972;
}
.site-footer-pre .site-footer-logo-img {
    max-height: 198px;
    width: auto;
}
.page-id-56 .fullstack-entry-hero-col-inner{
    box-shadow: none;
    background-color: transparent!important;
}
span.fullstack-page-section-cta-label {
    font-size: 26px;
}
section#groupbrixa {
    min-height: 70vh;
}
#block-brixa .fullstack-page-section-columns.fullstack-page-section-columns-2 {
    background-color: #EFEFEF;
    border-radius: 14px;
    box-shadow: 5px 5px 15px #00000029;
    gap: 0;
}
#block-brixa .fullstack-page-section-columns-2 .fullstack-page-section-col {
    flex: auto;
}
#block-brixa .fullstack-page-section-block.fullstack-page-section-block-image {
    background-color: #fff;
    padding: 20px;
}
#block-brixa .fullstack-page-section-text {
    padding: 30px;
}
form button.fullstack-page-section-form-submit {
    position: relative;
    display: inline-block;
    width: 100%;
}
.page-id-52 section.fullstack-page-section.fullstack-entry-cta-section {
    min-height: 128px;
}
#brixa-contacts .fullstack-page-section-stats-item::after{
    display: none;
}
#brixa-contacts .fullstack-page-section-col-inner{
    width: 100%;
}
#brixa-contacts .fullstack-page-section-stats-items {
    justify-content: space-between;
}
.form-section .fullstack-page-section-col-inner {
    background-color: #ffff;
    padding: 2rem 5rem;
    border-radius: 14px;
    box-shadow: 5px 5px 15px #00000029;
    width: 100%;
}
.form-section h2.fullstack-page-section-title, .form-section .fullstack-page-section-text {
    text-align: center;
}
.blue-bg .fullstack-page-section-block.fullstack-page-section-block-video::before {
    background-color: #113972;
}
.fullstack-entry-hero-col{
    flex: none;
}
.fullstack-entry-hero-title .entry-title, .fullstack-entry-hero-excerpt, .fullstack-entry-hero-title h1.entry-title {
    text-shadow: none;
}
span.fullstack-page-section-cta-icon-image img {
    max-width: 2.2rem !important;
    margin-left: 10px;
}
#strumenti .fullstack-page-section-title {
    max-width: 75%;
    margin: auto;
}
@media (max-width: 767px) {
    #strumenti .fullstack-page-section-title {
        max-width: 100%;
        margin: auto;
    }
    span.fullstack-page-section-cta-icon-image img {
        max-width: inherit;
        margin-left: inherit;
    }
    .fullstack-page-section-block.fullstack-page-section-block-video::before{
        display: none;
    }
    .home .fullstack-entry-hero-col-inner {
        padding: 20px !important;
    }
    /* Nascondi pseudo-elemento decorativo hero home su mobile */
    .home .fullstack-entry-hero-overlay-container::after {
        display: none;
    }
    
    /* Dimensioni font titoli su mobile */
    h1.entry-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .fullstack-entry-hero-title .entry-title,
    .fullstack-entry-hero-title h1.entry-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .fullstack-entry-inline-title .entry-title,
    .fullstack-entry-inline-title h1.entry-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .fullstack-page-section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    h2.fullstack-page-section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    h3.fullstack-page-section-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    /* Titoli nei blocchi delle colonne */
    .fullstack-page-section-block-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    /* Altri titoli comuni */
    h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    h4 {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    
    /* CTA label su mobile */
    span.fullstack-page-section-cta-label {
        font-size: 1.25rem;
    }
    
    /* Padding e margini ridotti su mobile */
    #strumenti .fullstack-page-section-inner {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    section#groupbrixa {
        min-height: 50vh;
    }
    
    #block-brixa .fullstack-page-section-text {
        padding: 20px;
    }
    .fullstack-entry-hero-overlay {
        position: relative;
    } 
    .form-section .fullstack-page-section-col-inner{
        padding: 2rem 1rem;
    }     
    .fullstack-entry-hero-col-inner {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .home section.fullstack-page-section.fullstack-page-section-layout-2.fullstack-page-section-index-3.fullstack-page-section-has-inner-offset.video-block-margin {
        margin-bottom: 0 !important;
        padding-bottom: 0;
    }
}