/*======================================================
Homepage Template (home-*)
Loaded after common.css, new-about.css and service.css on the
homepage template (see page-assets.php, key 'homepage').
Every section is built from the About page components. This
file only adds what those components do not already cover.
======================================================*/

/*======================================================
Site Header
The theme makes the header see-through and lifts it over the
content on the home page (it was built for the old dark hero
photo). Give it the solid background and normal page flow the
inner pages use. The sticky state, added on scroll, is left alone.
======================================================*/
.page-template-homepage #sp-header {
    background-color: #0e0024 !important;
}

.page-template-homepage #sp-header:not(.header-sticky) {
    position: relative !important;
    top: auto !important;
}

/*======================================================
Anchors
In-page links (#start, #unsure) clear the sticky header.
======================================================*/
.page-template-homepage main > section[id] {
    scroll-margin-top: 130px;
}

/*======================================================
Section Surfaces
Keeps the white / lavender rhythm of the About page where two
About sections that share a background sit next to each other.
======================================================*/
section.home-bg-white {
    background-color: #ffffff;
}

section.home-bg-tint {
    background-color: #faf8fc;
}

/*======================================================
Facts Bar
The homepage facts are short phrases rather than figures, so the
bar is kept compact: less height and smaller type than About.
======================================================*/
.page-template-homepage .about-facts-section {
    padding: 0 !important;
}

.page-template-homepage .about-facts-section .about-fact {
    padding: 26px 18px !important;
}

.page-template-homepage .about-facts-section .about-fact-label {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 18px;
}

.page-template-homepage .about-facts-section .about-fact-number {
    margin-bottom: 4px;
    font-size: 21px !important;
    line-height: 29px !important;
}

.page-template-homepage .about-facts-section p.about-fact-context {
    font-size: 14px !important;
    line-height: 21px !important;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .page-template-homepage .about-facts-section .about-fact-number {
        font-size: 19px !important;
        line-height: 27px !important;
    }
}

@media (max-width: 991.98px) {
    .page-template-homepage .about-facts-section .about-fact {
        padding: 20px 14px !important;
    }

    .page-template-homepage .about-facts-section .about-fact-number {
        font-size: 19px !important;
        line-height: 27px !important;
    }

    .page-template-homepage .about-facts-section p.about-fact-context {
        font-size: 13px !important;
        line-height: 20px !important;
    }
}

@media (max-width: 575.98px) {
    .page-template-homepage .about-facts-section .about-fact {
        padding: 16px 12px !important;
    }

    .page-template-homepage .about-facts-section .about-fact-number {
        font-size: 18px !important;
        line-height: 26px !important;
    }
}

/*======================================================
Sound Familiar Cards
Number and a single sentence. The sentence takes the size the
About cards give their heading.
======================================================*/
.home-recog .about-belief p {
    margin: 0;
    padding: 0;
    font-size: 26px;
    line-height: 36px;
    color: #0e0024;
}

/*======================================================
For Both of You
Two About "fees blocks" with a short list and an action.
======================================================*/
.home-pane {
    display: flex;
    flex-direction: column;
}

.home-points {
    flex: 1 1 auto;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.home-points li {
    position: relative;
    padding: 14px 0 14px 28px;
    font-size: 18px;
    line-height: 28px;
    color: #333333;
    border-bottom: 1px solid #dfd8ec;
}

.home-points li:last-child {
    border-bottom: 0;
}

.home-points li::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 0;
    width: 12px;
    height: 2px;
    background-color: #4b3585;
}

.home-pane-action {
    margin-top: 24px;
}

/*======================================================
Buttons
home-btn: the hero button spacing from service.css, so the
chevron circle never sits on top of the label.
home-card-btn: a compact version inside cards. Its label may
wrap in narrow cards, so the roll-up hover is replaced by a
colour change and the chevron is pinned to the right edge.
======================================================*/
.home-btn.common-btn {
    padding: 10px 65px 20px 20px !important;
}

.home-btn.common-btn::after {
    padding-left: 20px !important;
    padding-top: 15px !important;
}

