/* ===== Facilities & Infrastructure (rounded style) ===== */

#secFacilities {
  border: none;
  background: transparent;
}

#secFacilities .panelHeader {
  display: none;
}

#secFacilities .panelBody {
  padding: 0;
}

/* one category card */
.facCategoryBox {
  background: #fbfbfb;
  border: 1px solid #c7c7c7;
 /* border-radius: 26px; */
  padding: 16px 16px 12px 16px;
  margin-bottom: 14px;
}

/* category title */
.facCategoryTitle {
  font-size: 18px;
  font-weight: 700;
  color: #18171d;
  margin-bottom: 12px;
}

/* wrap for icons */
.facilitiesGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  transition: max-height 0.4s ease;
  overflow: hidden;
}

/* individual facility box */
.facItemCircle {
  width: 90px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* round icon holder */
.facIconCircle {
  width: 60px;
  height: 60px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  overflow: hidden;
}

.facIconCircle img {
  max-width: 54px;
  max-height: 54px;
  object-fit: contain;
  display: block;
}

.facIconEmoji {
  font-size: 30px;
  line-height: 1;
}

/* label */
.facName2 {
  font-size: 11px;
  line-height: 1.15;
  color: #222026;
  word-break: break-word;
}

/* ===== view all button ===== */
.facilitiesViewAll {
  display: inline-block;
  margin-top: 10px;
  margin-left: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #0077cc;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease;
}
.facilitiesViewAll:hover {
  color: #005299;
  text-decoration: underline;
}

/* ===== hide items beyond 8 unless expanded ===== */
.facCategoryBox:not(.fac-expanded) .facItemCircle:nth-child(n+9) {
  display: none;
}
.facCategoryBox.fac-expanded .facilitiesGrid .facItemCircle {
  display: flex;
}

/* ===== mobile tweaks ===== */
@media (max-width: 768px) {
  .facCategoryBox {
    border-radius: 16px;
  }
  .facItemCircle {
    width: 78px;
  }
  .facIconCircle {
    width: 66px;
    height: 66px;
  }
}
