/*======================================================
Service Page Templates (svc-*)
Loaded after common.css and new-about.css on service page
templates (see page-assets.php). Reuses the about-* components
and only adds what the About page does not already style.
======================================================*/

/*======================================================
Section Surfaces
======================================================*/
.svc-tint {
    background-color: #faf8fc;
}

/* Sticky columns need the wrapper to stop clipping overflow.
   Same fix new-about.css applies to the About template. */
body[class*="page-template-"] .body-innerwrapper {
    overflow-x: unset;
}

/*======================================================
Hero Buttons
======================================================*/
.about-hero-section .common-btn {
    padding: 10px 65px 20px 20px !important;
}

.about-hero-section .common-btn::after {
    padding-left: 20px !important;
    padding-top: 15px !important;
}

.about-hero-section .common-btn i {
    margin-left: 20px !important;
}

/*======================================================
Five Areas Strip
One bordered panel split into equal columns. The 1px gap shows
the panel's border colour between cells, so the dividers stay
correct at every column count.
======================================================*/
.svc-areas {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    margin: 44px 0 0;
    background-color: #dfd8ec;
    border: 1px solid #dfd8ec;
    border-radius: 10px;
    overflow: hidden;
}

.svc-area {
    padding: 32px 30px;
    background-color: #ffffff;
}

.svc-areas dt {
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    color: #0e0024;
}

.svc-areas dd {
    margin: 0;
    font-size: 16px;
    line-height: 26px;
    color: #333333;
}

.svc-areas + .row {
    margin-top: 44px;
}

/*======================================================
Section Photo
A photo under the heading in a two-column section, matching
the About page portraits.
======================================================*/
.svc-figure {
    margin: 32px 0 0;
}

.svc-figure img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 14px 44px rgba(23, 16, 46, 0.1);
}

/*======================================================
Answer Box
======================================================*/
.svc-answer {
    margin: 10px 0 32px;
    padding: 28px 32px;
    background-color: #f1edf8;
    border-left: 4px solid #4b3585;
    border-radius: 0 4px 4px 0;
}

.svc-answer p {
    font-size: 18px;
    line-height: 29px;
    padding-bottom: 14px;
}

.svc-answer p:last-child {
    padding-bottom: 0;
}

.svc-answer strong {
    font-weight: 600;
    color: #0e0024;
}

/*======================================================
Mid-page CTA
Copy on the left, button on the right, centred on one line.
======================================================*/
.svc-midcta {
    padding: 56px 0;
    background-color: #f1edf8;
    border-top: 1px solid #dfd8ec;
    border-bottom: 1px solid #dfd8ec;
}

.svc-midcta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 48px;
}

.svc-midcta-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.svc-midcta-action {
    flex: 0 0 auto;
}

.svc-midcta p.svc-midcta-title {
    font-size: 28px;
    line-height: 38px;
    color: #0e0024;
    padding-bottom: 10px;
}

.svc-midcta p.svc-midcta-text {
    max-width: 58ch;
    font-size: 18px;
    line-height: 28px;
    padding-bottom: 0;
}

/*======================================================
Scope Panel
Two columns in one bordered panel: what the service covers
and what is referred on. Same 1px divider technique as the
five areas strip.
======================================================*/
.svc-scope {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin: 44px 0 0;
    background-color: #dfd8ec;
    border: 1px solid #dfd8ec;
    border-radius: 10px;
    overflow: hidden;
}

.svc-scope-col {
    padding: 32px 30px;
    background-color: #ffffff;
}

.svc-scope-col.is-out {
    background-color: #faf8fc;
}

.svc-scope p.svc-scope-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4b3585;
    padding-bottom: 16px;
}

.svc-scope .is-out p.svc-scope-title {
    color: #6b6484;
}

.svc-scope ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.svc-scope li {
    position: relative;
    padding: 0 0 12px 24px;
    font-size: 16px;
    line-height: 26px;
    color: #333333;
}

.svc-scope li:last-child {
    padding-bottom: 0;
}

.svc-scope li::before {
    content: "";
    position: absolute;
    left: 0;
}

.svc-scope .is-in li::before {
    top: 9px;
    width: 8px;
    height: 8px;
    background-color: #4b3585;
}

