/* Rounded controls in the same warm, maritime palette as the cards. */
.button,
.wp-block-button__link {
  min-height: 50px;
  gap: .9rem;
  padding: .9rem 1.5rem;
  border: 1px solid #873a2c;
  border-radius: 12px;
  background: linear-gradient(135deg, #a84a35, #913b2b);
  color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 5px 14px rgb(23 59 70 / 13%);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .01em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button > span[aria-hidden] {
  display: grid;
  place-items: center;
  flex: 0 0 1.8rem;
  height: 1.8rem;
  margin: -.2rem -.45rem -.2rem .15rem;
  border-radius: 7px;
  background: rgb(255 255 255 / 12%);
  font-size: 1.1rem;
  line-height: 1;
}

.button-light {
  border-color: rgb(255 255 255 / 58%);
  background: rgb(16 43 49 / 28%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%), 0 5px 14px rgb(0 0 0 / 8%);
  backdrop-filter: blur(6px);
}

.button:focus-visible,
.wp-block-button__link:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
  box-shadow: 0 0 0 2px var(--paper);
}

.hero .button:focus-visible {
  outline-color: var(--paper);
  box-shadow: 0 0 0 2px var(--navy);
}

.menu-toggle {
  min-height: 44px;
  padding: .55rem .85rem;
  border-color: rgb(23 59 70 / 25%);
  border-radius: 10px;
  background: rgb(255 255 255 / 65%);
  color: var(--navy);
  box-shadow: 0 2px 5px rgb(23 59 70 / 4%);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .wp-block-button__link:hover {
    transform: translateY(-2px);
    border-color: #713023;
    background: linear-gradient(135deg, #9c412f, #7f3225);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 9px 22px rgb(23 59 70 / 20%);
  }

  .button-light:hover {
    border-color: rgb(255 255 255 / 85%);
    background: rgb(255 255 255 / 14%);
    box-shadow: 0 9px 22px rgb(0 0 0 / 12%);
  }

  .menu-toggle:hover {
    background: var(--blue);
  }
}

.button:active,
.wp-block-button__link:active {
  transform: translateY(0);
}

@media (max-width: 480px) {
  .hero-copy .button {
    padding: .9rem 1.25rem;
  }

  .button-group .button,
  .membership-inner > .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .button:hover,
  .button:active,
  .wp-block-button__link,
  .wp-block-button__link:hover,
  .wp-block-button__link:active {
    transition: none;
    transform: none;
  }
}
