/* HBG reader discount code line, plus comparison-table header alignment.
   Added 16 November 2026. Loaded only by the five pages that carry the code line.
   Kept in an external file because the site sends Content-Security-Policy:
   style-src 'self', which blocks inline <style> blocks and style attributes. */

/* 1. Virtual College review: clear gap between the buy button and the code line.
   Live before this rule: the two sat flush, gap measured at 0px. */
.kit-buy .vc-code {
    margin: 1.25rem 0 0;
}

/* 2. Comparison tables: names, prices and buttons each share one line per row */
.compare thead td {
    background: #143f45;
    color: #fff;
    border-bottom: 0;
    padding: 0 16px;
    vertical-align: top;
    font-size: 16px;
    line-height: 1.45;
}

.compare thead tr.hc-names th {
    padding: 14px 16px 0;
    vertical-align: top;
}

/* keep the "What you get" label where it always sat, at the foot of the header */
.compare thead tr.hc-names th[rowspan] {
    vertical-align: bottom;
}

.compare thead tr.hc-price td {
    padding-bottom: 0;
}

.compare thead tr.hc-cta td {
    padding: 0 16px 14px;
}

/* "View course" must never break onto two lines inside a narrow column */
.compare thead .btn {
    white-space: nowrap;
}

/* the code line sits under its own button, small, so it cannot push the column out */
.compare thead .vc-code {
    margin: 8px 0 0;
    padding: 6px 8px;
    background: rgba(255, 255, 255, .09);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    opacity: .92;
}

.compare thead .vc-code strong {
    font-weight: 700;
}

/* phones: keep the note legible without inflating the header further */
@media (max-width: 760px) {
    .compare thead .vc-code {
        padding: 5px 7px;
        margin-left: -4px;
        margin-right: -4px;
    }
}
