/* ============================================================
   2026 CUSTOM STYLES
   Stili personalizzati per tutte le pagine custom del sito
   ============================================================ */

/* ============================================================
   WHAT WE DO PAGE - template-what-we-do.php
   ============================================================ */

/* Hero Section */
.page-template-template-what-we-do .section-one {
    height: 100vh;
    padding: 0;
}

/* Sezione introduttiva */
.page-template-template-what-we-do .section-intro {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #2c2c2c 0%, #222222 26%, #181818 58%, #111111 100%);
    padding: 88px 0 72px;
}

.page-template-template-what-we-do .summary-uno {
    margin-top: 0;
}

.page-template-template-what-we-do .section-intro::before,
.page-template-template-what-we-do .section-intro::after,
.page-template-template-what-we-do .slider-tabs::before,
.page-template-template-what-we-do .slider-tabs::after {
    content: none;
}

.page-template-template-what-we-do .section-intro > .o-container,
.page-template-template-what-we-do .slider-tabs > .o-container-full {
    position: relative;
    z-index: 1;
}

.page-template-template-what-we-do .section-intro .c-summary_list {
    margin-top: 24px;
}

.page-template-template-what-we-do .section-intro .c-summary_list_item a {
    color: #f0ece4 !important;
}

.page-template-template-what-we-do .section-intro .c-summary_list_item a,
.page-template-template-what-we-do .section-intro .c-summary_list_item a i,
.page-template-template-what-we-do .section-intro .c-summary_list_item {
    color: #f0ece4 !important;
}

.page-template-template-what-we-do span.testo-grande {
    display: block;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 30px;
}

.page-template-template-what-we-do span.testo-grande.minuscolo {
    text-transform: none;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.4;
}

/* Animation container */
.page-template-template-what-we-do .animation-container {
    position: relative;
    height: auto;
    width: 100%;
}

.page-template-template-what-we-do .sfondo-spirale {
    width: 100%;
    height: auto;
    display: block;
}

.page-template-template-what-we-do #animazione-what-we-do {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.page-template-template-what-we-do .cover-mobile {
    position: relative;
    width: 100%;
    height: auto;
}

.page-template-template-what-we-do .sfondo-spirale-mobile {
    width: 100%;
    height: auto;
    display: block;
}

.page-template-template-what-we-do #animazione-what-we-do-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Slider / Carousel section */
.page-template-template-what-we-do .slider .page-slider {
    position: relative;
    height: 80vh;
}

/* Nascondi i radio input */
.page-template-template-what-we-do .slider .page-slider input[type="radio"] {
    display: none;
}

/* Overlay nero per migliorare il contrasto tra sfondo e testo */
.page-template-template-what-we-do .slider .page-slider .slide::after {
    content: '';
    position: absolute;
    inset: 0;
    display: block !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 1 !important;
    pointer-events: none;
}

/* Assicurati che il contenuto testuale sia sopra l'overlay */
.page-template-template-what-we-do .slider .page-slider .slide .row {
    position: relative;
    z-index: 2;
}

.page-template-template-what-we-do .slider .page-slider .menu-slide-top {
    position: absolute !important;
    top: 55px !important;
    left: 4% !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    text-align: left !important;
    padding-left: 12% !important;
    z-index: 999 !important;
}

.page-template-template-what-we-do .slider .page-slider .menu-slide-top .counter-slide {
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-right: 20px !important;
    color: #d8273a !important;
    font-family: 'Conthrax Sb', sans-serif !important;
}

.page-template-template-what-we-do .slider .page-slider .menu-slide-top .text-menu-slide {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

.page-template-template-what-we-do .slider .page-slider .menu-slide-top label {
    cursor: pointer !important;
    opacity: 0.6 !important;
    transition: opacity 0.3s !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    display: inline-block !important;
    padding: 0 1em !important;
}

.page-template-template-what-we-do .slider .page-slider .menu-slide-top label:hover,
.page-template-template-what-we-do .slider .page-slider .menu-slide-top label.active {
    opacity: 1 !important;
}

.page-template-template-what-we-do .slider .page-slider .slide {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10;
    transition: left 0s 0.95s;
}

/* Slide attiva - mostra la slide quando il radio è checked */
.page-template-template-what-we-do .slider .page-slider input[type="radio"]:checked + .slide {
    left: 0;
    z-index: 100;
    transition: left 0.95s ease-out;
}

/* Animazioni testo slide */
.page-template-template-what-we-do .slider .page-slider .slide h2,
.page-template-template-what-we-do .slider .page-slider .slide span,
.page-template-template-what-we-do .slider .page-slider .slide p {
    opacity: 0;
    transform: translateY(100%);
    transition: transform 1.8s 0.5s, opacity 1.8s;
}

.page-template-template-what-we-do .slider .page-slider input[type="radio"]:checked + .slide h2,
.page-template-template-what-we-do .slider .page-slider input[type="radio"]:checked + .slide span,
.page-template-template-what-we-do .slider .page-slider input[type="radio"]:checked + .slide p {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s 0.5s;
}

.page-template-template-what-we-do .slider .page-slider .slide:before {
    display: none !important;
}

/* Background images per ogni slide */
.page-template-template-what-we-do .slider .page-slider .slide-one {
    background-image: url('../img/Nautical.jpg');
}

.page-template-template-what-we-do .slider .page-slider .slide-two {
    background-image: url('../img/2026/RINO.png');
}

.page-template-template-what-we-do .slider .page-slider .slide-three {
    background-image: url('../img/2026/CCSKETCH-ZOOM.png');
}

.page-template-template-what-we-do .slider .page-slider .slide-four {
    background-image: url('../img/2026/TEN78_FANALE_POST.png');
}

.page-template-template-what-we-do .slider .page-slider .slide-five {
    background-image: url('../img/2026/VISORE.png');
}

.page-template-template-what-we-do .slider .page-slider .slide .row {
    position: absolute !important;
    bottom: 100px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 2 !important;
}

/* Stili per i testi nelle slide */
.page-template-template-what-we-do .slider .page-slider .slide .counter-metodi {
    display: block !important;
    text-align: left !important;
    color: #D8273A !important;
    font-family: 'Conthrax Sb', sans-serif !important;
    font-weight: 600 !important;
    font-size: 24px !important;
    margin-bottom: 15px !important;
    position: relative !important;
    z-index: 2 !important;
}

.page-template-template-what-we-do .slider .page-slider .slide .title-metodi {
    color: #fff !important;
    font-size: 55px !important;
    line-height: 55px !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: -1.1px !important;
    margin-bottom: 20px !important;
    position: relative !important;
    z-index: 2 !important;
}

.page-template-template-what-we-do .slider .page-slider .slide .c-sections_infos_text p {
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 300 !important;
    position: relative !important;
    z-index: 2 !important;
}

.page-template-template-what-we-do .slider .page-slider .slide .c-section_infos {
    position: relative !important;
    z-index: 2 !important;
}

/* Clean tab layout for What We Do */
.page-template-template-what-we-do .slider-tabs {
    position: relative;
    overflow: hidden;
    background: #000;
    margin-top: -2px;
    padding: 24px 0 0;
}

.page-template-template-what-we-do .slider-tabs .o-container-full {
    max-width: 1360px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.page-template-template-what-we-do .whatwedo-tabs {
    position: relative;
}

.page-template-template-what-we-do .whatwedo-tabs__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.page-template-template-what-we-do .whatwedo-tabs__nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.14);
}

.page-template-template-what-we-do .whatwedo-tabs__tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 72px;
    padding: 14px 12px;
    border: none;
    border-radius: 0;
    background: #000;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.page-template-template-what-we-do .whatwedo-tabs__tab-number {
    display: none !important;
}

.page-template-template-what-we-do .whatwedo-tabs__tab-title {
    position: relative;
    z-index: 2;
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    transition: color 0.25s ease;
}

.page-template-template-what-we-do .whatwedo-tabs__tab-preview {
    display: none !important;
}

.page-template-template-what-we-do .whatwedo-tabs__tab--1 .whatwedo-tabs__tab-preview {
    background-image: url('../img/2026/MOTORCYCLE.jpg');
}

.page-template-template-what-we-do .whatwedo-tabs__tab--2 .whatwedo-tabs__tab-preview {
    background-image: url('../img/NAUTICAL-concept-design-c-creative-boat.jpg');
}

.page-template-template-what-we-do .whatwedo-tabs__tab--3 .whatwedo-tabs__tab-preview {
    background-image: url('../img/2026/INDUSTRIAL.jpg');
}

.page-template-template-what-we-do .whatwedo-tabs__tab--4 .whatwedo-tabs__tab-preview {
    background-image: url("../img/2026/FUTURE MOBILITY.jpg");
}

.page-template-template-what-we-do .whatwedo-tabs__tab--5 .whatwedo-tabs__tab-preview {
    background-image: url("../img/2026/BRAND IDENTITY.jpg");
}

.page-template-template-what-we-do #slide-1-trigger:checked ~ .whatwedo-tabs__nav .whatwedo-tabs__tab--1,
.page-template-template-what-we-do #slide-2-trigger:checked ~ .whatwedo-tabs__nav .whatwedo-tabs__tab--2,
.page-template-template-what-we-do #slide-3-trigger:checked ~ .whatwedo-tabs__nav .whatwedo-tabs__tab--3,
.page-template-template-what-we-do #slide-4-trigger:checked ~ .whatwedo-tabs__nav .whatwedo-tabs__tab--4,
.page-template-template-what-we-do #slide-5-trigger:checked ~ .whatwedo-tabs__nav .whatwedo-tabs__tab--5 {
    background: #1a1a1a;
    box-shadow: none;
    transform: none;
}

.page-template-template-what-we-do #slide-1-trigger:checked ~ .whatwedo-tabs__nav .whatwedo-tabs__tab--1 .whatwedo-tabs__tab-title,
.page-template-template-what-we-do #slide-2-trigger:checked ~ .whatwedo-tabs__nav .whatwedo-tabs__tab--2 .whatwedo-tabs__tab-title,
.page-template-template-what-we-do #slide-3-trigger:checked ~ .whatwedo-tabs__nav .whatwedo-tabs__tab--3 .whatwedo-tabs__tab-title,
.page-template-template-what-we-do #slide-4-trigger:checked ~ .whatwedo-tabs__nav .whatwedo-tabs__tab--4 .whatwedo-tabs__tab-title,
.page-template-template-what-we-do #slide-5-trigger:checked ~ .whatwedo-tabs__nav .whatwedo-tabs__tab--5 .whatwedo-tabs__tab-title {
    color: #e52d12;
    padding-right: 0;
}

