/* Shared service actions: main page, quiz and full price list. */
.pc__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .625rem;
  width: 100%;
  max-width: 26rem;
  margin-top: 1.1rem;
}
.pc__actions--section { margin-top: 1.4rem; }
.pc__button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 2.875rem;
  padding: .75rem .9rem;
  font-family: "Lora", Georgia, serif;
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  text-decoration: none;
  border: 1px solid rgba(227, 212, 167, .42);
  border-radius: .75rem;
  color: #fffdf8;
  background: rgba(10, 23, 16, .78);
  transition: background-color 160ms ease, border-color 160ms ease;
}
.pc__button--main {
  color: #12211a;
  border-color: #e3d4a7;
  background: #e3d4a7;
  font-weight: 500;
}
.pc__button:focus-visible {
  outline: 2px solid #fffdf8;
  outline-offset: 3px;
}
@media (hover: hover) {
  .pc__button:hover { color: #fffdf8; border-color: #e3d4a7; background: #244330; }
  .pc__button--main:hover { color: #12211a; background: #f0e4c4; }
}
.program-card .program-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.program-card .program-card__body > .pc__actions {
  margin-top: auto;
  padding-top: 1.1rem;
}
/* A single certificate action should not leave an empty grid cell. */
.pc__actions > :only-child { grid-column: 1 / -1; }
@media (max-width: 30rem) {
  .pc__actions { grid-template-columns: 1fr; }
  .pc__button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pc__button { transition: none; }
}
