/* Shared CTA finish, based on the supplied NUOVOS reference image. */
.c-button,
.wp-block-button__link,
.wp-element-button,
button[type="submit"],
input[type="submit"]:not([type="checkbox"]):not([type="radio"]),
.ev-pagination a,
.places-pages a.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.875rem;
  padding: .72rem 1.3rem;
  border: 1px solid #8de675;
  border-radius: .75rem;
  color: #081a0d;
  background: linear-gradient(105deg, #51ee25 0%, #7bf253 48%, #d5fbb5 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 52%), 0 .5rem 1.25rem rgb(42 151 29 / 17%);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.c-button:hover,
.c-button:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.wp-element-button:hover,
.wp-element-button:focus-visible,
button[type="submit"]:hover,
button[type="submit"]:focus-visible,
input[type="submit"]:not([type="checkbox"]):not([type="radio"]):hover,
input[type="submit"]:not([type="checkbox"]):not([type="radio"]):focus-visible,
.ev-pagination a:hover,
.ev-pagination a:focus-visible,
.places-pages a.page-numbers:hover,
.places-pages a.page-numbers:focus-visible {
  border-color: #58c944;
  color: #081a0d;
  filter: brightness(1.035);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 65%), 0 .65rem 1.65rem rgb(42 151 29 / 25%);
  transform: translateY(-2px);
}
.c-button:active,
.wp-block-button__link:active,
.wp-element-button:active,
button[type="submit"]:active,
input[type="submit"]:not([type="checkbox"]):not([type="radio"]):active,
.ev-pagination a:active,
.places-pages a.page-numbers:active { transform: translateY(0); }
.c-button:disabled,
.c-button[aria-disabled="true"] { box-shadow: none; filter: grayscale(.25); transform: none; }

/* Hero and header buttons use the same visible finish as catalog and form CTAs. */
.site-header .c-button,
.home-hero__actions .c-button,
.home-hero--cover .home-hero__actions .c-button,
.home-feature-panel.has-artwork .c-button,
.home-compare .home-feature-panel.has-artwork .c-button,
.home-cta.has-artwork .c-button,
.home-cta:not(.has-artwork) .c-button {
  border-color: #8de675;
  color: #081a0d;
  background: linear-gradient(105deg, #51ee25 0%, #7bf253 48%, #d5fbb5 100%);
  background-size: auto;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 52%), 0 .5rem 1.25rem rgb(42 151 29 / 17%);
}
.site-header .c-button:hover,
.home-hero__actions .c-button:hover,
.home-hero--cover .home-hero__actions .c-button:hover,
.home-feature-panel.has-artwork .c-button:hover,
.home-compare .home-feature-panel.has-artwork .c-button:hover,
.home-cta.has-artwork .c-button:hover,
.home-cta:not(.has-artwork) .c-button:hover { color: #081a0d; filter: brightness(1.035); }
.home-vehicle__links,
.ev-catalog-card__actions { flex-wrap: wrap; justify-content: stretch; }
.home-vehicle__links > .c-button,
.ev-catalog-card__actions > .c-button { flex: 1 1 7rem; padding-inline: .65rem; font-size: .78rem; }
.home-vehicle__links > .c-button { min-width: 0; }
.global-related__copy > .c-button { margin-top: .5rem; }
.place-card__actions > .c-button { flex: 1 1 auto; }
.places-pages .current.page-numbers,
.ev-pagination .current { border-color: #1d6437; color: #fff; background: #1d6437; }

@media (max-width: 380px) {
  .home-vehicle__links > .c-button,
  .ev-catalog-card__actions > .c-button { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .c-button,
  .wp-block-button__link,
  .wp-element-button,
  button[type="submit"],
  input[type="submit"]:not([type="checkbox"]):not([type="radio"]),
  .ev-pagination a,
  .places-pages a.page-numbers { transition: none; }
}
