/* ====== WRAPPER ====== */
.UIListCompanyIndustry{
  max-width: 1200px;
  margin: 0 auto;
  color: #1f2937;
  font-size: 16px;
}
.UIListCompanyIndustry .ModuleTitle{
  font-weight: 800;
  font-size: 20px;
  margin: 8px 0 16px;
  color: #0d5a96;
}

/* ====== GRID ====== */
.UIListCompanyIndustry .CompanyList{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 26px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.UIListCompanyIndustry .CompanyList .listItem{ list-style: none; }
.UIListCompanyIndustry .CompanyList .listItem a{
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ====== IMAGE ====== */
.UIListCompanyIndustry .company-image{
  width: 100%;
  height: 170px;                 /* chỉnh cao ảnh */
  object-fit: cover;
  display: block;
  border-radius: 12px;           /* bo như ảnh */
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  background: #f5f7fa;
}

/* ====== TITLE ====== */
.UIListCompanyIndustry .company-title{
  margin: 12px 8px 0;
  text-align: center;
  font-weight: 700;
  color: #2d3748;
  text-transform: uppercase;     /* như ảnh */
  line-height: 1.35;
  font-size: 15px;
  display: -webkit-box;          /* 2 dòng tối đa + … */
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;              /* giữ chiều cao đều */
}
.UIListCompanyIndustry .CompanyList .listItem a:hover .company-title{
  color: #0d5a96;
}

/* ====== PAGINATION (gọn bên phải) ====== */
.UIListCompanyIndustry .page,
.UIListCompanyIndustry > div[style*="float: right"]{
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 10px;
}
.UIListCompanyIndustry .CurrentPage,
.UIListCompanyIndustry a.ButtonPage{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #18a058;
}
.UIListCompanyIndustry .CurrentPage{
  background: #18a058; color:#fff;
}
.UIListCompanyIndustry a.ButtonPage{
  background:#fff; color:#18a058;
}
.UIListCompanyIndustry a.ButtonPage:hover{
  background:#e9f7ee;
}
.UIListCompanyIndustry .page span.ButtonPage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #18a058;
  background: #18a058;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.UIListCompanyIndustry .page span.ButtonPage {
  background: #eee;
  color: #18a058;
}
.UIListCompanyIndustry .page > span > a:not(.ButtonPage) {
 display: inline-flex;
 justify-content: center;
 border-radius: 8px;
 background: #fff;
 text-decoration: none;
 font-weight: 700;
 padding: 0 5px;
 font-size: 16px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1200px){
  .UIListCompanyIndustry .CompanyList{ grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 900px){
  .UIListCompanyIndustry .CompanyList{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px){
  .UIListCompanyIndustry .CompanyList{ grid-template-columns: 1fr; }
  .UIListCompanyIndustry .company-image{ height: 180px; }
}
