/* The Home Concierge - shared front-end pieces rendered by the plugin.
   Tokens mirror the active "Concierge Navy" design system. */

.hc-cat-grid,
.hc-next {
  --hc-navy: #18304C;
  --hc-gold: #A37830;
  --hc-ink: #1E2830;
  --hc-muted: #6B7784;
  --hc-line: #D7DDE3;
  --hc-surface: #F3F5F7;
  --hc-green: #2E7D32;
}

/* ---------- Next opening ---------- */
.hc-next {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 10px 22px;
  font-family: "Manrope", sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--hc-green);
  background: #EAF5EA;
  border: 1.5px solid var(--hc-green);
  border-radius: 999px;
}
.hc-next strong { font-weight: 800; }
.hc-next-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--hc-green); flex-shrink: 0;
}
.hc-next--full {
  color: #7A6A5C;
  background: #FAF8F6;
  border-color: #E0D7CE;
}
.hc-next--full .hc-next-dot { background: #B9AA9C; }

/* ---------- Category grid ---------- */
.hc-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  font-family: "Manrope", sans-serif;
}
@media (max-width: 1024px) { .hc-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .hc-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px)  { .hc-cat-grid { grid-template-columns: 1fr; } }

.hc-cat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  background: var(--hc-surface);
  border: 1px solid var(--hc-line);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease, background-color .15s ease;
}
.hc-cat-card:hover,
.hc-cat-card:focus-visible {
  border-color: var(--hc-gold);
  background: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}
.hc-cat-card:focus-visible { outline: 2px solid var(--hc-gold); outline-offset: 2px; }

.hc-cat-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
  background: #fff;
  border: 1px solid var(--hc-line);
  border-radius: 12px;
  color: var(--hc-navy);
}
.hc-cat-label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14.5px; font-weight: 800; color: var(--hc-navy);
  letter-spacing: -0.2px;
}
.hc-cat-preview {
  font-size: 12.5px; line-height: 1.45; color: var(--hc-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hc-cat-link {
  margin-top: auto; padding-top: 8px;
  font-size: 12px; font-weight: 700; color: var(--hc-gold);
}
.hc-cat-card--custom { background: #fff; border-style: dashed; }

.hc-empty {
  padding: 20px; border: 1px dashed #D7DDE3; border-radius: 18px;
  color: #6B7784; font-size: 14px;
}

/* ---------- Day builder chrome ---------- */
.hc-db-utility {
  display: flex; justify-content: flex-end; gap: 8px;
  margin: 0 0 22px;
}
.hc-db .hc-hp {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .hc-cat-card { transition: none; }
  .hc-cat-card:hover { transform: none; }
}
