.experts-section {
  direction: rtl;
  padding: 90px 20px;
  background:
    radial-gradient(circle at top right, rgba(56, 97, 255, 0.12), transparent 35%),
    linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
  font-family: "Heebo", system-ui, sans-serif;
}

.experts-container {
  max-width: 1180px;
  margin: 0 auto;
}

.experts-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.experts-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(40, 72, 180, 0.08);
  color: #2848b4;
  font-size: 0.9rem;
  font-weight: 700;
}

.experts-header h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: #101426;
}

.experts-header p {
  margin: 0;
  font-size: 1.08rem;
  color: #5f6475;
  line-height: 1.8;
}

.experts-filters {
  margin-bottom: 38px;
}

.filter-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE ו-Edge ישן */
}

.filter-row::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.filter-row::-webkit-scrollbar-thumb {
  background: rgba(20, 26, 45, 0.14);
  border-radius: 999px;
}

.filter-btn {
  flex: 0 0 auto;
  border: 1px solid rgba(20, 26, 45, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: #22283a;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 8px 20px rgba(20, 26, 45, 0.05);
}

.filter-btn:hover,
.filter-btn.active {
  background: #101426;
  color: #ffffff;
  transform: translateY(-2px);
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 34px;
}

.experts-grid.single-expert {
  display: flex;
  justify-content: center;
}

.expert-item {
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.expert-item:focus,
.expert-item:focus-visible,
.expert-item:active {
  outline: none;
}

.expert-item:hover {
  transform: translateY(-6px);
}

.expert-photo-wrap {
  width: 150px;
  height: 210px;
  margin: 0 auto 14px;
  overflow: hidden;
}

.expert-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

.expert-field {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eef2ff, #ffffff);
  color: #2848b4;
  border: 1px solid rgba(40, 72, 180, 0.14);
  font-size: 0.82rem;
  font-weight: 800;
}


.field-color-btn:hover {
  background: var(--field-color);
}

.field-color-btn.active {
  background: var(--field-color);
  color: #fff;
}

.expert-field {
  color: var(--field-color);
  background: color-mix(in srgb, var(--field-color) 12%, white);
  border: 1px solid color-mix(in srgb, var(--field-color) 35%, white);
}

.expert-name {
  margin: 0;
  color: rgb(1, 47, 58);
  font-size: 1.05rem;
  font-weight: 800;
}

.experts-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #6a7082;
  font-weight: 600;
  padding: 30px 0;
}

@media (max-width: 768px) {
  .experts-section {
    padding: 70px 16px;
  }

  .filter-row {
    justify-content: flex-start;
  }

  .experts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 16px;
  }

  .expert-photo-wrap {
    width: 130px;
    height: 180px;
  }

  .expert-name {
    font-size: 0.95rem;
  }

  .expert-field {
    font-size: 0.76rem;
    padding: 5px 10px;
  }
}

.experts-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 44px 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 26, 45, 0.08);
  box-shadow: 0 18px 45px rgba(20, 26, 45, 0.06);
}

.experts-placeholder-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f4ff;
  font-size: 1.6rem;
}

.experts-placeholder h3 {
  margin: 0 0 8px;
  color: #101426;
  font-size: 1.35rem;
}

.experts-placeholder p {
  margin: 0;
  color: #6a7082;
  font-weight: 600;
}

.expert-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgb(1, 47, 58);
  transition: .2s;
  border-radius: 10px;
  padding: 8px 15px;
  border: 1px solid rgb(221, 221, 221);
}

.expert-item:hover .expert-link {
  transform: translateX(-4px);
}