.cms-obituary-section__mobile-cta {
    display: none;
}

@media (max-width: 767.98px) {
    .home-page > .cms-obituary-section--mobile-scroll {
        width: 100vw;
        margin-left: calc((100% - 100vw) / 2);
        border-radius: 0;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-home-section__inner {
        width: 100%;
        min-height: 402px;
        padding: 10px 0 19px !important;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        background: #fff;
        box-shadow: none;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-home-section__header {
        display: block;
        margin: 0;
        padding: 0;
        text-align: left;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-home-section__header > div {
        margin: 0;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-home-section__header h2 {
        display: flex;
        min-height: 18px;
        margin: 0 15px 0 21px;
        color: #000;
        font-family: "Open Sans", sans-serif;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 18px;
        padding-left: 0;
        align-items: center;
        text-transform: uppercase;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-home-section__header h2::before {
        position: static;
        width: 10px;
        height: 10px;
        margin-right: 11px;
        border-radius: 50%;
        background: #f26a07;
        content: "";
        flex: 0 0 10px;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-home-section__header p {
        display: block;
        margin: 15px 29px 0;
        color: #6f6b63;
        font-family: "Open Sans", sans-serif;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0;
        line-height: 19px;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-section__mobile-cta {
        display: flex;
        width: calc(100% - 30px);
        height: 36px;
        margin: 13px 15px 0;
        padding: 0 16px;
        border: 1px solid #fff;
        border-radius: 8px;
        background: #fff4e6;
        color: #000;
        font-family: Inter, Arial, sans-serif;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 14px;
        text-decoration: none;
        gap: 10px;
        align-items: center;
        justify-content: center;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-section__mobile-cta svg {
        display: block;
        width: 7px;
        height: 14px;
        overflow: visible;
        color: #ff7a1a;
        flex: 0 0 7px;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-section__mobile-cta path {
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 2.5;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-list,
    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-section__mobile-all-card,
    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-section__footer {
        display: none;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-section__mobile-carousel {
        display: flex;
        width: 100%;
        margin-top: 22px;
        padding: 0 15px;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 12px;
        overscroll-behavior-inline: contain;
        scroll-padding-inline: 15px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-section__mobile-carousel::-webkit-scrollbar {
        display: none;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-section__mobile-carousel:focus-visible,
    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-card--mobile-carousel a:focus-visible,
    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-section__mobile-cta:focus-visible {
        outline: 3px solid #f26a07;
        outline-offset: 3px;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-card--mobile-carousel {
        width: 150px;
        height: 250px;
        min-width: 150px;
        margin: 0;
        overflow: hidden;
        border-radius: 8px;
        background: #fffaf3;
        flex: 0 0 150px;
        scroll-snap-align: start;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-card--mobile-carousel a {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
        overflow: hidden;
        padding: 0;
        border: 0;
        border-radius: inherit;
        background: #fffaf3;
        color: #000;
        text-decoration: none;
        box-shadow: none;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-card__mobile-media {
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 150px;
        height: 168px;
        overflow: hidden;
        border-radius: 8px 8px 0 0;
        background: #eee8df;
        line-height: 0;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-card__mobile-media > img {
        position: relative;
        left: 50%;
        display: block;
        width: 168px;
        max-width: none;
        height: 168px;
        object-fit: cover;
        transform: translateX(-50%);
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-card__mobile-fallback-image {
        object-position: center;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-card__mobile-media .obituary-notice {
        width: auto;
        height: 168px;
        max-width: 150px;
        min-height: 0;
        margin: 0 auto;
        border-radius: 0;
        aspect-ratio: 2 / 3;
        gap: 0;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-card__mobile-media .obituary-notice__canvas {
        width: 100%;
        height: 168px;
        min-height: 0;
        border-radius: 0;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-card__mobile-content {
        position: static;
        display: block;
        min-width: 0;
        padding: 0;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-card__person {
        position: absolute;
        top: 175px;
        right: 9px;
        left: 9px;
        display: -webkit-box;
        max-height: 32px;
        overflow: hidden;
        color: #000;
        font-family: Inter, Arial, sans-serif;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 16px;
        overflow-wrap: anywhere;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .home-page > .cms-obituary-section--mobile-scroll .cms-obituary-card__date {
        position: absolute;
        top: 220px;
        right: 9px;
        left: 9px;
        display: block;
        overflow: hidden;
        color: #8a5f3d;
        font-family: Inter, Arial, sans-serif;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 15px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
