/* Buttons: the label is centred both ways.
   Buttons in a flex/grid row (hero, card and CTA button rows) are stretched to the tallest neighbour, and as plain
   inline-blocks their text stuck to the top (e.g. "Book Now" next to a 3-line "Compare Kitesurfing Courses").
   Higher specificity than the page rules (.btn-p), so no page CSS has to change. */

/* everywhere: centred text, and vertical centring in browsers that support align-content on block boxes */
a.btn-p, a.btn-s, a.btn-o, a.btn-nav, a.disc-btn-primary, a.disc-btn-secondary, a.disc-btn-rent,
button.btn-p, button.btn-s, button.btn-o, button.btn-nav {
  text-align: center; align-content: center;
}

/* button rows: the button is a flex item anyway (already block level), so a flex box is layout-neutral and centres in every browser */
:is([class*="btns"], [class*="-ctas"], [class*="-actions"], [class$="-cta"], .cta-inner) >
:is(a.btn-p, a.btn-s, a.btn-o, a.disc-btn-primary, a.disc-btn-secondary, a.disc-btn-rent, button.btn-p, button.btn-s, button.btn-o) {
  display: flex; align-items: center; justify-content: center;
}