.page-template-template-what-we-do .whatwedo-tabs__panels {
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    right: 50%;
    width: 100vw;
}

.page-template-template-what-we-do .whatwedo-tabs__panel {
    display: none;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    background: #000;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

/* Dark gradient overlay on the panel image */
.page-template-template-what-we-do .whatwedo-tabs__panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.28) 55%, rgba(0,0,0,0.08) 100%);
    z-index: 2;
    pointer-events: none;
}

.page-template-template-what-we-do #slide-1-trigger:checked ~ .whatwedo-tabs__panels .whatwedo-tabs__panel--1,
.page-template-template-what-we-do #slide-2-trigger:checked ~ .whatwedo-tabs__panels .whatwedo-tabs__panel--2,
.page-template-template-what-we-do #slide-3-trigger:checked ~ .whatwedo-tabs__panels .whatwedo-tabs__panel--3,
.page-template-template-what-we-do #slide-4-trigger:checked ~ .whatwedo-tabs__panels .whatwedo-tabs__panel--4,
.page-template-template-what-we-do #slide-5-trigger:checked ~ .whatwedo-tabs__panels .whatwedo-tabs__panel--5 {
    display: block;
}

.page-template-template-what-we-do .whatwedo-tabs__copy {
    position: absolute;
    bottom: 52px;
    left: 150px;
    right: 52px;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    z-index: 3;
}

.page-template-template-what-we-do .whatwedo-tabs__copy .counter-metodi {
    display: none !important;
}

.page-template-template-what-we-do .whatwedo-tabs__copy .title-metodi {
    font-size: clamp(2.5rem, 4vw, 3.8rem) !important;
    line-height: 0.94 !important;
    margin-bottom: 14px !important;
    color: #fff !important;
}

.page-template-template-what-we-do .whatwedo-tabs__copy .c-sections_infos_text p {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 16px !important;
    line-height: 1.58 !important;
    margin-bottom: 0 !important;
}

.page-template-template-what-we-do .whatwedo-tabs__highlight {
    margin-top: 14px !important;
    color: #fff !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;
}

.page-template-template-what-we-do .whatwedo-tabs__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 0;
    background: #000;
    z-index: 1;
}

.page-template-template-what-we-do .whatwedo-tabs__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Design is an art section - hidden */
.page-template-template-what-we-do .design-art-section {
    display: none !important;
}

/* Nascondere la sezione DESIGN Method (section-three) */
.page-template-template-what-we-do .section-three {
    display: none !important;
}

.page-template-template-what-we-do .design-art-section .design-art-banner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.page-template-template-what-we-do .design-art-section .design-art-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 80px;
    font-weight: 400;
    color: #fff;
    text-transform: lowercase;
    letter-spacing: 2px;
    margin: 0;
    text-align: center;
}

/* Responsive styles for What We Do page */
@media (max-width: 1199px) {
    .page-template-template-what-we-do .design-art-section .design-art-text {
        font-size: 60px;
    }

    .page-template-template-what-we-do .slider .page-slider .menu-slide-top .counter-slide {
        font-size: 28px !important;
    }

    .page-template-template-what-we-do .slider .page-slider .menu-slide-top .text-menu-slide {
        font-size: 18px !important;
    }

    .page-template-template-what-we-do .whatwedo-tabs__nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .page-template-template-what-we-do .whatwedo-tabs__panel {
        min-height: 60vh;
    }

    .page-template-template-what-we-do .whatwedo-tabs__copy {
        left: 88px;
        right: 32px;
        bottom: 40px;
    }
}

@media (max-width: 800px) {
    .page-template-template-what-we-do .slider .page-slider .menu-slide-top .text-menu-slide {
        display: none !important;
    }

    .page-template-template-what-we-do .slider .page-slider .menu-slide-top .counter-slide {
        color: #ffffff !important;
    }
}

@media (max-width: 767px) {
    .page-template-template-what-we-do .design-art-section .design-art-text {
        font-size: 40px;
        letter-spacing: 1px;
    }

    .page-template-template-what-we-do .slider .page-slider .slide .row {
        bottom: 60px !important;
    }

    .page-template-template-what-we-do .slider-tabs {
        padding: 8px 0 0;
    }

    .page-template-template-what-we-do .slider-tabs .o-container-full {
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-template-template-what-we-do .whatwedo-tabs__nav {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 6px;
        margin-right: -4px;
    }

    .page-template-template-what-we-do .whatwedo-tabs__tab {
        min-width: 160px;
        min-height: 56px;
        padding: 12px 14px;
    }

    .page-template-template-what-we-do .whatwedo-tabs__tab-title {
        font-size: 12px;
    }

    .page-template-template-what-we-do .whatwedo-tabs__panel {
        min-height: 55vh;
    }

    .page-template-template-what-we-do .whatwedo-tabs__copy {
        left: 72px;
        right: 20px;
        bottom: 28px;
    }

    .page-template-template-what-we-do .whatwedo-tabs__copy .title-metodi {
        font-size: 34px !important;
    }
}

@media (max-width: 499px) {
    .page-template-template-what-we-do .design-art-section .design-art-text {
        font-size: 32px;
    }

    .page-template-template-what-we-do .slider .page-slider .menu-slide-top label {
        padding: 0 8px !important;
    }
}

/* Metodi section - sfondo chiaro */
.page-template-template-what-we-do .metodi {
    background-color: #d9d6cf !important;
    padding-top: 110px !important;
    padding-bottom: 90px !important;
}

.page-template-template-what-we-do .metodi .o-container-full {
    max-width: 1360px !important;
    margin: 0 auto !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}

.page-template-template-what-we-do .metodi .counter-metodi {
    display: block !important;
    font-size: 38px !important;
    color: #E52D12 !important;
    font-weight: 700 !important;
    margin-bottom: 2px !important;
    text-transform: uppercase !important;
    letter-spacing: -0.03em !important;
    line-height: 1 !important;
}

.page-template-template-what-we-do .metodi .title-metodi {
    color: #000000 !important;
    font-size: 38px !important;
    line-height: 0.98 !important;
    margin-bottom: 22px !important;
    font-weight: 600 !important;
    letter-spacing: -0.03em !important;
    margin-left: -2px !important;
}

.page-template-template-what-we-do .metodi .sotto-titolo {
    color: #000000 !important;
    display: block !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
}

.page-template-template-what-we-do .metodi .c-sections_infos_text p {
    color: #242424 !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    margin-bottom: 0 !important;
}

.page-template-template-what-we-do .metodi .row.metodo {
    margin-bottom: 100px !important;
    align-items: center !important;
    justify-content: center !important;
}

.page-template-template-what-we-do .metodi .metodo-copy {
    display: flex !important;
    align-items: center !important;
}

.page-template-template-what-we-do .metodi .c-section_infos.-padding {
    padding-left: 0 !important;
    padding-right: 60px !important;
    padding-top: 0 !important;
    max-width: 560px !important;
}

.page-template-template-what-we-do .metodi .blocco-testo {
    margin-left: 0 !important;
    padding-left: 80px !important;
    padding-right: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.page-template-template-what-we-do .metodi .c-sections_infos_text {
    margin-bottom: 28px !important;
    padding-left: 58px !important;
}

/* Immagini statiche visibili - tutte con stesse dimensioni e aspect ratio */
.page-template-template-what-we-do .metodi .c-speed-block {
    width: 100% !important;
    display: block !important;
    max-width: 640px !important;
    margin-left: auto !important;
}

.page-template-template-what-we-do .metodi .o-image_wrapper {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    display: block !important;
    background: #c8c4bc !important;
}

.page-template-template-what-we-do .metodi .o-image {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.page-template-template-what-we-do .metodi .o-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    -webkit-transform: scale(1) !important;
    transition: none !important;
    -webkit-transition: none !important;
}

/* Footer contact section with blur */
.page-template-template-what-we-do .section-footer-hl2 {
    position: relative;
    overflow: hidden;
    background: transparent !important;
}

.page-template-template-what-we-do .section-footer-hl2 .footer-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: blur(3px);
    transform: scale(1.05);
}

.page-template-template-what-we-do .section-footer-hl2 .footer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.page-template-template-what-we-do .section-footer-hl2 .section-six.footer {
    background: transparent !important;
}

.page-template-template-what-we-do .section-footer-hl2 .o-container {
    position: relative;
    z-index: 2;
}

.page-template-template-what-we-do .section-footer-hl2 h3,
.page-template-template-what-we-do .section-footer-hl2 p,
.page-template-template-what-we-do .section-footer-hl2 a {
    color: #ffffff !important;
}

.page-template-template-what-we-do .section-footer-hl2 .c-section_infos_inner.c-cta h3 {
    color: #ffffff !important;
}

/* Mobile responsive */
@media (max-width: 1199px) {
    .page-template-template-what-we-do .metodi .title-metodi {
        font-size: 34px !important;
    }

    .page-template-template-what-we-do .metodi .counter-metodi {
        font-size: 34px !important;
    }

    .page-template-template-what-we-do .metodi .o-image_wrapper {
        aspect-ratio: 1 / 1 !important;
    }
}

@media (max-width: 768px) {
    .page-template-template-what-we-do .slider .page-slider .slide .row {
        bottom: 60px;
    }

    .page-template-template-what-we-do .metodi .blocco-testo {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 30px !important;
        margin-bottom: 0 !important;
    }

    .page-template-template-what-we-do .metodi .metodo-copy {
        margin-bottom: 0 !important;
    }

    .page-template-template-what-we-do .metodi .row.metodo {
        margin-bottom: 80px !important;
    }

    .page-template-template-what-we-do .metodi .c-section_infos.-padding {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: none !important;
    }

    .page-template-template-what-we-do .metodi .title-metodi {
        font-size: 30px !important;
    }

    .page-template-template-what-we-do .metodi .counter-metodi {
        font-size: 30px !important;
    }

    .page-template-template-what-we-do .metodi .c-sections_infos_text p,
    .page-template-template-what-we-do .metodi .sotto-titolo {
        font-size: 15px !important;
    }

    .page-template-template-what-we-do .metodi .c-sections_infos_text {
        padding-left: 0 !important;
    }

    .page-template-template-what-we-do .metodi .o-image_wrapper {
        aspect-ratio: 1 / 1 !important;
    }
}

@media (max-width: 499px) {
    .page-template-template-what-we-do .metodi .title-metodi {
        font-size: 26px !important;
        line-height: 1.08 !important;
    }

    .page-template-template-what-we-do .metodi .counter-metodi {
        font-size: 26px !important;
    }

    .page-template-template-what-we-do .metodi .sotto-titolo,
    .page-template-template-what-we-do .metodi .c-sections_infos_text p {
        font-size: 14px !important;
    }

    .page-template-template-what-we-do .metodi .row.metodo {
        margin-bottom: 60px !important;
    }

    .page-template-template-what-we-do .metodi .o-image_wrapper {
        aspect-ratio: 1 / 1 !important;
    }
}


/* ============================================================
   HOME PAGE - template-home2.php
   ============================================================ */

/* CSS Variables - Globali */
:root {
    --h2-dark:    #eceded;
    --h2-black:   #111111;
    --h2-white:   #0e0e0e;
    --h2-gray:    #555;
    --h2-accent:  #e52d12;
    --h2-accent2: #0e0e0e;
    --h2-border:  rgba(0,0,0,0.08);
    --transition: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Eliminare micro-gap tra sezioni dovuti a Locomotive Scroll - Globale */
[data-scroll-section] {
    margin-bottom: -1px;
}

/* Reusable Editorial Hero
   Assegna la classe `.cc-page-hero` al wrapper hero per riutilizzare
   questo pattern su tutte le prossime pagine custom. */
:root {
    --cc-editorial-accent: #d5d5d5;
    --cc-editorial-text: #f0ece4;
    --cc-editorial-muted: rgba(240, 236, 228, 0.72);
}

.cc-page-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.cc-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 88% 100%, rgba(216, 39, 58, 0.24) 0%, rgba(216, 39, 58, 0.12) 18%, rgba(216, 39, 58, 0.03) 34%, rgba(216, 39, 58, 0) 54%);
    z-index: 1;
    pointer-events: none;
}

