/* TIME ERP — Shared module hub cards (Community, Website, Document Vault, etc.) */
.hub-page {
  min-height: 100%;
  margin: -16px calc(var(--content-pad-x, 16px) * -1) -24px;
  padding: 18px 22px 28px;
  background: #f0f2f5;
}

.hub-intro { margin-bottom: 20px; }
.hub-title {
  margin: 0 0 6px; font-size: 30px; font-weight: 600;
  color: #243F64; line-height: 1.15; letter-spacing: -.01em;
}
.hub-subtitle { margin: 0; font-size: 14px; color: rgba(0, 0, 0, .65); line-height: 1.45; }

.hub-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  margin-bottom: 32px;
}

.hub-card {
  display: flex; align-items: center; gap: 12px;
  min-height: 108px; padding: 14px 16px;
  background: #fff; border: 1px solid #e8e8e8; border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  cursor: pointer; text-align: left; font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
  color: inherit; text-decoration: none;
}
.hub-card:hover {
  border-color: #d9d9d9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.hub-card__art {
  width: 56px; height: 56px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.hub-card__art img { width: 56px; height: 56px; object-fit: contain; display: block; }
.hub-card__body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.hub-card__title {
  display: block; font-size: 15px; font-weight: 600; color: #243F64; line-height: 1.35;
}
.hub-card__desc {
  display: block; font-size: 13px; color: rgba(0, 0, 0, .55); line-height: 1.4;
}

.hub-app-footer {
  margin-top: 12px; padding: 8px 8px 4px; text-align: center;
}
.hub-app-footer__links {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px 10px; margin-bottom: 8px; font-size: 13px;
}
.hub-app-footer__links a { color: #25b7a7; text-decoration: none; font-weight: 500; }
.hub-app-footer__links a:hover { text-decoration: underline; }
.hub-app-footer__links span { color: #bfbfbf; }
.hub-app-footer__copy {
  margin: 0; font-size: 12px; color: #8c8c8c; line-height: 1.5;
}
.hub-app-footer__copy span { color: #25b7a7; font-weight: 500; }

@media (max-width: 1200px) {
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hub-page { padding: 12px 12px 24px; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-title { font-size: 24px; }
}
