.landing-feature-layout-infrastructure-left .feature-card h3 {
    overflow-wrap: anywhere;
}

.landing-feature-layout-infrastructure-left .feature-card:not(.feature-card-highlight):not(.feature-card-2) h3 {
    white-space: nowrap;
}

.landing-profile-preview {
    display: flex;
    width: min(30rem, calc(100vw - 2rem));
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 0 auto;
}

.landing-header-center {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
}

#navbar .container.nav:has(.landing-header-center) {
    --landing-header-side-width: clamp(4.5rem, 17vw, 8rem);
    display: grid;
    grid-template-columns:
        minmax(0, var(--landing-header-side-width))
        minmax(0, 1fr)
        minmax(0, var(--landing-header-side-width));
    column-gap: clamp(0.25rem, 1vw, 0.75rem);
}

#navbar .container.nav:has(.landing-header-center) .public-logo-container,
#navbar .container.nav:has(.landing-header-center) > .d-flex {
    width: 100%;
    min-width: 0;
}

#navbar .container.nav:has(.landing-header-center) > .d-flex {
    justify-content: flex-end;
}

#navbar .container.nav:has(.landing-header-center) .landing-header-center {
    grid-column: 2;
    width: 100%;
}

#navbar .container.nav:has(.landing-header-center) .landing-profile-preview-switcher {
    width: min(100%, 20rem);
}

#navbar .container.nav:has(.landing-header-center) > .d-flex .btn-header {
    width: 100%;
    min-width: 0;
    padding-right: clamp(0.25rem, 1.2vw, 0.875rem);
    padding-left: clamp(0.25rem, 1.2vw, 0.875rem);
    font-size: clamp(0.75rem, 1.4vw, 1rem);
}

@media (min-width: 1200px) {
    #navbar .container.nav:has(.landing-header-center) {
        --landing-header-side-width: 8rem;
    }

    #navbar .container.nav:has(.landing-header-center) > .d-flex .btn-header {
        padding-right: clamp(0.875rem, 1.2vw, 1rem);
        padding-left: clamp(0.875rem, 1.2vw, 1rem);
    }
}

.landing-profile-preview-header-switcher.is-hidden {
    display: none;
}

.landing-page-with-profile-preview > .section-1 {
    height: calc(100vh - var(--landing-header-height, 91px));
    height: calc(100dvh - var(--landing-header-height, 91px));
    min-height: calc(100vh - var(--landing-header-height, 91px));
    min-height: calc(100dvh - var(--landing-header-height, 91px));
}

.landing-page-with-profile-preview > .section-1 > .container-fluid,
.landing-page-with-profile-preview > .section-1 .text-section1 {
    height: 100%;
    min-height: 100%;
}