.cc-page-hero .news-hero__inner {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.cc-page-hero .news-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cc-page-hero .news-hero__bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(60%) contrast(1.08);
}

.cc-page-hero .news-hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 14, 14, 0.92) 0%, rgba(14, 14, 14, 0.68) 48%, rgba(14, 14, 14, 0.88) 100%);
    mix-blend-mode: multiply;
    z-index: 1;
}

.cc-page-hero .news-hero__content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    background: none !important;
    background-image: none !important;
}

.cc-page-hero .news-hero__label {
    display: block;
    font-size: clamp(0.65rem, 1vw, 0.75rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cc-editorial-accent);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.cc-page-hero .news-hero__title {
    font-size: clamp(4rem, 14vw, 13rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    color: var(--cc-editorial-text);
    margin: 0;
}

.cc-page-hero .news-hero__title-line {
    display: block;
}

.cc-page-hero .news-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cc-page-hero .news-hero__meta-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--cc-editorial-accent);
}

.cc-page-hero .news-hero__meta-text {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cc-editorial-muted);
}

.cc-page-hero .news-hero__scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.cc-page-hero .news-hero__scroll-indicator span {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--cc-editorial-accent));
    animation: ccHeroScrollLine 1.8s ease-in-out infinite;
    margin: 0 auto;
}

@keyframes ccHeroScrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
    }
    40% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }
    60% {
        transform: scaleY(1);
        transform-origin: bottom;
        opacity: 1;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
        opacity: 0;
    }
}

/* Hero Section */
.section-hero .c-header {
    position: relative;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.section-hero .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.section-hero .hero-logo {
    position: relative;
    z-index: 3;
    margin-top: 30px;
}

.section-hero .hero-logo img,
.section-hero .hero-logo .custom-logo {
    max-height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
}

.section-hero .hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, transparent, #111111);
    z-index: 2;
}

/* Claim Section - testo a rotazione */
.section-claim {
    padding: 100px 0 110px;
    overflow: hidden;
}

.section-claim-white {
    background: #111111;
}

.claim-ticker-item-black {
    color: #f0ece4 !important;
}

.claim-ticker-wrap {
    position: relative;
    height: clamp(3rem, 6vw, 5rem);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.claim-ticker-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1rem, 2.2vw, 1.45rem);
    font-weight: 300;
    line-height: 1.5;
    text-align: center;
    color: #f0ece4;
    letter-spacing: 0.01em;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.6s ease, visibility 0s linear 0.6s;
    pointer-events: none;
    will-change: opacity;
}

.claim-ticker-item.is-active {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.6s ease, visibility 0s linear 0s;
    pointer-events: auto;
    animation: tickerIn 0.6s ease forwards;
}

.claim-ticker-item.is-leaving {
    visibility: visible;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
    animation: tickerOut 0.4s ease forwards;
}

@keyframes tickerIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tickerOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-22px);
    }
}

/* Video Preview Section */
.section-video-preview {
    background: #111111;
    position: relative;
}

.video-preview-wrapper {
    position: relative;
    width: 100%;
    line-height: 0;
    height: clamp(240px, 40vw, 520px);
}

.video-preview-wrapper img.poster-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.75);
    transition: filter 0.4s ease;
}

.video-preview-wrapper:hover img.poster-image {
    filter: brightness(0.55);
}

.video-play-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    z-index: 4;
    pointer-events: none;
    transition: transform 0.4s ease;
}

.video-preview-wrapper:hover .video-play-ring {
    transform: translate(-50%, -50%) scale(1.12);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(229, 45, 18, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
}

.video-play-btn:hover {
    background: var(--h2-accent);
    transform: translate(-50%, -50%) scale(1.08);
}

.video-play-btn svg {
    width: 20px;
    height: 24px;
    fill: #fff;
    margin-left: 4px;
}

/* Content Blocks - Design Evolvers / We Are / What We Do */
.section-content-block {
    background-color: var(--h2-dark);
    padding: clamp(3rem, 6vw, 5rem) 0;
    border-top: none;
}

.section-content-block + .section-content-block {
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
    border-top: none;
}

.cb-title-primary {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--h2-accent);
    margin: 0;
}

.cb-title-secondary {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 0.95;
    text-transform: lowercase;
    letter-spacing: -0.02em;
    color: var(--h2-accent2);
    margin: 0 0 2.5rem;
    padding-left: clamp(1rem, 3vw, 2.5rem);
}

.cb-text {
    font-size: clamp(0.88rem, 1.3vw, 1rem);
    font-weight: 300;
    line-height: 1.8;
    color: var(--h2-gray);
    margin-bottom: 1.25rem;
}

.cb-image-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.cb-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}

.cb-image-wrap:hover img {
    transform: scale(1.03);
}

.cb-image-wrap--wide {
    aspect-ratio: 16 / 10;
}

.cb-image-wrap--tall {
    aspect-ratio: 1 / 1;
}

.cb-image-wrap--sq {
    aspect-ratio: 1;
}

/* Gallery Section - 5 colonne, 2 righe */
.section-gallery {
    background-color: var(--h2-dark);
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
    overflow: hidden;
}

.section-gallery > .o-container {
    max-width: none;
    padding-left: 60px;
    padding-right: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: transparent;
}

@media (max-width: 768px) {
    .section-gallery > .o-container {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Quote Section */
.section-quote {
    background-color: #111111;
    padding: clamp(5rem, 10vw, 9rem) 0;
    border-top: none;
}

.quote-text {
    font-size: clamp(0.95rem, 1.8vw, 1.5rem);
    font-weight: 300;
    line-height: 1.7;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    color: #f0ece4;
    letter-spacing: 0em;
}

.quote-text .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.quote-text .word.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Video Modal */
.h2-modal-bg {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.h2-modal-bg.active {
    display: flex;
    opacity: 1;
}

.h2-modal-box {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.h2-modal-bg.active .h2-modal-box {
    transform: scale(1);
}

.h2-modal-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.h2-modal-close {
    position: absolute;
    top: -50px;
    right: -10px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.3s, background 0.3s, transform 0.3s;
}

.h2-modal-close:hover {
    opacity: 1;
    background: rgba(0,0,0,0.9);
    transform: scale(1.1);
}

/* Footer con immagine di sfondo e overlay */
.section-footer-hl2 {
    position: relative;
    overflow: hidden;
}

.footer-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: blur(3px);
    transform: scale(1.05);
}

.footer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.section-footer-hl2.section-four {
    background: transparent !important;
}

.section-footer-hl2 .o-container {
    position: relative;
    z-index: 2;
}

.section-footer-hl2 h3,
.section-footer-hl2 p,
.section-footer-hl2 a {
    color: #ffffff !important;
}

.section-footer-hl2 .c-section_infos_inner.c-cta h3 {
    color: #ffffff !important;
}

/* PNG Crossfade - sotto il claim */
.cc-crossfade-section {
    background: var(--h2-dark);
    display: flex;
    justify-content: center;
    padding: 2rem 0 0;
}

.cc-crossfade {
    position: relative;
    width: clamp(260px, 40vw, 580px);
}

.cc-img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.5s ease;
    will-change: opacity;
}

.cc-img:first-child {
    position: relative;
    opacity: 1;
}

.cc-img:not(:first-child) {
    position: absolute;
    top: 0;
    left: 0;
}

.cc-img--active {
    opacity: 1 !important;
}

/* What We Do - immagine di sfondo con parallax */
.section-whatwedo {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.whatwedo-bg-img {
    position: absolute;
    inset: -15%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: grayscale(20%);
    width: calc(100% + 30%);
    height: calc(100% + 30%);
}

.whatwedo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(14, 14, 14, 0.88) 0%,
        rgba(14, 14, 14, 0.65) 55%,
        rgba(14, 14, 14, 0.45) 100%
    );
    z-index: 1;
}

.whatwedo-content {
    position: relative;
    z-index: 2;
    padding: clamp(5rem, 10vw, 9rem) 0;
    width: 100%;
}

.whatwedo-content .cb-text {
    color: rgba(240, 236, 228, 0.75);
}

.section-whatwedo .cb-title-primary {
    color: var(--h2-accent);
}

.section-whatwedo .cb-title-secondary {
    color: #f0ece4;
}

/* Responsive - Home Page */
@media (max-width: 768px) {
    .cb-title-primary {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
        padding-left: 1.5rem;
    }

    .cb-title-secondary {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
        padding-left: 2rem;
    }

    .cb-text {
        font-size: clamp(0.95rem, 1.5vw, 1.1rem);
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .section-content-block .row > div + div {
        margin-top: 2.5rem;
    }

    .section-whatwedo .cb-title-primary {
        padding-left: 1.5rem;
    }

    .section-whatwedo .cb-title-secondary {
        padding-left: 2rem;
    }

    .section-whatwedo .cb-text {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}


/* ============================================================
   CONTACT PAGE
   Stili per la pagina contatti
   ============================================================ */

.page-template-template-contact .section-one {
    height: 100vh;
    padding: 0;
}

.page-template-template-contact .news-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.page-template-template-contact .news-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 88% 100%, rgba(216, 39, 58, 0.24) 0%, rgba(216, 39, 58, 0.12) 18%, rgba(216, 39, 58, 0.03) 34%, rgba(216, 39, 58, 0) 54%);
    z-index: 2;
    pointer-events: none;
}

.page-template-template-contact .news-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-template-template-contact .news-hero__bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(60%) contrast(1.08);
}

