.col-up-program {
    margin-bottom: 40px;

    &:has(.completed) {
        opacity: 0.9;
        color: $grey-80;
    }

    .col-wrap {
        background: $white;
        color: $text;
        position: relative;
        z-index: 0;
        margin-right: 22px;

        &:before {
            content: '';
            position: absolute;
            top: 22px;
            left: 21px;
            right: -22px;
            bottom: 23px;
            border: 1px solid $yellow;
            z-index: -1;
        }

        .text-wrap {
            padding: 24px 8px;
            background: $white;

            h4 {
                text-transform: uppercase;
                letter-spacing: -0.5px;
                margin-bottom: 16px;
                color: $text;

                a {
                    color: $dark-green;

                    &:hover,
                    &:active,
                    &:focus {
                        text-decoration: underline;
                    }
                }
            }

            ul {
                @extend %listreset;

                li {
                    display: flex;
                    flex-wrap: wrap;
                    align-items: center;
                    font-size: 14px;
                    line-height: 1.4286;
                    margin-bottom: 16px;

                    &:last-of-type {
                        margin-bottom: 0;
                    }

                    .icon-wrap {
                        width: 24px;
                        margin-right: 27px;
                    }

                    .text {
                        width: calc(100% - 24px - 27px);

                        p {
                            margin-bottom: 0;
                        }
                    }
                }
            }

            .quantity {
                display: flex;
                flex-wrap: wrap;
                align-items: center;

                .qty {
                    text-transform: uppercase;
                    width: 24px;
                    margin-right: 27px;
                }

                .custom-select {
                    width: calc(100% - 24px - 27px);
                    max-width: 138px;

                    .nice-select {
                        border: 1px solid $grey-500;
                        min-width: 0;

                        .list {
                            min-width: 0;
                        }
                    }
                }
            }
        }

        .btn-wrap {
            overflow: hidden;

            .btn {
                background: $yellow;
                letter-spacing: 0.11em;
                padding: 16px;
                text-rendering: optimizeLegibility;
                transition: transform 0.2s ease-in-out;
                width: 100%;
                will-change: transform;

                &:not(.closed) {
                    font-weight: 800;

                    &:active,
                    &:focus,
                    &:hover {
                        background: $dark-yellow;
                        color: $black;
                        transform: scale(1.02);
                    }
                }

                &:before {
                    display: none;
                }
            }
        }
    }
}

.text-wrap + .upcoming-program-info {
    margin-top: 4rem;
}

.upcoming-program-info {
    > p > img {
        margin-right: 1.3rem;
    }
}

.single-upcoming-to-cart {
    .quantity {
        .qty {
            margin-right: 0.8rem;
            width: auto;
        }

        .nice-select {
            width: 8rem;
            min-width: 133px;
        }
    }

    .custom-select {
        width: auto;
    }
}

.to-cart {
    margin-top: 1rem;
}

.upcoming-program {
    .heading {
        margin-bottom: 34px;

        .text-overlay {
            @include breakpointMax(lg) {
                display: none;
            }
        }
    }
}

.col-map {
    margin: 5rem 0 1rem;

    iframe {
        background-color: $light-grey;
        border: 0.5px solid #e7e7e7 !important;
        border-radius: 2px;
        box-shadow: 0px 4px 30px rgba(35, 31, 32, 0.13);
        max-height: clamp(20rem, 75vh, 50rem);
        width: 100%;
    }
}

.no-upcoming-programs-msg {
    color: #fff117;
    font-size: 130%;
    margin: 0 auto 4rem;
    text-align: center;
}
.bg-green-gradient-alt .no-upcoming-programs-msg {
    color: #fff;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.upcoming-program-price {
    &:not(:first-child) {
        padding-top: 40px;

        @include breakpoint(lg) {
            padding-top: 60px;
        }
    }

    .heading {
        margin-bottom: 16px;
    }

    .form-wrap {
        max-width: 919px;
        margin: 0 auto;

        .gform_wrapper {
            .gform_fields {
                @extend %listreset;

                display: flex;
                flex-wrap: nowrap;
                flex-direction: column;
                gap: 1rem;
                width: 100%;

                @include breakpoint(md) {
                    flex-direction: row;
                }

                .gfield {
                    margin-bottom: 0;
                }
            }

            form {
                @include breakpoint(md) {
                    display: flex;
                    flex-wrap: wrap;
                }
            }

            .gform_body {
                @include breakpoint(md) {
                    width: calc(100% - 216px);
                }

                @include breakpoint(lg) {
                    width: calc(100% - 295px);
                }
            }

            .gform_footer {
                position: relative;
                @include breakpoint(md) {
                    width: 216px;
                }

                @include breakpoint(lg) {
                    width: 295px;
                }

                &:hover {
                    &:before {
                        top: 0;
                        left: 0;
                        right: 0;
                        bottom: 0;
                    }
                }

                &:before {
                    content: '';
                    position: absolute;
                    top: 9px;
                    left: 34px;
                    right: -12px;
                    bottom: -9px;
                    border: 1px solid $yellow;
                    transition: 0.3s ease;
                }

                input[type='submit'] {
                    font: italic 600 18px/1.3334 $font-family-secondary;
                    width: 100%;
                    letter-spacing: 0.11em;
                    padding: 16px;
                    position: relative;
                    display: block;
                    min-width: 216px;
                    background: $yellow;
                }
            }
        }
    }
}
