/* Keep the wording and destinations in sync with the WooCommerce download help. */
.sample-buttons.esl-sample-buttons {
  align-items: stretch;
}

.esl-sample-download-item {
  display: flex;
  flex: 1 1 15rem;
  flex-direction: column;
  min-width: 0;
}

.esl-sample-download-item > .btn {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 100%;
}

.esl-sample-download-help {
  flex: 1;
  margin-top: .75rem;
  padding: .875rem 1rem;
  border: 1px solid var(--line, rgba(255, 255, 255, .16));
  border-radius: 1rem;
  background: rgba(0, 0, 0, .22);
  color: var(--muted, #c9c1b3);
  font: 400 .88rem/1.5 Arial, sans-serif;
  text-align: left;
}

.esl-sample-download-help__heading {
  display: block;
  margin: 0 0 .45rem;
  color: var(--gold, #e7b75f);
}

.esl-sample-download-help .esl-sample-download-help__description {
  margin: 0 0 .65rem;
  color: var(--muted, #c9c1b3);
  font: inherit;
}

.esl-sample-download-help__links {
  display: grid;
  gap: .4rem;
}

.esl-sample-download-help__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: .55rem .75rem;
  border: 1px solid var(--gold, #e7b75f);
  border-radius: .7rem;
  background: rgba(231, 183, 95, .1);
  color: var(--gold, #e7b75f);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
}

.esl-sample-download-help__link:hover,
.esl-sample-download-help__link:focus-visible {
  background: var(--gold, #e7b75f);
  color: #17100b;
}

.esl-sample-download-help__link:focus-visible {
  outline: 2px solid var(--text, #f6f1e8);
  outline-offset: 3px;
}

@media (max-width: 699px) {
  .sample-buttons.esl-sample-buttons {
    display: flex;
    flex-direction: column;
  }

  .esl-sample-download-item {
    flex-basis: 100%;
  }
}