.page-template-template-contact .news-hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 14, 14, 0.92) 0%, rgba(14, 14, 14, 0.68) 48%, rgba(14, 14, 14, 0.88) 100%);
    mix-blend-mode: multiply;
    z-index: 1;
}

.page-template-template-contact .news-hero__inner {
    position: relative;
    z-index: 3;
    overflow: hidden;
}

.page-template-template-contact .news-hero__content {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    background: none !important;
    background-image: none !important;
}

.page-template-template-contact .section-one .content {
    background: none !important;
    background-image: none !important;
}

.page-template-template-contact .news-hero__label {
    font-size: clamp(0.65rem, 1vw, 0.75rem);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 600;
    display: block;
    margin-bottom: 0.75rem;
    color: var(--cc-editorial-accent);
}

.page-template-template-contact .news-hero__title {
    font-size: clamp(4rem, 14vw, 13rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin: 0;
    color: var(--cc-editorial-text);
}

.page-template-template-contact .news-hero__title-line {
    display: block;
}

.page-template-template-contact .news-hero__meta {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-template-template-contact .news-hero__meta-line {
    width: 40px;
    height: 1px;
    background: var(--cc-editorial-accent);
}

.page-template-template-contact .news-hero__meta-text {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cc-editorial-muted);
}

.page-template-template-contact .news-hero__scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.page-template-template-contact .news-hero__scroll-indicator span {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--cc-editorial-accent));
    animation: ccHeroScrollLine 1.8s ease-in-out infinite;
    margin: 0 auto;
}

.page-template-template-contact .section-footer-hl2 {
    position: relative;
    overflow: hidden;
    background: transparent !important;
}

.page-template-template-contact .section-footer-hl2 .footer-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: blur(3px);
    transform: scale(1.05);
}

.page-template-template-contact .section-footer-hl2 .footer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.page-template-template-contact .section-footer-hl2 .o-container {
    position: relative;
    z-index: 2;
}

.page-template-template-contact .section-footer-hl2 .section-six.footer {
    background: transparent !important;
}

.page-template-template-contact .section-footer-hl2 .text-contatti {
    padding-top: 0 !important;
    padding-bottom: 50px !important;
    display: flex;
    justify-content: center;
}

.page-template-template-contact .section-footer-hl2 .text-contatti .c-summary-no,
.page-template-template-contact .section-footer-hl2 .text-contatti .c-section_infos,
.page-template-template-contact .section-footer-hl2 .text-contatti .c-section_infos_inner {
    width: 100%;
}

.page-template-template-contact .section-footer-hl2 .text-contatti .wpcf7 {
    width: 100%;
    max-width: 760px;
    margin: 0 auto !important;
}

.page-template-template-contact .section-footer-hl2 .wpcf7-form {
    margin: 0 auto;
}

.page-template-template-contact .section-footer-hl2 .wpcf7 .wpcf7-form p {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.page-template-template-contact .section-footer-hl2 .wpcf7 input.wpcf7-submit,
.page-template-template-contact .section-footer-hl2 .wpcf7 .wpcf7-submit {
    display: block !important;
    width: 100%;
    max-width: 220px;
    margin: 32px auto 0 !important;
    text-align: center !important;
}

.page-template-template-contact .contact-location-row {
    row-gap: 48px;
    align-items: start;
}

.page-template-template-contact .contact-location-title {
    margin-bottom: 0 !important;
}

.page-template-template-contact .contact-location-copy {
    max-width: 640px;
    padding-top: 18px;
}

.page-template-template-contact .contact-location-address {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 30px;
    line-height: 1.28;
    font-weight: 400;
    color: #181818;
    margin-bottom: 28px;
}

.page-template-template-contact .contact-location-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(24, 24, 24, 0.82);
    margin-bottom: 18px;
    max-width: 720px;
}

.page-template-template-contact .contact-location-link-wrap {
    margin-bottom: 0;
}

.page-template-template-contact .contact-location-map-card {
    margin-top: 0;
}

.page-template-template-contact .contact-location-map-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 20px;
}

.page-template-template-contact .contact-location-map-label {
    display: inline-block;
    font-family: 'Conthrax Sb', sans-serif;
    font-size: 13px;
    letter-spacing: 0.12em;
    color: #d8273a;
}

.page-template-template-contact .contact-location-map-address {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(24, 24, 24, 0.72);
}

.page-template-template-contact .contact-location-map {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(24, 24, 24, 0.08);
    background: #dcd8d1;
    aspect-ratio: 4 / 3;
}

.page-template-template-contact .contact-location-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(100%) contrast(1.05);
}

.page-template-template-contact .section-footer-hl2 .wpcf7 input[type="text"],
.page-template-template-contact .section-footer-hl2 .wpcf7 input[type="email"],
.page-template-template-contact .section-footer-hl2 .wpcf7 input[type="tel"],
.page-template-template-contact .section-footer-hl2 .wpcf7 input[type="url"],
.page-template-template-contact .section-footer-hl2 .wpcf7 textarea {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.78) !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-shadow: none !important;
}

.page-template-template-contact .section-footer-hl2 .wpcf7 input[type="text"]:focus,
.page-template-template-contact .section-footer-hl2 .wpcf7 input[type="email"]:focus,
.page-template-template-contact .section-footer-hl2 .wpcf7 input[type="tel"]:focus,
.page-template-template-contact .section-footer-hl2 .wpcf7 input[type="url"]:focus,
.page-template-template-contact .section-footer-hl2 .wpcf7 textarea:focus {
    color: #ffffff !important;
    background: transparent !important;
    border-bottom: 2px solid #ffffff !important;
    box-shadow: none !important;
}

.page-template-template-contact .section-footer-hl2 .wpcf7 input[type="text"]::placeholder,
.page-template-template-contact .section-footer-hl2 .wpcf7 input[type="email"]::placeholder,
.page-template-template-contact .section-footer-hl2 .wpcf7 input[type="tel"]::placeholder,
.page-template-template-contact .section-footer-hl2 .wpcf7 input[type="url"]::placeholder,
.page-template-template-contact .section-footer-hl2 .wpcf7 textarea::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.page-template-template-contact .section-footer-hl2 .wpcf7 .wpcf7-list-item-label,
.page-template-template-contact .section-footer-hl2 .wpcf7 .wpcf7-not-valid-tip,
.page-template-template-contact .section-footer-hl2 .wpcf7 p.small-text {
    color: #ffffff !important;
}

.page-template-template-contact .section-footer-hl2 .wpcf7 p.small-text,
.page-template-template-contact .section-footer-hl2 .wpcf7 .small-text {
    text-align: center !important;
    max-width: 760px;
    margin: 16px auto 0 !important;
}

.page-template-template-contact .section-footer-hl2 h3,
.page-template-template-contact .section-footer-hl2 h4,
.page-template-template-contact .section-footer-hl2 p,
.page-template-template-contact .section-footer-hl2 a,
.page-template-template-contact .section-footer-hl2 label {
    color: #ffffff !important;
}

