/* ============================================
   migrant.css — 移工匯兌 專屬樣式
   ============================================ */

/* ============================================
   業務介紹
   ============================================ */
.migrant-intro__lead {
  margin-top: 1.25rem;
  font-weight: 500;
}
.migrant-intro__features {
  list-style: none;
  padding: 0;
  margin: .5rem 0 1.5rem;
}
.content-wrapper .migrant-intro__features li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.8;
  color: var(--primary-color);
}
.migrant-intro__features li::before {
  content: '';
  position: absolute;
  left: .25rem;
  top: .75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-color);
}

/* ============================================
   業者介紹（仿大事記卡片結構）
   ============================================ */
.companies-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.companies-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-base);
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(106, 55, 212, .06);
}
.companies-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(106, 55, 212, .12);
}

.companies-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 1rem 1.25rem;
  border-bottom: 4px solid var(--primary-color);
  min-height: 110px;
}
.companies-card__logo img {
  max-width: 90%;
  max-height: 110px;
  object-fit: contain;
}
.companies-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}
.companies-card__name {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary-color);
  letter-spacing: .075rem;
  line-height: 1.5;
}
.companies-card__arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  /* background: rgba(106, 55, 212, .08); */
  border: 2px solid var(--primary-color);;
  color: var(--primary-color);
  transition: background var(--transition), color var(--transition);
}
.companies-card:hover .companies-card__arrow {
  background: var(--primary-color);
  color: #fff;
}

@media (min-width: 768px) {
  .companies-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }
  .companies-card__logo {
    min-width: 320px;
    padding: 1.25rem 1.5rem;
    border-bottom: none;
    border-right: 4px solid var(--primary-color);
  }
  .companies-card__logo img {
    max-width: 100%;
    /* max-height: 56px; */
  }
  .companies-card__body {
    flex: 1;
    padding: 1.25rem 2rem;
  }
}