.landing-profile-preview-switcher {
    align-items: stretch;
    box-sizing: border-box;
    display: flex;
    width: min(100%, 20rem);
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.landing-profile-preview-switcher-button {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.65rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    background-color: transparent;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.01em;
    line-height: 1.2;
    opacity: 0.72;
    transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.landing-profile-preview-switcher-button:hover {
    opacity: 1;
}

.landing-profile-preview-switcher-button.is-active {
    border-color: #ffffff;
    background-color: #ffffff;
    color: #000000;
    box-shadow: none;
    opacity: 1;
}

.landing-profile-preview-switcher-button:focus-visible {
    box-shadow: 0 0 0 0.2rem rgb(255 255 255 / 35%);
    outline: 0;
}

.landing-profile-preview-switcher .landing-profile-preview-switcher-button {
    border-radius: 0.75rem;
}

.landing-profile-preview-cards {
    width: 100%;
    touch-action: pan-y;
}

.landing-profile-preview-swipe-indicator {
    align-items: center;
    color: rgb(255 255 255 / 78%);
    display: none;
    font-size: 0.75rem;
    gap: 0.35rem;
    justify-content: center;
    line-height: 1.3;
    margin-top: -0.25rem;
    text-align: center;
}

.landing-profile-preview-swipe-indicator i {
    font-size: 1rem;
}

.landing-profile-preview-card {
    display: none;
    width: min(100%, 31rem);
    height: 35.7rem;
    margin-inline: auto;
}

.landing-profile-preview-card.is-active {
    display: block;
}

.landing-profile-preview-card-layout {
    display: grid;
    grid-template-columns: minmax(2.5rem, 1fr) minmax(0, 23rem) minmax(2.5rem, 1fr);
    align-items: center;
    gap: 0.75rem;
    height: 100%;
    position: relative;
}

.landing-profile-preview-card-content {
    grid-column: 2;
    min-width: 0;
}

.landing-profile-preview-navigation-button {
    align-items: center;
    display: inline-flex;
    gap: 0.35rem;
    justify-content: center;
    min-width: 3rem;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 2px solid #ffffff;
    border-radius: 50% !important;
    position: absolute;
    top: 50%;
    z-index: 2;
    touch-action: manipulation;
    transform: translateY(-50%);
    white-space: nowrap;
}

.landing-profile-preview-previous {
    left: 0;
}

.landing-profile-preview-next {
    right: 0;
}

.landing-profile-preview-navigation-button.is-unavailable {
    pointer-events: none;
    border-color: #6c757d;
    background: #6c757d;
    color: #ffffff;
    opacity: 1;
    visibility: visible;
}

.landing-profile-preview .landing-profile-preview-navigation-button:hover,
.landing-profile-preview .landing-profile-preview-navigation-button:active,
.landing-profile-preview .landing-profile-preview-navigation-button:focus,
.landing-profile-preview .landing-profile-preview-navigation-button:focus-visible {
    border-color: #ffffff;
    background: #000000;
    color: #ffffff;
}

.landing-profile-preview .landing-profile-preview-navigation-button.is-unavailable,
.landing-profile-preview .landing-profile-preview-navigation-button.is-unavailable:hover,
.landing-profile-preview .landing-profile-preview-navigation-button.is-unavailable:focus,
.landing-profile-preview .landing-profile-preview-navigation-button.is-unavailable:focus-visible {
    border-color: #6c757d;
    background: #6c757d;
    color: #ffffff;
}

.landing-profile-preview-navigation-symbol {
    display: inline-block;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
}

.landing-closing-or {
    color: #ffffff;
}

.landing-profile-preview .colaboratori-person-card-shell {
    flex: 0 0 23rem;
    height: 42rem;
    max-width: 23rem;
    min-width: 23rem;
    transform: scale(0.85);
    transform-origin: top center;
    width: 23rem;
}

.landing-profile-preview .colaboratori-person-card {
    height: 42rem;
    min-height: 42rem;
    position: relative;
    top: auto;
}

.landing-profile-preview .colaboratori-person-card-footer p,
.landing-profile-preview .colaboratori-person-card-footer-brand {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
}

.landing-profile-preview .colaboratori-person-card-flip-button,
.landing-profile-preview .colaboratori-person-card-icon-button {
    background: transparent;
    border-color: rgb(255 255 255 / 72%);
    color: #ffffff;
}

.landing-profile-preview .colaboratori-person-card-flip-button:hover,
.landing-profile-preview .colaboratori-person-card-icon-button:hover {
    background: rgb(255 255 255 / 12%);
    color: #ffffff;
    filter: none;
}

.landing-profile-preview .colaboratori-person-card-contact-trigger {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.landing-profile-preview .colaboratori-person-card-contact-trigger:hover,
.landing-profile-preview .colaboratori-person-card-contact-trigger:focus,
.landing-profile-preview .colaboratori-person-card-contact-trigger:focus-visible,
.landing-profile-preview .colaboratori-person-card-contact-trigger:active {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

@media (max-width: 600px) {
    .landing-profile-preview {
        width: min(24rem, calc(100vw - 2rem));
    }

    .public-logo {
        height: clamp(36px, 12vw, 50px);
    }

    #navbar .btn-header {
        height: clamp(34px, 9.6vw, 40px);
    }

    #navbar .container.nav:has(.landing-header-center) > .d-flex .btn-header {
        padding-right: clamp(0.5rem, 2vw, 0.875rem);
        padding-left: clamp(0.5rem, 2vw, 0.875rem);
        font-size: clamp(0.45rem, 2vw, 0.75rem);
    }

    .landing-profile-preview-switcher {
        width: 100%;
        max-width: none;
        flex-wrap: nowrap;
        gap: clamp(0.1rem, 0.6vw, 0.25rem);
        border-radius: 1rem;
    }

    .landing-profile-preview-switcher-button {
        flex: 1 1 0;
        min-width: 0;
        padding-left: clamp(0.15rem, 2.5vw, 0.65rem);
        padding-right: clamp(0.15rem, 2.5vw, 0.65rem);
        font-size: clamp(0.5rem, 2.6vw, 0.8rem);
        white-space: nowrap;
    }

    .landing-profile-preview-card {
        width: min(100%, 22rem);
        height: 29.4rem;
    }

    .landing-profile-preview-card-layout {
        grid-template-columns: minmax(2rem, 2.5rem) minmax(0, 1fr) minmax(2rem, 2.5rem);
        gap: 0.35rem;
    }

    .landing-profile-preview .colaboratori-person-card-shell {
        transform: scale(0.7);
    }

    .landing-profile-preview-card-content {
        display: flex;
        justify-content: center;
    }

    .landing-profile-preview-navigation-button {
        display: none;
        min-width: 2.75rem;
        width: 2.75rem;
        height: 2.75rem;
    }

    .landing-profile-preview-swipe-indicator {
        display: flex;
    }
}

@media (max-width: 280px) {
    .landing-profile-preview-card {
        width: min(100%, 20rem);
        height: 27.3rem;
    }

    .landing-profile-preview .colaboratori-person-card-shell {
        transform: scale(0.65);
    }

    .landing-profile-preview-navigation-button {
        min-width: 2.5rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}

body.scroll-section #navbar {
    flex: 0 0 var(--landing-header-height, 91px);
    border-bottom: 0;
}

@media (max-width: 600px) {
    body.scroll-section {
        --landing-header-height: 66px;
    }

    body.scroll-section #navbar {
        height: var(--landing-header-height);
        flex-basis: var(--landing-header-height);
        padding: 8px 10px;
    }
}

@media only screen and (min-width: 992px) {
    .landing-page.landing-feature-layout-infrastructure-left > .section-2 .feature-card-2 {
        grid-area: 2 / 1 / 3 / 2;
    }

    .landing-page.landing-feature-layout-infrastructure-left > .section-2 .feature-card-3 {
        grid-area: 2 / 2 / 3 / 3;
    }

    .landing-page.landing-feature-layout-infrastructure-left > .section-2 .feature-card-4 {
        grid-area: 3 / 1 / 4 / 2;
    }

    .landing-page.landing-feature-layout-infrastructure-left > .section-2 .feature-card-5 {
        grid-area: 3 / 2 / 4 / 3;
    }

    .landing-page.landing-feature-layout-infrastructure-left > .section-2 .feature-card-6 {
        grid-area: 1 / 3 / 2 / 4;
    }

    .landing-page.landing-feature-layout-infrastructure-left > .section-2 .feature-card-7 {
        grid-area: 1 / 4 / 2 / 6;
    }

    .landing-page.landing-feature-layout-infrastructure-left > .section-2 .feature-card-8 {
        grid-area: 2 / 3 / 3 / 5;
    }

    .landing-page.landing-feature-layout-infrastructure-left > .section-2 .feature-card-9 {
        grid-area: 2 / 5 / 3 / 6;
    }

    .landing-page.landing-feature-layout-infrastructure-left > .section-2 .feature-card-10 {
        grid-area: 3 / 3 / 4 / 6;
    }
}

@media only screen and (max-width: 991.98px) {
    .landing-page > .section-2 .feature-card-3 {
        grid-column: span 1;
    }
}
