/* Banner dell'ultima landing del Centro Prelievi, nel widget Shortcode della home. */
.nlcp-home-landing {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    font-family: inherit;
}
.nlcp-home-landing *, .nlcp-home-landing::before { box-sizing: border-box; }
.nlcp-home-landing.nlcp-home-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    justify-content: center;
    min-height: 200px;
    padding: 30px;
    border-radius: 23px;
    background: var(--e-global-color-primary, #263e56);
    color: #fff;
}
.nlcp-home-banner .nlcp-home-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: inherit;
    object-fit: cover;
    object-position: center;
}
.nlcp-home-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #000000bf;
    opacity: .4;
    pointer-events: none;
}
.nlcp-home-landing .nlcp-home-title {
    margin: 0;
    color: #fff;
    font-family: inherit;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: normal;
    overflow-wrap: anywhere;
}
.nlcp-home-landing .nlcp-home-summary {
    margin: 0;
    color: #fff;
    font-family: inherit;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.nlcp-home-landing .nlcp-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: min(270px, 100%);
    max-width: 100%;
    height: auto;
    min-height: 55px;
    margin: 0;
    padding: 10px 24px;
    border: 0;
    border-radius: 999px;
    background: #6798bf;
    color: #fff;
    opacity: 1;
    visibility: visible;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
}
.nlcp-home-landing .nlcp-home-button span { min-width: 0; color: inherit; }
.nlcp-home-landing .nlcp-button-label { display: block; overflow: hidden; opacity: 1; visibility: visible; }
.nlcp-home-landing .nlcp-button-word { display: inline-block; white-space: nowrap; }
.nlcp-home-landing .nlcp-button-char { display: inline-block; color: #fff; opacity: 1; transform: translateX(0); }
.nlcp-home-landing .nlcp-home-button:is(:hover, :focus-visible, :visited) { background: #6798bf; color: #fff; opacity: 1; }
.nlcp-home-landing .nlcp-home-button {transition: transform 0.2s ease;}
.nlcp-home-landing .nlcp-home-button:hover, .nlcp-home-landing .nlcp-home-button:focus-visible {transform: translateY(-4px);}
.nlcp-home-landing .nlcp-home-button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@keyframes nlcp-liquid-x {
    0%, 100% { opacity: 1; transform: translateX(0); }
    45% { opacity: 0; transform: translateX(.75em); }
    46% { opacity: 0; transform: translateX(-.75em); }
}
@media (max-width: 1024px) {
    .nlcp-home-landing .nlcp-home-title { font-size: 32px; }
    .nlcp-home-landing .nlcp-home-summary { font-size: 20px; }
    .nlcp-home-landing .nlcp-home-button { min-width: min(225px, 100%); min-height: 45px; padding: 8px 20px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .nlcp-home-landing .nlcp-home-button .nlcp-button-char { animation: none !important; opacity: 1; transform: none; }
}
@media (max-width: 767px) {
    .nlcp-home-landing.nlcp-home-banner { min-height: 280px; padding: 28px 22px; }
    .nlcp-home-landing .nlcp-home-title { font-size: 26px; }
    .nlcp-home-landing .nlcp-home-summary { font-size: 17px; }
}





.nlcp-home-landing.nlcp-home-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 40px;
    align-content: center;
}

.nlcp-home-banner > .nlcp-home-title {
    grid-column: 1;
    grid-row: 1;
}

.nlcp-home-banner > .nlcp-home-summary {
    grid-column: 1;
    grid-row: 2;
}

.nlcp-home-banner > .nlcp-home-button {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
}

.nlcp-home-banner:not(:has(> .nlcp-home-summary))
    > .nlcp-home-button {
    grid-row: 1;
}

/* Su tablet e mobile torna in colonna */
@media (max-width: 940px) {
    .nlcp-home-landing.nlcp-home-banner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .nlcp-home-banner > .nlcp-home-button {
        align-self: flex-start;
    }
}

.nlcp-home-banner > .nlcp-home-button {
    width: 240px;
    min-width: 0;
    max-width: 100%;
    height: auto;
    min-height: 55px;
    padding: 8px 20px;
    white-space: normal;
    line-height: 1.25;
}

.nlcp-home-banner > .nlcp-home-button > span {
    white-space: normal;
    text-align: center;
}

body:not(.elementor-editor-active)
.nlcp-home-container:not(:has(.nlcp-home-landing)) {
    display: none !important;
}