/* Last cascade layer for the program detail action rail.
 * The rail is a padded grid item. Every child must use the rail's content
 * box; otherwise legacy content-box rules make the white card and secondary
 * actions wider than the dark parent. */
html body .copp-program-article__aside {
    align-items: stretch;
    box-sizing: border-box !important;
    display: flex;
    flex-direction: column;
    gap: 14px;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    min-inline-size: 0 !important;
    overflow: hidden;
    padding: 22px;
}

html body .copp-program-article__aside > *,
html body .copp-program-article__aside .copp-enrollment-box,
html body .copp-program-article__aside .copp-enrollment-box__actions,
html body .copp-program-article__aside .copp-enrollment-box__form,
html body .copp-program-article__aside .copp-news-btn {
    box-sizing: border-box !important;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    min-inline-size: 0 !important;
    margin-inline: 0 !important;
}

html body .copp-program-article__aside .copp-enrollment-box {
    flex: 0 1 auto;
    margin-block-start: 8px !important;
}

html body .copp-program-article__aside .copp-enrollment-box__actions {
    align-items: stretch;
    display: flex;
    flex: 0 1 auto;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
}

html body .copp-program-article__aside .copp-enrollment-box__actions > *,
html body .copp-program-article__aside .copp-enrollment-box__form {
    flex: 0 1 auto;
}

html body .copp-program-article__aside .copp-news-btn {
    display: flex;
    justify-content: center;
    overflow-wrap: anywhere;
    white-space: normal;
}

@media (max-width: 1199px) {
    html body .copp-program-article__aside {
        position: static;
    }
}
