/*
 * Landing Centro Prelievi. Colori campionati dallo screenshot fornito.
 * Le regole sono limitate a queste landing; header e footer sono quelli ricostruiti.
 */
body.nlcp-page {
    --nlcp-primary: #263e56;
    --nlcp-text: #535353;
    --nlcp-form-bg: #f2f7fc;
    --nlcp-button: #175b9c;
    --nlcp-body-font: var(--e-global-typography-text-font-family, "Montserrat"), Arial, sans-serif;
    --nlcp-heading-font: var(--e-global-typography-primary-font-family, "Lato"), Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
}
.nlcp-page :is(.nlcp-header, .nlcp-footer) { color: var(--nlcp-primary); font-family: var(--nlcp-body-font); }
.nlcp-page :is(.nlcp-header, .nlcp-footer) * { box-sizing: border-box; }
.nlcp-page :is(.nlcp-header, .nlcp-footer) img { display: block; max-width: 100%; height: auto; }
.nlcp-page .nlcp-header { padding: 20px 40px 22px; background: #fff; }
.nlcp-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; width: 100%; max-width: 1420px; min-height: 100px; margin-inline: auto; }
.nlcp-page .nlcp-logo { display: block; flex: 0 0 190px; width: 190px; max-width: 35%; color: var(--nlcp-primary); text-decoration: none; }
.nlcp-page .nlcp-logo img { width: 100%; }
.nlcp-specialties { display: flex; align-items: center; flex: 0 1 400px; width: 400px; max-width: 45%; }
.nlcp-page .nlcp-specialties img { flex: 1 1 0; width: 0; min-width: 0; object-fit: contain; }
.nlcp-skip-link { position: fixed; top: -200px; left: 15px; z-index: 100000; padding: 10px 15px; background: #fff; color: #263e56; }
.nlcp-skip-link:focus { top: 45px; }
.nlcp-page .nlcp-main {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 20px 0 0;
    background: #fff;
    color: var(--nlcp-text);
    font-family: var(--nlcp-body-font);
    font-size: 18px;
    line-height: 1.4;
}
.nlcp-main *, .nlcp-main *::before, .nlcp-main *::after { box-sizing: border-box; }
.nlcp-main img { display: block; max-width: 100%; height: auto; }
.nlcp-main .nlcp-container { width: calc(100% - 40px); max-width: 1500px; margin-inline: auto; }
.nlcp-page .nlcp-main :is(h1, h2, h3, h4, h5, h6) {
    color: var(--nlcp-primary);
    font-family: var(--nlcp-heading-font);
    font-style: normal;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
    overflow-wrap: break-word;
}
.nlcp-page .nlcp-main a { color: var(--nlcp-primary); text-decoration: underline; }
.nlcp-main :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #6798bf; outline-offset: 4px; }

/* IMMAGINE IN EVIDENZA E TITOLO WORDPRESS */
.nlcp-main .nlcp-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 300px;
    padding: 45px;
    overflow: hidden;
    border-radius: 15px;
    background: var(--nlcp-primary);
}
.nlcp-main .nlcp-hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}
.nlcp-main .nlcp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #000000bf; opacity: .4; }
.nlcp-page .nlcp-main .nlcp-hero h1 {
    width: 75%;
    margin: 0;
    color: #fff;
    font-family: var(--nlcp-body-font);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
}

/* DUE COLONNE IN FLEX: FORM A SINISTRA, WYSIWYG A DESTRA */
.nlcp-main .nlcp-layout { display: flex; align-items: flex-start; gap: 30px; padding: 100px 10px 80px; }
.nlcp-main .nlcp-form-column { flex: 0 0 27.57%; min-width: 0; }
.nlcp-main .nlcp-content { flex: 1 1 0; min-width: 0; overflow-wrap: break-word; }
.nlcp-main .nlcp-layout--no-form .nlcp-content { flex-basis: 100%; }
.nlcp-main .nlcp-form-card { padding: 35px 35px 150px; border-radius: 15px; background: var(--nlcp-form-bg); color: var(--nlcp-primary); }
.nlcp-page .nlcp-main .nlcp-form-card h2 { margin: 0 0 24px; font-size: 24px; line-height: 1.4; text-align: center; }
.nlcp-main .nlcp-form-intro { margin: 0 0 26px; font-size: 15px; line-height: 1.15; }
.nlcp-main .nlcp-form-content { width: 100%; min-width: 0; }

