/**
 * Domicill — Ik wil verkopen
 * Version: 1.0.2
 *
 * CSS-only redesign of the existing Divi page and CF7 form 2306. No source
 * markup, form field, validation rule, Turnstile element or submission logic
 * is changed.
 */

body.page-id-2308 {
    --dc-sell-navy: #082b49;
    --dc-sell-navy-dark: #051d31;
    --dc-sell-gold: #b68b56;
    --dc-sell-gold-light: #d3b27d;
    --dc-sell-cream: #f7f4ef;
    --dc-sell-ink: #24303a;
    --dc-sell-muted: #69747c;
    --dc-sell-line: rgba(8, 43, 73, .14);
    --dc-sell-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --dc-sell-body: Lato, Arial, Helvetica, sans-serif;
    --dc-sell-shadow: 0 20px 60px rgba(8, 43, 73, .11);
    background: var(--dc-sell-cream);
}

body.page-id-2308 #main-content {
    overflow: hidden;
    background: var(--dc-sell-cream);
}

/* The floating valuation tab links back to this same page and is redundant here. */
body.page-id-2308 .et_pb_section--absolute:has(a[href="/ik-wil-verkopen"]),
body.page-id-2308 .et_pb_section--absolute:has(a[href="/ik-wil-verkopen/"]) {
    display: none !important;
}

/* Existing photographic hero. */
body.page-id-2308 #main-content .et_pb_section_0 {
    position: relative;
    min-height: 560px;
    padding: 0 !important;
    background-position: center 38% !important;
    background-size: cover !important;
    isolation: isolate;
}

body.page-id-2308 #main-content .et_pb_section_0::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 20, 34, .80), rgba(3, 20, 34, .33) 58%, rgba(3, 20, 34, .08));
    content: "";
}

body.page-id-2308 #main-content .et_pb_section_0 .et_pb_bottom_inside_divider {
    opacity: .98;
}

body.page-id-2308 #main-content .et_pb_section_0 > .et_pb_row_0 {
    display: flex;
    width: min(calc(100% - 64px), 1470px) !important;
    max-width: 1470px !important;
    min-height: 560px;
    align-items: center;
    margin: 0 auto !important;
    padding: 70px 0 92px !important;
}

body.page-id-2308 #main-content .et_pb_section_0 .et_pb_text_0 {
    width: min(100%, 760px);
    margin: 0 !important;
    text-align: left !important;
}

body.page-id-2308 #main-content .et_pb_section_0 .et_pb_text_0::before {
    display: block;
    margin-bottom: 14px;
    color: var(--dc-sell-gold-light);
    content: "GRATIS EN VRIJBLIJVEND";
    font: 700 12px/1.3 var(--dc-sell-body);
    letter-spacing: .12em;
}

body.page-id-2308 #main-content .et_pb_section_0 h1 {
    margin: 0;
    padding: 0;
    color: #fff !important;
    font-family: var(--dc-sell-display);
    font-size: clamp(42px, 5.5vw, 48px) !important;
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.03em;
    text-shadow: 0 5px 22px rgba(0, 0, 0, .22);
}

/* Existing introduction and team image. */
body.page-id-2308 #main-content .et_pb_section_1 {
    padding: 88px 0 96px !important;
    background: var(--dc-sell-cream) !important;
}

body.page-id-2308 #main-content .et_pb_section_1 > .et_pb_row_1 {
    display: grid;
    width: min(calc(100% - 64px), 1470px) !important;
    max-width: 1470px !important;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: clamp(48px, 7vw, 96px);
    align-items: center;
    margin: 0 auto !important;
    padding: 0 0 68px !important;
}

body.page-id-2308 #main-content .et_pb_row_1 > .et_pb_column {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

body.page-id-2308 #main-content .et_pb_text_1 {
    margin: 0 0 19px !important;
}

body.page-id-2308 #main-content .et_pb_text_1::before {
    display: block;
    margin-bottom: 12px;
    color: var(--dc-sell-gold);
    content: "WAARDEBEPALING";
    font: 700 14px var(--dc-sell-body);
    letter-spacing: .11em;
}

body.page-id-2308 #main-content .et_pb_text_1 h2 {
    margin: 0;
    padding: 0;
    color: var(--dc-sell-navy) !important;
    font-family: var(--dc-sell-display);
    font-size: clamp(27px,2.25vw,32px) !important;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.025em;
}

body.page-id-2308 #main-content .et_pb_text_2,
body.page-id-2308 #main-content .et_pb_text_2 p {
    color: var(--dc-sell-muted);
    font-family: var(--dc-sell-body);
    font-size: 15px;
    line-height: 1.72;
}

body.page-id-2308 #main-content .et_pb_text_2 strong {
    color: var(--dc-sell-navy);
}

body.page-id-2308 #main-content .et_pb_image_0 {
    overflow: hidden;
    margin: 0 !important;
    border-radius: 14px;
    box-shadow: var(--dc-sell-shadow);
}

body.page-id-2308 #main-content .et_pb_image_0 .et_pb_image_wrap,
body.page-id-2308 #main-content .et_pb_image_0 img {
    display: block;
    width: 100%;
}

body.page-id-2308 #main-content .et_pb_image_0 img {
    min-height: 430px;
    object-fit: cover;
}

