/* ==========================================================
   /owners/capped-price-service
   Source + screenshot parity.
   ========================================================== */

.oj-owners-cps {
    --oj-cps-max: 1216px;
    color: #000;
    background: #fff;
    font-family: N27, Arial, Helvetica, sans-serif;
}

.oj-owners-cps *,
.oj-owners-cps *::before,
.oj-owners-cps *::after {
    box-sizing: border-box;
}

.oj-cps-container {
    width: min(var(--oj-cps-max), calc(100% - 48px));
    margin: 0 auto;
}

.oj-cps-title-band {
    background: #f4f4f4;
    padding: 48px 0 61px;
}

.oj-cps-title-band h1 {
    margin: 0;
    font-size: clamp(38px, 2.85vw, 48px);
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: -.018em;
}

.oj-cps-intro-wrap {
    padding: 110px 0 82px;
    background: #fff;
}

.oj-cps-intro-card {
    display: grid;
    grid-template-columns: minmax(0, 43%) minmax(0, 57%);
    gap: 33px;
    align-items: center;
    padding: 8px 18px;
    background: #f1f1f1;
}

.oj-cps-intro-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
}

.oj-cps-intro-copy {
    padding: 18px 22px 18px 0;
    font-size: 15px;
    line-height: 1.45;
}

.oj-cps-intro-copy p {
    margin: 0 0 12px;
}

.oj-cps-intro-copy p:last-child {
    margin-bottom: 0;
}

.oj-cps-intro-copy a,
.oj-cps-faq-answer-copy a {
    color: #00667d;
    text-decoration: none;
}

.oj-cps-intro-copy a:hover,
.oj-cps-faq-answer-copy a:hover {
    text-decoration: underline;
}

.oj-cps-service-section {
    padding: 55px 0 38px;
}

.oj-cps-accordion {
    width: 100%;
}

.oj-cps-accordion-item {
    border-bottom: 1px solid #d7d7d7;
}

.oj-cps-accordion-question {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 64px;
    margin: 0;
    padding: 17px 56px 17px 8px;
    border: 0;
    background: transparent;
    color: #000;
    font: inherit;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
}

.oj-cps-accordion-question::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 13px;
    height: 13px;
    border-right: 3px solid #111;
    border-bottom: 3px solid #111;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .18s ease;
}

.oj-cps-accordion-item.is-open > .oj-cps-accordion-question::after {
    transform: translateY(-25%) rotate(225deg);
}

.oj-cps-accordion-answer {
    padding: 0 8px 24px;
}

.oj-cps-accordion-answer[hidden] {
    display: none !important;
}

.oj-cps-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.oj-cps-service-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.4;
}

.oj-cps-service-table th,
.oj-cps-service-table td {
    padding: 12px 15px;
    border: 1px solid #d5d5d5;
    text-align: left;
}

.oj-cps-service-table th {
    background: #f2f2f2;
    font-weight: 600;
}

.oj-cps-service-table th:last-child,
.oj-cps-service-table td:last-child {
    width: 24%;
}

.oj-cps-terms {
    padding: 42px 0 54px;
    text-align: center;
}

.oj-cps-terms-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 26px;
    border: 1px solid #000;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-size: 15px;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}

.oj-cps-terms-button:hover {
    background: #000;
    color: #fff;
}

.oj-cps-faq-section {
    padding: 22px 0 90px;
}

.oj-cps-faq-section h2 {
    margin: 0 0 26px;
    font-size: clamp(30px, 2.2vw, 40px);
    line-height: 1.15;
    font-weight: 400;
}

.oj-cps-faq-answer-copy {
    max-width: 980px;
    padding: 4px 0 2px;
    font-size: 15px;
    line-height: 1.55;
}

.oj-cps-faq-answer-copy p {
    margin: 0;
}

@media (max-width: 991.98px) {
    .oj-cps-title-band {
        padding: 42px 0 50px;
    }

    .oj-cps-intro-wrap {
        padding: 70px 0 62px;
    }

    .oj-cps-intro-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 14px;
    }

    .oj-cps-intro-copy {
        padding: 6px 4px 14px;
    }
}

@media (max-width: 767.98px) {
    .oj-cps-container {
        width: min(100% - 32px, var(--oj-cps-max));
    }

    .oj-cps-title-band {
        padding: 34px 0 40px;
    }

    .oj-cps-intro-wrap {
        padding: 42px 0 48px;
    }

    .oj-cps-service-section {
        padding-top: 28px;
    }

    .oj-cps-accordion-question {
        min-height: 58px;
        padding-left: 0;
        padding-right: 44px;
        font-size: 17px;
    }

    .oj-cps-accordion-question::after {
        right: 4px;
        width: 11px;
        height: 11px;
        border-width: 2px;
    }

    .oj-cps-accordion-answer {
        padding-left: 0;
        padding-right: 0;
    }

    .oj-cps-service-table {
        min-width: 600px;
    }

    .oj-cps-faq-section {
        padding-bottom: 64px;
    }
}