/* TITOLI E TESTI SCELTI NEL CAMPO ACF contenuto_ */
.nlcp-main .nlcp-content :is(h1, h2, h3, h4, h5, h6) { margin: 32px 0 26px; line-height: 1.35; }
.nlcp-main .nlcp-content > :first-child { margin-top: 0; }
.nlcp-main .nlcp-content h1 { font-size: 38px; }
.nlcp-main .nlcp-content h2 { font-size: 34px; }
.nlcp-main .nlcp-content h3 { font-size: 28px; }
.nlcp-main .nlcp-content h4 { font-size: 24px; }
.nlcp-main .nlcp-content h5 { font-size: 21px; }
.nlcp-main .nlcp-content h6 { font-size: 18px; }
.nlcp-main .nlcp-content p { margin: 0 0 28px; font-size: inherit; line-height: inherit; }
.nlcp-main .nlcp-content :is(ul, ol) { margin: 0 0 32px; padding-left: 40px; }
.nlcp-main .nlcp-content li { margin: 0; padding: 0; }
.nlcp-main .nlcp-content li > :is(ul, ol) { margin-bottom: 0; }
.nlcp-main .nlcp-content strong { font-weight: 700; }
.nlcp-main .nlcp-content > :last-child { margin-bottom: 0; }
.nlcp-main .nlcp-content blockquote { margin: 0 0 28px; padding: 18px 24px; border-left: 4px solid var(--nlcp-primary); background: var(--nlcp-form-bg); }
.nlcp-main .nlcp-content table { display: block; width: 100%; max-width: 100%; margin-bottom: 28px; overflow-x: auto; border-collapse: collapse; }
.nlcp-main .nlcp-content :is(th, td) { padding: 10px; border: 1px solid #d6e0e9; text-align: left; }
.nlcp-main .nlcp-content figure { max-width: 100%; margin: 0 0 28px; }
.nlcp-main .nlcp-content img { height: auto; }

/* CLASSI FACOLTATIVE PER I BLOCCHI SPECIALI DEL RIFERIMENTO */
.nlcp-main .nlcp-content .nlcp-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 28px; padding: 0; list-style: none; }
.nlcp-main .nlcp-tags li { max-width: 100%; padding: 10px 26px; border-radius: 15px; background: var(--nlcp-primary); color: #fff; font-family: var(--nlcp-heading-font); font-size: 16px; font-weight: 700; line-height: 1.3; }
.nlcp-main .nlcp-boxes { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.nlcp-main .nlcp-box { flex: 1 1 calc(50% - 5px); min-width: 0; padding: 16px 19px 20px; border: 1px solid var(--nlcp-primary); border-radius: 15px; background: #fff; color: var(--nlcp-primary); }
.nlcp-main .nlcp-content .nlcp-box :is(h2, h3, h4) { margin: 0 0 12px; font-size: 20px; font-weight: 800; text-align: center; }
.nlcp-main .nlcp-content .nlcp-box p { margin: 0; }
.nlcp-main .nlcp-box.nlcp-box--dark { background: var(--nlcp-primary); color: #fff; }
.nlcp-page .nlcp-main .nlcp-box--dark :is(h2, h3, h4, a) { color: #fff; }
.nlcp-main .nlcp-location { display: flex; align-items: stretch; gap: 16px; margin: 0 0 28px; }
.nlcp-main .nlcp-hours { display: flex; flex: 0 0 28.6%; flex-direction: column; gap: 14px; min-width: 0; }
.nlcp-main .nlcp-content .nlcp-hours p { margin: 0; padding: 19px; border: 1px solid var(--nlcp-primary); border-radius: 15px; color: var(--nlcp-primary); }
.nlcp-main .nlcp-content .nlcp-hours p + p { background: var(--nlcp-primary); color: #fff; }
.nlcp-main .nlcp-map-wrap { display: flex; flex: 1; min-width: 0; }
.nlcp-main .nlcp-map-wrap > p { display: flex; width: 100%; margin: 0; }
.nlcp-main .nlcp-map { display: block; width: 100%; min-height: 176px; height: 100%; margin: 0; border: 0; border-radius: 15px; }
.nlcp-main .nlcp-contact-row { display: flex; align-items: flex-start; gap: 20px; margin: 36px 0 44px; }
.nlcp-main .nlcp-contact-row::before { content: ""; display: block; flex: 0 0 50px; width: 50px; height: 50px; background-color: var(--nlcp-primary); -webkit-mask: var(--nlcp-icon) center / contain no-repeat; mask: var(--nlcp-icon) center / contain no-repeat; }
.nlcp-main .nlcp-contact-row--phone { --nlcp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M497.39 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z'/%3E%3C/svg%3E"); }
.nlcp-main .nlcp-contact-row--form { --nlcp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M400 64h-48V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H160V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V160h352v298a6 6 0 0 1-6 6zm-52.849-200.65L198.842 404.519c-4.705 4.667-12.303 4.637-16.971-.068l-75.091-75.699c-4.667-4.705-4.637-12.303.068-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l44.104 44.461 111.072-110.181c4.705-4.667 12.303-4.637 16.971.068l22.536 22.718c4.667 4.705 4.636 12.303-.069 16.97z'/%3E%3C/svg%3E"); }
.nlcp-main .nlcp-content .nlcp-contact-row p { flex: 1; min-width: 0; margin: 0; }

/* CONTACT FORM 7: COLONNA FLEX, CAMPI ARROTONDATI E CONSENSI ALLINEATI */
.nlcp-form-card .wpcf7 { width: 100%; min-width: 0; }
.nlcp-page .nlcp-form-card .wpcf7-form { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; margin: 0; color: var(--nlcp-primary); font-family: var(--nlcp-body-font); font-size: 15px; line-height: 1.4; }
.nlcp-form-card .wpcf7 .input-group { display: flex; flex-direction: column; gap: 8px; width: 100% !important; min-width: 0; margin: 0 0 26px !important; padding: 0 !important; }
.nlcp-form-card .wpcf7 .wpcf7-form p { width: 100%; margin: 0; padding: 0; font-size: inherit; line-height: inherit; }
.nlcp-form-card .wpcf7 .input-group > p { display: flex; flex-direction: column; gap: 8px; }
.nlcp-form-card .wpcf7 .input-group > label,
.nlcp-form-card .wpcf7 .wpcf7-form > p > label { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.nlcp-form-card .wpcf7 .wpcf7-form > p { margin-bottom: 26px; }
.nlcp-form-card .wpcf7 .input-group > br,
.nlcp-form-card .wpcf7 .input-group > p > br,
.nlcp-form-card .wpcf7 .input-group > label > br,
.nlcp-form-card .wpcf7 .wpcf7-form > p > label > br { display: none; }
.nlcp-form-card .wpcf7 .label { display: block; margin: 0; color: inherit; font: inherit; }
.nlcp-form-card .wpcf7 .wpcf7-form-control-wrap { display: block; width: 100%; min-width: 0; }
.nlcp-page .nlcp-form-card .wpcf7 input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="date"], [type="number"]),
.nlcp-page .nlcp-form-card .wpcf7 select:not(.select2-hidden-accessible),
.nlcp-page .nlcp-form-card .wpcf7 textarea {
    display: block;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    height: 50px;
    min-height: 50px;
    margin: 0;
    padding: 0 22px;
    border: 0 !important;
    border-radius: 30px;
    background: #fff;
    color: var(--nlcp-primary);
    font: inherit;
    line-height: 1.4;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}
.nlcp-page .nlcp-form-card .wpcf7 select:not(.select2-hidden-accessible) { padding-right: 36px; appearance: auto; -webkit-appearance: menulist; }
.nlcp-page .nlcp-form-card .wpcf7 textarea { height: 135px; min-height: 135px; padding: 15px 22px; border-radius: 24px; resize: vertical; }
.nlcp-form-card .wpcf7 input[type="date"] { cursor: pointer; }
.nlcp-form-card .wpcf7 input[type="date"]::-webkit-calendar-picker-indicator { margin-left: auto; opacity: 1; cursor: pointer; }
.nlcp-form-card .wpcf7 input[type="date"]::-webkit-datetime-edit,
.nlcp-form-card .wpcf7 input[type="date"]::-webkit-datetime-edit-fields-wrapper { padding: 0; }
.nlcp-form-card .wpcf7 .select2-container { display: block; width: 100% !important; max-width: 100%; min-width: 0; }
.nlcp-page .nlcp-form-card .wpcf7 .select2-selection--single { display: flex; align-items: center; width: 100%; height: 50px; padding: 0 22px; border: 0; border-radius: 30px; background: #fff; color: var(--nlcp-primary); box-shadow: none; }
.nlcp-form-card .wpcf7 .select2-selection__rendered { width: 100%; padding: 0 22px 0 0 !important; color: inherit !important; font: inherit; line-height: normal !important; }
.nlcp-form-card .wpcf7 .select2-selection__arrow { top: 0 !important; right: 15px !important; height: 50px !important; }
.nlcp-form-card .wpcf7 .privacy-group { width: 100%; margin: 0 0 46px; font-size: 18px; line-height: 1.4; }
.nlcp-form-card .wpcf7 .privacy-group > span { display: block; margin-bottom: 10px; }
.nlcp-form-card .wpcf7 :is(.wpcf7-checkbox, .wpcf7-radio, .wpcf7-acceptance) { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.nlcp-form-card .wpcf7 .wpcf7-list-item { display: block; width: 100%; margin: 0; }
.nlcp-form-card .wpcf7 .wpcf7-list-item label { display: flex; align-items: flex-start; gap: 12px; width: 100%; margin: 0; font: inherit; cursor: pointer; }
.nlcp-form-card .wpcf7 .wpcf7-list-item-label { flex: 1; min-width: 0; white-space: normal; overflow-wrap: break-word; }
.nlcp-page .nlcp-form-card .wpcf7 input:is([type="checkbox"], [type="radio"]) { display: inline-block; flex: 0 0 24px; width: 24px !important; height: 24px !important; min-width: 24px; min-height: 24px; margin: 2px 0 0; padding: 0; appearance: auto; -webkit-appearance: auto; accent-color: var(--nlcp-button); cursor: pointer; }
.nlcp-page .nlcp-form-card .privacy-group a { color: #5371ac; }
.nlcp-page .nlcp-form-card .wpcf7 input[type="submit"] { display: block; align-self: center; width: auto; max-width: 100%; min-height: 60px; margin: 24px auto 0; padding: 15px 20px; border: 0; border-radius: 15px; background: var(--nlcp-button); color: #fff; font-family: var(--nlcp-body-font); font-size: 17px; font-weight: 700; line-height: 1.4; white-space: normal; text-align: center; text-transform: none; letter-spacing: normal; box-shadow: none; cursor: pointer; transition: background-color .2s; }
.nlcp-page .nlcp-form-card .wpcf7 input[type="submit"]:hover { background: var(--nlcp-primary); color: #fff; }
.nlcp-form-card .wpcf7 input[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }
.nlcp-form-card .wpcf7 .wpcf7-spinner { display: block; margin: 12px auto 0; }
.nlcp-form-card .wpcf7 .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; }
.nlcp-form-card .wpcf7 .wpcf7-response-output { margin: 20px 0 0; padding: 12px; font-size: 15px; }
.nlcp-form-card .wpcf7 .select2-container--focus .select2-selection--single { outline: 3px solid #6798bf; outline-offset: 4px; }

/* FOOTER DEL RIFERIMENTO, SENZA MENU AGGIUNTIVI */
.nlcp-page .nlcp-footer { padding: 40px 30px 45px; background: #e2ebf4; font-size: 16px; line-height: 1.55; }
.nlcp-footer-inner { display: flex; align-items: flex-start; gap: 40px; width: 100%; max-width: 1240px; margin-inline: auto; }
.nlcp-page .nlcp-footer-logo { display: block; flex: 0 0 30%; align-self: center; min-width: 0; color: var(--nlcp-primary); text-decoration: none; }
.nlcp-page .nlcp-footer-logo img { width: 230px; max-width: 100%; }
.nlcp-footer-company, .nlcp-footer-contacts { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.nlcp-page .nlcp-footer h2 { margin: 0 0 10px; color: var(--nlcp-primary); font-family: var(--nlcp-body-font); font-size: 20px; font-weight: 700; line-height: 1.4; }
.nlcp-page .nlcp-footer p { margin: 0; font-size: inherit; line-height: inherit; }
.nlcp-page .nlcp-footer a { color: var(--nlcp-primary); text-decoration: underline; }

@media (max-width: 1199px) {
    .nlcp-main .nlcp-layout { gap: 24px; padding-top: 70px; }
    .nlcp-main .nlcp-form-column { flex-basis: 32%; }
    .nlcp-main .nlcp-form-card { padding: 30px 25px 60px; }
    .nlcp-main .nlcp-content h2 { font-size: 30px; }
    .nlcp-main .nlcp-location { flex-direction: column; }
    .nlcp-main .nlcp-hours { flex-basis: auto; }
    .nlcp-main .nlcp-map { min-height: 220px; }
}
@media (max-width: 940px) {
    .nlcp-main .nlcp-layout { flex-direction: column; gap: 40px; padding: 55px 0 60px; }
    .nlcp-main .nlcp-form-column, .nlcp-main .nlcp-content { flex: 0 1 auto; width: 100%; }
    .nlcp-main .nlcp-content { order: -1; }
    .nlcp-main .nlcp-form-card { padding: 35px; }
    .nlcp-main .nlcp-form-intro { line-height: 1.4; }
    .nlcp-page .nlcp-main .nlcp-hero h1 { width: 100%; font-size: 34px; }
    .nlcp-main .nlcp-form-card .wpcf7 .privacy-group { font-size: 16px; }
    .nlcp-footer-inner { flex-wrap: wrap; gap: 30px; }
    .nlcp-page .nlcp-footer-logo { flex: 0 0 100%; }
    .nlcp-page .nlcp-footer-logo img { width: 190px; }
}
@media (max-width: 767px) {
    .nlcp-page .nlcp-header { padding: 15px 20px; }
    .nlcp-header-inner { min-height: 75px; gap: 15px; }
    .nlcp-page .nlcp-logo { flex-basis: 150px; }
    .nlcp-specialties { max-width: 55%; }
    .nlcp-page .nlcp-main { font-size: 16px; line-height: 1.6; }
    .nlcp-main .nlcp-hero { min-height: 260px; padding: 25px; }
    .nlcp-page .nlcp-main .nlcp-hero h1 { font-size: 28px; }
    .nlcp-main .nlcp-layout { padding-top: 40px; }
    .nlcp-main .nlcp-content h1 { font-size: 30px; }
    .nlcp-main .nlcp-content h2 { font-size: 27px; }
    .nlcp-main .nlcp-content h3 { font-size: 23px; }
    .nlcp-main .nlcp-content h4 { font-size: 21px; }
    .nlcp-main .nlcp-content h5 { font-size: 19px; }
    .nlcp-main .nlcp-content h6 { font-size: 17px; }
    .nlcp-main .nlcp-content :is(h1, h2, h3, h4, h5, h6) { margin-bottom: 20px; }
    .nlcp-main .nlcp-box { flex-basis: 100%; }
    .nlcp-main .nlcp-tags li { padding: 10px 18px; font-size: 15px; }
    .nlcp-main .nlcp-form-card { padding: 30px 25px; }
    .nlcp-page .nlcp-form-card .wpcf7 input[type="submit"] { width: 100%; }
    .nlcp-main .nlcp-contact-row { gap: 14px; }
    .nlcp-main .nlcp-contact-row::before { flex-basis: 36px; width: 36px; height: 36px; }
    .nlcp-page .nlcp-footer { padding: 35px 20px; font-size: 14px; }
    .nlcp-footer-company, .nlcp-footer-contacts { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .nlcp-page .nlcp-form-card .wpcf7 input[type="submit"] { transition: none; }
}
