/**
 * Hope Running Core Performance
 * Cookie Policy Complianz
 * Versione 1.3.6
 *
 * Nota:
 * il contenuto legale continua a essere generato da:
 * [cmplz-document type="cookie-statement" region="eu"]
 *
 * Questo file modifica esclusivamente la presentazione.
 */

/* =========================================================
 * DOCUMENTO
 * ========================================================= */

#cmplz-document {
    width: 100%;
    max-width: 1120px !important;
    margin: 0 auto !important;
    padding: clamp(28px, 5vw, 54px) !important;
    border: 1px solid var(--hope-border, #dfe5e1);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(17, 23, 20, .055);
    color: var(--hope-dark, #111714);
    font-family: inherit !important;
}

/* Complianz imposta a volte larghezze proprie. */
#cmplz-document,
#cmplz-document * {
    box-sizing: border-box;
}

#cmplz-document p,
#cmplz-document li,
#cmplz-document td,
#cmplz-document .cmplz-service-desc,
#cmplz-document .cmplz-category-title,
#cmplz-document .cmplz-description {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
}

/* =========================================================
 * TITOLI E TESTO
 * ========================================================= */

#cmplz-document h1,
#cmplz-document h2,
#cmplz-document h3,
#cmplz-document h4,
#cmplz-document h5 {
    color: var(--hope-dark, #111714) !important;
    font-family: inherit !important;
    text-transform: none !important;
    text-decoration: none !important;
}

#cmplz-document h1 {
    margin: 0 0 22px !important;
    font-size: clamp(38px, 5vw, 58px) !important;
    font-weight: 950 !important;
    line-height: 1.02 !important;
    letter-spacing: -1.8px !important;
}

#cmplz-document h2 {
    position: relative;
    margin: 48px 0 18px !important;
    padding-top: 14px !important;
    font-size: clamp(25px, 3vw, 34px) !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
    letter-spacing: -.7px !important;
}

#cmplz-document h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 54px;
    height: 5px;
    border-radius: 999px;
    background: var(--hope-yellow, #ffd600);
}

#cmplz-document h3 {
    margin: 30px 0 12px !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}

#cmplz-document h4,
#cmplz-document h5 {
    margin: 24px 0 10px !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
}

#cmplz-document p,
#cmplz-document li {
    color: var(--hope-muted, #5f6c65) !important;
    font-family: inherit !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
}

#cmplz-document p {
    margin: 0 0 14px !important;
}

#cmplz-document ul,
#cmplz-document ol {
    margin: 12px 0 18px !important;
    padding-left: 22px !important;
}

#cmplz-document li {
    margin-bottom: 7px !important;
}

/* =========================================================
 * LINK
 * ========================================================= */

#cmplz-document a {
    color: #3d6b56 !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
}

#cmplz-document a:hover,
#cmplz-document a:focus-visible {
    color: #6e5f00 !important;
    text-decoration-color: var(--hope-yellow, #ffd600) !important;
}

/* =========================================================
 * PANORAMICA COOKIE / DROPDOWN COMPLIANZ
 * ========================================================= */

#cmplz-cookies-overview,
#cmplz-document #cmplz-cookies-overview {
    margin-top: 26px !important;
}

#cmplz-cookies-overview .cmplz-dropdown,
#cmplz-document .cmplz-dropdown,
.editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown {
    margin: 12px 0 !important;
    overflow: hidden;
    border: 1px solid var(--hope-border, #dfe5e1) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

#cmplz-cookies-overview .cmplz-dropdown summary,
#cmplz-document .cmplz-dropdown summary {
    min-height: 52px;
    padding: 14px 18px !important;
    background: #f6f8f6 !important;
    color: var(--hope-dark, #111714) !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.4 !important;
    cursor: pointer;
}

#cmplz-cookies-overview .cmplz-dropdown[open] summary,
#cmplz-document .cmplz-dropdown[open] summary {
    background: #fff9c7 !important;
    border-bottom: 1px solid #eadb71 !important;
}

#cmplz-cookies-overview .cmplz-dropdown > div,
#cmplz-document .cmplz-dropdown > div {
    padding: 16px 18px !important;
}

/* Tabelle / celle generate da Complianz. */
#cmplz-cookies-overview .cookies-per-purpose,
#cmplz-document .cookies-per-purpose,
#cmplz-document .function,
#cmplz-document .function-header,
#cmplz-document .retention,
#cmplz-document .retention-header,
#cmplz-document .name,
#cmplz-document .name-header,
#cmplz-document .purpose,
#cmplz-document .purpose-header,
#cmplz-document .cmplz-service-desc,
#cmplz-document .cmplz-dropdown-cookiepolicy {
    background: transparent !important;
}

