body.public-home-v3 .bannerbg {
    background: #60AAA9;
}

body.public-home-v3 .bannerbg > .container {
    width: 100%;
    max-width: none;
}

body.public-home-v3 .static-home-banner {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

body.public-home-v3 .static-home-banner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

body.public-home-v3 .index3-hero-panel {
    position: absolute;
    top: 50%;
    left: 15%;
    display: flex;
    width: min(480px, calc(100% - 20px));
    height: 84%;
    padding: 1.15rem 1.35rem;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(24, 39, 73, 0.12);
    box-sizing: border-box;
    transform: translateY(-50%);
}

body.public-home-v3 .index3-hero-panel h1 {
    max-width: 9ch;
    margin: 0 0 0.55rem;
    color: #182749;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 3.7rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
}

body.public-home-v3 .index3-hero-panel__lead {
    max-width: 30rem;
    margin: 0 0 0.85rem;
    color: #182749;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 1.18rem;
    line-height: 1.45;
}

body.public-home-v3 .index3-hero-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

body.public-home-v3 .index3-hero-panel__button {
    display: inline-flex;
    min-height: 52px;
    padding: 0.7rem 1.05rem;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 2px solid #d23363;
    border-radius: 5px;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

body.public-home-index .index3-hero-panel__button {
    box-sizing: border-box;
    width: 12.5rem;
    white-space: nowrap;
}

body.public-home-v3 .index3-hero-panel__button--primary {
    color: #ffffff;
    background: #d23363;
}

body.public-home-v3 .index3-hero-panel__button--secondary {
    color: #182749;
    background: rgba(255, 255, 255, 0.94);
}

body.public-home-v3 .index3-hero-panel__button:hover,
body.public-home-v3 .index3-hero-panel__button:focus-visible {
    color: #ffffff;
    background: #a9274d;
    outline: none;
}

body.public-home-v3 .home-v3-container {
    width: min(var(--public-shell-content-width, 1240px), calc(100% - var(--public-shell-content-gutter, 2rem)));
    margin-inline: auto;
}

body.public-home-v3 .home-v3-steps {
    padding: 4rem 0 3.5rem;
    background: #ffffff;
}

body.public-home-v3 .home-v3-section-heading {
    display: flex;
    margin: 0 0 2rem;
    align-items: center;
    gap: 1.25rem;
    color: #182749;
    font-size: 2.3rem;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
}

body.public-home-v3 .home-v3-section-heading::before,
body.public-home-v3 .home-v3-section-heading::after {
    height: 1px;
    flex: 1;
    content: "";
    background: #60AAA9;
}

body.public-home-v3 .home-v3-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

body.public-home-v3 .home-v3-step {
    display: flex;
    flex-direction: column;
    min-height: 235px;
    padding: 1.65rem;
    background: #ffffff;
    border: 1px solid #e5dddf;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(71, 55, 63, 0.08);
}

body.public-home-v3 .home-v3-step__number {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 1.2rem;
    place-items: center;
    color: #60AAA9;
    background: #e8f5f4;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08rem;
}

body.public-home-v3 .home-v3-step h3 {
    margin: 0 0 0.65rem;
    color: #182749;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
}

body.public-home-v3 .home-v3-step p {
    min-height: 3.2em;
    margin: 0 0 1.15rem;
    color: #4e5b76;
    font-size: 0.98rem;
    line-height: 1.55;
}

body.public-home-v3 .home-v3-step a {
    align-self: flex-start;
    display: inline-flex;
    margin-top: auto;
    align-items: center;
    gap: 0.6rem;
    color: #d23363;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
}

body.public-home-v3 .home-v3-step a:hover,
body.public-home-v3 .home-v3-step a:focus-visible {
    color: #a9274d;
    outline: none;
}

body.public-home-v3 .home-v3-arrow {
    font-size: 1.15rem;
    line-height: 1;
}

body.public-home-v3 .home-v3-expect {
    padding: 3.5rem 0 3.75rem;
    background: #ffffff;
}

body.public-home-v3 .home-v3-expect .home-v3-container {
    box-sizing: border-box;
    padding: 1.65rem 2rem 1.75rem 2.35rem;
    background: #ecf8f7;
    border: 1px solid #d1e9e8;
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(71, 55, 63, 0.08);
}

body.public-home-v3 .home-v3-expect .home-v3-section-heading {
    margin-bottom: 2.25rem;
}

body.public-home-v3 .home-v3-expect-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

body.public-home-v3 .home-v3-expect-item {
    padding-left: 1rem;
    border-left: 3px solid #60AAA9;
}

body.public-home-v3 .home-v3-expect-item strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #182749;
    font-size: 1.05rem;
}

body.public-home-v3 .home-v3-expect-item span {
    display: block;
    color: #4e5b76;
    font-size: 0.92rem;
    line-height: 1.5;
}

body.public-home-v3 .home-v3-expect + .container {
    padding-top: 2.25rem;
}

body.public-home-v3 .home-v3-main-content {
    width: min(var(--public-shell-content-width, 1240px), calc(100% - var(--public-shell-content-gutter, 2rem)));
}

body.public-home-index .home-v3-main-content {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

body.public-home-index .home-index-section h2 {
    margin-bottom: 1.1rem;
    color: #182749;
}

body.public-home-index .home-index-section h3.home-index-copy-lead {
    margin-bottom: 1.1rem;
    color: #d23363;
    font-weight: 700;
}

body.public-home-index .home-index-section > .bodytextSTYLE {
    width: 100%;
    max-width: none;
    margin: 0;
    color: #645d61;
    font-size: 1.05rem;
    line-height: 1.75;
}

body.public-home-index .home-index-section > .bodytextSTYLE > p {
    margin: 0 0 1.15rem;
}

body.public-home-index .home-index-section > .bodytextSTYLE > p:last-child {
    margin-bottom: 0;
}

body.public-home-index .home-index-copy .home-index-copy-subheading {
    margin-bottom: 0.95rem;
    color: #182749;
}

body.public-home-v3 .home-v3-main-content .portfolio_1_3 {
    margin: 0;
    padding: 0;
}

body.public-home-index .home-v3-main-content .portfolio_1_3 + .home-index-section {
    margin-top: 2rem;
}

body.public-home-v3 .home-v3-main-content .portfolio_1_3 ul {
    display: grid;
    width: 100%;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 2.75rem;
    list-style: none;
}

body.public-home-v3 .home-v3-main-content .portfolio_1_3 ul li {
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    background: transparent;
}

body.public-home-v3 .home-v3-main-content .portfolio_1_3 ul li .image {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    padding: 0;
    aspect-ratio: 430 / 325;
    overflow: hidden;
}

body.public-home-v3 .home-v3-main-content .portfolio_1_3 ul li .image a {
    display: block;
    width: 100%;
    height: 100%;
}

body.public-home-v3 .home-v3-main-content .portfolio_1_3 ul li .image .portfolio_image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    body.public-home-v3 .home-v3-step-grid,
    body.public-home-v3 .home-v3-expect-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.public-home-v3 .home-v3-main-content .portfolio_1_3 ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.public-home-v3 .static-home-banner {
        display: flex;
        flex-direction: column;
    }

    body.public-home-v3 .static-home-banner img {
        order: 1;
        height: auto;
        object-fit: contain;
    }

    body.public-home-v3 .index3-hero-panel {
        position: static;
        order: 2;
        width: 100%;
        height: auto;
        padding: 1.35rem 1rem;
        border-radius: 0;
        transform: none;
    }

    body.public-home-v3 .index3-hero-panel h1 {
        font-size: 3rem;
    }

    body.public-home-v3 .index3-hero-panel__button {
        width: 100%;
    }

    body.public-home-v3 .home-v3-section-heading {
        display: block;
        font-size: 1.85rem;
    }

    body.public-home-v3 .home-v3-section-heading::before,
    body.public-home-v3 .home-v3-section-heading::after {
        display: none;
    }

    body.public-home-v3 .home-v3-steps,
    body.public-home-v3 .home-v3-expect {
        padding-block: 2.75rem;
    }

    body.public-home-v3 .home-v3-step-grid,
    body.public-home-v3 .home-v3-expect-grid {
        grid-template-columns: 1fr;
    }

    body.public-home-v3 .home-v3-main-content .portfolio_1_3 ul {
        grid-template-columns: 1fr;
    }

    body.public-home-v3 .home-v3-step {
        min-height: 0;
    }

    body.public-home-v3 .home-v3-step p {
        min-height: 0;
    }

    body.public-home-v3 .home-v3-expect-item {
        padding-block: 0.25rem;
    }

    body.public-home-v3 .home-v3-expect .home-v3-container {
        padding: 1.25rem 1rem 1.35rem;
    }

    body.public-home-v3 .home-v3-expect + .container {
        padding-top: 1.5rem;
    }

    body.public-home-index .home-v3-main-content {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    body.public-home-index .home-index-section > .bodytextSTYLE {
        font-size: 1rem;
        line-height: 1.65;
    }

}

/* Pilates and Walking Well routes, directly beneath the main navigation. */
body.public-home-index .index3-hero-panel h1 {
    font-size: clamp(2.3rem, 3.4vw, 3.65rem);
    line-height: 1.08;
}
body.public-home-index .index3-hero-panel__lead {
    font-size: clamp(1rem, 1.15vw, 1.18rem);
}
body.public-home-index .index3-hero-panel__button:focus-visible,
body.public-home-index .home-v3-discovery a:focus-visible {
    outline: 3px solid #182749;
    outline-offset: 4px;
}
body.public-home-index .home-v3-discovery {
    color: #182749;
    border-bottom: 1px solid #cee5e3;
    background: #ecf8f7;
}
body.public-home-index .home-v3-discovery__inner {
    display: flex;
    min-height: 62px;
    padding-block: .5rem;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
body.public-home-index .home-v3-discovery__label {
    color: #455966;
    font-size: 1.125rem;
    line-height: 1.4;
}
body.public-home-index .home-v3-discovery a {
    --home-discovery-button-color: #b42351;
    display: inline-flex;
    min-height: 44px;
    padding: .6rem 1.1rem;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    color: var(--home-discovery-button-color);
    border: 2px solid var(--home-discovery-button-color);
    border-radius: 5px;
    background: transparent;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}
body.public-home-index .home-v3-discovery a:last-child {
    --home-discovery-button-color: #286365;
}
body.public-home-index .home-v3-discovery a:hover,
body.public-home-index .home-v3-discovery a:focus-visible {
    color: #fff;
    background: var(--home-discovery-button-color);
}
@media (min-width: 641px) and (max-width: 1100px) {
    body.public-home-index .index3-hero-panel {
        left: 7%;
        width: 390px;
        height: auto;
        padding: 1.3rem;
    }
    body.public-home-index .index3-hero-panel h1 { font-size: 2.3rem; }
    body.public-home-index .index3-hero-panel__button { width: auto; }
}
@media (max-width: 767px) {
    body.public-home-index .home-v3-discovery__inner {
        display: grid;
        min-height: 64px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .5rem;
    }
    body.public-home-index .home-v3-discovery__label {
        display: block;
        grid-column: 1 / -1;
        text-align: center;
    }
    body.public-home-index .home-v3-discovery__course-word { display: none; }
    body.public-home-index .home-v3-discovery a {
        padding-inline: .5rem;
        gap: .4rem;
        font-size: .9rem;
    }
}
@media (max-width: 640px) {
    body.public-home-index .index3-hero-panel {
        padding: 1.5rem 1.25rem;
        background: #f4faf9;
    }
    body.public-home-index .index3-hero-panel h1 {
        max-width: 12ch;
        font-size: 2.45rem;
    }
    body.public-home-index .index3-hero-panel__lead { font-size: 1rem; }
    body.public-home-index .index3-hero-panel__button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    body.public-home-index .home-v3-discovery a { transition: none; }
}