@media (max-width: 767px) {
    .page-template-template-contact .news-hero__title {
        font-size: clamp(3rem, 18vw, 5.5rem);
    }

    .page-template-template-contact .news-hero__label {
        font-size: 0.65rem;
    }

    .page-template-template-contact .news-hero__meta-text {
        font-size: 0.62rem;
    }

    .page-template-template-contact .section-footer-hl2 .text-contatti .wpcf7 {
        max-width: none;
    }

    .page-template-template-contact .contact-location-copy {
        padding-top: 0;
    }

    .page-template-template-contact .contact-location-address {
        font-size: 24px;
        line-height: 1.25;
        margin-bottom: 22px;
    }

    .page-template-template-contact .contact-location-description {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-template-template-contact .contact-location-map {
        aspect-ratio: 1 / 1;
    }
}

/* Allinea Contact e What We Do alla scala reale usata dal template blog */
.page-template-template-contact .hero__heading,
.page-template-template-what-we-do .hero__heading {
    font-size: 9vw;
    margin: 0 auto;
}


/* ============================================================
   WE ARE 2026 PAGE - template-we-are2.php
   ============================================================ */

.page-template-template-we-are2 .section-one {
    min-height: 100vh;
    padding: 0;
}

.page-template-template-we-are2 .cc-page-hero,
.page-template-template-we-are2 .cc-page-hero > .o-container-full,
.page-template-template-we-are2 .cc-page-hero .c-header,
.page-template-template-we-are2 .cc-page-hero .news-hero__inner {
    min-height: 100vh;
    height: 100vh;
}

.page-template-template-we-are2 .cc-page-hero .o-container-full {
    height: 100%;
}

.page-template-template-we-are2 .hero__heading {
    font-size: 9vw;
    margin: 0 auto;
}

.page-template-template-we-are2 .news-hero__label {
    color: var(--cc-editorial-accent);
}

.page-template-template-we-are2 .news-hero__meta-line {
    background: var(--cc-editorial-accent);
}

.page-template-template-we-are2 .news-hero__meta-text {
    color: var(--cc-editorial-muted);
}

.page-template-template-we-are2 .news-hero__scroll-indicator span {
    background: linear-gradient(to bottom, transparent, var(--cc-editorial-accent));
}

.page-template-template-we-are2 .weare-quote-section {
    margin-top: -1px;
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.page-template-template-we-are2 .weare-quote-section .o-container {
    max-width: none;
    padding-left: 40px;
    padding-right: 40px;
}

.page-template-template-we-are2 .weare-quote-section .quote-text {
    max-width: 980px;
}

.page-template-template-we-are2 .weare-editorial-section,
.page-template-template-we-are2 .weare-founders-section {
    background: #d9d6cf;
}

.page-template-template-we-are2 .weare-editorial-section {
    padding: 116px 0 172px;
}

.page-template-template-we-are2 .weare-editorial {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-template-template-we-are2 .weare-editorial__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 64px;
    align-items: start;
}

.page-template-template-we-are2 .weare-editorial__row + .weare-editorial__row {
    margin-top: 176px;
}

.page-template-template-we-are2 .weare-editorial__eyebrow {
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-style: italic;
    font-weight: 600;
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 0.95;
    color: #e52d12;
    letter-spacing: -0.04em;
}

.page-template-template-we-are2 .weare-editorial__title {
    margin: 4px 0 18px 26px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    line-height: 0.98;
    font-weight: 500;
    color: #202020;
    letter-spacing: -0.04em;
}

.page-template-template-we-are2 .weare-editorial__lead,
.page-template-template-we-are2 .weare-editorial__sublead {
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    line-height: 1.18;
    text-transform: uppercase;
    color: #252525;
    max-width: 420px;
}

.page-template-template-we-are2 .weare-editorial__sublead {
    margin-bottom: 32px;
}

.page-template-template-we-are2 .weare-editorial__copy {
    padding-top: 84px;
}

.page-template-template-we-are2 .weare-editorial__row--mission .weare-editorial__copy {
    padding-top: 162px;
}

.page-template-template-we-are2 .weare-editorial__copy--wide {
    padding-top: 0;
}

.page-template-template-we-are2 .weare-editorial__copy--teamwork {
    padding-top: 54px;
}

.page-template-template-we-are2 .weare-editorial__copy p {
    margin: 0;
    max-width: 520px;
    color: rgba(32, 32, 32, 0.88);
    font-size: 18px;
    line-height: 1.55;
}

.page-template-template-we-are2 .weare-editorial__copy p + p {
    margin-top: 18px;
}

.page-template-template-we-are2 .weare-editorial__media {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    background: #c6c1b9;
}

.page-template-template-we-are2 .weare-editorial__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.page-template-template-we-are2 .weare-founders-section {
    position: relative;
    margin-top: -2px;
    padding: 48px 0 120px;
    transform: translateZ(0);
}

.page-template-template-we-are2 .weare-founders {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-template-template-we-are2 .weare-founders__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.page-template-template-we-are2 .weare-founders__board {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background: #d9d6cf;
    transform: translateZ(0);
}

.page-template-template-we-are2 .weare-founders__top {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.page-template-template-we-are2 .weare-founders__card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background: #262626;
    z-index: 1;
}

.page-template-template-we-are2 .weare-founders__card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.56);
    transition: opacity 0.35s ease, background 0.35s ease;
}

.page-template-template-we-are2 .weare-founders__card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.35s ease, transform 0.45s ease, opacity 0.35s ease;
}

.page-template-template-we-are2 .weare-founders__card-name {
    position: absolute;
    left: 24px;
    bottom: 20px;
    z-index: 2;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(240, 236, 228, 0.84);
    transition: opacity 0.3s ease;
}

.page-template-template-we-are2 .weare-founders__overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.page-template-template-we-are2 .weare-founders__layer {
    display: none;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.page-template-template-we-are2 .weare-founders__visual,
.page-template-template-we-are2 .weare-founders__bio {
    position: absolute;
    top: 0;
    bottom: 0;
}

.page-template-template-we-are2 .weare-founders__visual {
    display: block;
    left: 0;
    width: 33.333%;
    cursor: pointer;
    z-index: 1;
}

.page-template-template-we-are2 .weare-founders__visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.page-template-template-we-are2 .weare-founders__bio {
    top: 0;
    bottom: 0;
    left: 33.333%;
    right: 0;
    z-index: 2;
       -webkit-backdrop-filter: blur(4px);
    padding: 42px 46px;
    color: #f0ece4;
}

.page-template-template-we-are2 .weare-founders__role {
    display: block;
    margin-bottom: 18px;
    font-family: 'Conthrax Sb', sans-serif;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(240, 236, 228, 0.66);
}

.page-template-template-we-are2 .weare-founders__name {
    margin: 0 0 22px;
    line-height: 0.96;
    letter-spacing: -0.012em;
}

.page-template-template-we-are2 .weare-founders__name-first,
.page-template-template-we-are2 .weare-founders__name-last {
    display: block;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: -0.012em;
}

.page-template-template-we-are2 .weare-founders__name-first {
    color: #e52d12;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
}

.page-template-template-we-are2 .weare-founders__name-last {
    color: #ffffff;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 400;
    margin-left: 42px;
}

.page-template-template-we-are2 .weare-founders__bio p {
    margin: 0;
    max-width: 720px;
    font-size: 19px;
    line-height: 1.45;
    color: rgba(240, 236, 228, 0.88);
}

.page-template-template-we-are2 #founder-giovanni:checked ~ .weare-founders__board .weare-founders__card::after,
.page-template-template-we-are2 #founder-adrian:checked ~ .weare-founders__board .weare-founders__card::after,
.page-template-template-we-are2 #founder-paolo:checked ~ .weare-founders__board .weare-founders__card::after {
    background: rgba(0, 0, 0, 0.82);
}

.page-template-template-we-are2 #founder-giovanni:checked ~ .weare-founders__board .weare-founders__card img,
.page-template-template-we-are2 #founder-adrian:checked ~ .weare-founders__board .weare-founders__card img,
.page-template-template-we-are2 #founder-paolo:checked ~ .weare-founders__board .weare-founders__card img {
    opacity: 0.18;
    transform: scale(1);
}

.page-template-template-we-are2 #founder-giovanni:checked ~ .weare-founders__board .weare-founders__card-name,
.page-template-template-we-are2 #founder-adrian:checked ~ .weare-founders__board .weare-founders__card-name,
.page-template-template-we-are2 #founder-paolo:checked ~ .weare-founders__board .weare-founders__card-name {
    opacity: 0;
}

.page-template-template-we-are2 #founder-giovanni:checked ~ .weare-founders__board .weare-founders__overlay,
.page-template-template-we-are2 #founder-adrian:checked ~ .weare-founders__board .weare-founders__overlay,
.page-template-template-we-are2 #founder-paolo:checked ~ .weare-founders__board .weare-founders__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.35s ease, visibility 0s linear 0s;
}

.page-template-template-we-are2 #founder-giovanni:checked ~ .weare-founders__board .weare-founders__layer--giovanni,
.page-template-template-we-are2 #founder-adrian:checked ~ .weare-founders__board .weare-founders__layer--adrian,
.page-template-template-we-are2 #founder-paolo:checked ~ .weare-founders__board .weare-founders__layer--paolo {
    display: block;
    opacity: 1;
}

.page-template-template-we-are2 .section-footer-hl2 .section-six.footer {
    background: transparent !important;
}

.page-template-template-we-are2 .section-footer-hl2 h3,
.page-template-template-we-are2 .section-footer-hl2 p,
.page-template-template-we-are2 .section-footer-hl2 a {
    color: #ffffff !important;
}

.page-template-template-we-are2 .section-footer-hl2 .footer-under.due,
.page-template-template-we-are2 .section-footer-hl2 .footer-under.due p,
.page-template-template-we-are2 .section-footer-hl2 .footer-under.due a,
.page-template-template-we-are2 .section-footer-hl2 .cookie a {
    color: rgba(255, 255, 255, 0.78) !important;
}

@media (max-width: 1199px) {
    .page-template-template-we-are2 .weare-editorial__row {
        gap: 42px;
    }

    .page-template-template-we-are2 .weare-founders__bio p {
        font-size: 17px;
    }
}

@media (max-width: 900px) {
    .page-template-template-we-are2 .weare-quote-section {
        padding: clamp(3.5rem, 8vw, 4.5rem) 0;
    }

    .page-template-template-we-are2 .weare-quote-section .o-container,
    .page-template-template-we-are2 .weare-editorial,
    .page-template-template-we-are2 .weare-founders {
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-template-template-we-are2 .weare-editorial__row,
    .page-template-template-we-are2 .weare-editorial__copy {
        padding-top: 0;
    }

    .page-template-template-we-are2 .weare-editorial-section {
        padding: 88px 0 136px;
    }

    .page-template-template-we-are2 .weare-editorial__row + .weare-editorial__row {
        margin-top: 120px;
    }

    .page-template-template-we-are2 .weare-founders__top {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
        overflow-x: auto;
    }

    .page-template-template-we-are2 .weare-founders__board {
        min-height: 860px;
    }

    .page-template-template-we-are2 .weare-founders__visual {
        width: 100%;
        height: 340px;
        bottom: auto;
    }

    .page-template-template-we-are2 .weare-founders__bio {
        left: 0;
        right: 0;
        top: 340px;
        padding: 28px 24px;
    }
}

@media (max-width: 767px) {
    .page-template-template-we-are2 .news-hero__title {
        font-size: clamp(3.2rem, 18vw, 5.8rem);
    }

    .page-template-template-we-are2 .weare-editorial-section {
        padding: 72px 0 112px;
    }

    .page-template-template-we-are2 .weare-editorial__title {
        margin-left: 0;
    }

    .page-template-template-we-are2 .weare-editorial__lead,
    .page-template-template-we-are2 .weare-editorial__sublead,
    .page-template-template-we-are2 .weare-editorial__copy p {
        font-size: 16px;
    }

    .page-template-template-we-are2 .weare-editorial__media {
        min-height: 280px;
    }

    .page-template-template-we-are2 .weare-founders__board {
        min-height: 760px;
    }

    .page-template-template-we-are2 .weare-founders__bio p {
        font-size: 16px;
        line-height: 1.52;
    }
}


/* ============================================================
   CAREERS 2026 PAGE - template-careers2026.php
   ============================================================ */

.page-template-template-careers2026 .section-one {
    min-height: 100vh;
    padding: 0;
}

.page-template-template-careers2026 .cc-page-hero,
.page-template-template-careers2026 .cc-page-hero > .o-container-full,
.page-template-template-careers2026 .cc-page-hero .c-header,
.page-template-template-careers2026 .cc-page-hero .news-hero__inner {
    min-height: 100vh;
    height: 100vh;
}

.page-template-template-careers2026 .cc-page-hero .o-container-full {
    height: 100%;
}

.page-template-template-careers2026 .hero__heading {
    font-size: 9vw;
    margin: 0 auto;
}

.page-template-template-careers2026 .news-hero__label {
    color: var(--cc-editorial-accent);
}

.page-template-template-careers2026 .news-hero__meta-line {
    background: var(--cc-editorial-accent);
}

.page-template-template-careers2026 .news-hero__meta-text {
    color: var(--cc-editorial-muted);
}

.page-template-template-careers2026 .news-hero__scroll-indicator span {
    background: linear-gradient(to bottom, transparent, var(--cc-editorial-accent));
}

.page-template-template-careers2026 .careers-editorial-section {
    background: #d9d6cf;
    padding: 112px 0 128px;
}

.page-template-template-careers2026 .careers-editorial {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 44px 72px;
    align-items: start;
}

.page-template-template-careers2026 .careers-editorial__intro {
    max-width: 520px;
}

.page-template-template-careers2026 .careers-editorial__eyebrow,
.page-template-template-careers2026 .careers-openings__eyebrow {
    display: block;
    font-family: 'Conthrax Sb', sans-serif;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-template-template-careers2026 .careers-editorial__eyebrow {
    color: #d8273a;
    margin-bottom: 18px;
}

.page-template-template-careers2026 .careers-editorial__title {
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: clamp(3rem, 5vw, 4.9rem);
    line-height: 0.92;
    font-weight: 400;
    letter-spacing: -0.05em;
    color: #181818;
    max-width: 14ch;
}

.page-template-template-careers2026 .careers-editorial__lead {
    margin: 24px 0 0;
    max-width: 32rem;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(24, 24, 24, 0.82);
}

.page-template-template-careers2026 .careers-editorial__copy {
    padding-top: 14px;
    max-width: 620px;
}

.page-template-template-careers2026 .careers-editorial__copy p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(24, 24, 24, 0.82);
}

.page-template-template-careers2026 .careers-editorial__copy p + p {
    margin-top: 18px;
}

.page-template-template-careers2026 .careers-editorial__principles {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 8px;
}

.page-template-template-careers2026 .careers-editorial__principle {
    padding: 24px 24px 26px;
    border: 1px solid rgba(24, 24, 24, 0.1);
    background: rgba(255, 255, 255, 0.34);
}

.page-template-template-careers2026 .careers-editorial__principle-label {
    display: block;
    margin-bottom: 12px;
    font-family: 'Conthrax Sb', sans-serif;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d8273a;
}

.page-template-template-careers2026 .careers-editorial__principle p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(24, 24, 24, 0.76);
}

