/**
 * Theme Name: DOS
 * Template:   twentytwentyfive
 * Author: Ymir
 * ...other header fields
 * Version: 1.0.0
 */

@import url("https://fonts.googleapis.com/css2?&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

/* .red-hat-display-title-header {
  font-family: "Red Hat Display", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */

body {
    background-color: #222222;
}

.wp-block-group.header-texts {
    min-height: 100%;
}

.black-bg {
    color: #f1f1f1;
}

.transparent {
    opacity: 0;
}

.white-bg {
    color: #0b0b0a;
}

/* .header-additional-props {
    position: absolute;
    z-index: 4;
    margin-block-start: 0rem !important;
} */

header.is-sticky {
    position: sticky !important;
    top: 0;
    z-index: 9999;
    transition:
        background-color 0.1s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease-in-out;
}

.header-div-home {
    width: 100%;
}

.header-div-home-inner {
    width: 1440px;
}

.header-additional-props-no-absolute {
    z-index: 4;
    margin-block-start: 0rem !important;
}

.header-page-link {
    color: #f1f1f1;
}

header.wp-block-template-part.hide {
    transform: translateY(-100%);
}

header.wp-block-template-part.scrolled-up {
    background: #e4e4e4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

header.wp-block-template-part.at-top {
    background: transparent;
    box-shadow: none;
}

header.wp-block-template-part.scrolled-up > *:first-child,
header.wp-block-template-part.compact > *:first-child {
    padding-bottom: 0px !important;
    background-color: #e4e4e4;
}
header.wp-block-template-part.compact
    > *:first-child
    > *:first-child
    > *:first-child,
header.wp-block-template-part.scrolled-up
    > *:first-child
    > *:first-child
    > *:first-child {
    min-height: 0 !important;
}
/* .parent :first-child { margin-top:0; } */

.hero {
    position: relative;
    z-index: 1;
    transform: translateY(-108px);
    min-height: 100vh;
    height: 100vh;
}

.hero-image {
    min-height: 100vh;
    height: 100vh;
}

.hero-slogan {
    /* position: absolute; */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-scopri {
    position: absolute;
    bottom: 10px;
    left: 48%;
}

.wp-block-group.hero
    > .wp-block-cover.alignfull.hero
    > .wp-block-cover__inner-container {
    width: 100%;
    max-width: 1440px;
    min-height: 100vh;
    height: 100vh;
}

.is-layout-grid {
    margin: auto !important;
}

.text-animated-color {
    white-space: pre-wrap;
}

.text-animated-color .char {
    display: inline;
    color: #828282;
    opacity: 0.5;
    transition: color 250ms ease;
}

.text-animated-color .char.animate {
    color: #f7f7f7;
    opacity: 1;
}

.horizontal-line-separator {
    border-top: solid 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease-out;
}

.horizontal-line-separator.animate {
    transform: scaleX(1);
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.5s ease-out,
        transform 0.5s ease-out;
}

.fade-in-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-on-scroll-side {
    opacity: 0;
    transform: translateX(20px);
    transition:
        opacity 0.5s ease-out,
        transform 0.5s ease-out;
}

.fade-in-on-scroll-side.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-col {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.5s ease-out,
        transform 0.5s ease-out;
}

.fade-col.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-bg {
    position: relative;
    overflow: hidden;
    min-height: 423px;
}

.scroll-bg-inner {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
    will-change: transform;
    animation: loopScroll 18s linear infinite;
}

.loop-img {
    height: 100%;
    width: auto;
    flex-shrink: 0; /* ogni immagine mantiene la sua larghezza naturale */
}

/* Animazione continua */
@keyframes loopScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

html {
    scroll-behavior: smooth;
}

.no-text-decoration {
    text-decoration: none !important;
}

.subtitle-with-line {
    position: relative;
    left: -35px;
}

.subtitle-with-line-red {
    position: relative;
    top: -10px;
}

.collaborato-con {
    margin-block-start: 0px;
}

.page-id-339 main {
    background-color: #f5f5f5;
}

.page-id-339 .wp-site-blocks main > .entry-content {
    background-color: #f7f7f7;
}

.page-id-339 .wp-site-blocks main > .wp-block-group {
    display: none;
}

.page-id-339 .wp-site-blocks main > .entry-content {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.page-id-339
    .wp-site-blocks
    main
    > .entry-content
    > .wp-block-group:not(.header-static-pages) {
    padding: 0 7rem;
}

.page-id-339 .entry-content .wp-block-group {
    background-size: contain !important;
    margin: 0;
    margin-right: 0px;
    margin-left: 0px;
    padding: 0;
    width: 100%;

    background-position: right;
    background-repeat: no-repeat;
    background-color: #f5f5f5;
    max-width: 1440px;
}

.header-static-pages {
    aspect-ratio: 16 / 6.2;
    margin-bottom: 3.75rem !important;
}

.page-id-339 .entry-content .wp-block-group .wp-block-columns {
    min-width: 100%;
    min-height: 100%;

    h2 {
        color: var(--BY3, #575757);
        font-family: "Red Hat Display";
        font-size: 72px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        letter-spacing: 0.5px;
    }

    p {
        color: #70706b;

        /* body/large */
        font-family: "DM Sans";
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: 32px;
        letter-spacing: 0.5px;
    }

    .hsp-column {
        display: flex;
        align-items: center;
        padding-left: 7rem;

        .wp-block-group {
            display: flex;
            flex-direction: row;
            max-height: min-content;
            column-gap: 2rem;
            align-items: flex-start;
        }
    }
}

.page-id-339
    .entry-content
    .wp-block-group
    .wp-block-columns
    .wp-block-column
    > .wp-block-group
    > .wp-block-group
    > p {
    font-family: "DM Sans";
    letter-spacing: 0;
    color: red;
    min-width: max-content;
}

.icona-testo-link {
    padding: 3.75rem 7rem !important;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.itl-column {
    align-items: flex-start !important;
}

.itl-image img {
    max-width: clamp(200px, 15vw, 300px) !important;
}

.page-id-339 .entry-content .wp-block-group .wp-block-columns p.itl-text {
    color: var(--BY5, #8a8a85);

    /* Body - large */
    font-family: "Red Hat Display";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px; /* 177.778% */
    letter-spacing: 2px;
}

.itl-flex-column {
    flex-direction: column;
}

.itl-columns,
.itl-column {
    max-height: min-content !important;
    height: min-content;
    min-height: unset !important;
}

.itl-button a {
    background-color: transparent !important;
    padding: 2rem 0;
    color: var(--BY0, #0b0b0a);

    /* Label */
    font-family: "Red Hat Display";
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.itl-button a::after {
    content: url("/wp-content/uploads/2025/11/arrow1.svg");
    position: relative;
    top: 0.3rem;
    left: 1rem;
}

.chi-siamo-cover {
    max-height: 560px;
}

.chi-siamo-cover img {
    height: 560px;
}

.chi-siamo-mission-text {
    line-height: 32px;
}