#cmplz-document .function,
#cmplz-document .function-header,
#cmplz-document .retention,
#cmplz-document .retention-header,
#cmplz-document .name,
#cmplz-document .name-header,
#cmplz-document .purpose,
#cmplz-document .purpose-header,
#cmplz-document .cookies-per-purpose {
    border-color: var(--hope-border, #dfe5e1) !important;
}

#cmplz-document .function-header,
#cmplz-document .retention-header,
#cmplz-document .name-header,
#cmplz-document .purpose-header {
    color: var(--hope-dark, #111714) !important;
    font-weight: 900 !important;
}

/* =========================================================
 * TABELLE GENERICHE
 * ========================================================= */

#cmplz-document table {
    width: 100% !important;
    margin: 18px 0 24px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden;
    border: 1px solid var(--hope-border, #dfe5e1) !important;
    border-radius: 14px !important;
    background: #fff !important;
}

#cmplz-document th,
#cmplz-document td {
    padding: 13px 14px !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--hope-border, #dfe5e1) !important;
    vertical-align: top !important;
}

#cmplz-document th {
    background: #f3f6f4 !important;
    color: var(--hope-dark, #111714) !important;
    font-size: 10.5px !important;
    font-weight: 950 !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
    letter-spacing: .45px !important;
}

#cmplz-document td {
    color: var(--hope-muted, #5f6c65) !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
}

#cmplz-document tr:last-child td {
    border-bottom: 0 !important;
}

/* =========================================================
 * PULSANTI / GESTIONE CONSENSO
 * ========================================================= */

#cmplz-document button,
#cmplz-document .cmplz-manage-consent,
#cmplz-document .cmplz-revoke-custom,
#cmplz-document .cc-revoke-custom,
#cmplz-document input[type="button"],
#cmplz-document input[type="submit"] {
    min-height: 44px !important;
    padding: 10px 17px !important;
    border: 1px solid var(--hope-yellow, #ffd600) !important;
    border-radius: 999px !important;
    background: var(--hope-yellow, #ffd600) !important;
    color: var(--hope-dark, #111714) !important;
    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

#cmplz-document button:hover,
#cmplz-document button:focus-visible,
#cmplz-document .cmplz-manage-consent:hover,
#cmplz-document .cmplz-manage-consent:focus-visible,
#cmplz-document .cmplz-revoke-custom:hover,
#cmplz-document .cmplz-revoke-custom:focus-visible,
#cmplz-document .cc-revoke-custom:hover,
#cmplz-document .cc-revoke-custom:focus-visible {
    border-color: var(--hope-dark, #111714) !important;
    background: var(--hope-dark, #111714) !important;
    color: #ffffff !important;
}

/* Stato consenso: leggibile ma non invadente. */
#cmplz-document .cmplz-status-accepted,
#cmplz-document .cmplz-status-denied {
    display: inline-block;
    margin: 6px 0 12px !important;
    padding: 7px 11px !important;
    border-radius: 999px;
    background: #f1f4f2;
    color: #536159 !important;
    font-size: 10px !important;
    font-weight: 850 !important;
}

/* =========================================================
 * ACCESSIBILITÀ
 * ========================================================= */

#cmplz-document a:focus-visible,
#cmplz-document button:focus-visible,
#cmplz-document summary:focus-visible,
#cmplz-document input:focus-visible {
    outline: 3px solid rgba(255, 214, 0, .72) !important;
    outline-offset: 3px !important;
}

/* =========================================================
 * RESPONSIVE
 * ========================================================= */

@media (max-width: 760px) {
    #cmplz-document {
        padding: 24px 18px !important;
        border-radius: 18px;
    }

    #cmplz-document h1 {
        font-size: 36px !important;
        letter-spacing: -1.1px !important;
    }

    #cmplz-document h2 {
        margin-top: 38px !important;
        font-size: 26px !important;
    }

    #cmplz-document p,
    #cmplz-document li {
        font-size: 13px !important;
        line-height: 1.74 !important;
    }

    #cmplz-document table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #cmplz-cookies-overview .cmplz-dropdown summary,
    #cmplz-document .cmplz-dropdown summary {
        padding: 13px 14px !important;
    }

    #cmplz-cookies-overview .cmplz-dropdown > div,
    #cmplz-document .cmplz-dropdown > div {
        padding: 14px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #cmplz-document *,
    #cmplz-document *::before,
    #cmplz-document *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
