body {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

.rapporto {
    width: 100%;
    flex: 1;
}

.rapporto .intro {
    padding: 0;
}

.rapporto .eyebrow {
    color: var(--green);
}

.rapporto .intro h1 {
    margin: 20px 0 28px;
    font-size: clamp(48px, 5.7vw, 78px);
}

.rapporto .intro h1 span {
    color: transparent;
    -webkit-text-stroke: 1px var(--green);
}

.rapporto-richiesta {
    min-width: 0;
    padding-top: 32px;
}

.rapporto-richiesta .draft {
    margin: 0;
}

.rapporto-prodotto {
    margin: 0;
    overflow: hidden;
}

.rapporto-prodotto img {
    width: 100%;
    height: auto;
}

#modulo-rapporto {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

#modulo-rapporto label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
}

#modulo-rapporto .required::after {
    content: ' *';
}

#modulo-rapporto .form-control {
    width: 100%;
    min-height: 58px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid #ffffff65;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 20px;
}

#modulo-rapporto button {
    min-height: 56px;
    padding: 12px 18px;
    border: 0;
    border-radius: 0;
    background: var(--green);
    color: #14200c;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

#modulo-rapporto button:hover:not(:disabled) {
    background: #cbff76;
}

#modulo-rapporto button:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

#modulo-rapporto input:focus {
    outline: none;
    border-bottom-color: var(--green);
    box-shadow: 0 1px 0 var(--green);
}

#modulo-rapporto input[aria-invalid="true"] {
    border-bottom-color: #ff9b8f;
}

#modulo-rapporto button:disabled {
    opacity: .6;
    cursor: wait;
}

#modulo-rapporto .invalid-feedback,
.errore-rapporto {
    color: #ff9b8f;
    font-size: 14px;
}

#modulo-rapporto .cf-turnstile {
    line-height: 0;
}

#modulo-rapporto .invalid-feedback:empty {
    display: none;
}

#modulo-rapporto .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

#stato-richiesta:empty {
    display: none;
}

.privacy-rapporto {
    justify-self: start;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 760px) {
    .rapporto .intro h1 {
        font-size: clamp(44px, 10vw, 64px);
    }

    .rapporto-richiesta {
        padding-top: 24px;
    }

    .rapporto-prodotto {
        margin-top: 32px;
    }
}

.breadcrumb + .rapporto-affiancata {
    margin-top: 32px;
}

.rapporto-affiancata {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: stretch;
    padding-block: 12px 24px;
}

.rapporto-affiancata .rapporto-prodotto {
    position: relative;
    min-height: 640px;
    background: #050a06;
}

.rapporto-affiancata .rapporto-prodotto img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 79% center;
}

.rapporto-contenuto {
    align-self: center;
    min-width: 0;
    padding-block: 24px;
}

.rapporto-affiancata .intro h1 {
    font-size: clamp(46px, 5vw, 68px);
}

.rapporto-affiancata .lead {
    max-width: 390px;
    font-size: 17px;
}

.rapporto-affiancata .rapporto-richiesta {
    padding-top: 40px;
}

@media (max-width: 760px) {
    .rapporto-affiancata {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .rapporto-affiancata .rapporto-prodotto {
        margin: 0;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .rapporto-contenuto {
        padding: 0;
    }
}
