/**
 * FDG Trust Stats v1.8.1.
 *
 * Site Kit owns typography: the label inherits its default typography from
 * the widget. Elementor Group_Control_Typography can override the label itself
 * without competing against fixed font rules in this stylesheet.
 *
 * Desktop always has three columns, even inside a narrow Elementor container.
 * The alternative mobile composition is restricted to small viewports only.
 */
.fdg-trust-stats {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: clamp(2rem, 4.8vw, 5rem) clamp(1.25rem, 3vw, 3.5rem);
  background-color: var(--e-global-color-8f8adf5, #12100e);
  color: var(--e-global-color-10f490e, #fff);
  font-family: var(--e-global-typography-text-font-family, "Plus Jakarta Sans"), sans-serif;
  font-size: var(--e-global-typography-text-font-size, 1rem);
  font-weight: var(--e-global-typography-text-font-weight, 400);
  line-height: var(--e-global-typography-text-line-height, 1.6em);
  letter-spacing: var(--e-global-typography-text-letter-spacing, 0em);
  text-transform: var(--e-global-typography-text-text-transform, none);
  font-style: var(--e-global-typography-text-font-style, normal);
  text-decoration: var(--e-global-typography-text-text-decoration, none);
}

.fdg-trust-stats *,
.fdg-trust-stats *::before,
.fdg-trust-stats *::after {
  box-sizing: border-box;
}

.fdg-trust-stats .fdg-trust-stats__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 3vw, 4rem);
  row-gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fdg-trust-stats .fdg-trust-stats__item {
  min-width: 0;
  margin: 0;
  padding: 0;
  text-align: left;
  overflow-wrap: anywhere;
}

.fdg-trust-stats .fdg-trust-stats__content {
  display: block;
  min-width: 0;
}

.fdg-trust-stats .fdg-trust-stats__link {
  display: block;
  font: inherit;
  color: inherit;
  text-decoration: none;
}

.fdg-trust-stats .fdg-trust-stats__link:focus-visible {
  outline: 2px solid var(--e-global-color-10f490e, #fff);
  outline-offset: 5px;
}

.fdg-trust-stats .fdg-trust-stats__value {
  display: block;
  color: var(--e-global-color-823e359, #806000);
  color: color-mix(in srgb, var(--e-global-color-823e359, #806000) 67%, var(--e-global-color-10f490e, #fff) 33%);
  font-family: var(--e-global-typography-primary-font-family, "Playfair Display"), Georgia, serif;
  font-size: var(--e-global-typography-primary-font-size, clamp(2rem, 1.7rem + 1.2vw, 4rem));
  font-weight: var(--e-global-typography-primary-font-weight, 600);
  line-height: var(--e-global-typography-primary-line-height, 1.15em);
  letter-spacing: var(--e-global-typography-primary-letter-spacing, -0.015em);
  text-transform: var(--e-global-typography-primary-text-transform, none);
  font-style: var(--e-global-typography-primary-font-style, normal);
  text-decoration: var(--e-global-typography-primary-text-decoration, none);
}

/* No font-family, font-size, weight, line-height or text-transform here.
 * The label inherits the active Site Kit and Elementor's typography selector
 * can set all typography properties directly on this element. */
.fdg-trust-stats .fdg-trust-stats__label {
  display: block;
  margin-block-start: 0.65rem;
  color: var(--e-global-color-10f490e, #fff);
  color: color-mix(in srgb, var(--e-global-color-10f490e, #fff) 80%, var(--e-global-color-8f8adf5, #12100e) 20%);
}

.fdg-trust-stats .fdg-trust-stats__link:hover .fdg-trust-stats__label {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.fdg-trust-stats .fdg-trust-stats__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile is intentionally a compact list, not a shrunken three-column grid.
 * A shared content wrapper works for linked and non-linked facts alike. */
@media (max-width: 640px) {
  .fdg-trust-stats .fdg-trust-stats__list {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .fdg-trust-stats .fdg-trust-stats__item {
    padding-block: 0.95rem;
    border-bottom: 1px solid color-mix(in srgb, var(--e-global-color-10f490e, #fff) 22%, transparent);
  }

  .fdg-trust-stats .fdg-trust-stats__item:first-child {
    padding-block-start: 0;
  }

  .fdg-trust-stats .fdg-trust-stats__item:last-child {
    border-bottom: 0;
    padding-block-end: 0;
  }

  .fdg-trust-stats .fdg-trust-stats__content {
    display: grid;
    grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(0.75rem, 3vw, 1.25rem);
  }

  .fdg-trust-stats .fdg-trust-stats__label {
    margin-block-start: 0;
  }
}

/* On the narrowest phones, long translated labels and large user-selected
 * global fonts get their own line instead of breaking in the middle of a word. */
@media (max-width: 360px) {
  .fdg-trust-stats .fdg-trust-stats__content {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.3rem;
  }
}
