.customer-path-pre-consultation {
    display: flex;
    width: 100%;
    align-items: stretch;
    background: #004884;
    color: #fff;
    font-style: normal;
}

.customer-path-pre-consultation__content {
    display: grid;
    flex: 1;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 50px 20px;
}

.customer-path-pre-consultation__heading {
    max-width: 360px;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    font-variant: small-caps;
}

.customer-path-pre-consultation__cards {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
}

.customer-path-pre-consultation__card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    background: #f6faff;
    color: #004884;
}

.customer-path-pre-consultation__media {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    aspect-ratio: 700 / 352;
    border-radius: 20px 20px 0 0;
    background: #e5e7eb;
}

.customer-path-pre-consultation__picture,
.customer-path-pre-consultation__image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.customer-path-pre-consultation__image {
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center;
}

.customer-path-pre-consultation__copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    font-variant: small-caps;
    overflow-wrap: anywhere;
}

.customer-path-pre-consultation__copy :is(p, h1, h2, h3, h4) {
    margin: 0;
    font: inherit;
}

.customer-path-pre-consultation__copy p + p { margin-top: 30px; }
.customer-path-pre-consultation__copy :is(b, strong) { font-weight: 600; }

.customer-path-pre-consultation__copy :is(b, strong) > :is(i, em) {
    display: inline-flex;
    width: 99.735px;
    height: 21.587px;
    align-items: center;
    justify-content: center;
    transform: rotate(-2.501deg);
    border-radius: 100px;
    background: #007CE3;
    color: #fff;
    font-style: normal;
    line-height: normal;
    white-space: nowrap;
}

.customer-path-pre-consultation__break-space { display: none; }

.customer-path-pre-consultation__button {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 10px;
    margin-top: 10px;
    padding-inline: 15px;
    border-radius: 10px;
    background: #fff;
    color: #004884;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background-color 150ms;
}

.customer-path-pre-consultation__button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

@media (min-width: 768px) and (max-width: 1279px) {
    .customer-path-pre-consultation__content { padding-inline: 30px; }
    .customer-path-pre-consultation__cards { gap: 20px; }
    .customer-path-pre-consultation__card { display: grid; grid-template-columns: minmax(0, 223px) minmax(0, 1fr); }
    .customer-path-pre-consultation__media { height: 100%; aspect-ratio: auto; border-radius: 20px 0 0 20px; }
    .customer-path-pre-consultation__copy { padding: 30px 20px; }
    .customer-path-pre-consultation__copy:first-child { grid-column: 1 / -1; }
    .customer-path-pre-consultation__copy-break { display: none; }
    .customer-path-pre-consultation__break-space { display: inline; }
    .customer-path-pre-consultation__button { max-width: 350px; }
}

@media (min-width: 1280px) {
    .customer-path-pre-consultation__content {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 40px 30px;
        padding: 70px 50px;
    }
    .customer-path-pre-consultation__heading { max-width: 500px; font-size: 40px; }
    .customer-path-pre-consultation__cards { grid-row: 2; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .customer-path-pre-consultation__card { min-height: 475px; }
    .customer-path-pre-consultation__button { grid-row: 1; grid-column: 2; width: auto; margin-top: 0; padding-inline: 80px; }
}
