.home-sidebar {
    display: grid;
    gap: 1rem;
    align-items: start;
    min-inline-size: 0;
}

@media (min-width: 1024px) {
    .home-content-layout {
        display: flow-root;
    }

    .home-sidebar {
        float: right;
        width: calc((100% - 1rem) / 4);
        margin-inline-start: 1rem;
        margin-block-end: 1rem;
    }

    .home-content-layout > :is(.home-intro, .monthly-program, .home-news) {
        display: flow-root;
    }


}

.home-social {
    padding: .85rem 1rem;
    border: 1px solid currentColor;
    border-radius: .75rem;
}

body:not(.high-contrast, .inverse-contrast, .white-background, .grayscale) .home-social {
    background: #fff;
    color: #21453b;
    border-color: #c8d1c3;
}

.home-social h2 {
    margin: 0 0 .2rem;
    font-size: calc(1.15rem * var(--text-scale, 1));
}

.home-social ul {
    display: grid;
    gap: .25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-social a {
    display: flex;
    align-items: center;
    gap: .7em;
    min-block-size: 2.75rem;
    padding: .35em .5em;
    border-radius: .5rem;
    font-size: calc(1.1rem * var(--text-scale, 1));
    font-weight: 650;
    overflow-wrap: anywhere;
    color: inherit;
}

body:not(.high-contrast, .inverse-contrast, .white-background, .grayscale) .home-social a {
    color: #245b3b;
}

.home-social a:hover {
    background: color-mix(in srgb, currentColor 8%, transparent);
}

@media (max-width: 1023px) {
    .home-content-layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .home-content-layout > .home-sidebar {
        display: contents;
    }

    .home-content-layout > .monthly-program { order: 1; }
    .home-content-layout .home-appointments { order: 2; }
    .home-content-layout > .oase-blog-feature { order: 3; }
    .home-content-layout .home-social { order: 4; }

    .home-content-layout :is(.home-appointments, .home-social) {
        margin-block-start: 1rem;
    }
}

.home-live-appointments { margin-block-end: 1.5rem; background: #fff; color: #21453b; border-top: 4px solid #248c73; box-shadow: 0 5px 20px rgb(25 60 40 / .08); }
.home-live-appointments .appointment-list { margin-block: .75rem; }
.home-live-appointments .appointment-list li { border-bottom: 0; }
:is(.high-contrast, .inverse-contrast, .white-background, .grayscale) .home-live-appointments { background: var(--site-background); color: var(--site-text); }