/* Existing CF7 module becomes one premium valuation card. */
body.page-id-2308 #main-content .et_pb_section_1 > .et_pb_row_2 {
    width: min(calc(100% - 64px), 1240px) !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.page-id-2308 #main-content .dvppl_cf7_styler_0 {
    margin: 0 !important;
    padding: clamp(29px, 4vw, 48px) !important;
    border: 1px solid var(--dc-sell-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--dc-sell-shadow);
}

body.page-id-2308 #main-content .dvppl_cf7_styler_0 :is(.et_pb_module_inner, .dipe-cf7-container, .dipe-cf7) {
    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .wpcf7-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 44px;
    align-items: start;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .hidden-fields-container {
    display: none !important;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-row {
    width: auto;
    margin-right: -9px;
    margin-bottom: 15px;
    margin-left: -9px;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-col {
    padding-right: 9px;
    padding-left: 9px;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-row:has(h3):first-of-type {
    grid-column: 1;
    grid-row: 1;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-row:has([name="your-firstname"]) {
    grid-column: 1;
    grid-row: 2;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-row:has([name="Telefoon"]) {
    grid-column: 1;
    grid-row: 3;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-row:has(h3):not(:first-of-type) {
    grid-column: 2;
    grid-row: 1;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-row:has([name="Typepand"]) {
    grid-column: 2;
    grid-row: 2;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-row:has([name="Straatnaam"]) {
    grid-column: 2;
    grid-row: 3;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-row:has([name="Postcode"]) {
    grid-column: 2;
    grid-row: 4;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-row:has([name="Opt-in[]"]) {
    grid-column: 1 / -1;
    grid-row: 5;
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--dc-sell-line);
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-row:has([name="privacy-policy"]) {
    grid-column: 1 / -1;
    grid-row: 6;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-row:has(p) {
    grid-column: 1;
    grid-row: 7;
    align-self: center;
    margin: 3px 0 0;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-row:has(p) p {
    margin: 0;
    color: var(--dc-sell-muted);
    font-size: 11px;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .wpcf7-turnstile {
    grid-column: 1;
    grid-row: 8;
    margin: 14px 0 0;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-row:has(input[type="submit"]) {
    display: flex;
    grid-column: 2;
    grid-row: 7 / span 2;
    align-self: end;
    justify-content: flex-end;
    margin: 0;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 input[type="submit"] {
    min-width: 210px;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 .wpcf7-response-output {
    grid-column: 1 / -1;
    grid-row: 9;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 h3 {
    margin: 0 0 18px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--dc-sell-line);
    color: var(--dc-sell-navy) !important;
    font-family: var(--dc-sell-display);
    font-size: clamp(28px, 2.7vw, 38px) !important;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.02em;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--dc-sell-gold) 50%),
        linear-gradient(135deg, var(--dc-sell-gold) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 13px) calc(50% - 2px);
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
}

body.page-id-2308 #wpcf7-f2306-p2308-o1 :is(.wpcf7-checkbox, .wpcf7-acceptance) label {
    color: var(--dc-sell-muted);
}

@media (max-width: 980px) {
    body.page-id-2308 #main-content .et_pb_section_0,
    body.page-id-2308 #main-content .et_pb_section_0 > .et_pb_row_0 {
        min-height: 500px;
    }

    body.page-id-2308 #main-content .et_pb_section_0 > .et_pb_row_0,
    body.page-id-2308 #main-content .et_pb_section_1 > .et_pb_row_1,
    body.page-id-2308 #main-content .et_pb_section_1 > .et_pb_row_2 {
        width: min(calc(100% - 40px), 1470px) !important;
    }

    body.page-id-2308 #main-content .et_pb_section_1 > .et_pb_row_1 {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    body.page-id-2308 #main-content .et_pb_image_0 img {
        min-height: 360px;
    }

    body.page-id-2308 #wpcf7-f2306-p2308-o1 .wpcf7-form {
        grid-template-columns: 1fr;
    }

    body.page-id-2308 #wpcf7-f2306-p2308-o1 .wpcf7-form > * {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-row:has(h3):not(:first-of-type) {
        margin-top: 22px;
    }

    body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-row:has(input[type="submit"]) {
        justify-content: flex-start;
        margin-top: 15px;
    }
}

@media (max-width: 680px) {
    body.page-id-2308 #main-content .et_pb_section_0,
    body.page-id-2308 #main-content .et_pb_section_0 > .et_pb_row_0 {
        min-height: 430px;
    }

    body.page-id-2308 #main-content .et_pb_section_0 > .et_pb_row_0 {
        padding: 55px 0 78px !important;
    }

    body.page-id-2308 #main-content .et_pb_section_0 h1 {
        font-size: clamp(33px, 9vw, 38px) !important;
        line-height: 1.05;
        overflow-wrap: normal;
        word-break: normal;
    }

    body.page-id-2308 #main-content .et_pb_section_1 {
        padding: 62px 0 70px !important;
    }

    body.page-id-2308 #main-content .et_pb_section_1 > .et_pb_row_1 {
        padding-bottom: 48px !important;
    }

    body.page-id-2308 #main-content .et_pb_image_0 img {
        min-height: 280px;
    }

    body.page-id-2308 #main-content .dvppl_cf7_styler_0 {
        padding: 25px 20px !important;
    }

    body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-row {
        margin-bottom: 12px;
    }

    body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-col-md-6,
    body.page-id-2308 #wpcf7-f2306-p2308-o1 .cf7m-col-lg-6 {
        width: 100%;
        margin-bottom: 12px;
    }

    body.page-id-2308 #wpcf7-f2306-p2308-o1 input[type="submit"] {
        width: 100%;
        min-width: 0;
    }
}