.page-template-template-careers2026 .careers-openings-section {
    background:
        linear-gradient(180deg, #050505 0%, #0b0b0b 42%, #111111 100%);
    padding: 112px 0 130px;
    color: #f0ece4;
}

.page-template-template-careers2026 .careers-openings {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-template-template-careers2026 .careers-openings__statement {
    max-width: 980px;
    margin-bottom: 56px;
}

.page-template-template-careers2026 .careers-openings__eyebrow {
    color: rgba(240, 236, 228, 0.58);
    margin-bottom: 18px;
}

.page-template-template-careers2026 .careers-openings__headline {
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: clamp(3rem, 5.8vw, 6rem);
    line-height: 0.92;
    font-weight: 400;
    letter-spacing: -0.06em;
    color: #f0ece4;
    max-width: 11ch;
}

.page-template-template-careers2026 .careers-openings__copy {
    margin: 24px 0 0;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.75;
    color: rgba(240, 236, 228, 0.72);
}

.page-template-template-careers2026 .careers-openings__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 26px;
}

.page-template-template-careers2026 .careers-openings__count {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(240, 236, 228, 0.66);
}

.page-template-template-careers2026 .careers-openings__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 22px;
}

.page-template-template-careers2026 .careers-openings__grid--1 {
    grid-template-columns: minmax(0, 1fr);
}

.page-template-template-careers2026 .career-role-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    min-width: 0;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.page-template-template-careers2026 .career-role-card:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 39, 58, 0.3);
    background: rgba(255, 255, 255, 0.03);
}

.page-template-template-careers2026 .career-role-card__link {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    text-decoration: none;
    color: #f0ece4;
}

.page-template-template-careers2026 .career-role-card__media {
    position: relative;
    overflow: hidden;
    background: #161616;
}

.page-template-template-careers2026 .career-role-card--primary .career-role-card__media {
    aspect-ratio: 16 / 10;
}

.page-template-template-careers2026 .career-role-card--secondary .career-role-card__media {
    aspect-ratio: 4 / 3;
}

.page-template-template-careers2026 .career-role-card__img,
.page-template-template-careers2026 .career-role-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: block;
}

.page-template-template-careers2026 .career-role-card__img {
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.page-template-template-careers2026 .career-role-card:hover .career-role-card__img {
    transform: scale(1.04);
    filter: brightness(0.92);
}

.page-template-template-careers2026 .career-role-card__img-placeholder {
    background:
        linear-gradient(135deg, rgba(216, 39, 58, 0.2) 0%, rgba(255, 255, 255, 0.03) 100%),
        #161616;
}

.page-template-template-careers2026 .career-role-card__body {
    display: flex;
    flex-direction: column;
    padding: 24px 24px 28px;
    min-width: 0;
}

.page-template-template-careers2026 .career-role-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.page-template-template-careers2026 .career-role-card__type,
.page-template-template-careers2026 .career-role-card__location {
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-template-template-careers2026 .career-role-card__type {
    color: #d8273a;
}

.page-template-template-careers2026 .career-role-card__location {
    color: rgba(240, 236, 228, 0.5);
}

.page-template-template-careers2026 .career-role-card__line {
    width: 18px;
    height: 1px;
    background: rgba(240, 236, 228, 0.28);
}

.page-template-template-careers2026 .career-role-card__title {
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: clamp(2rem, 3.2vw, 3.6rem);
    line-height: 0.94;
    font-weight: 400;
    letter-spacing: -0.045em;
    color: #f0ece4;
    max-width: 11ch;
}

.page-template-template-careers2026 .career-role-card--secondary .career-role-card__title {
    font-size: clamp(1.6rem, 2.2vw, 2.4rem);
    max-width: 12ch;
}

.page-template-template-careers2026 .career-role-card__excerpt {
    margin: 18px 0 0;
    max-width: 34rem;
    font-size: 15px;
    line-height: 1.72;
    color: rgba(240, 236, 228, 0.72);
}

.page-template-template-careers2026 .career-role-card__cta {
    margin-top: auto;
    padding-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #f0ece4;
}

.page-template-template-careers2026 .career-role-card__arrow {
    transition: transform 0.3s ease;
}

.page-template-template-careers2026 .career-role-card:hover .career-role-card__arrow {
    transform: translateX(5px);
}

.page-template-template-careers2026 .careers-openings__empty {
    padding: 28px 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    max-width: 760px;
}

.page-template-template-careers2026 .careers-openings__empty p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(240, 236, 228, 0.72);
}

.page-template-template-careers2026 .careers-openings__empty a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #f0ece4;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 12px;
    text-decoration: none;
}

.page-template-template-careers2026 .careers-apply-section {
    background: #d9d6cf;
    padding: 0 0 118px;
}

.page-template-template-careers2026 .careers-apply {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-template-template-careers2026 .careers-apply .wpcf7 p {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.page-template-template-careers2026 .careers-apply .wpcf7 input[type="text"],
.page-template-template-careers2026 .careers-apply .wpcf7 input[type="email"],
.page-template-template-careers2026 .careers-apply .wpcf7 input[type="tel"],
.page-template-template-careers2026 .careers-apply .wpcf7 input[type="url"],
.page-template-template-careers2026 .careers-apply .wpcf7 textarea {
    color: #181818 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(24, 24, 24, 0.55) !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-shadow: none !important;
}

.page-template-template-careers2026 .careers-apply .wpcf7 input[type="text"]:focus,
.page-template-template-careers2026 .careers-apply .wpcf7 input[type="email"]:focus,
.page-template-template-careers2026 .careers-apply .wpcf7 input[type="tel"]:focus,
.page-template-template-careers2026 .careers-apply .wpcf7 input[type="url"]:focus,
.page-template-template-careers2026 .careers-apply .wpcf7 textarea:focus {
    color: #181818 !important;
    background: transparent !important;
    border-bottom: 2px solid #181818 !important;
    box-shadow: none !important;
}

.page-template-template-careers2026 .careers-apply .wpcf7 input[type="text"]::placeholder,
.page-template-template-careers2026 .careers-apply .wpcf7 input[type="email"]::placeholder,
.page-template-template-careers2026 .careers-apply .wpcf7 input[type="tel"]::placeholder,
.page-template-template-careers2026 .careers-apply .wpcf7 input[type="url"]::placeholder,
.page-template-template-careers2026 .careers-apply .wpcf7 textarea::placeholder {
    color: rgba(24, 24, 24, 0.54) !important;
}

.page-template-template-careers2026 .careers-apply .wpcf7 input.wpcf7-submit,
.page-template-template-careers2026 .careers-apply .wpcf7 .wpcf7-submit {
    display: block !important;
    width: 100%;
    max-width: 220px;
    margin: 32px auto 0 !important;
    text-align: center !important;
}

.page-template-template-careers2026 .section-footer-hl2 {
    position: relative;
    overflow: hidden;
    background: transparent !important;
}

.page-template-template-careers2026 .section-footer-hl2 .footer-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: blur(3px);
    transform: scale(1.05);
}

.page-template-template-careers2026 .section-footer-hl2 .footer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
    z-index: 1;
}

.page-template-template-careers2026 .section-footer-hl2 .o-container {
    position: relative;
    z-index: 2;
}

.page-template-template-careers2026 .section-footer-hl2 .section-six.footer {
    background: transparent !important;
}

.page-template-template-careers2026 .careers-contact__intro p,
.page-template-template-careers2026 .careers-contact__fallback p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.page-template-template-careers2026 .section-footer-hl2 .text-contatti {
    display: flex;
    justify-content: center;
}

.page-template-template-careers2026 .section-footer-hl2 .text-contatti .c-summary-no,
.page-template-template-careers2026 .section-footer-hl2 .text-contatti .c-section_infos,
.page-template-template-careers2026 .section-footer-hl2 .text-contatti .c-section_infos_inner {
    width: 100%;
}

.page-template-template-careers2026 .section-footer-hl2 .text-contatti .wpcf7 {
    width: 100%;
    max-width: 760px;
    margin: 0 auto !important;
}