/* === CPS SCREENSHOT PARITY V2 START === */

.oj-owners-cps .oj-cps-title-band {
    display: flex !important;
    align-items: center !important;
    min-height: 164px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f4f4f4 !important;
    position: relative;
    z-index: 0;
}

.oj-owners-cps .oj-cps-title-band > .oj-cps-container {
    display: flex !important;
    align-items: center !important;
    min-height: 164px !important;
}

.oj-owners-cps .oj-cps-title-band h1 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(43px, 2.75vw, 48px) !important;
    line-height: 1.08 !important;
    font-weight: 400 !important;
    letter-spacing: -0.018em !important;
}

.oj-owners-cps .oj-cps-intro-wrap {
    padding: 106px 0 82px !important;
    background: #fff !important;
}

.oj-owners-cps .oj-cps-intro-card {
    width: min(1168px, 100%) !important;
    height: 324px !important;
    min-height: 324px !important;
    max-height: 324px !important;
    margin: 0 auto !important;
    padding: 8px 18px !important;
    display: grid !important;
    grid-template-columns: 410px minmax(0, 1fr) !important;
    column-gap: 32px !important;
    align-items: center !important;
    overflow: hidden !important;
    background: #f1f1f1 !important;
}

.oj-owners-cps .oj-cps-intro-media {
    width: 410px !important;
    height: 308px !important;
    min-height: 308px !important;
    max-height: 308px !important;
    align-self: center !important;
    overflow: hidden !important;
    border-radius: 10px !important;
}

.oj-owners-cps .oj-cps-intro-media img {
    display: block !important;
    width: 410px !important;
    height: 308px !important;
    min-width: 410px !important;
    min-height: 308px !important;
    max-width: 410px !important;
    max-height: 308px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 !important;
    border-radius: 10px !important;
}

.oj-owners-cps .oj-cps-intro-copy {
    align-self: center !important;
    padding: 0 12px 0 0 !important;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
}

.oj-owners-cps .oj-cps-intro-copy p {
    margin: 0 0 10px !important;
}

.oj-owners-cps .oj-cps-intro-copy p:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 1199.98px) {
    .oj-owners-cps .oj-cps-intro-card {
        width: 100% !important;
        grid-template-columns: 38% minmax(0, 1fr) !important;
    }

    .oj-owners-cps .oj-cps-intro-media,
    .oj-owners-cps .oj-cps-intro-media img {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }
}

@media (max-width: 991.98px) {
    .oj-owners-cps .oj-cps-title-band,
    .oj-owners-cps .oj-cps-title-band > .oj-cps-container {
        min-height: 142px !important;
    }

    .oj-owners-cps .oj-cps-intro-wrap {
        padding: 70px 0 62px !important;
    }

    .oj-owners-cps .oj-cps-intro-card {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        grid-template-columns: 1fr !important;
        row-gap: 20px !important;
        padding: 14px !important;
        overflow: visible !important;
    }

    .oj-owners-cps .oj-cps-intro-media {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .oj-owners-cps .oj-cps-intro-media img {
        width: 100% !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: none !important;
        max-height: none !important;
        aspect-ratio: 4 / 3 !important;
    }

    .oj-owners-cps .oj-cps-intro-copy {
        padding: 6px 4px 14px !important;
    }
}

@media (max-width: 767.98px) {
    .oj-owners-cps .oj-cps-title-band,
    .oj-owners-cps .oj-cps-title-band > .oj-cps-container {
        min-height: 118px !important;
    }

    .oj-owners-cps .oj-cps-title-band h1 {
        font-size: 38px !important;
    }

    .oj-owners-cps .oj-cps-intro-wrap {
        padding: 42px 0 48px !important;
    }
}

/* === CPS SCREENSHOT PARITY V2 END === */

/* === CPS NAVBAR CLEARANCE V3 START === */

/*
 * The shared desktop header is overlaying approximately 56px of the
 * original grey title band. Move the band below that overlay instead
 * of making the title band artificially taller.
 */
@media (min-width: 992px) {
    .oj-owners-cps .oj-cps-title-band {
        margin-top: 56px !important;
    }
}

@media (max-width: 991.98px) {
    .oj-owners-cps .oj-cps-title-band {
        margin-top: 0 !important;
    }
}

/* === CPS NAVBAR CLEARANCE V3 END === */
