/* Stretch short pages to the viewport without adding space below the footer. */
#wrapper-container > .content-pusher {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
}
body.admin-bar #wrapper-container > .content-pusher { min-height: calc(100vh - 32px); }
#wrapper-container > .content-pusher > #main-content {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    min-width: 0;
}
#main-content > section.content-area { flex: 1 0 auto; }
#main-content > .thim-ekit__footer,
#wrapper-container > .content-pusher > .footer-bottom { flex-shrink: 0; }
@media (max-width: 782px) {
    body.admin-bar #wrapper-container > .content-pusher { min-height: calc(100vh - 46px); }
}

/* Content links on white form panels; buttons keep their existing appearance. */
body #pmpro_form #pmpro_account_loggedin a,
body #pmpro_form .pmpro_card_actions a:not(.pmpro_btn),
body #pmpro_form .pmpro_checkout-field a:not(.pmpro_btn),
body #pmpro_form .pmpro_form_field a:not(.pmpro_btn),
body #pmpro_form .pmpro_checkout-field-checkbox a,
body #pmpro_form .pmpro_form_field-checkbox a,
body .woocommerce form.woocommerce-checkout .woocommerce-info a,
body .woocommerce form.woocommerce-checkout .woocommerce-privacy-policy-text a,
body .woocommerce form.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
    color: #805b00;
    text-decoration: underline;
    text-underline-offset: 2px;
}
body #pmpro_form #pmpro_account_loggedin a:hover,
body #pmpro_form #pmpro_account_loggedin a:focus-visible { color: #333; }

@media (min-width: 601px) {
    body.woocommerce-checkout #billing_first_name_field,
    body.woocommerce-checkout #billing_last_name_field {
        width: calc(50% - 8px);
        margin-inline: 0;
    }
}
@media (max-width: 600px) {
    body.woocommerce-checkout #billing_first_name_field,
    body.woocommerce-checkout #billing_last_name_field { width: 100%; float: none; }
}

/* Existing 400x300 covers were center cropped. Preserve that crop with a sharp source. */
body.page-id-22413 .course-thumbnail img.mw-vod-responsive-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}