.home-btn.common-btn i {
    margin-left: 20px !important;
}

.home-card-btn.common-btn {
    align-self: flex-start;
    max-width: 100%;
    margin-top: auto;
    padding: 12px 58px 12px 20px !important;
    font-size: 15px;
    line-height: 22px;
}

.home-card-btn.common-btn .inner-text {
    top: 0;
    width: auto;
    white-space: normal;
}

.home-card-btn.common-btn::after {
    display: none !important;
}

.home-card-btn.common-btn:hover .inner-text,
.home-card-btn.common-btn:focus-visible .inner-text {
    transform: none;
    visibility: visible;
    opacity: 1;
}

.home-card-btn.common-btn i {
    top: 50%;
    right: 12px;
    margin: 0 !important;
    transform: translateY(-50%);
}

.home-section-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 20px;
    margin-top: 40px;
}

.home-section-actions.home-fees-action {
    margin-top: 25px;
}

.home-share {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 20px;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    color: #4b3585;
    background-color: #f1edf8;
    border: 1px solid #dfd8ec;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.home-share:hover,
.home-share:focus-visible {
    background-color: #dfd8ec;
}

/*======================================================
Cards
The service and press cards open with a small label (number
or year) like the About media cards.
======================================================*/
.about-media-card .about-media-date {
    margin-bottom: 10px;
}

.about-media-section .about-media-card p.about-media-topic {
    padding-bottom: 24px;
}

.about-media-card h3.about-media-outlet + .about-media-date {
    margin-top: -4px;
}

.about-media-section .about-media-grid {
    margin-top: 44px;
}

/* Press cards: the whole card is the link. Text keeps its card
   colours; the About card hover (lift, shadow, purple border)
   shows it is clickable. */
a.about-media-card.home-card-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

a.about-media-card.home-card-link:hover,
a.about-media-card.home-card-link:focus-visible {
    color: inherit;
    text-decoration: none;
}

a.about-media-card.home-card-link:focus-visible {
    outline: 2px solid #4b3585;
    outline-offset: 3px;
}

a.about-media-card.home-card-link p.about-media-topic {
    padding-bottom: 0;
}

/*======================================================
How It Starts
About "rules" list (rule above, heading, short text).
======================================================*/
.about-rules.home-steps {
    list-style: none;
}

.about-rules > li .about-media-date {
    margin-bottom: 12px;
}

.about-method-section .about-rules p {
    font-size: 16px;
    line-height: 25px;
    padding-bottom: 0;
}

/*======================================================
What I Take On / Refer Out
The About credentials panel: a white column of six items in two
columns, and the dark column for the three things referred out.
======================================================*/
.home-scope-panel {
    margin-top: 44px;
}

.home-scope-panel .about-verify-main > .eyebrow,
.home-scope-panel .about-verify-aside > .eyebrow {
    display: block;
    margin-bottom: 0;
}

.home-scope-list {
    margin-top: 28px;
    row-gap: 0;
}

/* Two columns: every item keeps its own top rule, including the
   first row, so the grid reads evenly. */
.home-scope-list .about-credential,
.home-scope-list .about-credential:first-child {
    margin-top: 0;
    padding-top: 22px;
    padding-bottom: 22px;
    border-top: 1px solid #dfd8ec;
}

.about-credentials-section .home-scope-list h3.about-credential-value,
.about-hub-section .home-referout-list .about-hub-tile h3.about-hub-name {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 30px;
}

.about-credentials-section .home-scope-list p.about-credential-note,
.about-hub-section .home-referout-list .about-hub-tile p.about-hub-note {
    padding-bottom: 0;
}

.home-referout-list {
    margin-top: 28px;
}

.home-referout-list .about-hub-tile,
.home-referout-list .about-hub-tile:first-child {
    margin-top: 0;
    padding-top: 22px;
    padding-bottom: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.home-referout-list .about-hub-tile:last-child {
    padding-bottom: 0;
}

/*======================================================
Meet Tammy
Credentials list above the "More about Tammy" button.
======================================================*/
/* The credentials sit in a light box, like the About practical
   strip: lavender fill, hairline border, small radius. */
.home-creds {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px 22px;
    margin: 30px 0 30px;
    padding: 26px 28px;
    font-size: 16px;
    line-height: 26px;
    background-color: #faf8fc;
    border: 1px solid #dfd8ec;
    border-radius: 4px;
}

.home-creds dt {
    padding-top: 3px;
}

.home-creds dt {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4b3585;
}

.home-creds dd {
    margin: 0;
    color: #0e0024;
}

/*======================================================
Where
The About practical strip with text values instead of figures.
======================================================*/
.about-practical.home-practical-text dd {
    font-size: 18px;
    line-height: 28px;
}

/*======================================================
Fees
======================================================*/
.about-fees-section .about-practical + .about-fees-columns {
    margin-top: 44px;
}

.about-fees-section .about-fees-columns + .row .about-fees-body {
    margin-top: 36px;
}

/*======================================================
Large Laptop
======================================================*/
@media (min-width: 1401px) and (max-width: 1800px) {
    .home-recog .about-belief p {
        font-size: 24px;
        line-height: 34px;
    }
}

/*======================================================
Laptop
======================================================*/
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .home-recog .about-belief p {
        font-size: 23px;
        line-height: 33px;
    }

    .about-method-section .home-steps h3 {
        font-size: 24px;
        line-height: 32px;
    }
}

/*======================================================
Small Laptop
======================================================*/
@media (min-width: 992px) and (max-width: 1199.98px) {
    .home-recog .about-belief p {
        font-size: 22px;
        line-height: 32px;
    }

    .about-credentials-section .home-scope-list h3.about-credential-value,
    .about-hub-section .home-referout-list .about-hub-tile h3.about-hub-name {
        font-size: 20px;
        line-height: 28px;
    }

    .about-practical.home-practical-text > div {
        padding: 24px 20px;
    }

    .about-practical.home-practical-text dd {
        font-size: 16px;
        line-height: 25px;
    }
}

/*======================================================
Tablet and Mobile
======================================================*/
@media (max-width: 991.98px) {
    .home-recog .about-belief p {
        font-size: 21px;
        line-height: 31px;
    }

    .about-method-section .about-rules h3,
    .about-credentials-section .home-scope-list h3.about-credential-value,
    .about-hub-section .home-referout-list .about-hub-tile h3.about-hub-name {
        font-size: 20px;
        line-height: 28px;
    }

    .about-media-section .about-media-grid,
    .home-scope-panel {
        margin-top: 32px;
    }

    .home-points li {
        font-size: 17px;
        line-height: 27px;
    }

    .about-fees-section .about-practical + .about-fees-columns {
        margin-top: 32px;
    }
}

/*======================================================
Mobile
======================================================*/
@media (max-width: 575.98px) {
    .home-recog .about-belief p {
        font-size: 19px;
        line-height: 29px;
    }

    .about-method-section .about-rules h3,
    .about-credentials-section .home-scope-list h3.about-credential-value,
    .about-hub-section .home-referout-list .about-hub-tile h3.about-hub-name {
        font-size: 20px;
        line-height: 28px;
    }

    .home-points li {
        font-size: 16px;
        line-height: 26px;
    }

    .home-points li::before {
        top: 25px;
    }

    .home-creds {
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 20px 18px;
    }

    .home-creds dd {
        margin-bottom: 12px;
    }

    .home-creds dd:last-child {
        margin-bottom: 0;
    }

    .about-practical.home-practical-text dd {
        font-size: 16px;
        line-height: 25px;
    }
}

/*======================================================
Small Mobile
======================================================*/
@media (max-width: 400px) {
    .home-recog .about-belief p {
        font-size: 18px;
        line-height: 28px;
    }

    .home-share {
        font-size: 14px;
    }

    /* Keep the full-size buttons inside their column on narrow phones. */
    .home-btn.common-btn {
        max-width: 100%;
        padding-right: 56px !important;
    }

    .home-btn.common-btn .inner-text {
        width: auto;
        white-space: normal;
    }
}