.large-link-buttons.section-padding {
  --large-link-footer-height: 286px;
  --large-link-header-flow-height: 78px;
  --large-link-admin-offset: 0px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: calc(100vh - var(--large-link-footer-height) - var(--large-link-header-flow-height) - var(--large-link-admin-offset));
  min-height: calc(100svh - var(--large-link-footer-height) - var(--large-link-header-flow-height) - var(--large-link-admin-offset));
  padding-top: 40px;
  padding-bottom: 40px;
  background: #fff;
}

.large-link-buttons > .grid-container {
  width: 100%;
}

.admin-bar .large-link-buttons {
  --large-link-admin-offset: 32px;
}

@media (max-width: 782px) {
  .admin-bar .large-link-buttons {
    --large-link-admin-offset: 46px;
  }
}

.large-link-buttons__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.large-link-buttons__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 1rem;
  border-radius: 8px;
  background: var(--midnight);
  color: var(--yellow);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.large-link-buttons__link:hover,
.large-link-buttons__link:focus-visible {
  background: var(--midnight-hover);
  color: var(--yellow);
}

.large-link-buttons__link:active {
  background: var(--midnight-press);
}

.large-link-buttons__link:focus-visible {
  outline: 3px solid var(--midnight);
  outline-offset: 4px;
}

.large-link-buttons__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  color: var(--yellow);
}

.large-link-buttons__icon svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 50px;
}

.large-link-buttons__text {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.large-link-buttons__heading,
.large-link-buttons__body {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
}

.large-link-buttons__heading {
  color: var(--yellow);
  font-weight: 700;
}

.large-link-buttons__body {
  margin-top: 0.25rem;
  color: #fff;
  font-weight: 400;
}

.large-link-buttons__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  align-self: center;
  min-height: 48px;
  padding-left: 0.75rem;
  border-left: 2px solid var(--yellow);
}

.large-link-buttons__arrow svg {
  display: block;
  width: 32px;
  height: 32px;
}

@media (min-width: 50em) {
  .large-link-buttons.section-padding {
    --large-link-footer-height: 222px;
    --large-link-header-flow-height: 0px;
    /* The desktop header overlays the section; reserve space below it. */
    padding-top: 140px;
    padding-bottom: 50px;
  }

  .large-link-buttons__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .large-link-buttons__link {
    padding: 1.25rem;
  }

  .large-link-buttons__icon {
    flex-basis: 50px;
  }

  .large-link-buttons__heading,
  .large-link-buttons__body {
    font-size: 1.125rem;
  }

  .large-link-buttons__arrow {
    padding-left: 1rem;
  }

  .large-link-buttons__arrow svg {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .large-link-buttons__link {
    transition: none;
  }
}
