/* Location hub + landing page overrides (loaded with service-technology-industry.css) */

/* Hub: service-card chrome requires .services-grid parent in Tatva CSS */
.locations-hub-wrapper #locations-grid .services-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(32rem, 100%), 1fr));
}

.locations-hub-wrapper #locations-grid .service-card {
  gap: 0;
  min-height: 0;
}

.locations-hub-wrapper #locations-grid .hub-cluster-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.6rem;
  flex: 0 0 auto;
  flex-shrink: 0;
  min-height: min-content;
}

.locations-hub-wrapper #locations-grid .service-card > img {
  width: auto;
  height: auto;
}

.locations-hub-wrapper #locations-grid .hub-cluster-label {
  display: inline-block;
  align-self: flex-start;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  margin: 0;
  line-height: 1.4;
}

.locations-hub-wrapper #locations-grid .hub-cluster-title {
  font-size: var(--fs-24, 2.4rem);
  margin: 0;
  line-height: 1.25;
  position: static;
}

.locations-hub-wrapper #locations-grid .hub-cluster-desc {
  font-size: 1.4rem;
  line-height: 1.6;
  margin: 0;
  position: static;
}

/* Beat generic service-card paragraph rules inside hub cards */
.locations-hub-wrapper #locations-grid .service-card .hub-cluster-desc {
  color: var(--color-black);
  font-weight: 300;
}

.locations-hub-wrapper #locations-grid .hub-cluster-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.locations-hub-wrapper #locations-grid .hub-link-list {
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.locations-hub-wrapper #locations-grid .hub-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
}

.locations-hub-wrapper #locations-grid .hub-link-row img {
  width: 1.6rem;
  height: 1.6rem;
  opacity: 0.7;
}

/* Location landing: cap product screenshots (~portfolio mobile width, not full column) */
.location-inner-page .rich-text-section .left-col .img-wrap {
  max-width: 32rem;
  width: 100%;
}

.location-inner-page .rich-text-section .img-wrap img,
.location-inner-page .rich-text-section .img-wrap picture {
  width: 100%;
  height: auto;
  object-fit: contain;
}
