/* OTLY 869 — Trust bar (archive layout) */

.elementor-widget-otly_06_trust {
  width: 100% !important;
  max-width: 100% !important;
}

.elementor-widget-otly_06_trust > .elementor-widget-container {
  width: 100%;
  max-width: 100%;
}

.otly-trust--archive {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 48px 0;
  background: transparent;
  border: none;
  box-sizing: border-box;
}

.otly-trust-bar {
  width: 100%;
  max-width: var(--otly-trust-max-w, var(--otly-hero-max-w, 1440px));
  margin: 0 auto;
  background: #f8f7f4;
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  box-sizing: border-box;
}

.otly-trust-bar__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 28px;
  position: relative;
}

.otly-trust-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 24%;
  height: 52%;
  width: 1px;
  background: rgba(45, 45, 45, 0.07);
}

.otly-trust-bar__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: #2d2d2d;
  opacity: 0.55;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  align-self: center;
}

.otly-trust-bar__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.35;
  display: block;
}

.otly-trust-bar__icon i {
  font-size: 24px;
  line-height: 1;
}

.otly-trust-bar__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.otly-trust-bar__title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #1b1c18;
  margin: 0;
  line-height: 1.35;
}

.otly-trust-bar__desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #7a7a74;
  margin: 0;
  line-height: 1.5;
}

/* Homepage centered layout */
.otly-trust--home {
  background: var(--otly-surface-3, #f5f5f0);
  padding: var(--otly-sp-96, 96px) 0;
  border-top: 1px solid var(--otly-border, #e5e5e0);
  border-bottom: 1px solid var(--otly-border, #e5e5e0);
}

.otly-trust-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--otly-sp-32, 32px);
}

.otly-trust-item {
  text-align: center;
}

.otly-trust-item .material-symbols-outlined {
  color: var(--otly-primary, #6b7c4a);
  font-size: 32px;
  margin-bottom: 12px;
  display: inline-block;
}

.otly-trust-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--otly-text, #1b1c18);
  margin: 0 0 4px;
}

.otly-trust-desc {
  font-size: 13px;
  color: var(--otly-secondary, #777);
  line-height: 1.5;
  max-width: 22ch;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .otly-trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .otly-trust-bar__item:nth-child(2)::after {
    display: none;
  }

  .otly-trust-bar__item:nth-child(odd):not(:last-child)::after {
    display: block;
  }
}

@media (max-width: 768px) {
  .otly-trust--home {
    padding: 64px 0;
  }

  .otly-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .otly-trust--archive {
    padding: 32px 0;
  }

  .otly-trust-bar {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }

  .otly-trust-bar__item::after {
    display: none !important;
  }

  .otly-trust-bar__item:not(:last-child) {
    border-bottom: 1px solid rgba(45, 45, 45, 0.1);
  }
}

@media (max-width: 380px) {
  .otly-trust-grid {
    grid-template-columns: 1fr;
  }
}