.svc-scope .is-out li::before {
    top: 12px;
    width: 8px;
    height: 2px;
    background-color: #6b6484;
}

.svc-scope + .row {
    margin-top: 44px;
}

/*======================================================
Card Rows and Sub-headings
Three equal cards in a row, under a small uppercase sub-heading.
.is-accent adds a plum top rule (used for worked examples).
======================================================*/
.common-sec h3.svc-subhead {
    margin: 56px 0 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b6484;
}

.svc-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.svc-card {
    padding: 30px 28px;
    background-color: #ffffff;
    border: 1px solid #dfd8ec;
    border-radius: 10px;
}

.svc-cards.is-accent .svc-card {
    border-top: 3px solid #4b3585;
}

.common-sec .svc-card p {
    font-size: 16px;
    line-height: 26px;
    padding-bottom: 12px;
}

.common-sec .svc-card p:last-child {
    padding-bottom: 0;
}

.common-sec .svc-card p.svc-card-label {
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4b3585;
    padding-bottom: 8px;
}

.common-sec .svc-card p.svc-card-title {
    font-size: 22px;
    line-height: 30px;
    color: #0e0024;
    padding-bottom: 12px;
}

/*======================================================
Tool Kit Panel
Labelled items in one bordered panel, two per row. Same 1px
divider technique as the five areas strip.
======================================================*/
.svc-kit {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin: 0 0 44px;
    padding: 0;
    list-style: none;
    background-color: #dfd8ec;
    border: 1px solid #dfd8ec;
    border-radius: 10px;
    overflow: hidden;
}

.svc-kit li {
    padding: 26px 28px;
    font-size: 16px;
    line-height: 26px;
    color: #333333;
    background-color: #ffffff;
}

.svc-kit-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4b3585;
}

/*======================================================
Desktop and Laptop
======================================================*/
@media (min-width: 992px) and (max-width: 1399.98px) {
    .svc-area {
        padding: 26px 22px;
    }

    .svc-areas dt {
        font-size: 21px;
        line-height: 28px;
    }

    .svc-scope-col {
        padding: 26px 22px;
    }

    .svc-card {
        padding: 26px 22px;
    }
}

/*======================================================
Tablet and Mobile
======================================================*/
@media (max-width: 991.98px) {
    .svc-areas {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 32px;
    }

    .svc-area:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .svc-areas dt {
        font-size: 22px;
        line-height: 30px;
    }

    .svc-areas + .row {
        margin-top: 32px;
    }

    .svc-figure {
        margin: 24px 0 8px;
    }

    .svc-figure img {
        border-radius: 14px;
    }

    .svc-midcta {
        padding: 44px 0;
    }

    /* The band stacks and centres. */
    .svc-midcta-inner {
        flex-direction: column;
        text-align: center;
    }

    .svc-midcta p.svc-midcta-title {
        font-size: 24px;
        line-height: 32px;
    }

    .svc-midcta p.svc-midcta-text {
        margin-inline: auto;
    }

    .svc-midcta-action {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .svc-scope,
    .svc-scope + .row {
        margin-top: 32px;
    }

    .svc-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .common-sec h3.svc-subhead {
        margin: 44px 0 16px;
    }

    .svc-kit {
        margin-bottom: 32px;
    }
}

/*======================================================
Small Tablet
======================================================*/
@media (max-width: 767.98px) {
    .svc-scope,
    .svc-kit {
        grid-template-columns: 1fr;
    }
}

/*======================================================
Mobile
======================================================*/
@media (max-width: 575.98px) {
    .svc-areas {
        grid-template-columns: 1fr;
    }

    .svc-area {
        padding: 22px 20px;
    }

    .svc-areas dt {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 8px;
    }

    .svc-answer {
        padding: 22px 20px;
    }

    .svc-scope-col,
    .svc-card,
    .svc-kit li {
        padding: 22px 20px;
    }

    .svc-answer p {
        font-size: 16px;
        line-height: 26px;
    }

    .svc-midcta p.svc-midcta-title {
        font-size: 22px;
        line-height: 30px;
    }

    .svc-midcta p.svc-midcta-text {
        font-size: 16px;
        line-height: 26px;
    }

    .about-facts-section {
        padding: 60px 0px;
    }
}