.page-template-template-careers2026 .section-footer-hl2 .wpcf7 input[type="text"],
.page-template-template-careers2026 .section-footer-hl2 .wpcf7 input[type="email"],
.page-template-template-careers2026 .section-footer-hl2 .wpcf7 input[type="tel"],
.page-template-template-careers2026 .section-footer-hl2 .wpcf7 input[type="url"],
.page-template-template-careers2026 .section-footer-hl2 .wpcf7 textarea {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.78) !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-shadow: none !important;
}

.page-template-template-careers2026 .section-footer-hl2 .wpcf7 input[type="text"]:focus,
.page-template-template-careers2026 .section-footer-hl2 .wpcf7 input[type="email"]:focus,
.page-template-template-careers2026 .section-footer-hl2 .wpcf7 input[type="tel"]:focus,
.page-template-template-careers2026 .section-footer-hl2 .wpcf7 input[type="url"]:focus,
.page-template-template-careers2026 .section-footer-hl2 .wpcf7 textarea:focus {
    color: #ffffff !important;
    background: transparent !important;
    border-bottom: 2px solid #ffffff !important;
    box-shadow: none !important;
}

.page-template-template-careers2026 .section-footer-hl2 .wpcf7 input[type="text"]::placeholder,
.page-template-template-careers2026 .section-footer-hl2 .wpcf7 input[type="email"]::placeholder,
.page-template-template-careers2026 .section-footer-hl2 .wpcf7 input[type="tel"]::placeholder,
.page-template-template-careers2026 .section-footer-hl2 .wpcf7 input[type="url"]::placeholder,
.page-template-template-careers2026 .section-footer-hl2 .wpcf7 textarea::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.page-template-template-careers2026 .section-footer-hl2 .wpcf7 input.wpcf7-submit,
.page-template-template-careers2026 .section-footer-hl2 .wpcf7 .wpcf7-submit {
    display: block !important;
    width: 100%;
    max-width: 220px;
    margin: 32px auto 0 !important;
    text-align: center !important;
}

.page-template-template-careers2026 .section-footer-hl2 h3,
.page-template-template-careers2026 .section-footer-hl2 p,
.page-template-template-careers2026 .section-footer-hl2 a,
.page-template-template-careers2026 .section-footer-hl2 label {
    color: #ffffff !important;
}

.page-template-template-careers2026 .section-footer-hl2 .footer-under.due,
.page-template-template-careers2026 .section-footer-hl2 .footer-under.due p,
.page-template-template-careers2026 .section-footer-hl2 .footer-under.due a,
.page-template-template-careers2026 .section-footer-hl2 .cookie a {
    color: rgba(255, 255, 255, 0.78) !important;
}

@media (max-width: 1199px) {
    .page-template-template-careers2026 .careers-editorial {
        gap: 36px 42px;
    }

    .page-template-template-careers2026 .careers-openings__headline {
        max-width: 12ch;
    }
}

@media (max-width: 900px) {
    .page-template-template-careers2026 .careers-editorial,
    .page-template-template-careers2026 .careers-openings {
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-template-template-careers2026 .careers-editorial {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-template-template-careers2026 .careers-editorial__principles,
    .page-template-template-careers2026 .careers-openings__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-template-template-careers2026 .careers-editorial__principles {
        gap: 14px;
    }
}

@media (max-width: 767px) {
    .page-template-template-careers2026 .news-hero__title {
        font-size: clamp(3.2rem, 18vw, 5.8rem);
    }

    .page-template-template-careers2026 .careers-editorial-section {
        padding: 80px 0 96px;
    }

    .page-template-template-careers2026 .careers-openings-section {
        padding: 84px 0 96px;
    }

    .page-template-template-careers2026 .careers-apply-section {
        padding: 0 0 88px;
    }

    .page-template-template-careers2026 .careers-editorial__title,
    .page-template-template-careers2026 .careers-openings__headline {
        max-width: none;
    }

    .page-template-template-careers2026 .careers-editorial__lead,
    .page-template-template-careers2026 .careers-editorial__copy p,
    .page-template-template-careers2026 .careers-openings__copy {
        font-size: 16px;
    }

    .page-template-template-careers2026 .career-role-card__body {
        padding: 20px 18px 22px;
    }

    .page-template-template-careers2026 .career-role-card--primary .career-role-card__media,
    .page-template-template-careers2026 .career-role-card--secondary .career-role-card__media {
        aspect-ratio: 16 / 11;
    }

    .page-template-template-careers2026 .section-footer-hl2 .text-contatti .wpcf7 {
        max-width: none;
    }
}


/* ============================================================
   ALTRE SEZIONI
   Stili per altre pagine custom (da aggiungere)
   ============================================================ */

/* Aggiungi qui gli stili per altre sezioni */


/* ============================================================
   SINGLE POST — single.php
   ============================================================ */

/* --- Hero: immagine in evidenza + overlay nero + titolo bianco --- */
.single-post-hero-section {
    background: #181818;
    position: relative;
    overflow: hidden;
    min-height: 55vh;
}

.single-post-hero__bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.03);
}

.single-post-hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.60);
    z-index: 1;
}

.single-post-hero-section .o-container-full {
    position: relative;
    z-index: 2;
}

.single-post-hero {
    min-height: 55vh;
    display: flex;
    align-items: flex-end;
    padding: 160px 80px 80px 120px;
}

.single-post-hero__inner {
    max-width: 860px;
}

.single-post-hero__breadcrumb {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(240, 236, 228, 0.5);
    margin-bottom: 20px;
}

.single-post-hero__breadcrumb a {
    color: rgba(240, 236, 228, 0.5);
    text-decoration: none;
}

.single-post-hero__breadcrumb a:hover {
    color: #d8273a;
}

.single-post-hero__sep {
    margin: 0 8px;
}

.single-post-hero__title {
    font-size: clamp(2.4rem, 5.5vw, 4.8rem) !important;
    font-weight: 400 !important;
    line-height: 1.05 !important;
    color: #ffffff !important;
    margin: 0 0 16px !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
}

.single-post-hero__date {
    display: block;
    font-family: 'Conthrax Sb', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(240, 236, 228, 0.5);
}

/* --- Content: sfondo grigio chiaro, testo scuro, centrato --- */
.single-post .single-post-body {
    background: #d9d6cf;
    padding: 88px 0 120px;
}

.single-post .single-post-body > .o-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.single-post .single-post-content.entry-content {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(24, 24, 24, 0.82);
}

.single-post .single-post-content.entry-content p {
    margin-bottom: 1.5em;
}

.single-post .single-post-content.entry-content h2,
.single-post .single-post-content.entry-content h3 {
    color: #181818;
    margin-top: 2em;
    margin-bottom: 0.6em;
    text-transform: none;
    font-weight: 600;
}

.single-post .single-post-content.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2em auto;
}

.single-post .single-post-content.entry-content a {
    color: #d8273a;
    text-decoration: underline;
}

/* Prev / Next nav */
.single-post .single-post-nav {
    max-width: 720px;
    margin: 72px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(24, 24, 24, 0.12);
    padding-top: 32px;
    font-family: 'Conthrax Sb', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.single-post .single-post-nav a {
    color: rgba(24, 24, 24, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-post .single-post-nav a:hover {
    color: #d8273a;
}

.single-post .single-post-nav__back {
    text-align: center;
}

.single-post .single-post-nav__prev {
    text-align: left;
    min-width: 120px;
}

.single-post .single-post-nav__next {
    text-align: right;
    min-width: 120px;
}

/* --- Contact section --- */
.single-post .single-post-contact-section {
    position: relative !important;
    overflow: hidden !important;
    background: #111111 !important;
}

.single-post .single-post-contact-section > .footer-bg-img {
    position: absolute !important;
    inset: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    z-index: 0 !important;
    filter: blur(3px) !important;
    transform: scale(1.05) !important;
}

.single-post .single-post-contact-section > .footer-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.65) !important;
    z-index: 1 !important;
}

.single-post .single-post-contact-section > .o-container {
    position: relative !important;
    z-index: 2 !important;
    padding-left: 110px;
}

.single-post .section-footer-hl2 .section-six.footer {
    background: transparent !important;
    margin-top: 0 !important;
}

.single-post .section-footer-hl2 h3,
.single-post .section-footer-hl2 h4,
.single-post .section-footer-hl2 p,
.single-post .section-footer-hl2 a,
.single-post .section-footer-hl2 label {
    color: #ffffff !important;
}

.single-post .section-footer-hl2 .primo-titolo,
.single-post .section-footer-hl2 .secondo-titolo {
    color: #ffffff !important;
}

/* CTA "Get in touch" */
.single-post-contact-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.72) !important;
    margin-bottom: 28px;
}

.single-post-contact-btn {
    display: inline-block;
    padding: 16px 48px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background 0.2s ease, border-color 0.2s ease;
    margin-bottom: 60px;
}

.single-post-contact-btn:hover {
    background: #d8273a !important;
    border-color: #d8273a !important;
    color: #ffffff !important;
}

.single-post .section-footer-hl2 .footer-under.due,
.single-post .section-footer-hl2 .footer-under.due p,
.single-post .section-footer-hl2 .footer-under.due a,
.single-post .section-footer-hl2 .cookie a {
    color: rgba(255, 255, 255, 0.78) !important;
}

/* Mobile */
@media (max-width: 991px) {
    .single-post-hero {
        padding: 140px 40px 64px 110px;
    }

    .single-post .single-post-contact-section > .o-container {
        padding-left: 110px;
    }
}

@media (max-width: 767px) {
    .single-post-hero {
        padding: 110px 24px 52px 24px;
        min-height: 44vh;
    }

    .single-post-hero__title {
        font-size: 2.2rem !important;
    }

    .single-post .single-post-body {
        padding: 64px 0 88px;
    }

    .single-post .single-post-body > .o-container {
        padding: 0 24px;
    }

    .single-post .single-post-content.entry-content {
        font-size: 16px;
    }

    .single-post .single-post-nav {
        font-size: 10px;
    }

    .single-post .single-post-nav__prev,
    .single-post .single-post-nav__next {
        min-width: 80px;
    }

    .single-post .single-post-contact-section > .o-container {
        padding-left: 24px;
    }
}

/* ============================================================
   SINGLE CAREERS — layout moderno
   ============================================================ */

/* --- Hero: immagine in evidenza + overlay nero + titolo bianco --- */
.careers-single-hero-section {
    background: #181818;
    position: relative;
    overflow: hidden;
    min-height: 55vh;
}

