/* Generated per build: page/block overrides */
#home-quick {
--card-media-height: 120px;--card-min-height: 240px;--card-overlay: ;}
#home-services {
--card-media-height: 220px;--card-min-height: 260px;--card-overlay: ;}
#services-grid {
--card-media-height: 210px;--card-min-height: 260px;--card-overlay: ;}

/* Project-specific hotfix: keep home quick block balanced on wide screens */
#home-quick .hc-quick-shell {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: start;
}

#home-quick .hc-quick-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: start;
}

#home-quick .hc-quick-item {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  min-height: 110px;
}

#home-quick .hc-quick-item span {
  line-height: 1.35;
}

#home-quick .hc-quick-cta {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.25rem;
}

/* Project-specific hotfix: make spotlight block readable and stable */
#home-spotlight .hc-spotlight {
  padding-bottom: 1.5rem;
}

#home-spotlight .hc-spotlight p {
  color: rgba(255, 255, 255, 0.78);
}

#home-spotlight .hc-spotlight-ratings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

#home-spotlight .hc-rating-card {
  min-width: 0;
  max-width: none;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.45rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

#home-spotlight .hc-rating-card span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  text-align: left;
}

#home-spotlight .hc-rating-card strong {
  font-size: 1.8rem;
  line-height: 1;
}

#home-spotlight .hc-rating-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

#home-spotlight .hc-dashboard-panel {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

#home-spotlight .hc-dashboard-panel > div:first-child img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 18px;
  object-fit: cover;
}

@media (max-width: 1100px) {
  #home-spotlight .hc-spotlight-ratings {
    grid-template-columns: 1fr;
  }

  #home-spotlight .hc-dashboard-panel {
    grid-template-columns: 1fr;
  }
}
