.page-card-tile {
  display: block;
  height: 100%;
}

.page-card-tile__surface {
  all: unset;
  display: flex;
  gap: 12px;
  width: 100%;
  cursor: pointer;
  box-sizing: border-box;
  padding-bottom: 12px;

  &:focus-visible {
    outline: 2px solid var(--brand-primary, #1e8a6e);
    outline-offset: 3px;
    border-radius: var(--radius-sm, 8px);
  }
}

.page-card-tile__icon {
  font-size: var(--font-size-3xl, 1.5rem);
  line-height: 1;
  flex-shrink: 0;
}

.page-card-tile__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.page-card-tile__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-card-tile__title {
  margin: 0;
  font-size: var(--font-size-lg, 1rem);
  font-weight: var(--font-weight-bold, 700);
  color: var(--text-primary, #1e3c38);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-card-tile__slug {
  margin: 0;
  font-size: var(--font-size-sm, 0.8125rem);
  color: var(--text-secondary, #5f6e6a);
  font-family: monospace;
}

.page-card-tile__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.page-card-tile__visibility {
  font-size: var(--font-size-xs, 0.75rem);
  color: var(--text-tertiary, #9aa6a2);
}

.page-card-tile__updated {
  margin: 4px 0 0;
  font-size: var(--font-size-xs, 0.75rem);
  color: var(--text-tertiary, #9aa6a2);
}

.page-card-tile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid var(--border-subtle, #e7ece9);
  padding-top: 10px;
}
