.directory-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 14px;
  margin-bottom: 28px;
}
.directory-search,
.directory-filter {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd7e2;
  border-radius: 10px;
  background: #fff;
  padding: 10px 14px;
  color: #082d58;
}
.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.company-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce4ec;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(6, 36, 70, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(6, 36, 70, .14);
}
.company-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 250px;
  padding: 28px;
  background: #fff;
  border-bottom: 1px solid #e6edf3;
}
.company-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.company-body { padding: 20px; }
.company-sector {
  display: block;
  color: #1e638b;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.company-body h3 {
  margin: 7px 0 8px;
  color: #082d58;
  font-size: 1.15rem;
}
.company-body p {
  margin: 0;
  color: #637386;
  font-size: .9rem;
}
.company-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}
.company-actions a {
  color: #145ba5;
  font-size: .84rem;
  font-weight: 800;
}
.home-dashboard .company-logo { height: 108px; padding: 14px; }
.home-dashboard .company-body { display: none; }
@media (max-width: 900px) {
  .company-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .company-grid,
  .directory-controls { grid-template-columns: 1fr; }
  .company-logo { height: 220px; }
}
