.text__buttons__wrap {
  grid-column: 2;
}

.text-button__list {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  grid-gap: var(--g-gap-m);
}

.page.-main .text-button__list .text-button:last-child .button__text {
  color: rgb(var(--c-secondary));
}

.text-button {
  color: rgb(var(--c-neutral-darker));
  padding: 1rem;
  line-height: 1.4;
  background: transparent;
  border-radius: var(--b-radius);
  border: 3px solid rgb(var(--c-primary));
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--g-gap-m);

  & .button__text {
    font-weight: var(--f-weight-b);
    color: rgb(var(--c-primary));
    text-transform: uppercase;
    font-size: var(--f-size-l-1);
  }

  & .button__image__hover {
    display: none;
  }

  & .button__image {
    display: block;
  }
}

.-w100 > .frame-type-gkmb_text_button > .text-button__list,
.content > .frame-type-gkmb_text_button > .text-button__list {
  grid-template-columns: 1fr;
}

@media (hover: hover) {
  .text-button:hover {
    background: rgb(var(--c-primary));
  }

  .text-button:hover .button__text {
    color: rgb(var(--c-neutral-lightest));
  }

  .text-button:last-child:hover .button__text {
    color: rgb(var(--c-neutral-lightest));
  }

  .text-button:hover .button__image__hover {
    display: block;
  }

  .text-button:hover .button__image {
    display: none;
  }
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 500px) {
  .-w100 > .frame-type-gkmb_text_button > .text-button__list,
  .content > .frame-type-gkmb_text_button > .text-button__list {
    grid-template-columns: repeat(2, 200px);
  }
}

@media (min-width: 1024px) {
  .-w100 > .frame-type-gkmb_text_button > .text-button__list,
  .content > .frame-type-gkmb_text_button > .text-button__list {
    grid-template-columns: repeat(4, 200px);
  }
}

@media (min-width: 1280px) {
  .text-button {
    max-width: 200px;
  }
}
