.indexpillcard,.indexpillcard * {
    overscroll-behavior: none;
    -webkit-overflow-scrolling: auto;
    touch-action: manipulation
}

.indexpillcard * {
    -webkit-tap-highlight-color: #fff0
}

body.cardOpen .indexpillcard {
    pointer-events: auto
}

.indexpillcard {
    display: none;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    background: rgb(0 0 0 / .55);
    backdrop-filter: blur(14px);
    -webkit-text-size-adjust: auto;
    text-size-adjust: auto;
    -webkit-backdrop-filter: blur(14px);
    border-radius: 20px;
    border: 1px solid rgb(0 59 122 / .85);
    box-shadow: 0 0 0 2px rgb(0 59 122 / .45);
    padding: 28px 36px;
    margin: 0;
    width: min(100% - 32px, 1100px);
    overflow: hidden
}

.indexpillcard.open {
    display: flex;
    flex-direction: column
}

@media (min-width: 861px) {
    .indexpillcard {
        overflow-x:hidden
    }

    .indexpillcard.open {
        position: fixed;
        left: 50%;
        transform: translate(-50%,-50%);
        top: 50%;
        height: 474px;
        width: 1300px;
        max-width: 90vw;
        padding: 32px 40px;
        border-radius: 20px;
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: none
    }

    .indexpillcard.open::-webkit-scrollbar {
        display: none
    }
}

@media (max-width: 860px) {
    .indexpillcard.open {
        position:fixed;
        top: var(--headerH);
        bottom: var(--footerH);
        left: 0;
        right: 0;
        transform: none;
        width: auto;
        margin: 3px;
        max-height: calc(100vh - var(--headerH) - var(--footerH));
        height: auto;
        border-radius: 18px;
        padding: 10px 14px;
        border: 2px solid rgb(0 59 122 / .85);
        box-shadow: 0 0 0 2px rgb(0 59 122 / .45);
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: none
    }

    .indexpillcard.open::-webkit-scrollbar {
        display: none
    }
}

.cardHeader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 12px
}

@media (max-width: 860px) {
    .cardHeader {
        margin-bottom:8px
    }
}

.closeBtn {
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1
}

.indexpillcard h2[data-title] {
    margin: 0;
    padding: 0;
    font-weight: 800;
    text-align: center;
    font-size: clamp(1.4rem, 2.4vw, 2rem)
}

.pillContent {
    -webkit-text-size-adjust: auto;
    text-size-adjust: auto;
    margin: 0;
    padding: 0 4px;
    text-align: left;
    line-height: 1.55;
    font-size: clamp(1rem, 1.25vw, 1.4rem);
    max-width: 100%;
    overflow-wrap: anywhere
}

.pillContent ul {
    padding-left: 18px;
    margin: 0;
    list-style-type: disc;
    list-style-position: outside
}

.pillContent li {
    white-space: normal;
    margin-bottom: 10px
}

@media (min-width: 861px) {
    .pillContent {
        text-align:center;
        margin-left: auto;
        margin-right: auto;
        padding: 1rem 1.4rem
    }

    .pillContent ul {
        display: inline-block;
        text-align: left;
        padding-left: 20px
    }
}

.indexpillcard .btn.primary.navBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px auto 0 auto;
    padding: 8px 16px;
    font-size: .9rem;
    border-radius: 8px;
    width: auto;
    max-width: fit-content
}
