/* Complete dealer safety notice shared by the desktop and mobile home pages. */
.omoda-dealer-safety {
    padding: 72px 0;
    background: #f3f5f6;
    color: #1c303f;
    font: 400 16px/1.65 'Noto Sans', sans-serif;
    scroll-margin-top: 110px;
}

.omoda-dealer-safety *,
.omoda-dealer-safety *::before,
.omoda-dealer-safety *::after {
    box-sizing: border-box;
}

.omoda-dealer-safety__container {
    width: min(1280px, calc(100% - 96px));
    margin-inline: auto;
}

.omoda-dealer-safety h2,
.omoda-dealer-safety h3,
.omoda-dealer-safety p {
    margin: 0;
    color: inherit;
    text-transform: none;
}

.omoda-dealer-safety h2 {
    max-width: 1000px;
    margin-bottom: 20px;
    font-size: clamp(26px, 2.5vw, 38px);
    line-height: 1.25;
    font-weight: 500;
}

.omoda-dealer-safety h3 {
    margin-bottom: 20px;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500;
}

.omoda-dealer-safety p {
    font-size: 16px;
    line-height: 1.65;
}

.omoda-dealer-safety strong {
    font-weight: 600;
}

.omoda-dealer-safety__warning {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
    padding: 24px 28px;
    border-left: 4px solid #a94537;
    background: #fff;
}

.omoda-dealer-safety__warning-copy {
    min-width: 0;
}

.omoda-dealer-safety__warning-image {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
}

.omoda-dealer-safety .omoda-dealer-safety__warning-title {
    margin-bottom: 10px;
    color: #923b30;
    font-size: 22px;
}

.omoda-dealer-safety .omoda-dealer-safety__intro {
    margin-bottom: 36px;
    font-size: 18px;
}

.omoda-dealer-safety__table {
    width: 100%;
    margin-bottom: 32px;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
    color: inherit;
    font: inherit;
}

.omoda-dealer-safety__table th,
.omoda-dealer-safety__table td {
    padding: 20px 24px;
    border: 1px solid #d5dce0;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.omoda-dealer-safety__table th {
    font-weight: 600;
}

.omoda-dealer-safety__table thead {
    background: #1c303f;
    color: #fff;
}

.omoda-dealer-safety__table th:first-child,
.omoda-dealer-safety__table thead td:first-child {
    width: 23%;
}

.omoda-dealer-safety__table tbody td:nth-child(2) {
    background: #edf3f5;
}

.omoda-dealer-safety__position {
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid #d5dce0;
}

.omoda-dealer-safety__position p + p {
    margin-top: 12px;
}

.omoda-dealer-safety__benefits {
    margin: 0 0 32px;
    padding-left: 24px;
    list-style: disc;
}

.omoda-dealer-safety__benefits li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.omoda-dealer-safety .omoda-dealer-safety__conclusion {
    padding-top: 28px;
    border-top: 1px solid #d5dce0;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.4;
}

@media (max-width: 767px) {
    .omoda-dealer-safety {
        padding: 40px 0;
        scroll-margin-top: 80px;
    }

    .omoda-dealer-safety__container {
        width: calc(100% - 40px);
    }

    .omoda-dealer-safety__warning {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin-bottom: 32px;
        padding: 20px;
    }

    .omoda-dealer-safety__warning-image {
        width: 144px;
        justify-self: center;
    }

    .omoda-dealer-safety h3 {
        font-size: 20px;
    }

    .omoda-dealer-safety .omoda-dealer-safety__intro {
        font-size: 16px;
    }

    .omoda-dealer-safety__table,
    .omoda-dealer-safety__table tbody,
    .omoda-dealer-safety__table tr,
    .omoda-dealer-safety__table th,
    .omoda-dealer-safety__table td {
        display: block;
        width: 100%;
    }

    .omoda-dealer-safety__table {
        background: transparent;
    }

    .omoda-dealer-safety__table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .omoda-dealer-safety__table tbody tr + tr {
        margin-top: 20px;
    }

    .omoda-dealer-safety__table tbody th,
    .omoda-dealer-safety__table tbody td {
        padding: 16px 20px;
    }

    .omoda-dealer-safety__table tbody th:first-child {
        width: 100%;
        background: #1c303f;
        color: #fff;
    }

    .omoda-dealer-safety__table tbody td {
        border-top: 0;
        background: #fff;
    }

    .omoda-dealer-safety__table td::before {
        display: block;
        margin-bottom: 6px;
        content: attr(data-label);
        font-weight: 600;
    }
}