/* Immagine in evidenza come sfondo */
.careers-single-hero__bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.03);
}

/* Overlay nero semi-trasparente */
.careers-single-hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.60);
    z-index: 1;
}

/* Contenuto sopra l'overlay */
.careers-single-hero-section .o-container-full {
    position: relative;
    z-index: 2;
}

.careers-single-hero {
    min-height: 55vh;
    display: flex;
    align-items: flex-end;
    padding: 160px 80px 80px 120px;
}

.careers-single-hero__inner {
    max-width: 900px;
}

.careers-single-hero__breadcrumb {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(240, 236, 228, 0.5);
    margin-bottom: 20px;
}

.careers-single-hero__breadcrumb a {
    color: rgba(240, 236, 228, 0.5);
    text-decoration: none;
}

.careers-single-hero__breadcrumb a:hover {
    color: #d8273a;
}

.careers-single-hero__sep {
    margin: 0 8px;
}

.careers-single-hero__title {
    font-size: clamp(2.4rem, 5.5vw, 4.8rem);
    font-weight: 400;
    line-height: 1.05;
    color: #ffffff !important;
    margin: 0;
    letter-spacing: -0.01em;
}

/* --- Content grid: sfondo grigio, testo scuro --- */
.careers-content-section {
    background: #d9d6cf;
    padding: 88px 0 110px;
}

.single-careers .careers-content-section .o-container {
    padding-left: 110px;
    padding-right: 110px;
}

.careers-grid {
    max-width: 960px;
    margin: 0 auto;
    border-top: 1px solid rgba(24, 24, 24, 0.12);
}

.careers-grid__item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px 80px;
    padding: 52px 0;
    border-bottom: 1px solid rgba(24, 24, 24, 0.12);
    border-radius: 0;
}

.careers-grid__label {
    padding-top: 2px;
}

/* Il titolo a sinistra: più grande del testo di destra, colore rosso */
.careers-grid__label span {
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-transform: none;
    color: #d8273a;
    line-height: 1.3;
    position: sticky;
    top: 80px;
}

.careers-grid__content {
    color: rgba(24, 24, 24, 0.78);
    font-size: 0.95rem;
    line-height: 1.78;
}

.careers-grid__content ul,
.careers-grid__content ol {
    padding-left: 1.2em;
}

.careers-grid__content li {
    margin-bottom: 6px;
}

.careers-grid__content p {
    margin-bottom: 1em;
}

/* General application fallback */
.careers-general-content {
    color: rgba(24, 24, 24, 0.82);
    padding: 40px 0;
}

/* --- Apply / Form section: sfondo scuro con immagine blur + overlay --- */

/* La sezione stessa deve essere position:relative con overflow:hidden */
.single-careers .careers-apply-section {
    position: relative !important;
    overflow: hidden !important;
    background: #111111 !important; /* fallback se l'immagine non carica */
}

/* Immagine di sfondo sfocata */
.single-careers .careers-apply-section > .footer-bg-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 0 !important;
    filter: blur(3px) !important;
    transform: scale(1.06) !important;
    width: 100% !important;
    height: 100% !important;
}

/* Overlay scuro semi-trasparente */
.single-careers .careers-apply-section > .footer-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.68) !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Container sopra l'overlay */
.single-careers .careers-apply-section > .o-container {
    position: relative !important;
    z-index: 2 !important;
    padding-left: 110px;
}

@media (max-width: 767px) {
    .single-careers .careers-apply-section > .o-container {
        padding-left: 20px;
    }
}

/* Reset margin-top negativo di .section-six dal child-theme */
.single-careers .careers-apply-section .section-six.footer {
    margin-top: 0 !important;
    background: transparent !important;
}

/* Testo bianco — override tutte le regole color:#000 del child-theme */
.single-careers .careers-apply-section .section-six.footer h4,
.single-careers .careers-apply-section .section-six.footer h3,
.single-careers .careers-apply-section .section-six.footer p,
.single-careers .careers-apply-section .section-six.footer a,
.single-careers .careers-apply-section .section-six.footer label {
    color: #ffffff !important;
}

/* Titoli .primo-titolo e .secondo-titolo — entrambi bianchi */
.single-careers .careers-apply-section .section-six.footer .primo-titolo,
.single-careers .careers-apply-section .section-six.footer .secondo-titolo {
    color: #ffffff !important;
}

/* Form centrato */
.single-careers .careers-apply-section .text-contatti {
    padding-top: 0 !important;
    padding-bottom: 50px !important;
    display: flex !important;
    justify-content: center !important;
}

.single-careers .careers-apply-section .text-contatti .c-summary-no,
.single-careers .careers-apply-section .text-contatti .c-section_infos,
.single-careers .careers-apply-section .text-contatti .c-section_infos_inner {
    width: 100% !important;
}

.single-careers .careers-apply-section .section-six.footer .wpcf7 {
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
}

/* Campi input bianchi — override color:#000 e border-bottom:#000 */
.single-careers .careers-apply-section .section-six.footer input.wpcf7-form-control.wpcf7-text,
.single-careers .careers-apply-section .section-six.footer .wpcf7 input[type="text"],
.single-careers .careers-apply-section .section-six.footer .wpcf7 input[type="email"],
.single-careers .careers-apply-section .section-six.footer .wpcf7 input[type="tel"],
.single-careers .careers-apply-section .section-six.footer .wpcf7 input[type="url"],
.single-careers .careers-apply-section .section-six.footer .wpcf7 textarea {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.75) !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-shadow: none !important;
    font-weight: 400 !important;
    -webkit-box-shadow: none !important;
}

.single-careers .careers-apply-section .section-six.footer input.wpcf7-form-control.wpcf7-text:focus,
.single-careers .careers-apply-section .section-six.footer .wpcf7 input[type="text"]:focus,
.single-careers .careers-apply-section .section-six.footer .wpcf7 input[type="email"]:focus,
.single-careers .careers-apply-section .section-six.footer .wpcf7 input[type="tel"]:focus,
.single-careers .careers-apply-section .section-six.footer .wpcf7 textarea:focus {
    color: #ffffff !important;
    background: transparent !important;
    border-bottom: 2px solid #ffffff !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    outline: none !important;
}

.single-careers .careers-apply-section .section-six.footer .wpcf7 input::placeholder,
.single-careers .careers-apply-section .section-six.footer .wpcf7 textarea::placeholder {
    color: rgba(255, 255, 255, 0.52) !important;
}

/* Submit button quadrato, bianco */
.single-careers .careers-apply-section .section-six.footer .wpcf7-submit,
.single-careers .careers-apply-section .section-six.footer input.wpcf7-submit {
    display: block !important;
    width: 100% !important;
    max-width: 260px !important;
    margin: 40px auto 0 !important;
    border-radius: 0 !important;
    background-color: #ffffff !important;
    color: #181818 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    opacity: 1 !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.single-careers .careers-apply-section .section-six.footer .wpcf7-submit:hover,
.single-careers .careers-apply-section .section-six.footer input.wpcf7-submit:hover {
    background-color: #d8273a !important;
    color: #ffffff !important;
    opacity: 1 !important;
    outline: none !important;
}

/* Labels, errori, testi piccoli */
.single-careers .careers-apply-section .section-six.footer .wpcf7-list-item-label,
.single-careers .careers-apply-section .section-six.footer .wpcf7-not-valid-tip,
.single-careers .careers-apply-section .section-six.footer p.small-text,
.single-careers .careers-apply-section .section-six.footer .small-text,
.single-careers .careers-apply-section .section-six.footer span.wpcf7-form-control-wrap label,
.single-careers .careers-apply-section .section-six.footer span.wpcf7-list-item-label {
    color: #ffffff !important;
}

/* Upload CV — pulsante e file input */
.single-careers .careers-apply-section .section-six.footer .your-cv:before {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    background: transparent !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
}

.single-careers .careers-apply-section .section-six.footer .your-cv:hover:before {
    background: #d8273a !important;
    border-color: #d8273a !important;
    color: #ffffff !important;
}

/* Input file: rimuovi sfondo bianco del browser, rendi trasparente */
.single-careers .careers-apply-section .section-six.footer .wpcf7-file {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55) !important;
    border-radius: 0 !important;
    padding: 10px 0 8px !important;
    width: 100% !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    cursor: pointer !important;
}

.single-careers .careers-apply-section .section-six.footer .wpcf7-file:focus {
    outline: none !important;
    border-bottom-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: none !important;
}

/* Bottone "Scegli file" nativo */
.single-careers .careers-apply-section .section-six.footer .wpcf7-file::file-selector-button,
.single-careers .careers-apply-section .section-six.footer .wpcf7-file::-webkit-file-upload-button {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 0 !important;
    padding: 6px 20px !important;
    margin-right: 14px !important;
    cursor: pointer !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
}

.single-careers .careers-apply-section .section-six.footer .wpcf7-file::file-selector-button:hover,
.single-careers .careers-apply-section .section-six.footer .wpcf7-file::-webkit-file-upload-button:hover {
    background: #d8273a !important;
    border-color: #d8273a !important;
    color: #ffffff !important;
}

/* Rimuovi outline blu su submit */
.single-careers .careers-apply-section .section-six.footer input.wpcf7-submit,
.single-careers .careers-apply-section .section-six.footer .wpcf7-submit {
    outline: none !important;
}

.single-careers .careers-apply-section .section-six.footer input.wpcf7-submit:focus,
.single-careers .careers-apply-section .section-six.footer .wpcf7-submit:focus {
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .careers-single-hero {
        padding: 140px 40px 64px 110px;
    }

    .single-careers .careers-content-section .o-container {
        padding-left: 110px;
        padding-right: 40px;
    }

    .careers-grid {
        max-width: none;
    }

    .careers-grid__item {
        grid-template-columns: 180px 1fr;
        gap: 32px 48px;
        padding: 40px 0;
    }

    .careers-grid__label span {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .careers-single-hero {
        padding: 110px 24px 52px 24px;
        min-height: 44vh;
    }

    .single-careers .careers-content-section .o-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .careers-single-hero__title {
        font-size: 2.2rem;
    }

    .careers-content-section {
        padding: 52px 0 72px;
    }

    .careers-grid__item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 32px 0;
    }

    .careers-grid__label span {
        position: static;
        font-size: 1rem;
        font-weight: 700;
        color: #d8273a;
    }

    .single-careers .careers-apply-section .section-six.footer .wpcf7 {
        max-width: none !important;
    }
}
