/* RHVA V110 - Center CTA button text in homepage + subpage pre-footer CTA boxes */

html body .cta-panel .btn,
html body .cta-panel .btn.primary,
html body .cta-panel a.btn,
html body .cta-panel a.primary,
html body .rhv-v109-pre-footer-cta .btn,
html body .rhv-v109-pre-footer-cta .btn.primary,
html body .rhv-v109-pre-footer-cta a.btn,
html body .rhv-v109-pre-footer-cta a.primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.12 !important;
    min-height: 58px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Make the CTA button text block center even if it wraps into two lines */
html body .cta-panel .btn *,
html body .rhv-v109-pre-footer-cta .btn * {
    text-align: center !important;
}

/* Mobile safety */
@media(max-width: 768px){
    html body .cta-panel .btn,
    html body .cta-panel .btn.primary,
    html body .rhv-v109-pre-footer-cta .btn,
    html body .rhv-v109-pre-footer-cta .btn.primary {
        width: auto !important;
        min-width: 180px !important;
        justify-content: center !important;
        text-align: center !important;
    }
}