/**
 * Hero Feature Bar – full-width strip, compact item spacing (MainPage).
 */

.hero-banner {
  position: relative;
  padding-bottom: 0;
}

.hero-feature-bar-wrap {
  position: static;
  width: 100%;
  pointer-events: auto;
  background: var(--arsam-v2-bg, #050a12);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-feature-bar-container {
  width: min(100% - 48px, 1100px);
  max-width: 1100px;
  margin-inline: auto;
  padding: 0;
}

.hero-feature-bar {
  direction: rtl;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: clamp(24px, 2.6vw, 34px) 0;
  box-sizing: border-box;
}

html[dir="ltr"] .hero-feature-bar {
  direction: ltr;
}

.hero-feature-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 240px;
  padding: 0 18px;
  position: relative;
}

.hero-feature-item:first-child {
  padding-right: 0;
}

.hero-feature-item:last-child {
  padding-left: 0;
}

.hero-feature-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  width: 1px;
  height: 64%;
  background: rgba(255, 255, 255, 0.14);
}

.hero-feature-icon {
  width: 40px;
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: 0 0 auto;
}

.hero-feature-icon svg {
  width: 34px;
  height: 34px;
  display: block;
}

.hero-feature-content {
  min-width: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

html[dir="ltr"] .hero-feature-content {
  text-align: left;
}

.hero-feature-title {
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.hero-feature-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
  margin: 0;
  white-space: nowrap;
}

.hero-feature-item:hover .hero-feature-icon {
  color: var(--arsam-gold-400, #e7b64d);
}

@media (max-width: 1024px) {
  .hero-feature-bar-container {
    width: min(100% - 32px, 1100px);
  }

  .hero-feature-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 0;
  }

  .hero-feature-item {
    max-width: none;
    padding: 14px 16px;
  }

  .hero-feature-item:first-child,
  .hero-feature-item:last-child {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-feature-item::after {
    display: none;
  }

  .hero-feature-item:nth-child(odd) {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-feature-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-feature-title,
  .hero-feature-description {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .hero-feature-bar {
    grid-template-columns: 1fr;
    padding: 8px 0;
  }

  .hero-feature-item {
    border-left: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 4px;
    gap: 12px;
  }

  .hero-feature-item:last-child {
    border-bottom: none;
  }
}
