/* Reusable native Benefits module. Loaded by its controller only when it renders. */
.uk-benefits {
  margin: 24px 0;
  border: 1px solid var(--uk-color-border);
  border-radius: var(--uk-radius-md);
  background: var(--uk-color-cream-100);
}

.uk-benefits__items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.uk-benefits__item { position: relative; min-width: 0; }
.uk-benefits__item::before,
.uk-benefits__item::after { position: absolute; pointer-events: none; }
.uk-benefits__item + .uk-benefits__item::after {
  content: "";
  top: 0;
  right: 18px;
  left: 18px;
  border-top: 1px solid var(--uk-color-border);
}

.uk-benefits .uk-benefits__card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  height: 100%;
  min-width: 0;
  padding: 20px 18px;
  border-radius: var(--uk-radius-md);
  color: var(--uk-color-text);
  text-decoration: none;
}

.uk-benefits__icon {
  margin-top: 4px;
  color: var(--uk-color-gold-700);
  font-size: 32px;
  line-height: 1;
  text-align: center;
}

.uk-benefits__copy { display: block; min-width: 0; overflow-wrap: anywhere; }
.uk-benefits .uk-benefits__title {
  display: block;
  margin: 0;
  color: var(--uk-color-green-900);
  font-family: var(--uk-font-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
}
.uk-benefits .uk-benefits__description {
  display: block;
  margin-top: 7px;
  color: var(--uk-color-muted);
  font-family: var(--uk-font-body);
  font-size: 13px;
  line-height: 1.55;
}

.uk-benefits a.uk-benefits__card:hover,
.uk-benefits a.uk-benefits__card:focus-visible { background: var(--uk-color-cream-150); }
.uk-benefits a.uk-benefits__card:focus-visible {
  outline: 3px solid var(--uk-color-green-900);
  outline-offset: -4px;
}

@media (min-width: 768px) {
  .uk-benefits__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uk-benefits .uk-benefits__card { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 24px 20px; }
  .uk-benefits__item + .uk-benefits__item::after { content: none; }
  .uk-benefits__item:nth-child(even)::before {
    content: "";
    top: 22px;
    bottom: 22px;
    left: 0;
    border-left: 1px solid var(--uk-color-border);
  }
  .uk-benefits__item:nth-child(n + 3)::after {
    content: "";
    top: 0;
    right: 20px;
    left: 20px;
    border-top: 1px solid var(--uk-color-border);
  }
}

@media (min-width: 992px) {
  .uk-benefits__items { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .uk-benefits__item:nth-child(n + 3)::after { content: none; }
  .uk-benefits__item:nth-child(even)::before { content: none; }
  .uk-benefits__item:not(:nth-child(4n + 1))::before {
    content: "";
    top: 22px;
    bottom: 22px;
    left: 0;
    border-left: 1px solid var(--uk-color-border);
  }
  .uk-benefits__item:nth-child(n + 5)::after {
    content: "";
    top: 0;
    right: 20px;
    left: 20px;
    border-top: 1px solid var(--uk-color-border);
  }
}
