/* Final cascade layer for the program action rail. It is intentionally
   loaded after the general redesign styles. */
.copp-program-article__layout,
.copp-program-article__content,
.copp-program-article__aside,
.copp-program-article__aside > *,
.copp-program-article__aside * {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

.copp-program-article__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
}

@media (max-width: 1199px) {
    .copp-program-article__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .copp-program-article__aside {
        position: static;
    }
}

.copp-program-article__aside {
    width: 100% !important;
    overflow: hidden;
}

.copp-program-article__aside > *,
.copp-program-article__aside .copp-enrollment-box,
.copp-program-article__aside .copp-enrollment-box__actions,
.copp-program-article__aside .copp-enrollment-box__form,
.copp-program-article__aside .copp-news-btn {
    width: 100% !important;
    max-width: 100% !important;
}

.copp-program-article__aside .copp-enrollment-box__actions > *,
.copp-program-article__aside .copp-enrollment-box__form {
    flex: 1 1 100%;
    min-width: 0;
}

.copp-program-article__aside .copp-news-btn {
    box-sizing: border-box;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
}

@media (max-width: 767px) {
    .copp-program-article__aside .copp-enrollment-box__actions {
        align-items: stretch;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .copp-program-article__aside .copp-enrollment-box__actions > *,
    .copp-program-article__aside .copp-enrollment-box__form {
        flex: 0 1 auto;
        width: 100%;
    }
}
