/* ===== Developers Page Base ===== */
.dev-page {
  width: 100%;
}

/* Container like metropolitan (center + max width) */
.dev-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 26px 18px 60px;
}

/* ===== Hero ===== */
.dev-hero {
  width: 100%;
  min-height: 520px;
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  overflow: hidden;
  margin: 18px auto 22px;
  max-width: 1400px;
}

.dev-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.28);
}

.dev-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 22px;
}

.dev-hero__title {
  color: #fff;
  font-size: 44px;
  font-weight: 700;
  margin: 0 0 16px;
  text-align: center;
}

/* ===== Filter Form (metropolitan vibe) ===== */
.filter-developers {
  width: 100%;
  max-width: 820px;
  display: grid;
  grid-template-columns: 1fr 220px 120px;
  gap: 6px;
  background: rgba(255,255,255,.88);
  border-radius: 5px;
  padding: 10px;
  backdrop-filter: blur(6px);
}

.filter-developers__item_name input {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1px;
  padding: 0 12px;
  outline: none;
  background: #fff;
}

.filter-developers__btn {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 1px;
  background: #139be8;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.filter-developers__btn:hover {
  filter: brightness(.95);
}

/* Areas dropdown */
.filter-developers__select-wrap {
  position: relative;
}

.filter-developers__select {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  cursor: pointer;
}

.filter-developers__select-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 320px;
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,.12);
  padding: 10px;
  display: none;
  z-index: 999;
}

.filter-developers__select-list.show {
  display: block;
}

.filter-developers__select-list .label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
}

.filter-developers__select-list .label:hover {
  background: rgba(0,0,0,.04);
}

.filter-developers__select-list input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* Suggest box */
.search-name-result {
  position: absolute;
  width: calc(100% - 24px);
  margin-top: 6px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,.12);
  overflow: hidden;
  display: none;
  z-index: 999;
}

.search-name-result.show {
  display: block;
}

.dev-suggest-item {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}

.dev-suggest-item:hover {
  background: rgba(0,0,0,.04);
}

/* Position suggest under input */
.filter-developers__item_name {
  position: relative;
}

/* ===== Grid ===== */
.developers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.developer-item__link {
  height: 180px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.developer-item__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

.developer-item__link img {
  max-width: 160px;
  max-height: 70px;
  object-fit: contain;
}

.developer-item__link span {
  color: #111;
  font-weight: 600;
  font-size: 14px;
}

/* Loading state */
#sbtechDevelopersResults.is-loading {
  opacity: .55;
  pointer-events: none;
  filter: blur(.2px);
}

.developers-empty {
  padding: 18px;
  border: 1px dashed rgba(0,0,0,.18);
  border-radius: 14px;
  background: #fff;
}

/* Responsive */
@media (max-width: 1100px) {
  .developers-grid { grid-template-columns: repeat(3, 1fr); }
  .filter-developers { grid-template-columns: 1fr 200px 110px; }
}

@media (max-width: 820px) {
  .developers-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-developers { grid-template-columns: 1fr; }
  .dev-hero__title { font-size: 32px; }
  .dev-hero, .dev-hero__inner { min-height: 460px; }
}

@media (max-width: 460px) {
  .developers-grid { grid-template-columns: 1fr; }
}
