/* =========================================
   Careerfy Child – Minimal Employer List
   ========================================= */

.careerfy-min-employers {
  margin: 0 0 24px;
  --minemp-link: inherit;
  --minemp-link-hover: inherit;
}

.careerfy-min-employers__title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.3;
}

/* Список без маркеров */
.careerfy-min-employers__list {
  list-style: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
}
.careerfy-min-employers__list > li { list-style: none !important; }

/* Карточка */
.careerfy-min-employers__item {
  position: relative;
  margin-bottom: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease, background-color .2s ease;
  cursor: pointer;
}
.careerfy-min-employers__item:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  transform: translateY(-1px);
}

/* Сетка */
.careerfy-min-employers__row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.careerfy-min-employers__col-title { min-width: 0; }

/* Название компании */
.careerfy-min-employers__item-title {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  color: var(--minemp-link);
  pointer-events: none; /* Отключаем клики по ссылке, так как весь блок кликабельный */
}
.careerfy-min-employers__item-title:hover {
  color: var(--minemp-link-hover);
  text-decoration: none; /* Убираем подчеркивание, так как весь блок кликабельный */
}
.careerfy-min-employers__item-title:focus-visible {
  outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px;
}

/* Локация */
.careerfy-min-employers__location {
  margin-top: 8px;
  font-size: 14px;
  opacity: .9;
}

/* Кол-во вакансий */
.careerfy-min-employers__col-meta { flex: 0 0 auto; }
.careerfy-min-employers__jobs {
  font-size: 13px;
  opacity: .85;
  white-space: nowrap;
}

/* Мобила */
@media (max-width: 600px) {
  .careerfy-min-employers__item {
    padding: 20px 16px;
  }
  
  .careerfy-min-employers__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .careerfy-min-employers__location {
    margin-top: 12px;
  }
  
  .careerfy-min-employers__jobs {
    margin-top: 12px;
    white-space: normal;
    font-size: 14px;
  }
}
