#maincontent .column.main:has(> .ds-service-intro):has(> .ds-quote-wrapper) {
    padding-bottom: clamp(36px, 6vw, 72px);
}

.ds-service-intro .ds-quote-next {
    margin-top: clamp(18px, 4vw, 32px);
    padding-top: 18px;
    border-top: 1px solid #e6dcd2;
}

.ds-service-intro .ds-quote-next h2 {
    margin: 0 0 8px;
    font-size: 19px;
    text-transform: none;
}

.ds-service-intro .ds-quote-next p {
    margin-bottom: 12px;
    font-size: 15px;
}

.ds-service-intro .ds-quote-next a,
.ds-quote-wrapper .ds-quote-selection a {
    color: #8b3013;
    text-decoration: none;
}

.ds-quote-wrapper .ds-quote-form label {
    min-width: 0;
}

.ds-quote-wrapper .ds-quote-form :is(input:not([type="hidden"]), select, textarea) {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    border: 1px solid #a99ca4;
    border-radius: 6px;
    background: #fff;
}

.ds-quote-wrapper .ds-quote-form input[name="postcode"] {
    max-width: 140px;
}

.ds-quote-wrapper .ds-quote-form textarea {
    min-height: 154px;
    resize: vertical;
}

.ds-quote-wrapper .ds-quote-form input[type="email"] {
    margin: 0;
}

@media (max-width: 899px) {
    .ds-service-intro,
    .ds-quote-wrapper {
        max-width: 680px;
    }
}

@media (min-width: 900px) {
    #maincontent .column.main:has(> .ds-service-intro):has(> .ds-quote-wrapper) {
        row-gap: 0;
    }

    #maincontent .column.main:has(> .ds-service-intro):has(> .ds-quote-wrapper) > :not(.ds-service-intro, .ds-quote-wrapper) {
        grid-area: 1 / 1 / 2 / -1;
    }

    #maincontent .column.main > .ds-service-intro {
        grid-area: 2 / 1 / 3 / 2;
    }

    #maincontent .column.main > .ds-quote-wrapper {
        grid-area: 2 / 2 / 3 / 3;
    }
}
