/* desk-network-grid.css — uniform cover thumbnails on Desk Network hub only.
   Scoped to .sv-news-navigator-root — never individual desks, home, or SIOS. */

.sv-news-navigator-root .sv-desks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.sv-news-navigator-root .sv-desk-card--hub-thumb {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface, #16191c);
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.sv-news-navigator-root .sv-desk-card--hub-thumb:hover {
  border-color: var(--accent, #e0a96d);
  transform: translateY(-2px);
  box-shadow: var(--shadow-raise, 0 2px 12px rgba(0, 0, 0, 0.35));
}

.sv-news-navigator-root .sv-desk-card--soon.sv-desk-card--hub-thumb {
  opacity: 1;
  cursor: default;
}

.sv-news-navigator-root .sv-desk-card--soon.sv-desk-card--hub-thumb:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border, rgba(255, 255, 255, 0.12));
}

.sv-news-navigator-root .sv-desk-card-media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: var(--raised, #1e2226);
}

.sv-news-navigator-root .sv-desk-card-cover {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.sv-news-navigator-root .sv-desk-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px 10px;
  min-height: 0;
}

.sv-news-navigator-root .sv-desk-card-foot .sv-desk-card-label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text, #f2f4f6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sv-news-navigator-root .sv-desk-card-foot .sv-status-chip {
  flex: 0 0 auto;
  position: static;
  top: auto;
  left: auto;
  z-index: auto;
}

.sv-news-navigator-root .sv-desk-card-foot .sv-desk-card-count {
  position: static;
  flex: 0 0 auto;
  margin: 0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: var(--raised, #1e2226);
  color: var(--text-muted, #7c858f);
}

/* Hub group tiles (Information / State Desks entry) — keep separate from thumb grid */
.sv-news-navigator-root .sv-nd-group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 820px;
  margin: var(--sp-5, 24px) auto 0;
}

@media (max-width: 600px) {
  .sv-news-navigator-root .sv-nd-group-grid {
    grid-template-columns: 1fr;
  }
}

.sv-news-navigator-root .sv-desk-card--group {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
}

.sv-news-navigator-root .sv-desk-card--group .sv-desk-card-media {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
}

.sv-news-navigator-root .sv-desk-card--group .sv-nd-group-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 18px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
  color: #fff;
  font-family: Charter, "Iowan Old Style", Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.15;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.sv-news-navigator-root .sv-desk-card--group .sv-nd-group-label small {
  display: block;
  font-family: var(--font-body, system-ui, sans-serif);
  font-weight: 500;
  font-size: 0.74rem;
  color: #e7e2d8;
  margin-top: 4px;
}
